| /freebsd-13-stable/contrib/unbound/services/ |
| HD | 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-13-stable/contrib/ntp/libntp/ |
| HD | 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-13-stable/tools/tools/pirtool/ |
| HD | 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-13-stable/lib/libusb/ |
| HD | 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-13-stable/bin/pax/ |
| HD | pat_rep.c | 220 pt->pend = NULL; in pat_add() 310 if (!dflag && ((pt->pend != NULL) || (arcn->type == PAX_DIR))) { in pat_sel() 324 if (pt->pend != NULL) in pat_sel() 325 *pt->pend = '\0'; in pat_sel() 329 if (pt->pend != NULL) in pat_sel() 330 *pt->pend = '/'; in pat_sel() 331 pt->pend = NULL; in pat_sel() 338 if (pt->pend != NULL) { in pat_sel() 339 *pt->pend = '/'; in pat_sel() 340 pt->pend = NULL; in pat_sel() [all …]
|
| HD | pax.h | 171 char *pend; /* end of a prefix match */ member
|
| /freebsd-13-stable/sys/dev/uart/ |
| HD | uart_tty.c | 324 int c, err = 0, pend, sig, xc; in uart_tty_intr() local 329 pend = atomic_readandclear_32(&sc->sc_ttypend); in uart_tty_intr() 330 if (!(pend & SER_INT_MASK)) in uart_tty_intr() 336 if (pend & SER_INT_RXREADY) { in uart_tty_intr() 356 if (pend & SER_INT_BREAK) in uart_tty_intr() 359 if (pend & SER_INT_SIGCHG) { in uart_tty_intr() 360 sig = pend & SER_INT_SIGMASK; in uart_tty_intr() 367 if (pend & SER_INT_TXIDLE) in uart_tty_intr()
|
| /freebsd-13-stable/lib/libdpv/ |
| HD | dprompt.c | 60 static char *pend = NULL; variable 299 if (pend == NULL && (pend = msg_pending) == NULL) { in dprompt_init() 300 if ((pend = getenv(ENV_MSG_PENDING)) != NULL) in dprompt_init() 301 pend_size = strlen(pend); in dprompt_init() 304 if ((pend = malloc(pend_size + 1)) == NULL) in dprompt_init() 307 snprintf(pend, pend_size + 1, DPV_PENDING_DEFAULT); in dprompt_init() 312 *(pend + pbar_size) = '\0'; in dprompt_init() 569 pend_lsize, "", pend, pend_rsize, ""); in dprompt_add_files() 762 free(pend); in dprompt_free() 763 pend = NULL; in dprompt_free()
|
| /freebsd-13-stable/contrib/ncurses/ncurses/tinfo/ |
| HD | comp_parse.c | 108 char *pstart, *qstart, *pend, *qend; in check_collisions() local 122 for (pstart = n1; (pend = strchr(pstart, '|')); pstart = pend + 1) { in check_collisions() 124 if ((pend - pstart == qend - qstart) in check_collisions() 125 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) { in check_collisions() 128 (int) (pend - pstart), pstart); in check_collisions() 165 char *pstart, *qstart, *pend, *qend; in remove_collision() local 175 for (pstart = n1; (pend = name_ending(pstart)); pstart = next_name(pend)) { in remove_collision() 177 if ((pend - pstart == qend - qstart) in remove_collision() 178 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) { in remove_collision()
|
| /freebsd-13-stable/contrib/mandoc/ |
| HD | 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()
|
| HD | html.c | 463 print_encode(struct html *h, const char *p, const char *pend, int norecurse) in print_encode() argument 473 if (pend == NULL) in print_encode() 474 pend = strchr(p, '\0'); in print_encode() 479 while (p < pend) { in print_encode() 486 for (sz = strcspn(p, rejs); sz-- && p < pend; p++) in print_encode() 490 (p >= pend || *p == ' ' || *p == ASCII_NBRSP)) { in print_encode() 493 while (p < pend && (*p == ' ' || *p == ASCII_NBRSP)) in print_encode() 498 if (p >= pend) in print_encode()
|
| /freebsd-13-stable/sys/compat/linux/ |
| HD | linux_mmap.c | 257 vm_pindex_t pstart, pend; in linux_madvise_dontneed() local 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()
|
| /freebsd-13-stable/stand/libsa/ |
| HD | zalloc.c | 288 void *pend = (char *)mp->mp_Base + mp->mp_Size; in zextendPool() local 296 if (base > pend) { in zextendPool() 297 mp->mp_Size += (char *)base - (char *)pend; in zextendPool() 298 mp->mp_Used += (char *)base - (char *)pend; in zextendPool()
|
| /freebsd-13-stable/contrib/less/ |
| HD | 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-13-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | 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-13-stable/sys/contrib/openzfs/module/os/freebsd/spl/ |
| HD | spl_taskq.c | 279 uint32_t pend; in taskq_cancel_id() local 292 &ent->tqent_timeout_task, &pend); in taskq_cancel_id() 294 rc = taskqueue_cancel(tq->tq_queue, &ent->tqent_task, &pend); in taskq_cancel_id() 297 } else if (pend) { in taskq_cancel_id()
|
| /freebsd-13-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-pow-defs.h | 429 uint64_t pend : 1; /**< Pending switch memory BIST status */ member 433 uint64_t pend : 1; 458 uint64_t pend : 1; /**< Pending switch memory BIST status */ member 462 uint64_t pend : 1; 520 uint64_t pend : 1; /**< Pending switch memory BIST status */ member 524 uint64_t pend : 1; 582 uint64_t pend : 1; /**< Pending switch memory BIST status */ member 586 uint64_t pend : 1; 607 uint64_t pend : 1; /**< Pending switch memory BIST status */ member 611 uint64_t pend : 1; [all …]
|
| /freebsd-13-stable/lib/libc/regex/ |
| HD | regcomp.c | 101 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member 273 p->pend[i] = 0; in regcomp_internal() 427 p->pend[subno] = HERE(); in p_ere_exp() 428 assert(p->pend[subno] != 0); in p_ere_exp() 510 if (p->pend[i] != 0) { in p_ere_exp() 515 assert(OP(p->strip[p->pend[i]]) == ORPAREN); in p_ere_exp() 516 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); in p_ere_exp() 894 p->pend[subno] = HERE(); in p_simp_re() 895 assert(p->pend[subno] != 0); in p_simp_re() 914 if (p->pend[i] != 0) { in p_simp_re() [all …]
|
| /freebsd-13-stable/contrib/nvi/regex/ |
| HD | 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-13-stable/sys/arm/allwinner/ |
| HD | a31_dmac.c | 322 uint64_t pend, mask; in a31dmac_intr() local 336 pend = pend0 | ((uint64_t)pend1 << 32); in a31dmac_intr() 338 while ((bit = ffsll(pend & DMA_PKG_IRQ_MASK)) != 0) { in a31dmac_intr() 340 pend &= ~mask; in a31dmac_intr()
|
| /freebsd-13-stable/crypto/openssl/crypto/evp/ |
| HD | 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-13-stable/contrib/llvm-project/libunwind/src/ |
| HD | 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-13-stable/sys/fs/cd9660/ |
| HD | cd9660_rrip.c | 492 ISO_SUSP_HEADER *pend; local 515 pend = (ISO_SUSP_HEADER *)((char *)isodir + isonum_711(isodir->length)); 523 while (pend >= phead + 1) { 565 pend = (ISO_SUSP_HEADER *) ((char *)phead + ana->iso_ce_len);
|
| /freebsd-13-stable/sys/dev/iommu/ |
| HD | busdma_iommu.c | 705 vm_paddr_t pstart, pend, paddr; in iommu_bus_dmamap_load_phys() local 711 pend = round_page(buf + buflen); in iommu_bus_dmamap_load_phys() 713 ma_cnt = OFF_TO_IDX(pend - pstart); in iommu_bus_dmamap_load_phys() 756 vm_paddr_t pstart, pend, paddr; in iommu_bus_dmamap_load_buffer() local 762 pend = round_page((vm_offset_t)buf + buflen); in iommu_bus_dmamap_load_buffer() 764 ma_cnt = OFF_TO_IDX(pend - pstart); in iommu_bus_dmamap_load_buffer()
|
| /freebsd-13-stable/contrib/bsnmp/snmpd/ |
| HD | 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 …]
|