| /netbsd-src/external/bsd/unbound/dist/testcode/ |
| H A D | fake_event.c | 163 delete_fake_pending(struct fake_pending* pend) in delete_fake_pending() argument 165 if(!pend) in delete_fake_pending() 167 free(pend->zone); in delete_fake_pending() 168 sldns_buffer_free(pend->buffer); in delete_fake_pending() 169 free(pend->pkt); in delete_fake_pending() 170 free(pend); in delete_fake_pending() 192 struct entry** entry, struct fake_pending **pend) in pending_matches_current() argument 208 *pend = p; in pending_matches_current() 224 struct fake_pending* pend) in pending_find_match() argument 231 &pend->addr, pend->addrlen) == 0) && in pending_find_match() [all …]
|
| /netbsd-src/external/bsd/unbound/dist/services/ |
| H A D | outside_network.c | 86 static int randomize_and_send_udp(struct pending* pend, sldns_buffer* packet, 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->c->tcp_write_byte_count = 0; 615 pend->c->tcp_is_reading = 0; [all …]
|
| /netbsd-src/usr.bin/mail/ |
| H A D | mime_header.c | 192 const char *p, *pend; in copy_skipped_FWS() local 197 pend = srcend; in copy_skipped_FWS() 201 while (p < pend && q < qend) in copy_skipped_FWS() 273 const char *p, *pend, *p0; in decode_comment() local 279 pend = iend; in decode_comment() 283 while (p < pend && q < qend) { in decode_comment() 298 if (p > pend) in decode_comment() 299 p = pend; in decode_comment() 313 if (decode_comment(&q, qend, &p, pend, charset) == -1) in decode_comment() 317 else if (*p == '\\' && p + 1 < pend) { /* quoted-pair */ in decode_comment() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgomp/ |
| H A D | iter.c | 39 gomp_iter_static_next (long *pstart, long *pend) in gomp_iter_static_next() argument 53 *pend = ws->end; in gomp_iter_static_next() 99 *pend = e; in gomp_iter_static_next() 132 *pend = e; in gomp_iter_static_next() 148 gomp_iter_dynamic_next_locked (long *pstart, long *pend) in gomp_iter_dynamic_next_locked() argument 174 *pend = end; in gomp_iter_dynamic_next_locked() 184 gomp_iter_dynamic_next (long *pstart, long *pend) in gomp_iter_dynamic_next() argument 205 *pend = nend; in gomp_iter_dynamic_next() 216 *pend = nend; in gomp_iter_dynamic_next() 250 *pend = nend; in gomp_iter_dynamic_next() [all …]
|
| H A D | iter_ull.c | 40 gomp_iter_ull_static_next (gomp_ull *pstart, gomp_ull *pend) in gomp_iter_ull_static_next() argument 54 *pend = ws->end_ull; in gomp_iter_ull_static_next() 100 *pend = e; in gomp_iter_ull_static_next() 134 *pend = e; in gomp_iter_ull_static_next() 150 gomp_iter_ull_dynamic_next_locked (gomp_ull *pstart, gomp_ull *pend) in gomp_iter_ull_dynamic_next_locked() argument 176 *pend = end; in gomp_iter_ull_dynamic_next_locked() 186 gomp_iter_ull_dynamic_next (gomp_ull *pstart, gomp_ull *pend) in gomp_iter_ull_dynamic_next() argument 206 *pend = nend; in gomp_iter_ull_dynamic_next() 217 *pend = nend; in gomp_iter_ull_dynamic_next() 251 *pend = nend; in gomp_iter_ull_dynamic_next() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgomp/ |
| H A D | iter.c | 39 gomp_iter_static_next (long *pstart, long *pend) in gomp_iter_static_next() argument 53 *pend = ws->end; in gomp_iter_static_next() 99 *pend = e; in gomp_iter_static_next() 132 *pend = e; in gomp_iter_static_next() 148 gomp_iter_dynamic_next_locked (long *pstart, long *pend) in gomp_iter_dynamic_next_locked() argument 174 *pend = end; in gomp_iter_dynamic_next_locked() 184 gomp_iter_dynamic_next (long *pstart, long *pend) in gomp_iter_dynamic_next() argument 205 *pend = nend; in gomp_iter_dynamic_next() 216 *pend = nend; in gomp_iter_dynamic_next() 250 *pend = nend; in gomp_iter_dynamic_next() [all …]
|
| H A D | iter_ull.c | 40 gomp_iter_ull_static_next (gomp_ull *pstart, gomp_ull *pend) in gomp_iter_ull_static_next() argument 54 *pend = ws->end_ull; in gomp_iter_ull_static_next() 100 *pend = e; in gomp_iter_ull_static_next() 134 *pend = e; in gomp_iter_ull_static_next() 150 gomp_iter_ull_dynamic_next_locked (gomp_ull *pstart, gomp_ull *pend) in gomp_iter_ull_dynamic_next_locked() argument 176 *pend = end; in gomp_iter_ull_dynamic_next_locked() 186 gomp_iter_ull_dynamic_next (gomp_ull *pstart, gomp_ull *pend) in gomp_iter_ull_dynamic_next() argument 206 *pend = nend; in gomp_iter_ull_dynamic_next() 217 *pend = nend; in gomp_iter_ull_dynamic_next() 251 *pend = nend; in gomp_iter_ull_dynamic_next() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/ |
| H A D | android.d | 60 auto pend = cast(immutable(FuncTable)*)&__stop_deh; in immutable() local 61 return pbeg[0 .. pend - pbeg]; in immutable() 83 auto pend = cast(void*)&__bss_end__; in initSections() local 86 _sections._gcRanges[0] = pbeg[0 .. pend - pbeg]; in initSections() 105 void scanTLSRanges(void[]* rng, scope void delegate(void* pbeg, void* pend) nothrow dg) nothrow in scanTLSRanges() 157 auto pend = cast(void*)&_tlsend; in getTLSBlockAlloc() local 158 auto p = .malloc(pend - pbeg); in getTLSBlockAlloc() 159 memcpy(p, pbeg, pend - pbeg); in getTLSBlockAlloc() 160 *pary = p[0 .. pend - pbeg]; in getTLSBlockAlloc()
|
| H A D | win64.d | 58 auto pend = cast(immutable(FuncTable)*)&_deh_end; in version() local 59 return pbeg[0 .. pend - pbeg]; in version() 124 void* pend; in initTLSRanges() local 140 mov pend, EAX; in initTLSRanges() local 155 mov pend, RAX; in initTLSRanges() local 161 return pbeg[0 .. pend - pbeg]; in initTLSRanges() 168 void scanTLSRanges(void[] rng, scope void delegate(void* pbeg, void* pend) nothrow dg) nothrow in scanTLSRanges() 212 auto pend = m.ptr + m.length; variable 216 for (; p < pend; ++p) 225 for (; p < pend; ++p)
|
| /netbsd-src/external/gpl2/xcvs/dist/src/ |
| H A D | watch.c | 40 char *pend; in watch_modify_watchers() local 113 pend = strchr (p, '+'); in watch_modify_watchers() 114 if (pend == NULL) in watch_modify_watchers() 116 pend = p + strlen (p); in watch_modify_watchers() 120 nextp = pend + 1; in watch_modify_watchers() 123 if (pend - p == 4 && strncmp ("edit", p, 4) == 0) in watch_modify_watchers() 129 else if (pend - p == 6 && strncmp ("unedit", p, 6) == 0) in watch_modify_watchers() 135 else if (pend - p == 6 && strncmp ("commit", p, 6) == 0) in watch_modify_watchers() 141 else if (pend - p == 5 && strncmp ("tedit", p, 5) == 0) in watch_modify_watchers() 147 else if (pend - p == 7 && strncmp ("tunedit", p, 7) == 0) in watch_modify_watchers() [all …]
|
| /netbsd-src/bin/ksh/ |
| H A D | path.c | 75 char *pend; local 77 for (pend = plist; *pend && *pend != PATHSEP; pend++) 79 plen = pend - plist; 80 *cdpathp = *pend ? ++pend : (char *) 0;
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/arm/ |
| H A D | unwind-arm-vxworks.c | 51 __EIT_entry *pend = 0; in __gnu_Unwind_Find_exidx() local 56 (void **) &pstart, (void **) &pend); in __gnu_Unwind_Find_exidx() 61 pend = &__exidx_end; in __gnu_Unwind_Find_exidx() 64 *nrec = pend - pstart; in __gnu_Unwind_Find_exidx()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/arm/ |
| H A D | unwind-arm-vxworks.c | 51 __EIT_entry *pend = 0; in __gnu_Unwind_Find_exidx() local 56 (void **) &pstart, (void **) &pend); in __gnu_Unwind_Find_exidx() 61 pend = &__exidx_end; in __gnu_Unwind_Find_exidx() 64 *nrec = pend - pstart; in __gnu_Unwind_Find_exidx()
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/fast_float/ |
| H A D | fast_float.h | 592 parsed_number_string parse_number_string(const char *p, const char *pend, parse_options options) no… in parse_number_string() argument 602 if (p == pend) { in parse_number_string() 613 while ((std::distance(p, pend) >= 8) && is_made_of_eight_digits_fast(p)) { in parse_number_string() 617 while ((p != pend) && is_integer(*p)) { in parse_number_string() 628 if ((p != pend) && (*p == decimal_point)) { in parse_number_string() 633 while ((std::distance(p, pend) >= 8) && is_made_of_eight_digits_fast(p)) { in parse_number_string() 637 while ((p != pend) && is_integer(*p)) { in parse_number_string() 651 if (bool(fmt & chars_format::scientific) && (p != pend) && (('e' == *p) || ('E' == *p))) { in parse_number_string() 655 if ((p != pend) && ('-' == *p)) { in parse_number_string() 658 } else if ((p != pend) && ('+' == *p)) { // '+' on exponent is allowed by C++17 20.19.3.(7.1) in parse_number_string() [all …]
|
| /netbsd-src/sys/arch/evbppc/wii/ |
| H A D | pic_pi.c | 73 uint32_t raw, pend; in pi_get_irq() local 77 pend = raw & pic_irqmask; in pi_get_irq() 78 if (pend == 0) { in pi_get_irq() 81 irq = ffs32(pend) - 1; in pi_get_irq()
|
| /netbsd-src/external/gpl2/diffutils/dist/lib/ |
| H A D | regex.c | 824 UCHAR_T *pend = end; variable 833 while (p < pend) 936 assert (p + *p < pend); 1730 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1815 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1928 const CHAR_T *pend, 1933 const CHAR_T *pend, 1942 const char *pend, 1958 do {if (p == pend) return REG_EEND; \ 1964 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
| H A D | msgl-iconv.c | 146 const char *pend; in convert_msgstr() local 150 for (p = mp->msgstr, pend = p + mp->msgstr_len, nulcount1 = 0; in convert_msgstr() 151 p < pend; in convert_msgstr() 153 for (p = result, pend = p + resultlen, nulcount2 = 0; in convert_msgstr() 154 p < pend; in convert_msgstr() 434 const char *pend; in iconvable_msgstr() local 438 for (p = mp->msgstr, pend = p + mp->msgstr_len, nulcount1 = 0; in iconvable_msgstr() 439 p < pend; in iconvable_msgstr() 441 for (p = result, pend = p + resultlen, nulcount2 = 0; in iconvable_msgstr() 442 p < pend; in iconvable_msgstr()
|
| /netbsd-src/external/gpl2/grep/dist/lib/ |
| H A D | regex.c | 756 US_CHAR_TYPE *pend = end; local 765 while (p < pend) 874 assert (p + *p < pend); 1650 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1733 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1849 const CHAR_TYPE *pend, 1854 const CHAR_TYPE *pend, 1863 const CHAR_TYPE *pend, 1879 do {if (p == pend) return REG_EEND; \ 1885 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgrep/ |
| H A D | regex.c | 758 UCHAR_T *pend = end; in PREFIX() local 767 while (p < pend) in PREFIX() 870 assert (p + *p < pend); in PREFIX() 1661 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1746 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1859 const CHAR_T *pend, 1864 const CHAR_T *pend, 1873 const char *pend, 1889 do {if (p == pend) return REG_EEND; \ 1895 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/libiberty/ |
| H A D | regex.c | 817 UCHAR_T *pend = end; in PREFIX() local 826 while (p < pend) in PREFIX() 929 assert (p + *p < pend); in PREFIX() 1661 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1746 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1859 const CHAR_T *pend, 1864 const CHAR_T *pend, 1873 const char *pend, 1889 do {if (p == pend) return REG_EEND; \ 1895 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libiberty/ |
| H A D | regex.c | 817 UCHAR_T *pend = end; in PREFIX() local 826 while (p < pend) in PREFIX() 929 assert (p + *p < pend); in PREFIX() 1661 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1746 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1859 const CHAR_T *pend, 1864 const CHAR_T *pend, 1873 const char *pend, 1889 do {if (p == pend) return REG_EEND; \ 1895 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/libiberty/ |
| H A D | regex.c | 817 UCHAR_T *pend = end; in PREFIX() local 826 while (p < pend) in PREFIX() 929 assert (p + *p < pend); in PREFIX() 1661 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1746 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1859 const CHAR_T *pend, 1864 const CHAR_T *pend, 1873 const char *pend, 1889 do {if (p == pend) return REG_EEND; \ 1895 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libiberty/ |
| H A D | regex.c | 813 UCHAR_T *pend = end; in PREFIX() local 822 while (p < pend) in PREFIX() 925 assert (p + *p < pend); in PREFIX() 1657 DEBUG_PRINT_COMPILED_PATTERN (bufp, pattern_place, pend); \ 1742 DEBUG_PRINT_COMPILED_PATTERN (bufp, pat, pend); \ 1855 const CHAR_T *pend, 1860 const CHAR_T *pend, 1869 const char *pend, 1885 do {if (p == pend) return REG_EEND; \ 1891 do {if (p == pend) return REG_EEND; \ [all …]
|
| /netbsd-src/sys/arch/arm/sunxi/ |
| H A D | sunxi_intc.c | 182 uint32_t pend; in sunxi_intc_find_pending_irqs() local 184 pend = INTC_READ(sc, INTC_IRQ_PEND_REG(group)); in sunxi_intc_find_pending_irqs() 185 pend &= sc->sc_enabled_irqs[group]; in sunxi_intc_find_pending_irqs() 187 if (pend == 0) in sunxi_intc_find_pending_irqs() 190 INTC_WRITE(sc, INTC_IRQ_PEND_REG(group), pend); in sunxi_intc_find_pending_irqs() 192 return pic_mark_pending_sources(&sc->sc_pic, group * 32, pend); in sunxi_intc_find_pending_irqs()
|
| /netbsd-src/sys/arch/hpc/stand/hpcboot/ |
| H A D | memory.cpp | 209 paddr_t pend = roundPage(paddr + size); in mapPhysicalPage() local 210 psize_t psize = pend - pstart; in mapPhysicalPage() 222 pstart, pend, psize, vaddr_t(p) + vaddr_t(paddr - pstart))); in mapPhysicalPage() 321 paddr_t paddr, pstart, pend, pfound = ~0; in searchBank() local 329 pend = bend; in searchBank() 331 if (pstart < bstart || pstart >= pend) in searchBank() 341 for (paddr = pstart; paddr < pend; paddr += BLOCK_SIZE) { in searchBank()
|