/bionic/libc/include/arpa/ |
D | nameser.h | 112 typedef u_char ns_nname[NS_MAXNNAME]; 113 typedef const u_char *ns_nname_ct; 114 typedef u_char *ns_nname_t; 126 const u_char *_msg, *_eom; 128 const u_char *_sections[ns_s_max]; 131 const u_char *_msg_ptr; 139 const u_char *dnptrs[25]; 140 const u_char **lastdnptr; 161 const u_char * rdata; 174 const u_char * rdata; [all …]
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 333 void fp_nquery(const u_char *, int, FILE *); 334 void fp_query(const u_char *, FILE *); 336 void p_query(const u_char *); 339 __LIBC_HIDDEN__ int res_opt(int, u_char *, int, int); 341 int res_mkquery(int, const char *, int, int, const u_char *, int, const u_char *, u_char *, int); 342 int res_query(const char *, int, int, u_char *, int); 343 int res_querydomain(const char *, const char *, int, int, u_char *, int); 344 int res_search(const char *, int, int, u_char *, int); 345 int res_send(const u_char *, int, u_char *, int); 346 int res_sendsigned(const u_char *, int, ns_tsig_key *, u_char *, int); [all …]
|
D | resolv_params.h | 55 const u_char **, int *, 56 u_char *, int, int *); 59 const u_char *, int, u_char *,
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
D | strcasecmp.c | 34 typedef unsigned char u_char; typedef 41 static const u_char charmap[] = { 79 const u_char *cm = charmap; in strcasecmp() 80 const u_char *us1 = (const u_char *)s1; in strcasecmp() 81 const u_char *us2 = (const u_char *)s2; in strcasecmp() 94 const u_char *cm = charmap; in strncasecmp() 95 const u_char *us1 = (const u_char *)s1; in strncasecmp() 96 const u_char *us2 = (const u_char *)s2; in strncasecmp()
|
/bionic/libc/include/ |
D | resolv.h | 43 int b64_ntop(u_char const* __src, size_t __src_size, char* __dst, size_t __dst_size); 45 int b64_pton(char const* __src, u_char* __dst, size_t __dst_size); 48 int dn_comp(const char* __src, u_char* __dst, int __dst_size, u_char** __dn_ptrs , u_char** __last_… 50 int dn_expand(const u_char* __msg, const u_char* __eom, const u_char* __src, char* __dst, int __dst… 58 …omain_name, int __class, int __type, const u_char* __data, int __data_size, const u_char* __new_rr… 59 int res_query(const char* __name, int __class, int __type, u_char* __answer, int __answer_size); 60 int res_search(const char* __name, int __class, int __type, u_char* __answer, int __answer_size);
|
/bionic/libc/dns/nameser/ |
D | ns_name.c | 76 static int dn_find(const u_char *, const u_char *, 77 const u_char * const *, 78 const u_char * const *); 82 static int labellen(const u_char *); 98 ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) in ns_name_ntop() 100 const u_char *cp; in ns_name_ntop() 102 u_char c; in ns_name_ntop() 203 ns_name_pton(const char *src, u_char *dst, size_t dstsiz) { in ns_name_pton() 221 ns_name_pton2(const char *src, u_char *dst, size_t dstsiz, size_t *dstlen) { in ns_name_pton2() 222 u_char *label, *bp, *eom; in ns_name_pton2() [all …]
|
D | ns_netint.c | 36 ns_get16(const u_char *src) { in ns_get16() 44 ns_get32(const u_char *src) { in ns_get32() 52 ns_put16(uint16_t src, u_char *dst) { in ns_put16() 57 ns_put32(uint32_t src, u_char *dst) { in ns_put32()
|
D | ns_parse.c | 82 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() 83 const u_char *optr = ptr; in ns_skiprr() 107 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() 108 const u_char *eom = msg + msglen; in ns_initparse()
|
/bionic/libc/dns/resolv/ |
D | res_comp.c | 104 dn_expand(const u_char *msg, const u_char *eom, const u_char *src, in dn_expand() 120 dn_comp(const char *src, u_char *dst, int dstsiz, in dn_comp() 121 u_char **dnptrs, u_char **lastdnptr) in dn_comp() 124 (const u_char **)dnptrs, in dn_comp() 125 (const u_char **)lastdnptr)); in dn_comp() 132 dn_skipname(const u_char *ptr, const u_char *eom) { in dn_skipname() 133 const u_char *saveptr = ptr; in dn_skipname() 260 void __putlong(u_int32_t src, u_char *dst) { ns_put32(src, dst); } in __putlong() 261 void __putshort(u_int16_t src, u_char *dst) { ns_put16(src, dst); } in __putshort() 263 u_int32_t _getlong(const u_char *src) { return (ns_get32(src)); } in _getlong() [all …]
|
D | res_data.c | 151 p_query(const u_char *msg) { in p_query() 156 fp_query(const u_char *msg, FILE *file) { in fp_query() 161 fp_nquery(const u_char *msg, int len, FILE *file) { in fp_nquery() 172 const u_char *data, /* resource record data */ in res_mkquery() 174 const u_char *newrr_in, /* new rr for modify or append */ in res_mkquery() 175 u_char *buf, /* buffer to put query */ in res_mkquery() 189 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_mkupdate() 202 u_char *answer, /* buffer to put answer */ in res_query() 228 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { in res_send() 239 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, in res_sendsigned() [all …]
|
D | res_mkquery.c | 120 const u_char *data, /* resource record data */ in res_nmkquery() 122 const u_char *newrr_in, /* new rr for modify or append */ in res_nmkquery() 123 u_char *buf, /* buffer to put query */ in res_nmkquery() 127 register u_char *cp, *ep; in res_nmkquery() 129 u_char *dnptrs[20], **dpp, **lastdnptr; in res_nmkquery() 233 u_char *buf, /* buffer to put query */ in res_nopt() 238 register u_char *cp, *ep; in res_nopt()
|
D | res_debug.c | 202 const u_char *cp = ns_rr_rdata(rr); in do_section() 279 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery() 350 const u_char * 351 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) { in p_cdnname() 364 const u_char * 365 p_cdname(const u_char *cp, const u_char *msg, FILE *file) { in p_cdname() 372 const u_char * 373 p_fqnname(const u_char *cp, const u_char *msg, int msglen, char *name, in p_fqnname() 393 const u_char * 394 p_fqname(const u_char *cp, const u_char *msg, FILE *file) { in p_fqname() [all …]
|
D | res_send.c | 141 static int send_vc(res_state, struct __res_params *params, const u_char *, int, 142 u_char *, int, int *, int, time_t *, int *, int *); 143 static int send_dg(res_state, struct __res_params *params, const u_char *, int, 144 u_char *, int, int *, int, int *, int *, time_t *, int *, int *); 149 void res_pquery(const res_state, const u_char *, int, FILE *); 277 const u_char *buf, const u_char *eom) in res_nameinquery() 279 const u_char *cp = buf + HFIXEDSZ; in res_nameinquery() 313 res_queriesmatch(const u_char *buf1, const u_char *eom1, in res_queriesmatch() 314 const u_char *buf2, const u_char *eom2) in res_queriesmatch() 316 const u_char *cp = buf1 + HFIXEDSZ; in res_queriesmatch() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/include/isc/ |
D | dst.h | 67 const u_char *, /*!< data to be signed */ 69 u_char *, /*!< buffer to write signature to */ 74 const u_char *, /*!< data to be verified */ 76 const u_char *, /*!< buffer containing signature */ 85 const u_char *, /*!< KEY RDATA */ 88 u_char *, /*!< output buffer */ 94 const u_char *, /*!< key in dns wire fmt */ 96 int dst_key_to_buffer(DST_KEY *, u_char *, int); 111 u_int16_t dst_s_dns_key_id(const u_char *, const int); 112 u_int16_t dst_s_id_calc(const u_char *, const int);
|
/bionic/libc/upstream-openbsd/lib/libc/net/ |
D | inet_pton.c | 32 static int inet_pton4(const char *src, u_char *dst); 33 static int inet_pton6(const char *src, u_char *dst); 73 inet_pton4(const char *src, u_char *dst) in inet_pton4() 77 u_char tmp[INADDRSZ], *tp; in inet_pton4() 124 inet_pton6(const char *src, u_char *dst) in inet_pton6() 128 u_char tmp[IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6() 171 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6() 172 *tp++ = (u_char) val & 0xff; in inet_pton6() 190 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6() 191 *tp++ = (u_char) val & 0xff; in inet_pton6()
|
D | base64.c | 127 u_char const *src; in b64_ntop() 133 u_char input[3]; 134 u_char output[4]; 192 u_char *target; 196 u_char nextbyte;
|
D | inet_ntop.c | 33 static const char *inet_ntop4(const u_char *src, char *dst, size_t size); 34 static const char *inet_ntop6(const u_char *src, char *dst, size_t size); 72 inet_ntop4(const u_char *src, char *dst, size_t size) in inet_ntop4() 94 inet_ntop6(const u_char *src, char *dst, size_t size) in inet_ntop6()
|
D | htons.c | 16 u_char *s = (u_char *) &x; in htons()
|
D | ntohs.c | 16 u_char *s = (u_char *) &x; in ntohs()
|
D | ntohl.c | 16 u_char *s = (u_char *)&x; in ntohl()
|
D | htonl.c | 16 u_char *s = (u_char *)&x; in htonl()
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | arc4random.c | 61 u_char rs_buf[RSBUFSZ]; /* keystream blocks */ 68 static inline void _rs_rekey(u_char *dat, size_t datlen); 71 _rs_init(u_char *buf, size_t n) in _rs_init() 88 u_char rnd[KEYSZ + IVSZ]; in _rs_stir() 119 _rs_rekey(u_char *dat, size_t datlen) in _rs_rekey() 144 u_char *buf = (u_char *)_buf; in _rs_random_buf() 145 u_char *keystream; in _rs_random_buf() 168 u_char *keystream; in _rs_random_u32()
|
/bionic/libc/upstream-netbsd/android/include/sys/ |
D | sha1.h | 21 u_char buffer[64]; 25 void SHA1Transform(uint32_t[5], const u_char[64]); 27 void SHA1Update(SHA1_CTX *, const u_char *, u_int); 28 void SHA1Final(u_char[SHA1_DIGEST_LENGTH], SHA1_CTX *);
|
/bionic/libc/upstream-netbsd/lib/libc/inet/ |
D | nsap_addr.c | 58 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { in inet_nsap_addr() 59 u_char c, nib; in inet_nsap_addr() 97 inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { in inet_nsap_ntoa()
|
/bionic/tests/ |
D | resolv_test.cpp | 50 b64_ntop(reinterpret_cast<u_char const*>("hello"), strlen("hello"), in TEST() 56 u_char buf[128]; in TEST()
|