| /freebsd-12-stable/lib/libsecureboot/openpgp/ |
| D | decode.c | 111 decode_new_len(unsigned char **pptr) in decode_new_len() argument 116 if (pptr == NULL) in decode_new_len() 118 ptr = *pptr; in decode_new_len() 135 *pptr = ptr; in decode_new_len() 145 decode_len(unsigned char **pptr, int ltype) in decode_len() argument 151 return (decode_new_len(pptr)); in decode_len() 153 if (pptr == NULL) in decode_len() 156 ptr = *pptr; in decode_len() 178 *pptr = ptr; in decode_len() 188 decode_mpi(unsigned char **pptr, size_t *sz) in decode_mpi() argument [all …]
|
| D | decode.h | 30 unsigned char * mpi2bn(unsigned char **pptr, size_t *sz); 36 BIGNUM * mpi2bn(unsigned char **pptr); 53 unsigned char * decode_mpi(unsigned char **pptr, size_t *sz); 55 int decode_packet(int want, unsigned char **pptr, size_t nbytes, 57 unsigned char * decode_subpacket(unsigned char **pptr, int *stag, int *sz);
|
| /freebsd-12-stable/contrib/tcpdump/ |
| D | print-bgp.c | 533 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) in decode_prefix4() argument 538 ND_TCHECK(pptr[0]); in decode_prefix4() 540 plen = pptr[0]; in decode_prefix4() 547 ND_TCHECK2(pptr[1], plenbytes); in decode_prefix4() 549 memcpy(&addr, &pptr[1], plenbytes); in decode_prefix4() 566 const u_char *pptr, u_int itemlen, char *buf, u_int buflen) in decode_labeled_prefix4() argument 572 ND_TCHECK2(pptr[0], 4); in decode_labeled_prefix4() 574 plen = pptr[0]; /* get prefix length */ in decode_labeled_prefix4() 595 ND_TCHECK2(pptr[4], plenbytes); in decode_labeled_prefix4() 597 memcpy(&addr, &pptr[4], plenbytes); in decode_labeled_prefix4() [all …]
|
| D | print-bfd.c | 178 auth_print(netdissect_options *ndo, register const u_char *pptr) in auth_print() argument 183 pptr += sizeof (const struct bfd_header_t); in auth_print() 184 bfd_auth_header = (const struct bfd_auth_header_t *)pptr; in auth_print() 190 pptr += 2; in auth_print() 191 ND_PRINT((ndo, "\n\t Auth Key ID: %d", *pptr)); in auth_print() 212 pptr++; in auth_print() 215 if (fn_printn(ndo, pptr, bfd_auth_header->auth_len - 3, in auth_print() 241 pptr += 2; in auth_print() 242 ND_TCHECK2(*pptr, 4); in auth_print() 243 ND_PRINT((ndo, ", Sequence Number: 0x%08x", EXTRACT_32BITS(pptr))); in auth_print() [all …]
|
| D | print-syslog.c | 81 register const u_char *pptr, register u_int len) in syslog_print() argument 93 ND_TCHECK2(*pptr, 1); in syslog_print() 94 if (*(pptr+msg_off) == '<') { in syslog_print() 96 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print() 97 while ( *(pptr+msg_off) >= '0' && in syslog_print() 98 *(pptr+msg_off) <= '9' && in syslog_print() 100 pri = pri * 10 + (*(pptr+msg_off) - '0'); in syslog_print() 102 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print() 104 if (*(pptr+msg_off) != '>') { in syslog_print() 135 ND_TCHECK2(*(pptr + msg_off), 1); in syslog_print() [all …]
|
| D | print-isoclns.c | 567 static void osi_print_cksum(netdissect_options *, const uint8_t *pptr, 767 const uint8_t *pptr, u_int length) in clnp_print() argument 775 clnp_header = (const struct clnp_header_t *) pptr; in clnp_print() 779 optr = pptr; in clnp_print() 800 while (pptr < ndo->ndo_snapend) in clnp_print() 801 ND_PRINT((ndo, "%02X", *pptr++)); in clnp_print() 810 pptr += sizeof(struct clnp_header_t); in clnp_print() 817 ND_TCHECK(*pptr); in clnp_print() 818 dest_address_length = *pptr; in clnp_print() 819 pptr += 1; in clnp_print() [all …]
|
| D | print-forces.c | 69 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len, 233 int (*print) (netdissect_options *ndo, register const u_char * pptr, register u_int len, 237 static int genoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 239 static int recpdoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 241 static int invoptlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 445 static int lfbselect_print(netdissect_options *, register const u_char * pptr, register u_int len, 447 static int redirect_print(netdissect_options *, register const u_char * pptr, register u_int len, 449 static int asrtlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 451 static int asttlv_print(netdissect_options *, register const u_char * pptr, register u_int len, 503 int (*print) (netdissect_options *, register const u_char * pptr, register u_int len, [all …]
|
| D | util-print.c | 697 fetch_token(netdissect_options *ndo, const u_char *pptr, u_int idx, u_int len, in fetch_token() argument 703 if (!ND_TTEST(*(pptr + idx))) { in fetch_token() 707 if (!isascii(*(pptr + idx))) { in fetch_token() 711 if (isspace(*(pptr + idx))) { in fetch_token() 715 if (!isprint(*(pptr + idx))) { in fetch_token() 723 tbuf[toklen] = *(pptr + idx); in fetch_token() 737 if (!ND_TTEST(*(pptr + idx))) { in fetch_token() 741 if (*(pptr + idx) == '\r' || *(pptr + idx) == '\n') { in fetch_token() 745 if (!isascii(*(pptr + idx)) || !isprint(*(pptr + idx))) { in fetch_token() 749 if (!isspace(*(pptr + idx))) { in fetch_token() [all …]
|
| D | signature.c | 118 signature_verify(netdissect_options *ndo, const u_char *pptr, u_int plen, in signature_verify() argument 133 if (!ND_TTEST2(*pptr, plen)) { in signature_verify() 145 if (sig_ptr + sizeof(sig) > pptr + plen) { in signature_verify() 158 memcpy(packet_copy, pptr, plen); in signature_verify() 163 sig_copy = packet_copy + (sig_ptr - pptr); in signature_verify() 170 (*clear_rtn)((void *)(packet_copy + ((const uint8_t *)clear_arg - pptr))); in signature_verify() 201 signature_verify(netdissect_options *ndo _U_, const u_char *pptr _U_, in signature_verify()
|
| D | print-slow.c | 246 register const u_char *pptr, register u_int len) in slow_print() argument 253 ND_TCHECK(*pptr); in slow_print() 254 subtype = *pptr; in slow_print() 263 ND_TCHECK(*(pptr+1)); in slow_print() 264 if (*(pptr+1) != LACP_VERSION) { in slow_print() 265 ND_PRINT((ndo, "LACP version %u packet not supported", *(pptr+1))); in slow_print() 274 ND_TCHECK(*(pptr+1)); in slow_print() 275 if (*(pptr+1) != MARKER_VERSION) { in slow_print() 276 ND_PRINT((ndo, "MARKER version %u packet not supported", *(pptr+1))); in slow_print() 295 *(pptr+1), in slow_print() [all …]
|
| D | print-lwapp.c | 166 const u_char *pptr, u_int len, int has_ap_ident) in lwapp_control_print() argument 174 tptr=pptr; in lwapp_control_print() 179 lwapp_trans_header = (const struct lwapp_transport_header *)(pptr+6); in lwapp_control_print() 181 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_control_print() 289 const u_char *pptr, u_int len) in lwapp_data_print() argument 295 tptr=pptr; in lwapp_data_print() 299 lwapp_trans_header = (const struct lwapp_transport_header *)pptr; in lwapp_data_print()
|
| D | print-dtp.c | 47 dtp_print (netdissect_options *ndo, const u_char *pptr, u_int length) in dtp_print() argument 55 tptr = pptr; in dtp_print() 72 while (tptr < (pptr+length)) { in dtp_print() 92 fn_printzp(ndo, tptr+4, len-4, pptr+length); in dtp_print()
|
| D | print-zephyr.c | 86 parse_field(netdissect_options *ndo, const char **pptr, int *len, int *truncated) in parse_field() argument 91 s = *pptr; in parse_field() 98 if (!ND_TTEST(**pptr)) { in parse_field() 103 if (**pptr == '\0') { in parse_field() 108 (*pptr)++; in parse_field() 112 (*pptr)++; in parse_field()
|
| D | checksum.c | 139 create_osi_cksum (const uint8_t *pptr, int checksum_offset, int length) in create_osi_cksum() argument 160 pptr++; in create_osi_cksum() 162 c0 = c0 + *(pptr++); in create_osi_cksum()
|
| D | print-mpcp.c | 124 mpcp_print(netdissect_options *ndo, register const u_char *pptr, register u_int length) in mpcp_print() argument 140 tptr=pptr; in mpcp_print() 141 mpcp.common_header = (const struct mpcp_common_header_t *)pptr; in mpcp_print() 245 print_unknown_data(ndo,pptr, "\n\t", length); in mpcp_print()
|
| /freebsd-12-stable/contrib/gcclibs/libgomp/ |
| D | critical.c | 53 GOMP_critical_name_start (void **pptr) in GOMP_critical_name_start() argument 62 plock = (gomp_mutex_t *)pptr; in GOMP_critical_name_start() 67 plock = *pptr; in GOMP_critical_name_start() 75 plock = __sync_val_compare_and_swap (pptr, NULL, nlock); in GOMP_critical_name_start() 85 plock = *pptr; in GOMP_critical_name_start() 91 *pptr = plock; in GOMP_critical_name_start() 102 GOMP_critical_name_end (void **pptr) in GOMP_critical_name_end() argument 111 plock = (gomp_mutex_t *)pptr; in GOMP_critical_name_end() 113 plock = *pptr; in GOMP_critical_name_end()
|
| /freebsd-12-stable/contrib/libc-pwcache/ |
| D | pwcache.c | 266 UIDC *ptr, **pptr; in user_from_uid() local 274 pptr = uidtb + (uid % UID_SZ); in user_from_uid() 275 ptr = *pptr; in user_from_uid() 296 *pptr = ptr = (UIDC *)malloc(sizeof(UIDC)); in user_from_uid() 335 GIDC *ptr, **pptr; in group_from_gid() local 343 pptr = gidtb + (gid % GID_SZ); in group_from_gid() 344 ptr = *pptr; in group_from_gid() 365 *pptr = ptr = (GIDC *)malloc(sizeof(GIDC)); in group_from_gid() 402 UIDC *ptr, **pptr; in uid_from_user() local 417 pptr = usrtb + st_hash(name, namelen, UNM_SZ); in uid_from_user() [all …]
|
| /freebsd-12-stable/lib/libc/net/ |
| D | getproto.c | 60 struct protoent *pptr; in files_getprotobynumber() local 66 pptr = va_arg(ap, struct protoent *); in files_getprotobynumber() 86 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobynumber() 91 *((struct protoent **)retval) = pptr; in files_getprotobynumber() 96 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, in getprotobynumber_r() argument 118 defaultsrc, proto, pptr, buffer, buflen, &ret_errno); in getprotobynumber_r()
|
| D | getprotoname.c | 68 struct protoent *pptr; in files_getprotobyname() local 74 pptr = va_arg(ap, struct protoent *); in files_getprotobyname() 100 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotobyname() 105 *((struct protoent **)retval) = pptr; in files_getprotobyname() 111 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, in getprotobyname_r() argument 132 defaultsrc, name, pptr, buffer, buflen, &ret_errno); in getprotobyname_r()
|
| D | getprotoent.c | 297 __copy_protoent(struct protoent *pe, struct protoent *pptr, char *buf, in __copy_protoent() argument 319 pptr->p_proto = pe->p_proto; in __copy_protoent() 326 pptr->p_name = cp; in __copy_protoent() 330 pptr->p_aliases = (char **)ALIGN(buf); in __copy_protoent() 334 pptr->p_aliases[i] = cp; in __copy_protoent() 337 pptr->p_aliases[i] = NULL; in __copy_protoent() 418 struct protoent *pptr; in files_getprotoent_r() local 423 pptr = va_arg(ap, struct protoent *); in files_getprotoent_r() 438 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) { in files_getprotoent_r() 443 *((struct protoent **)retval) = pptr; in files_getprotoent_r() [all …]
|
| /freebsd-12-stable/contrib/libstdc++/src/ |
| D | strstream.cc | 139 { return pptr() ? pptr() - pbase() : 0; } in pcount() 148 if (pptr() == epptr() && _M_dynamic && !_M_frozen && !_M_constant) in overflow() 177 if (pptr() != epptr()) in overflow() 179 *pptr() = c; in overflow() 215 if (gptr() == egptr() && pptr() && pptr() > egptr()) in underflow() 216 setg(eback(), gptr(), pptr()); in underflow() 246 if ((!do_get && !do_put) || (do_put && !pptr()) || !gptr()) in seekoff() 262 newoff = do_put ? pptr() - seeklow : gptr() - seeklow; in seekoff() 289 else if (off <= pptr() - seeklow) in seekoff() 290 setg(seeklow, seeklow + off, pptr()); in seekoff()
|
| /freebsd-12-stable/contrib/llvm-project/libcxx/src/ |
| D | strstream.cpp | 149 return static_cast<int>(pptr() - pbase()); in pcount() 157 if (pptr() == epptr()) in overflow() 178 ptrdiff_t nout = pptr() - pbase(); in overflow() 191 *pptr() = static_cast<char>(__c); in overflow() 225 if (egptr() >= pptr()) in underflow() 227 setg(eback(), gptr(), pptr()); in underflow() 253 if (pos_out && pptr() == nullptr) in seekoff() 265 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff() 300 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
|
| /freebsd-12-stable/contrib/libstdc++/include/std/ |
| D | std_sstream.h | 131 if (this->pptr()) in _GLIBCXX_BEGIN_NAMESPACE() 134 if (this->pptr() > this->egptr()) in _GLIBCXX_BEGIN_NAMESPACE() 135 __ret = __string_type(this->pbase(), this->pptr()); in _GLIBCXX_BEGIN_NAMESPACE() 242 if (this->pptr() && this->pptr() > this->egptr()) in _GLIBCXX_BEGIN_NAMESPACE() 245 this->setg(this->eback(), this->gptr(), this->pptr()); in _GLIBCXX_BEGIN_NAMESPACE() 247 this->setg(this->pptr(), this->pptr(), this->pptr()); in _GLIBCXX_BEGIN_NAMESPACE()
|
| /freebsd-12-stable/contrib/libstdc++/include/bits/ |
| D | sstream.tcc | 98 const bool __testput = this->pptr() < this->epptr(); in overflow() 126 this->gptr() - this->eback(), this->pptr() - this->pbase()); in overflow() 129 *this->pptr() = __conv; in overflow() 176 __newoffo += this->pptr() - __beg; in seekoff() 192 this->pbump((__beg + __newoffo) - this->pptr()); in seekoff() 221 this->pbump((__beg + __pos) - this->pptr()); in seekpos()
|
| /freebsd-12-stable/crypto/openssl/crypto/ui/ |
| D | ui_util.c | 74 void **pptr = (void **)from_d; in ui_dup_method_data() local 75 if (*pptr != NULL) in ui_dup_method_data() 76 *pptr = OPENSSL_memdup(*pptr, sizeof(struct pem_password_cb_data)); in ui_dup_method_data()
|