Home
last modified time | relevance | path

Searched refs:rl (Results 1 – 25 of 180) sorted by relevance

12345678

/openbsd-src/lib/libssl/
H A Dtls13_record_layer.c22 static ssize_t tls13_record_layer_write_chunk(struct tls13_record_layer *rl,
24 static ssize_t tls13_record_layer_write_record(struct tls13_record_layer *rl,
118 tls13_record_layer_rrec_free(struct tls13_record_layer *rl) in tls13_record_layer_rrec_free() argument
120 tls13_record_free(rl->rrec); in tls13_record_layer_rrec_free()
121 rl->rrec = NULL; in tls13_record_layer_rrec_free()
125 tls13_record_layer_wrec_free(struct tls13_record_layer *rl) in tls13_record_layer_wrec_free() argument
127 tls13_record_free(rl->wrec); in tls13_record_layer_wrec_free()
128 rl->wrec = NULL; in tls13_record_layer_wrec_free()
135 struct tls13_record_layer *rl; in tls13_record_layer_new() local
137 if ((rl in tls13_record_layer_new()
161 tls13_record_layer_free(struct tls13_record_layer * rl) tls13_record_layer_free() argument
181 tls13_record_layer_set_callbacks(struct tls13_record_layer * rl,const struct tls13_record_layer_callbacks * callbacks,void * cb_arg) tls13_record_layer_set_callbacks() argument
189 tls13_record_layer_rcontent(struct tls13_record_layer * rl,CBS * cbs) tls13_record_layer_rcontent() argument
236 tls13_record_layer_allow_ccs(struct tls13_record_layer * rl,int allow) tls13_record_layer_allow_ccs() argument
242 tls13_record_layer_allow_legacy_alerts(struct tls13_record_layer * rl,int allow) tls13_record_layer_allow_legacy_alerts() argument
248 tls13_record_layer_set_aead(struct tls13_record_layer * rl,const EVP_AEAD * aead) tls13_record_layer_set_aead() argument
255 tls13_record_layer_set_hash(struct tls13_record_layer * rl,const EVP_MD * hash) tls13_record_layer_set_hash() argument
262 tls13_record_layer_set_legacy_version(struct tls13_record_layer * rl,uint16_t version) tls13_record_layer_set_legacy_version() argument
269 tls13_record_layer_handshake_completed(struct tls13_record_layer * rl) tls13_record_layer_handshake_completed() argument
275 tls13_record_layer_set_retry_after_phh(struct tls13_record_layer * rl,int retry) tls13_record_layer_set_retry_after_phh() argument
281 tls13_record_layer_process_alert(struct tls13_record_layer * rl) tls13_record_layer_process_alert() argument
336 tls13_record_layer_send_alert(struct tls13_record_layer * rl) tls13_record_layer_send_alert() argument
370 tls13_record_layer_send_phh(struct tls13_record_layer * rl) tls13_record_layer_send_phh() argument
395 tls13_record_layer_send_pending(struct tls13_record_layer * rl) tls13_record_layer_send_pending() argument
416 tls13_record_layer_enqueue_alert(struct tls13_record_layer * rl,uint8_t alert_level,uint8_t alert_desc) tls13_record_layer_enqueue_alert() argument
446 tls13_record_layer_phh(struct tls13_record_layer * rl,CBS * cbs) tls13_record_layer_phh() argument
497 tls13_record_layer_set_read_traffic_key(struct tls13_record_layer * rl,struct tls13_secret * read_key,enum ssl_encryption_level_t read_level) tls13_record_layer_set_read_traffic_key() argument
509 tls13_record_layer_set_write_traffic_key(struct tls13_record_layer * rl,struct tls13_secret * write_key,enum ssl_encryption_level_t write_level) tls13_record_layer_set_write_traffic_key() argument
521 tls13_record_layer_open_record_plaintext(struct tls13_record_layer * rl) tls13_record_layer_open_record_plaintext() argument
548 tls13_record_layer_open_record_protected(struct tls13_record_layer * rl) tls13_record_layer_open_record_protected() argument
621 tls13_record_layer_open_record(struct tls13_record_layer * rl) tls13_record_layer_open_record() argument
633 tls13_record_layer_seal_record_plaintext(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_seal_record_plaintext() argument
685 tls13_record_layer_seal_record_protected(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_seal_record_protected() argument
785 tls13_record_layer_seal_record(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_seal_record() argument
805 tls13_record_layer_read_record(struct tls13_record_layer * rl) tls13_record_layer_read_record() argument
907 tls13_record_layer_pending(struct tls13_record_layer * rl,uint8_t content_type) tls13_record_layer_pending() argument
916 tls13_record_layer_recv_phh(struct tls13_record_layer * rl) tls13_record_layer_recv_phh() argument
950 tls13_record_layer_read_internal(struct tls13_record_layer * rl,uint8_t content_type,uint8_t * buf,size_t n,int peek) tls13_record_layer_read_internal() argument
1002 tls13_record_layer_peek(struct tls13_record_layer * rl,uint8_t content_type,uint8_t * buf,size_t n) tls13_record_layer_peek() argument
1018 tls13_record_layer_read(struct tls13_record_layer * rl,uint8_t content_type,uint8_t * buf,size_t n) tls13_record_layer_read() argument
1034 tls13_record_layer_write_record(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_write_record() argument
1094 tls13_record_layer_write_chunk(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * buf,size_t n) tls13_record_layer_write_chunk() argument
1104 tls13_record_layer_write(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * buf,size_t n) tls13_record_layer_write() argument
1123 tls13_record_layer_flush(struct tls13_record_layer * rl) tls13_record_layer_flush() argument
1131 tls13_send_dummy_ccs(struct tls13_record_layer * rl) tls13_send_dummy_ccs() argument
1148 tls13_read_handshake_data(struct tls13_record_layer * rl,uint8_t * buf,size_t n) tls13_read_handshake_data() argument
1157 tls13_write_handshake_data(struct tls13_record_layer * rl,const uint8_t * buf,size_t n) tls13_write_handshake_data() argument
1167 tls13_pending_application_data(struct tls13_record_layer * rl) tls13_pending_application_data() argument
1176 tls13_peek_application_data(struct tls13_record_layer * rl,uint8_t * buf,size_t n) tls13_peek_application_data() argument
1185 tls13_read_application_data(struct tls13_record_layer * rl,uint8_t * buf,size_t n) tls13_read_application_data() argument
1194 tls13_write_application_data(struct tls13_record_layer * rl,const uint8_t * buf,size_t n) tls13_write_application_data() argument
1204 tls13_send_alert(struct tls13_record_layer * rl,uint8_t alert_desc) tls13_send_alert() argument
[all...]
H A Dtls12_record_layer.c187 struct tls12_record_layer *rl; in tls12_record_layer_new() local
189 if ((rl = calloc(1, sizeof(struct tls12_record_layer))) == NULL) in tls12_record_layer_new()
191 if ((rl->read_current = tls12_record_protection_new()) == NULL) in tls12_record_layer_new()
193 if ((rl->write_current = tls12_record_protection_new()) == NULL) in tls12_record_layer_new()
196 rl->read = rl->read_current; in tls12_record_layer_new()
197 rl->write = rl->write_current; in tls12_record_layer_new()
199 return rl; in tls12_record_layer_new()
202 tls12_record_layer_free(rl); in tls12_record_layer_new()
208 tls12_record_layer_free(struct tls12_record_layer *rl) in tls12_record_layer_free() argument
210 if (rl == NULL) in tls12_record_layer_free()
[all …]
H A Dtls13_internal.h200 void tls13_record_layer_free(struct tls13_record_layer *rl);
201 void tls13_record_layer_set_callbacks(struct tls13_record_layer *rl,
203 void tls13_record_layer_allow_ccs(struct tls13_record_layer *rl, int allow);
204 void tls13_record_layer_allow_legacy_alerts(struct tls13_record_layer *rl, int allow);
205 void tls13_record_layer_rcontent(struct tls13_record_layer *rl, CBS *cbs);
206 void tls13_record_layer_set_aead(struct tls13_record_layer *rl,
208 void tls13_record_layer_set_hash(struct tls13_record_layer *rl,
210 void tls13_record_layer_set_legacy_version(struct tls13_record_layer *rl,
212 void tls13_record_layer_set_retry_after_phh(struct tls13_record_layer *rl, int retry);
213 void tls13_record_layer_alert_sent(struct tls13_record_layer *rl,
288 struct tls13_record_layer *rl; global() member
[all...]
H A Dtls13_handshake_msg.c116 struct tls13_record_layer *rl = cb_arg; in tls13_handshake_msg_read_cb() local
118 return tls13_read_handshake_data(rl, buf, n); in tls13_handshake_msg_read_cb()
123 struct tls13_record_layer *rl) in tls13_handshake_msg_recv() argument
136 tls13_handshake_msg_read_cb, rl)) <= 0) in tls13_handshake_msg_recv()
157 tls13_handshake_msg_read_cb, rl)) <= 0) in tls13_handshake_msg_recv()
168 struct tls13_record_layer *rl) in tls13_handshake_msg_send() argument
179 if ((ret = tls13_write_handshake_data(rl, CBS_data(&msg->cbs), in tls13_handshake_msg_send()
/openbsd-src/lib/libc/locale/
H A Drune.c86 readrange(_RuneLocale *rl, _RuneRange *rr, uint32_t nranges, void *lastp, in readrange()
93 re = (_RuneEntry *)rl->rl_variable; in readrange()
114 rl->rl_variable = re; in readrange()
168 find_codeset(_RuneLocale *rl) in find_codeset()
172 if (rl->rl_variable == NULL) in find_codeset()
176 ep = (char *)rl->rl_variable; in find_codeset()
177 ep += rl->rl_variable_len; in find_codeset()
178 rl->rl_codeset = NULL; in find_codeset()
179 if (!(top = strstr(rl->rl_variable, _RUNE_CODESET))) in find_codeset()
186 rl in find_codeset()
85 readrange(_RuneLocale * rl,_RuneRange * rr,uint32_t nranges,void * lastp,FILE * fp) readrange() argument
167 find_codeset(_RuneLocale * rl) find_codeset() argument
217 _RuneLocale *rl; _Read_RuneMagi() local
[all...]
H A Diswctype_l.c61 _RuneLocale *rl; in __runelocale() local
63 rl = NULL; in __runelocale()
65 rl = _Utf8RuneLocale; in __runelocale()
66 if (rl == NULL) in __runelocale()
67 rl = &_DefaultRuneLocale; in __runelocale()
68 return rl; in __runelocale()
74 _RuneLocale *rl; in __isctype_wl() local
77 rl = __runelocale(locale); in __isctype_wl()
78 rt = _RUNE_ISCACHED(c) ? rl->rl_runetype[c] : ___runetype_mb(c, rl); in __isctype_wl()
170 _RuneLocale *rl; in wctrans_l() local
[all …]
H A D_wctrans.c73 _wctrans_init(_RuneLocale *rl)
75 rl->rl_wctrans[_WCTRANS_INDEX_LOWER].te_name = "tolower"; in _wctrans_init()
76 rl->rl_wctrans[_WCTRANS_INDEX_LOWER].te_cached = rl->rl_maplower; in _wctrans_init()
77 rl->rl_wctrans[_WCTRANS_INDEX_LOWER].te_extmap = &rl->rl_maplower_ext; in _wctrans_init()
78 rl->rl_wctrans[_WCTRANS_INDEX_UPPER].te_name = "toupper"; in _wctrans_init()
79 rl->rl_wctrans[_WCTRANS_INDEX_UPPER].te_cached = rl->rl_mapupper; in _wctrans_init()
80 rl in _wctrans_init()
74 _wctrans_init(_RuneLocale * rl) _wctrans_init() argument
[all...]
H A D_wctrans_local.h45 _wctrans_lower(_RuneLocale *rl) in _wctrans_lower() argument
47 if (rl->rl_wctrans[_WCTRANS_INDEX_LOWER].te_name==NULL) in _wctrans_lower()
48 _wctrans_init(rl); in _wctrans_lower()
49 return (&rl->rl_wctrans[_WCTRANS_INDEX_LOWER]); in _wctrans_lower()
53 _wctrans_upper(_RuneLocale *rl) in _wctrans_upper() argument
55 if (rl->rl_wctrans[_WCTRANS_INDEX_UPPER].te_name==NULL) in _wctrans_upper()
56 _wctrans_init(rl); in _wctrans_upper()
57 return (&rl->rl_wctrans[_WCTRANS_INDEX_UPPER]); in _wctrans_upper()
H A Dnl_langinfo_l.c26 _RuneLocale *rl; in nl_langinfo_l() local
32 rl = NULL; in nl_langinfo_l()
34 rl = _Utf8RuneLocale; in nl_langinfo_l()
35 if (rl == NULL) in nl_langinfo_l()
36 rl = &_DefaultRuneLocale; in nl_langinfo_l()
38 s = rl->rl_codeset; in nl_langinfo_l()
H A Diswctype.c56 _RuneLocale *rl = _CurrentRuneLocale(); in __runetype_w() local
59 rl->rl_runetype[c] : ___runetype_mb(c, rl)); in __runetype_w()
181 _RuneLocale *rl = _CurrentRuneLocale(); in wctrans() local
183 if (rl->rl_wctrans[_WCTRANS_INDEX_LOWER].te_name==NULL) in wctrans()
184 _wctrans_init(rl); in wctrans()
187 if (!strcmp(rl->rl_wctrans[i].te_name, charclass)) in wctrans()
188 return ((wctrans_t)&rl->rl_wctrans[i]); in wctrans()
/openbsd-src/sys/net/
H A Dwg_cookie.c290 ratelimit_init(struct ratelimit *rl, struct pool *pool) in ratelimit_init() argument
292 rw_init(&rl->rl_lock, "ratelimit_lock"); in ratelimit_init()
293 arc4random_buf(&rl->rl_secret, sizeof(rl->rl_secret)); in ratelimit_init()
294 rl->rl_table = hashinit(RATELIMIT_SIZE, M_DEVBUF, M_NOWAIT, in ratelimit_init()
295 &rl->rl_table_mask); in ratelimit_init()
296 rl->rl_pool = pool; in ratelimit_init()
297 rl->rl_table_num = 0; in ratelimit_init()
298 return rl->rl_table == NULL ? ENOBUFS : 0; in ratelimit_init()
302 ratelimit_deinit(struct ratelimit *rl) in ratelimit_deinit() argument
304 rw_enter_write(&rl->rl_lock); in ratelimit_deinit()
[all …]
/openbsd-src/lib/libc/db/recno/
H A Drec_utils.c55 RLEAF *rl; in __rec_ret() local
82 rl = GETRLEAF(e->page, e->index); in __rec_ret()
83 if (rl->flags & P_BIGDATA) { in __rec_ret()
84 if (__ovfl_get(t, rl->bytes, in __rec_ret()
90 if (rl->dsize + 1 > t->bt_rdata.size) { in __rec_ret()
91 p = realloc(t->bt_rdata.data, rl->dsize + 1); in __rec_ret()
95 t->bt_rdata.size = rl->dsize + 1; in __rec_ret()
97 memmove(t->bt_rdata.data, rl->bytes, rl->dsize); in __rec_ret()
98 data->size = rl->dsize; in __rec_ret()
101 data->size = rl->dsize; in __rec_ret()
[all …]
/openbsd-src/regress/lib/libm/exp/
H A Dexp.c13 long double rl, bigl = HUGE_VALL; in main() local
29 rl = expl(bigl); in main()
30 if (!isinf(rl)) in main()
31 errx(1, "exp(bigl) = %Lf", rl); in main()
32 rl = expl(-bigl); in main()
33 if (rl != 0.0L) in main()
34 errx(1, "exp(-bigl) = %Lf", rl); in main()
/openbsd-src/lib/libc/gen/
H A Dsysconf.c63 struct rlimit rl; in sysconf() local
77 if (getrlimit(RLIMIT_NPROC, &rl) != 0) in sysconf()
79 if (rl.rlim_cur == RLIM_INFINITY) in sysconf()
81 if (rl.rlim_cur > LONG_MAX) { in sysconf()
85 return ((long)rl.rlim_cur); in sysconf()
95 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) in sysconf()
97 if (rl.rlim_cur == RLIM_INFINITY) in sysconf()
99 if (rl.rlim_cur > LONG_MAX) { in sysconf()
103 return ((long)rl.rlim_cur); in sysconf()
105 if (getrlimit(RLIMIT_NOFILE, &rl) != 0) in sysconf()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dbigcore.c95 struct rlimit rl; in print_rlimit() local
96 getrlimit (resource, &rl); in print_rlimit()
98 print_hex (rl.rlim_cur); in print_rlimit()
100 print_hex (rl.rlim_max); in print_rlimit()
106 struct rlimit rl; in maximize_rlimit() local
111 getrlimit (resource, &rl); in maximize_rlimit()
112 rl.rlim_cur = rl.rlim_max; in maximize_rlimit()
113 setrlimit (resource, &rl); in maximize_rlimit()
/openbsd-src/regress/lib/libm/complex/
H A Dcomplex.c30 long double complex rl, z4l = -1.1L - 1.1L * I; in main() local
46 rl = cacoshl(z4l); in main()
47 assert(testl(rl, 1.150127L, -2.256295L)); in main()
48 rl = casinhl(z4l); in main()
49 assert(testl(rl, -1.150127L, -0.685498L)); in main()
50 rl = catanhl(z4l); in main()
51 assert(testl(rl, -0.381870L, -1.071985L)); in main()
/openbsd-src/gnu/lib/libreadline/
H A Dundo.c176 UNDO_LIST *rl; local
178 for (rl = rl_undo_list; rl; rl = rl->next)
180 if (rl->what == type)
182 rl->start = start;
183 rl->end = end;
/openbsd-src/gnu/lib/libreadline/examples/
H A DMakefile.in52 EXECUTABLES = fileman rltest rl rlcat rlversion histexamp
53 OBJECTS = fileman.o rltest.o rl.o rlversion.o histexamp.o
58 rl: rl.o $(READLINE_LIB)
59 $(CC) $(LDFLAGS) -o $@ rl.o -lreadline $(TERMCAP_LIB)
86 rl.o: rl.c
92 rl.o: $(top_srcdir)/readline.h
/openbsd-src/usr.bin/cvs/
H A Dconfig.c40 struct rlimit rl; in config_parse_line() local
63 if (getrlimit(RLIMIT_DATA, &rl) != -1) { in config_parse_line()
64 rl.rlim_cur = (int)strtonum(val, 0, INT_MAX, in config_parse_line()
69 rl.rlim_cur = rl.rlim_cur * 1024; in config_parse_line()
70 (void)setrlimit(RLIMIT_DATA, &rl); in config_parse_line()
/openbsd-src/gnu/usr.bin/gcc/gcc/config/ip2k/
H A Dlibgcc.S128 rl 8(sp)
129 rl 7(sp)
130 rl 6(sp)
131 rl 5(sp)
205 rl 16(sp)
206 rl 15(sp)
207 rl 14(sp)
208 rl 13(sp)
209 rl 12(sp)
210 rl 11(sp)
[all …]
/openbsd-src/regress/lib/libc/sys/
H A Dt_pipe2.c116 struct rlimit rl; in ATF_TC_BODY() local
122 err = getrlimit(RLIMIT_NOFILE, &rl); in ATF_TC_BODY()
129 old = rl.rlim_cur; in ATF_TC_BODY()
130 rl.rlim_cur = 4; in ATF_TC_BODY()
131 err = setrlimit(RLIMIT_NOFILE, &rl); in ATF_TC_BODY()
136 rl.rlim_cur = old; in ATF_TC_BODY()
137 err = setrlimit(RLIMIT_NOFILE, &rl); in ATF_TC_BODY()
/openbsd-src/libexec/login_chpass/
H A Dlogin_chpass.c52 struct rlimit rl; in main()
55 rl.rlim_cur = 0; in main()
56 rl.rlim_max = 0; in main()
57 (void)setrlimit(RLIMIT_CORE, &rl); in main()
54 struct rlimit rl; main() local
/openbsd-src/regress/lib/libc/longjmp/
H A Dlongjmp.c27 struct rlimit rl; in main() local
49 rl.rlim_cur = 2; in main()
50 rl.rlim_max = 2; in main()
51 if (setrlimit(RLIMIT_CPU, &rl) < 0) in main()
/openbsd-src/libexec/login_reject/
H A Dlogin_reject.c50 struct rlimit rl; in main() local
55 rl.rlim_cur = 0; in main()
56 rl.rlim_max = 0; in main()
57 (void)setrlimit(RLIMIT_CORE, &rl); in main()
/openbsd-src/games/monop/
H A Dmonop.c130 int i, rl, cur_max; in init_players() local
137 printf("%s (%d) rolls %d\n", play[i].name, i+1, rl=roll(2, 6)); in init_players()
138 if (rl > cur_max) { in init_players()
140 cur_max = rl; in init_players()
143 else if (rl == cur_max) in init_players()

12345678