Searched refs:pend (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-current/contrib/ntp/libntp/
H A Dxsbprintf.c29 * - If '(*ppbuf - pend) <= 0' (or ppbuf is NULL), fail with EINVAL.
34 char * const pend, /* buffer end (I) */
41 if (pbuf && (pend - pbuf > 0)) {
42 size_t blen = (size_t)(pend - pbuf);
61 char * const pend, /* buffer end (I) */
70 rc = xvsbprintf(ppbuf, pend, pfmt, va);
32 xvsbprintf( char **ppbuf, char * const pend, char const *pfmt, va_list va ) argument
59 xsbprintf( char **ppbuf, char * const pend, char const *pfmt, ... ) argument
/freebsd-current/contrib/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) argument
217 pend->pi = NULL;
237 pend->pi = pi;
604 outnet_tcp_take_query_setup(int s, struct pending_tcp* pend, argument
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; local
984 struct pending_tcp* pend = w->outnet->tcp_free; local
1039 reuse_move_writewait_away(struct outside_network* outnet, struct pending_tcp* pend) argument
1172 decommission_pending_tcp(struct outside_network* outnet, struct pending_tcp* pend) argument
1242 reuse_cb_and_decommission(struct outside_network* outnet, struct pending_tcp* pend, int error) argument
1283 struct pending_tcp* pend = (struct pending_tcp*)arg; local
1434 struct pending* pend; local
1814 struct pending* pend = (struct pending*)node; local
1903 struct pending_tcp* pend; local
2029 select_id(struct outside_network* outnet, struct pending* pend, sldns_buffer* packet) argument
2087 select_ifport(struct outside_network* outnet, struct pending* pend, int num_if, struct port_if* ifs) argument
2189 randomize_and_send_udp(struct pending* pend, sldns_buffer* packet, int timeout) argument
2251 struct pending* pend = (struct pending*)calloc(1, sizeof(*pend)); local
2310 struct pending_tcp* pend=(struct pending_tcp*)w->next_waiting; local
2411 struct pending_tcp* pend = sq->outnet->tcp_free; local
2749 struct pending_tcp* pend = local
2758 struct pending_tcp* pend = local
[all...]
/freebsd-current/tools/tools/pirtool/
H A Dpirtool.c141 unsigned char *p, *pend; local
151 pend = base + PIR_SIZE;
152 for (p = base; p < pend; p += 16) {
168 pend = p + pir->size;
170 while (p < pend)
205 pir_entry_t *p, *pend; local
247 p = pend = &pir->entry[0];
248 pend += num_slots;
250 for (i = 0; p < pend; i++, p++) {
/freebsd-current/bin/pax/
H A Dpat_rep.c214 pt->pend = NULL;
304 if (!dflag && ((pt->pend != NULL) || (arcn->type == PAX_DIR))) {
309 * WATCH IT, the code assumes that pt->pend points
318 if (pt->pend != NULL)
319 *pt->pend = '\0';
323 if (pt->pend != NULL)
324 *pt->pend = '/';
325 pt->pend = NULL;
332 if (pt->pend != NULL) {
333 *pt->pend
464 fn_match(char *pattern, char *string, char **pend) argument
[all...]
H A Dpax.h169 char *pend; /* end of a prefix match */ member in struct:pattern
/freebsd-current/lib/libusb/
H A Dlibusb10_desc.c101 struct libusb20_endpoint *pend; local
135 pend = pinf->endpoints;
137 nextra += N_ALIGN(pend->extra.len);
138 pend++;
148 pend = pinf->endpoints;
150 nextra += N_ALIGN(pend->extra.len);
151 pend++;
238 pend = &pinf->endpoints[k];
240 endd->bLength = pend->desc.bLength;
241 endd->bDescriptorType = pend
[all...]
/freebsd-current/contrib/mandoc/
H A Dmandoc_xr.c68 const char *pend; local
90 pend = xr->hashkey + tsz;
91 hv = ohash_interval(xr->hashkey, &pend);
H A Dhtml.c463 print_encode(struct html *h, const char *p, const char *pend, int norecurse) argument
473 if (pend == NULL)
474 pend = strchr(p, '\0');
479 while (p < pend) {
486 for (sz = strcspn(p, rejs); sz-- && p < pend; p++)
490 (p >= pend || *p == ' ' || *p == ASCII_NBRSP)) {
493 while (p < pend && (*p == ' ' || *p == ASCII_NBRSP))
498 if (p >= pend)
/freebsd-current/contrib/less/
H A Dlessecho.c68 static long lstrtol(char *s, char **pend, int radix) argument
124 if (pend != NULL)
129 *pend = s;
/freebsd-current/sys/dev/uart/
H A Duart_tty.c323 int c, err = 0, pend, sig, xc; local
328 pend = atomic_readandclear_32(&sc->sc_ttypend);
329 if (!(pend & SER_INT_MASK))
335 if (pend & SER_INT_RXREADY) {
355 if (pend & SER_INT_BREAK)
358 if (pend & SER_INT_SIGCHG) {
359 sig = pend & SER_INT_SIGMASK;
366 if (pend & SER_INT_TXIDLE)
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dcomp_parse.c108 char *pstart, *qstart, *pend, *qend; local
122 for (pstart = n1; (pend = strchr(pstart, '|')); pstart = pend + 1) {
124 if ((pend - pstart == qend - qstart)
125 && memcmp(pstart, qstart, (size_t) (pend - pstart)) == 0) {
128 (int) (pend - pstart), pstart);
165 char *pstart, *qstart, *pend, *qend; local
175 for (pstart = n1; (pend = name_ending(pstart)); pstart = next_name(pend)) {
177 if ((pend
[all...]
/freebsd-current/lib/libdpv/
H A Ddprompt.c59 static char *pend = NULL; variable
298 if (pend == NULL && (pend = msg_pending) == NULL) {
299 if ((pend = getenv(ENV_MSG_PENDING)) != NULL)
300 pend_size = strlen(pend);
303 if ((pend = malloc(pend_size + 1)) == NULL)
306 snprintf(pend, pend_size + 1, DPV_PENDING_DEFAULT);
311 *(pend + pbar_size) = '\0';
568 pend_lsize, "", pend, pend_rsize, "");
761 free(pend);
[all...]
/freebsd-current/stand/libsa/
H A Dzalloc.c287 void *pend = (char *)mp->mp_Base + mp->mp_Size; local
295 if (base > pend) {
296 mp->mp_Size += (char *)base - (char *)pend;
297 mp->mp_Used += (char *)base - (char *)pend;
/freebsd-current/sys/compat/linux/
H A Dlinux_mmap.c257 vm_pindex_t pstart, pend; local
293 pend = OFF_TO_IDX(entry->offset) +
296 pend -= atop(entry->end - end);
316 vm_object_page_remove(object, pstart, pend, 0);
333 vm_object_madvise(object, pstart, pend, MADV_DONTNEED);
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A Dregcomp.c203 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member in struct:parse
338 p->pend[i] = 0;
461 p->pend[subno] = HERE();
462 assert(p->pend[subno] != 0);
517 if (p->pend[backrefnum] == 0) {
529 assert(OP(p->strip[p->pend[backrefnum]]) == ORPAREN);
530 (void) dupl(p, p->pbegin[backrefnum]+1, p->pend[backrefnum]);
702 p->pend[subno] = HERE();
703 assert(p->pend[subno] != 0);
723 if (p->pend[
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_taskq.c360 uint32_t pend; local
368 rc = taskqueue_cancel(tq->tq_queue, &ent->tqent_task, &pend);
373 &ent->tqent_timeout_task, &pend);
379 if (pend) {
/freebsd-current/crypto/openssl/crypto/evp/
H A Dbio_enc.c302 int pend; local
338 pend = ctx->buf_len - ctx->buf_off;
345 if (i < 0 || (ctx->buf_len - ctx->buf_off) == pend)
/freebsd-current/sys/fs/cd9660/
H A Dcd9660_rrip.c460 ISO_SUSP_HEADER *pend; local
483 pend = (ISO_SUSP_HEADER *)((char *)isodir + isonum_711(isodir->length));
489 * Note: "pend" should be more than one SUSP header
491 while (pend >= phead + 1) {
533 pend = (ISO_SUSP_HEADER *) ((char *)phead + ana->iso_ce_len);
/freebsd-current/sys/arm/allwinner/
H A Da31_dmac.c321 uint64_t pend, mask; local
335 pend = pend0 | ((uint64_t)pend1 << 32);
337 while ((bit = ffsll(pend & DMA_PKG_IRQ_MASK)) != 0) {
339 pend &= ~mask;
/freebsd-current/contrib/llvm-project/libunwind/src/
H A DAddressSpace.hpp227 const uint8_t *pend = (uint8_t *)end; local
233 if (p == pend)
252 const uint8_t *pend = (uint8_t *)end; local
257 if (p == pend)
/freebsd-current/contrib/nvi/regex/
H A Dregcomp.c72 sopno pend[NPAREN]; /* -> ) ([0] unused) */ member in struct:parse
231 p->pend[i] = 0;
361 p->pend[subno] = HERE();
362 assert(p->pend[subno] != 0);
575 p->pend[subno] = HERE();
576 assert(p->pend[subno] != 0);
596 if (p->pend[i] != 0) {
601 assert(p->strip[p->pend[i]] == ORPAREN);
602 (void) dupl(p, p->pbegin[i]+1, p->pend[i]);
1418 if (p->pend[
[all...]
/freebsd-current/sys/dev/iommu/
H A Dbusdma_iommu.c695 vm_paddr_t pstart, pend, paddr; local
701 pend = round_page(buf + buflen);
703 ma_cnt = OFF_TO_IDX(pend - pstart);
746 vm_paddr_t pstart, pend, paddr; local
752 pend = round_page((vm_offset_t)buf + buflen);
754 ma_cnt = OFF_TO_IDX(pend - pstart);
/freebsd-current/contrib/wpa/src/eap_server/
H A Dikev2.c213 const u8 *pend, *ppos; local
258 pend = pos + proposal_len;
259 if (p->spi_size > pend - ppos) {
286 int tlen = ikev2_parse_transform(data, prop, ppos, pend);
292 if (ppos != pend) {
/freebsd-current/contrib/wpa/src/eap_peer/
H A Dikev2.c203 const u8 *pend, *ppos; local
251 pend = pos + proposal_len;
252 if (p->spi_size > pend - ppos) {
280 int tlen = ikev2_parse_transform(prop, ppos, pend);
286 if (ppos != pend) {
/freebsd-current/contrib/bsnmp/snmpd/
H A Dmain.c1964 static char *pend = NULL; local
1973 if (pend != NULL) {
1974 if ((new = realloc(pend, strlen(pend) + strlen(ret) + 1))
1979 pend = new;
1980 strcat(pend, ret);
1983 pend = ret;
1985 while ((ret = strchr(pend, '\n')) != NULL) {
1987 syslog(LOG_DEBUG, "%s", pend);
1989 free(pend);
[all...]

Completed in 276 milliseconds

12