Home
last modified time | relevance | path

Searched refs:pend (Results 1 – 25 of 58) sorted by relevance

123

/openbsd-src/usr.sbin/unbound/testcode/
H A Dfake_event.c167 delete_fake_pending(struct fake_pending* pend) in delete_fake_pending() argument
169 if(!pend) in delete_fake_pending()
171 free(pend->zone); in delete_fake_pending()
172 sldns_buffer_free(pend->buffer); in delete_fake_pending()
173 free(pend->pkt); in delete_fake_pending()
174 free(pend); in delete_fake_pending()
196 struct entry** entry, struct fake_pending **pend) in pending_matches_current() argument
212 *pend = p; in pending_matches_current()
223 * @param pend: the pending that the entry must match.
228 struct fake_pending* pend) in pending_find_match() argument
262 pending_matches_range(struct replay_runtime * runtime,struct entry ** entry,struct fake_pending ** pend) pending_matches_range() argument
285 pending_list_delete(struct replay_runtime * runtime,struct fake_pending * pend) pending_list_delete() argument
359 answer_callback_from_entry(struct replay_runtime * runtime,struct entry * entry,struct fake_pending * pend) answer_callback_from_entry() argument
1154 struct fake_pending* pend = (struct fake_pending*)calloc(1, pending_udp_query() local
1204 struct fake_pending* pend = (struct fake_pending*)calloc(1, pending_tcp_query() local
1260 struct fake_pending* pend = (struct fake_pending*)calloc(1, outnet_serviced_query() local
1375 struct fake_pending* pend = (struct fake_pending*)sq; outnet_serviced_query_stop() local
1776 struct fake_pending* pend = (struct fake_pending*)calloc(1, outnet_comm_point_for_tcp() local
1875 struct fake_pending* pend = (struct fake_pending*)calloc(1, comm_point_send_udp_msg() local
[all...]
H A Dunittcpreuse.c82 struct pending_tcp pend; in tcpid_test() local
85 memset(&pend, 0, sizeof(pend)); in tcpid_test()
86 pend.reuse.pending = &pend; in tcpid_test()
89 rbtree_init(&pend.reuse.tree_by_id, reuse_id_cmp); in tcpid_test()
90 tcpid_fillup(&pend.reuse, &outnet); in tcpid_test()
/openbsd-src/usr.sbin/unbound/services/
H A Doutside_network.c86 static int randomize_and_send_udp(struct pending* pend, sldns_buffer* packet,
207 * @param pend: pending tcp structure, for storing the local address choice.
213 pick_outgoing_tcp(struct pending_tcp* pend, struct waiting_tcp* w, int s) in pick_outgoing_tcp() argument
217 pend->pi = NULL; in pick_outgoing_tcp()
237 pend->pi = pi; in pick_outgoing_tcp()
604 outnet_tcp_take_query_setup(int s, struct pending_tcp* pend,
611 pend->c->tcp_write_pkt = w->pkt;
612 pend->c->tcp_write_pkt_len = w->pkt_len;
613 pend->c->tcp_write_and_read = 1;
614 pend
634 struct pending_tcp* pend = w->outnet->tcp_free; global() local
984 struct pending_tcp* pend = w->outnet->tcp_free; global() local
1283 struct pending_tcp* pend = (struct pending_tcp*)arg; global() local
1434 struct pending* pend; global() local
1814 struct pending* pend = (struct pending*)node; global() local
1903 struct pending_tcp* pend; global() local
2251 struct pending* pend = (struct pending*)calloc(1, sizeof(*pend)); global() local
2310 struct pending_tcp* pend=(struct pending_tcp*)w->next_waiting; global() local
2411 struct pending_tcp* pend = sq->outnet->tcp_free; global() local
2749 struct pending_tcp* pend = global() local
2758 struct pending_tcp* pend = global() local
[all...]
/openbsd-src/sbin/unwind/libunbound/services/
H A Doutside_network.c86 static int randomize_and_send_udp(struct pending* pend, sldns_buffer* packet,
207 * @param pend: pending tcp structure, for storing the local address choice.
213 pick_outgoing_tcp(struct pending_tcp* pend, struct waiting_tcp* w, int s) in pick_outgoing_tcp() argument
217 pend->pi = NULL; in pick_outgoing_tcp()
237 pend->pi = pi; in pick_outgoing_tcp()
604 outnet_tcp_take_query_setup(int s, struct pending_tcp* pend,
611 pend->c->tcp_write_pkt = w->pkt;
612 pend->c->tcp_write_pkt_len = w->pkt_len;
613 pend->c->tcp_write_and_read = 1;
614 pend
634 struct pending_tcp* pend = w->outnet->tcp_free; global() local
984 struct pending_tcp* pend = w->outnet->tcp_free; global() local
1283 struct pending_tcp* pend = (struct pending_tcp*)arg; global() local
1434 struct pending* pend; global() local
1814 struct pending* pend = (struct pending*)node; global() local
1903 struct pending_tcp* pend; global() local
2251 struct pending* pend = (struct pending*)calloc(1, sizeof(*pend)); global() local
2310 struct pending_tcp* pend=(struct pending_tcp*)w->next_waiting; global() local
2411 struct pending_tcp* pend = sq->outnet->tcp_free; global() local
2749 struct pending_tcp* pend = global() local
2758 struct pending_tcp* pend = global() local
[all...]
/openbsd-src/gnu/gcc/libgomp/
H A Diter.c41 gomp_iter_static_next (long *pstart, long *pend) in gomp_iter_static_next() argument
55 *pend = ws->end; in gomp_iter_static_next()
98 *pend = e; in gomp_iter_static_next()
131 *pend = e; in gomp_iter_static_next()
147 gomp_iter_dynamic_next_locked (long *pstart, long *pend) in gomp_iter_dynamic_next_locked() argument
173 *pend = end; in gomp_iter_dynamic_next_locked()
183 gomp_iter_dynamic_next (long *pstart, long *pend) in gomp_iter_dynamic_next() argument
222 *pend = nend; in gomp_iter_dynamic_next()
233 gomp_iter_guided_next_locked (long *pstart, long *pend) in gomp_iter_guided_next_locked() argument
258 *pend = end; in gomp_iter_guided_next_locked()
[all …]
/openbsd-src/usr.bin/mandoc/
H A Dmanpath.c42 manconf_parse(struct manconf *conf, const char *file, char *pend, char *pbeg) in manconf_parse() argument
49 if (pend != NULL && *pend != '\0') { in manconf_parse()
51 manpath_parseline(&conf->manpath, pend, 'M'); in manconf_parse()
53 pbeg = pend = NULL; in manconf_parse()
56 pbeg = pend = NULL; in manconf_parse()
59 pend = pbeg + 1; in manconf_parse()
61 } else if ((pend = strstr(pbeg, "::")) != NULL) { in manconf_parse()
63 *pend = '\0'; in manconf_parse()
64 pend += 2; in manconf_parse()
67 pend = NULL; in manconf_parse()
[all …]
H A Dmandoc_xr.c66 const char *pend; in mandoc_xr_add() local
88 pend = xr->hashkey + tsz; in mandoc_xr_add()
89 hv = ohash_interval(xr->hashkey, &pend); in mandoc_xr_add()
H A Dhtml.c467 print_encode(struct html *h, const char *p, const char *pend, int norecurse) in print_encode() argument
477 if (pend == NULL) in print_encode()
478 pend = strchr(p, '\0'); in print_encode()
483 while (p < pend) { in print_encode()
490 for (sz = strcspn(p, rejs); sz-- && p < pend; p++) in print_encode()
494 (p >= pend || *p == ' ' || *p == ASCII_NBRSP)) { in print_encode()
497 while (p < pend && (*p == ' ' || *p == ASCII_NBRSP)) in print_encode()
502 if (p >= pend) in print_encode()
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dcppinit.c76 #define APPEND(pend, list, elt) \ argument
77 do { if (!(pend)->list##_head) (pend)->list##_head = (elt); \
78 else (pend)->list##_tail->next = (elt); \
79 (pend)->list##_tail = (elt); \
82 #define APPEND(pend, list, elt) \ argument
83 do { if (!(pend)->list/**/_head) (pend)->list/**/_head = (elt); \
84 else (pend)->list/**/_tail->next = (elt); \
85 (pend)->list/**/_tail = (elt); \
206 struct cpp_pending *pend = CPP_OPTION (pfile, pending); local
257 case BRACKET: APPEND (pend, brack, new); break;
[all …]
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dwatch.c40 char *pend; local
111 pend = strchr (p, '+');
112 if (pend == NULL)
114 pend = p + strlen (p);
118 nextp = pend + 1;
121 if (pend - p == 4 && strncmp ("edit", p, 4) == 0)
127 else if (pend - p == 6 && strncmp ("unedit", p, 6) == 0)
133 else if (pend - p == 6 && strncmp ("commit", p, 6) == 0)
139 else if (pend - p == 5 && strncmp ("tedit", p, 5) == 0)
145 else if (pend - p == 7 && strncmp ("tunedit", p, 7) == 0)
[all …]
/openbsd-src/bin/ksh/
H A Dpath.c70 char *pend; in make_path() local
72 for (pend = plist; *pend && *pend != ':'; pend++) in make_path()
74 plen = pend - plist; in make_path()
75 *cdpathp = *pend ? ++pend : NULL; in make_path()
/openbsd-src/bin/pax/
H A Dpat_rep.c243 pt->pend = NULL; in pat_add()
333 if (!dflag && ((pt->pend != NULL) || (arcn->type == PAX_DIR))) { in pat_sel()
347 if (pt->pend != NULL) in pat_sel()
348 *pt->pend = '\0'; in pat_sel()
352 if (pt->pend != NULL) in pat_sel()
353 *pt->pend = '/'; in pat_sel()
354 pt->pend = NULL; in pat_sel()
361 if (pt->pend != NULL) { in pat_sel()
362 *pt->pend = '/'; in pat_sel()
363 pt->pend = NULL; in pat_sel()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/fixinc/
H A Dgnu-regex.c606 unsigned char *pend = end; local
615 while (p < pend)
663 assert (p + *p < pend);
1249 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \
1333 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \
1448 static boolean at_endline_loc_p _RE_ARGS ((const char *p, const char *pend,
1451 const char *pend,
1462 do {if (p == pend) return REG_EEND; \
1471 do {if (p == pend) return REG_EEND; \
1645 { if (p != pend) \
[all …]
/openbsd-src/gnu/usr.bin/cvs/lib/
H A Dregex.c741 unsigned char *pend = end; local
750 while (p < pend)
798 assert (p + *p < pend);
1349 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \
1434 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \
1545 do {if (p == pend) return REG_EEND; \
1554 do {if (p == pend) return REG_EEND; \
1760 { if (p != pend) \
1768 if (p == pend) \
1887 const char *pend = pattern + size; local
[all …]
/openbsd-src/gnu/lib/libiberty/src/
H A Dregex.c812 UCHAR_T *pend = end; in PREFIX() local
821 while (p < pend) in PREFIX()
924 assert (p + *p < pend); in PREFIX()
1656 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \
1741 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \
1854 const CHAR_T *pend,
1859 const CHAR_T *pend,
1868 const char *pend,
1884 do {if (p == pend) return REG_EEND; \
1890 do {if (p == pend) return REG_EEND; \
[all …]
/openbsd-src/lib/libcurses/tinfo/
H A Dcomp_parse.c114 char *pstart, *qstart, *pend, *qend; in check_collisions() local
128 for (pstart = n1; (pend = strchr(pstart, '|')); pstart = pend + 1) { in check_collisions()
130 if ((pend - pstart == qend - qstart) in check_collisions()
131 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) { in check_collisions()
134 (int) (pend - pstart), pstart); in check_collisions()
171 char *pstart, *qstart, *pend, *qend; in remove_collision() local
181 for (pstart = n1; (pend = name_ending(pstart)); pstart = next_name(pend)) { in remove_collision()
183 if ((pend - pstart == qend - qstart) in remove_collision()
184 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) { in remove_collision()
/openbsd-src/usr.bin/less/
H A Dpattern.c82 char **pfound, char **pend) in match() argument
95 if (pend != NULL) in match()
96 *pend = lp; in match()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D980329-1.c20 unsigned char *pend = p + bufp->used; in re_match_2_internal() local
40 if (p + 2 == pend) in re_match_2_internal()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A Dregcomp.c203 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member
338 p->pend[i] = 0; in llvm_regcomp()
461 p->pend[subno] = HERE(); in p_ere_exp()
462 assert(p->pend[subno] != 0); in p_ere_exp()
517 if (p->pend[backrefnum] == 0) { in p_ere_exp()
529 assert(OP(p->strip[p->pend[backrefnum]]) == ORPAREN); in p_ere_exp()
530 (void) dupl(p, p->pbegin[backrefnum]+1, p->pend[backrefnum]); in p_ere_exp()
702 p->pend[subno] = HERE(); in p_simp_re()
703 assert(p->pend[subno] != 0); in p_simp_re()
723 if (p->pend[i] != 0) { in p_simp_re()
[all …]
/openbsd-src/lib/libc/regex/
H A Dregcomp.c66 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member
185 p->pend[i] = 0; in regcomp()
303 p->pend[subno] = HERE(); in p_ere_exp()
304 assert(p->pend[subno] != 0); in p_ere_exp()
513 p->pend[subno] = HERE(); in p_simp_re()
514 assert(p->pend[subno] != 0); in p_simp_re()
534 if (p->pend[i] != 0) { in p_simp_re()
539 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_simp_re()
540 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); in p_simp_re()
1220 if (p->pend[i] >= pos) { in doinsert()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/config/
H A Dtc-pj.c235 char pend; in md_assemble() local
250 pend = *op_end; in md_assemble()
257 *op_end = pend; in md_assemble()
/openbsd-src/gnu/usr.bin/binutils/gas/config/
H A Dtc-pj.c265 char pend; local
279 pend = *op_end;
286 *op_end = pend;
/openbsd-src/sys/isofs/cd9660/
H A Dcd9660_rrip.c494 ISO_SUSP_HEADER *pend; in cd9660_rrip_loop() local
516 pend = in cd9660_rrip_loop()
525 while (pend >= phead + 1) { in cd9660_rrip_loop()
565 pend = (ISO_SUSP_HEADER *) in cd9660_rrip_loop()
/openbsd-src/gnu/llvm/libunwind/src/
H A DAddressSpace.hpp280 const uint8_t *pend = (uint8_t *)end; in getULEB128() local
286 if (p == pend) in getULEB128()
305 const uint8_t *pend = (uint8_t *)end; in getSLEB128() local
310 if (p == pend) in getSLEB128()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dada-typeprint.c213 char *pend; in print_range_bound() local
215 pend = strstr (bound, "__"); in print_range_bound()
216 if (pend == NULL) in print_range_bound()
220 bound_len = pend - bound; in print_range_bound()

123