/freebsd/contrib/unbound/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 …]
|
/freebsd/contrib/mandoc/ |
H A D | manpath.c | 40 manconf_parse(struct manconf *conf, const char *file, char *pend, char *pbeg) in manconf_parse() argument 47 if (pend != NULL && *pend != '\0') { in manconf_parse() 49 manpath_parseline(&conf->manpath, pend, 'M'); in manconf_parse() 51 pbeg = pend = NULL; in manconf_parse() 54 pbeg = pend = NULL; in manconf_parse() 57 pend = pbeg + 1; in manconf_parse() 59 } else if ((pend = strstr(pbeg, "::")) != NULL) { in manconf_parse() 61 *pend = '\0'; in manconf_parse() 62 pend += 2; in manconf_parse() 65 pend = NULL; in manconf_parse() [all …]
|
H A D | mandoc_xr.c | 68 const char *pend; in mandoc_xr_add() local 90 pend = xr->hashkey + tsz; in mandoc_xr_add() 91 hv = ohash_interval(xr->hashkey, &pend); in mandoc_xr_add()
|
H A D | html.c | 469 print_encode(struct html *h, const char *p, const char *pend, int norecurse) in print_encode() argument 479 if (pend == NULL) in print_encode() 480 pend = strchr(p, '\0'); in print_encode() 485 while (p < pend) { in print_encode() 492 for (sz = strcspn(p, rejs); sz-- && p < pend; p++) in print_encode() 496 (p >= pend || *p == ' ' || *p == ASCII_NBRSP)) { in print_encode() 499 while (p < pend && (*p == ' ' || *p == ASCII_NBRSP)) in print_encode() 504 if (p >= pend) in print_encode()
|
/freebsd/tools/tools/pirtool/ |
H A D | pirtool.c | 141 unsigned char *p, *pend; in find_pir_table() local 151 pend = base + PIR_SIZE; in find_pir_table() 152 for (p = base; p < pend; p += 16) { in find_pir_table() 168 pend = p + pir->size; in find_pir_table() 170 while (p < pend) in find_pir_table() 205 pir_entry_t *p, *pend; in dump_pir_table() local 247 p = pend = &pir->entry[0]; in dump_pir_table() 248 pend += num_slots; in dump_pir_table() 250 for (i = 0; p < pend; i++, p++) { in dump_pir_table()
|
/freebsd/contrib/ntp/libntp/ |
H A D | xsbprintf.c | 34 char * const pend, /* buffer end (I) */ in xvsbprintf() argument 41 if (pbuf && (pend - pbuf > 0)) { in xvsbprintf() 42 size_t blen = (size_t)(pend - pbuf); in xvsbprintf() 61 char * const pend, /* buffer end (I) */ in xsbprintf() argument 70 rc = xvsbprintf(ppbuf, pend, pfmt, va); in xsbprintf()
|
/freebsd/lib/libusb/ |
H A D | libusb10_desc.c | 101 struct libusb20_endpoint *pend; in libusb_get_config_descriptor() local 135 pend = pinf->endpoints; in libusb_get_config_descriptor() 137 nextra += N_ALIGN(pend->extra.len); in libusb_get_config_descriptor() 138 pend++; in libusb_get_config_descriptor() 148 pend = pinf->endpoints; in libusb_get_config_descriptor() 150 nextra += N_ALIGN(pend->extra.len); in libusb_get_config_descriptor() 151 pend++; in libusb_get_config_descriptor() 238 pend = &pinf->endpoints[k]; in libusb_get_config_descriptor() 240 endd->bLength = pend->desc.bLength; in libusb_get_config_descriptor() 241 endd->bDescriptorType = pend->desc.bDescriptorType; in libusb_get_config_descriptor() [all …]
|
/freebsd/bin/pax/ |
H A D | pat_rep.c | 214 pt->pend = NULL; in pat_add() 304 if (!dflag && ((pt->pend != NULL) || (arcn->type == PAX_DIR))) { in pat_sel() 318 if (pt->pend != NULL) in pat_sel() 319 *pt->pend = '\0'; in pat_sel() 323 if (pt->pend != NULL) in pat_sel() 324 *pt->pend = '/'; in pat_sel() 325 pt->pend = NULL; in pat_sel() 332 if (pt->pend != NULL) { in pat_sel() 333 *pt->pend = '/'; in pat_sel() 334 pt->pend = NULL; in pat_sel() [all …]
|
H A D | pax.h | 169 char *pend; /* end of a prefix match */ member
|
/freebsd/lib/libdpv/ |
H A D | dprompt.c | 59 static char *pend = NULL; variable 298 if (pend == NULL && (pend = msg_pending) == NULL) { in dprompt_init() 299 if ((pend = getenv(ENV_MSG_PENDING)) != NULL) in dprompt_init() 300 pend_size = strlen(pend); in dprompt_init() 303 if ((pend = malloc(pend_size + 1)) == NULL) in dprompt_init() 306 snprintf(pend, pend_size + 1, DPV_PENDING_DEFAULT); in dprompt_init() 311 *(pend + pbar_size) = '\0'; in dprompt_init() 568 pend_lsize, "", pend, pend_rsize, ""); in dprompt_add_files() 761 free(pend); in dprompt_free() 762 pend = NULL; in dprompt_free()
|
/freebsd/sys/dev/uart/ |
H A D | uart_tty.c | 323 int c, err = 0, pend, sig, xc; in uart_tty_intr() local 328 pend = atomic_readandclear_32(&sc->sc_ttypend); in uart_tty_intr() 329 if (!(pend & SER_INT_MASK)) in uart_tty_intr() 335 if (pend & SER_INT_RXREADY) { in uart_tty_intr() 355 if (pend & SER_INT_BREAK) in uart_tty_intr() 358 if (pend & SER_INT_SIGCHG) { in uart_tty_intr() 359 sig = pend & SER_INT_SIGMASK; in uart_tty_intr() 366 if (pend & SER_INT_TXIDLE) in uart_tty_intr()
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | comp_parse.c | 112 char *pstart, *qstart, *pend, *qend; in check_collisions() local 126 for (pstart = n1; (pend = strchr(pstart, '|')); pstart = pend + 1) { in check_collisions() 128 if ((pend - pstart == qend - qstart) in check_collisions() 129 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) { in check_collisions() 132 (int) (pend - pstart), pstart); in check_collisions() 169 char *pstart, *qstart, *pend, *qend; in remove_collision() local 179 for (pstart = n1; (pend = name_ending(pstart)); pstart = next_name(pend)) { in remove_collision() 181 if ((pend - pstart == qend - qstart) in remove_collision() 182 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) { in remove_collision()
|
/freebsd/sys/compat/linux/ |
H A D | linux_mmap.c | 257 vm_pindex_t pstart, pend; in linux_madvise_dontneed() 293 pend = OFF_TO_IDX(entry->offset) + in linux_madvise_dontneed() 296 pend -= atop(entry->end - end); in linux_madvise_dontneed() 316 vm_object_page_remove(object, pstart, pend, 0); in linux_madvise_dontneed() 333 vm_object_madvise(object, pstart, pend, MADV_DONTNEED); in linux_madvise_dontneed() 256 vm_pindex_t pstart, pend; linux_madvise_dontneed() local
|
/freebsd/stand/libsa/ |
H A D | zalloc.c | 287 void *pend = (char *)mp->mp_Base + mp->mp_Size; in zextendPool() local 295 if (base > pend) { in zextendPool() 296 mp->mp_Size += (char *)base - (char *)pend; in zextendPool() 297 mp->mp_Used += (char *)base - (char *)pend; in zextendPool()
|
/freebsd/contrib/less/ |
H A D | lessecho.c | 68 static long lstrtol(char *s, char **pend, int radix) in lstrtol() argument 124 if (pend != NULL) in lstrtol() 129 *pend = s; in lstrtol()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | regcomp.c | 203 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 …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_taskq.c | 355 uint32_t pend; in taskq_cancel_id() local 363 rc = taskqueue_cancel(tq->tq_queue, &ent->tqent_task, &pend); in taskq_cancel_id() 368 &ent->tqent_timeout_task, &pend); in taskq_cancel_id() 374 if (pend) { in taskq_cancel_id() 383 return (pend ? 0 : ENOENT); in taskq_cancel_id()
|
/freebsd/lib/libc/regex/ |
H A D | regcomp.c | 95 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member 267 p->pend[i] = 0; in regcomp_internal() 421 p->pend[subno] = HERE(); in p_ere_exp() 422 assert(p->pend[subno] != 0); in p_ere_exp() 506 if (p->pend[i] != 0) { in p_ere_exp() 511 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_ere_exp() 512 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); in p_ere_exp() 903 p->pend[subno] = HERE(); in p_simp_re() 904 assert(p->pend[subno] != 0); in p_simp_re() 926 if (p->pend[i] != 0) { in p_simp_re() [all …]
|
/freebsd/contrib/nvi/regex/ |
H A D | regcomp.c | 72 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member 231 p->pend[i] = 0; in regcomp() 361 p->pend[subno] = HERE(); in p_ere_exp() 362 assert(p->pend[subno] != 0); in p_ere_exp() 575 p->pend[subno] = HERE(); in p_simp_re() 576 assert(p->pend[subno] != 0); in p_simp_re() 596 if (p->pend[i] != 0) { in p_simp_re() 601 assert(p->strip[p->pend[i]] == ORPAREN); in p_simp_re() 602 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); in p_simp_re() 1418 if (p->pend[i] >= pos) { in doinsert() [all …]
|
/freebsd/sys/arm/allwinner/ |
H A D | a31_dmac.c | 321 uint64_t pend, mask; in a31dmac_intr() local 335 pend = pend0 | ((uint64_t)pend1 << 32); in a31dmac_intr() 337 while ((bit = ffsll(pend & DMA_PKG_IRQ_MASK)) != 0) { in a31dmac_intr() 339 pend &= ~mask; in a31dmac_intr()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | bio_enc.c | 302 int pend; in enc_ctrl() local 338 pend = ctx->buf_len - ctx->buf_off; in enc_ctrl() 345 if (i < 0 || (ctx->buf_len - ctx->buf_off) == pend) in enc_ctrl()
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | AddressSpace.hpp | 227 const uint8_t *pend = (uint8_t *)end; in getULEB128() local 233 if (p == pend) in getULEB128() 252 const uint8_t *pend = (uint8_t *)end; in getSLEB128() local 257 if (p == pend) in getSLEB128()
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_rrip.c | 460 ISO_SUSP_HEADER *pend; in cd9660_rrip_loop() local 483 pend = (ISO_SUSP_HEADER *)((char *)isodir + isonum_711(isodir->length)); in cd9660_rrip_loop() 491 while (pend >= phead + 1) { in cd9660_rrip_loop() 533 pend = (ISO_SUSP_HEADER *) ((char *)phead + ana->iso_ce_len); in cd9660_rrip_loop()
|
/freebsd/sys/dev/iommu/ |
H A D | busdma_iommu.c | 703 vm_paddr_t pstart, pend, paddr; in iommu_bus_dmamap_load_phys() local 709 pend = round_page(buf + buflen); in iommu_bus_dmamap_load_phys() 711 ma_cnt = OFF_TO_IDX(pend - pstart); in iommu_bus_dmamap_load_phys() 754 vm_paddr_t pstart, pend, paddr; in iommu_bus_dmamap_load_buffer() local 760 pend = round_page((vm_offset_t)buf + buflen); in iommu_bus_dmamap_load_buffer() 762 ma_cnt = OFF_TO_IDX(pend - pstart); in iommu_bus_dmamap_load_buffer()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | main.c | 1964 static char *pend = NULL; in snmp_printf_func() local 1973 if (pend != NULL) { in snmp_printf_func() 1974 if ((new = realloc(pend, strlen(pend) + strlen(ret) + 1)) in snmp_printf_func() 1979 pend = new; in snmp_printf_func() 1980 strcat(pend, ret); in snmp_printf_func() 1983 pend = ret; in snmp_printf_func() 1985 while ((ret = strchr(pend, '\n')) != NULL) { in snmp_printf_func() 1987 syslog(LOG_DEBUG, "%s", pend); in snmp_printf_func() 1989 free(pend); in snmp_printf_func() 1990 pend = NULL; in snmp_printf_func() [all …]
|