Home
last modified time | relevance | path

Searched refs:optr (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/ntp/libntp/
H A Demalloc.c87 void *optr, in oreallocarrayxz() argument
110 return ereallocz(optr, extra + (size * nmemb), 0, TRUE); in oreallocarrayxz()
112 return ereallocz(optr, extra + (size * nmemb), 0, TRUE, file, line); in oreallocarrayxz()
/freebsd/sys/dev/dcons/
H A Ddcons.c145 dc->o.ptr = &buf->optr[port]; in dcons_init_port()
152 buf->optr[port] = DCONS_MAKE_PTR(&dc->o); in dcons_init_port()
174 dc->o.gen = ntohl(buf->optr[port]) >> DCONS_GEN_SHIFT; in dcons_load_buffer()
176 dc->o.pos = ntohl(buf->optr[port]) & DCONS_POS_MASK; in dcons_load_buffer()
178 dc->o.ptr = &buf->optr[port]; in dcons_load_buffer()
H A Ddcons.h61 V u_int32_t optr[DCONS_NPORT]; member
/freebsd/contrib/mandoc/
H A Dcompat_reallocarray.c32 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() argument
39 return realloc(optr, size * nmemb); in reallocarray()
/freebsd/lib/libc/stdlib/
H A Dreallocarray.c30 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() argument
38 return (realloc(optr, size * nmemb)); in reallocarray()
/freebsd/contrib/libdiff/compat/
H A Dreallocarray.c30 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() argument
37 return realloc(optr, size * nmemb); in reallocarray()
/freebsd/contrib/unbound/compat/
H A Dreallocarray.c34 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() argument
41 return realloc(optr, size * nmemb); in reallocarray()
/freebsd/crypto/openssh/openbsd-compat/
H A Dreallocarray.c37 reallocarray(void *optr, size_t nmemb, size_t size) in reallocarray() argument
44 return realloc(optr, size * nmemb); in reallocarray()
/freebsd/lib/libc/stdio/
H A Dflags.c48 __sflags(const char *mode, int *optr) in __sflags() argument
111 *optr = m | o; in __sflags()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c277 unsigned char *optr; /* Position in output buffer */ member
448 ctx->optr = ctx->obuf; in bio_zlib_write()
464 ret = BIO_write(next, ctx->optr, ctx->ocount); in bio_zlib_write()
473 ctx->optr += ret; in bio_zlib_write()
484 ctx->optr = ctx->obuf; in bio_zlib_write()
517 ret = BIO_write(next, ctx->optr, ctx->ocount); in bio_zlib_flush()
522 ctx->optr += ret; in bio_zlib_flush()
531 ctx->optr = ctx->obuf; in bio_zlib_flush()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_ripencc.c1290 *optr-- = *bp++; in bGetShort()
1291 *optr = *bp; in bGetShort()
1305 *optr-- = *bp++; in bGetUShort()
1306 *optr = *bp; in bGetUShort()
1319 *optr-- = *bp++; in bGetLong()
1320 *optr-- = *bp++; in bGetLong()
1321 *optr-- = *bp++; in bGetLong()
1322 *optr = *bp; in bGetLong()
1338 *optr = *bp; in bGetULong()
1355 *optr = *bp; in bGetSingle()
[all …]
/freebsd/usr.bin/top/
H A Ddisplay.c859 char *optr; in u_process() local
893 optr = stpcpy(bufferline, newline); in u_process()
896 if (optr - bufferline < screen_width) in u_process()
898 memset(optr, 0, screen_width - (optr - bufferline)); in u_process()
/freebsd/sbin/dump/
H A DMakefile22 SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c
/freebsd/contrib/tcpdump/
H A Dprint-isoclns.c830 const uint8_t *optr,*source_address,*dest_address; in clnp_print() local
842 optr = pptr; in clnp_print()
931 osi_print_cksum(ndo, optr, GET_BE_U_2(clnp_header->cksum), 7, in clnp_print()
1128 if (length > ND_BYTES_BETWEEN(pptr, optr)) { in clnp_print()
1168 const uint8_t *optr; in esis_print() local
1184 optr = pptr; in esis_print()
1241 print_unknown_data(ndo, optr, "\n\t", sizeof(struct esis_header_t)); in esis_print()
2496 const uint8_t *optr, *pptr, *tptr; in isis_print() local
2506 optr = p; /* initialize the _o_riginal pointer to the packet start - in isis_print()
3128 sigcheck = signature_verify(ndo, optr, length, tptr, in isis_print()
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_stdlib.h125 extern void * oreallocarrayxz (void *optr, size_t nmemb, size_t size, size_t extra);
140 extern void * oreallocarrayxz (void *optr, size_t nmemb, size_t size,
/freebsd/lib/libc/nameser/
H A Dns_parse.c79 const u_char *optr = ptr; in ns_skiprr() local
98 return (ptr - optr); in ns_skiprr()
/freebsd/usr.sbin/dconschat/
H A Ddconschat.c114 u_int32_t optr; member
404 o->gen = ntohl(dbuf.optr[j]) >> DCONS_GEN_SHIFT; in dconschat_fetch_header()
405 o->pos = ntohl(dbuf.optr[j]) & DCONS_POS_MASK; in dconschat_fetch_header()
462 dc->port[i].optr = ntohl(ptr[i + 1]); in dconschat_get_ptr()
478 ptr = dc->port[port].optr; in dconschat_read_dcons()
/freebsd/sys/dev/isp/
H A Disp.c3225 uint32_t iptr, optr, oop; in isp_intr_atioq() local
3228 optr = isp->isp_atioodx; in isp_intr_atioq()
3229 while (optr != iptr) { in isp_intr_atioq()
3230 oop = optr; in isp_intr_atioq()
3250 isp->isp_atioodx = optr; in isp_intr_atioq()
3298 optr = isp->isp_resodx; in isp_intr_respq()
3299 while (optr != iptr) { in isp_intr_respq()
3300 cptr = optr; in isp_intr_respq()
3302 sptr = optr; in isp_intr_respq()
3305 optr = ISP_NXT_QENTRY(optr, RESULT_QUEUE_LEN(isp)); in isp_intr_respq()
[all …]
/freebsd/sbin/ipfw/
H A Dipfw2.c3583 char *ap, *ptr, *optr; in get_mac_addr_mask() local
3593 optr = ptr = strdup(p); in get_mac_addr_mask()
3603 if (p[ptr - optr - 1] == '/') { /* mask len */ in get_mac_addr_mask()
3623 free(optr); in get_mac_addr_mask()