/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() 93 const u_char *cm = charmap; in strncasecmp() 94 const u_char *us1 = (const u_char *)s1; in strncasecmp() 95 const u_char *us2 = (const u_char *)s2; in strncasecmp()
|
/bionic/libc/include/ |
D | resolv.h | 49 extern int b64_ntop(u_char const*, size_t, char*, size_t); 50 extern int b64_pton(char const*, u_char*, size_t); 53 extern int dn_comp(const char*, u_char*, int, u_char**, u_char**); 54 extern int dn_expand(const u_char*, const u_char*, const u_char*, char*, int);
|
/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; 165 const u_char * rdata; 178 const u_char * rdata; [all …]
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 123 const u_char **, int *, 124 u_char *, int, int *); 127 const u_char *, int, u_char *, 328 void fp_nquery(const u_char *, int, FILE *); 329 void fp_query(const u_char *, FILE *); 331 void p_query(const u_char *); 334 __LIBC_HIDDEN__ int res_opt(int, u_char *, int, int); 336 int res_mkquery(int, const char *, int, int, const u_char *, int, const u_char *, u_char *, int); 337 int res_query(const char *, int, int, u_char *, int); 338 int res_querydomain(const char *, const char *, int, int, u_char *, int); [all …]
|
/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 | 121 const u_char *data, /* resource record data */ in res_nmkquery() 123 const u_char *newrr_in, /* new rr for modify or append */ in res_nmkquery() 124 u_char *buf, /* buffer to put query */ in res_nmkquery() 128 register u_char *cp, *ep; in res_nmkquery() 130 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 | 146 static int send_vc(res_state, const u_char *, int, 147 u_char *, int, int *, int); 148 static int send_dg(res_state, const u_char *, int, 149 u_char *, int, int *, int, 160 void res_pquery(const res_state, const u_char *, int, FILE *); 289 const u_char *buf, const u_char *eom) in res_nameinquery() 291 const u_char *cp = buf + HFIXEDSZ; in res_nameinquery() 325 res_queriesmatch(const u_char *buf1, const u_char *eom1, in res_queriesmatch() 326 const u_char *buf2, const u_char *eom2) in res_queriesmatch() 328 const u_char *cp = buf1 + HFIXEDSZ; in res_queriesmatch() [all …]
|
/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/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 | 80 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr() 81 const u_char *optr = ptr; in ns_skiprr() 105 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse() 106 const u_char *eom = msg + msglen; in ns_initparse()
|
/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 | 33 static int inet_pton4(const char *src, u_char *dst); 34 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 | ntohs.c | 16 u_char *s = (u_char *) &x; in ntohs()
|
D | htons.c | 16 u_char *s = (u_char *) &x; in htons()
|
D | ntohl.c | 16 u_char *s = (u_char *)&x; in ntohl()
|
D | htonl.c | 16 u_char *s = (u_char *)&x; in htonl()
|
D | inet_ntop.c | 34 static const char *inet_ntop4(const u_char *src, char *dst, size_t size); 35 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()
|
/bionic/libm/i387/ |
D | npx.h | 64 u_char fp_bytes[10]; 72 u_char sv_pad0[4]; /* padding for (now unused) saved status word */ 81 u_char sv_pad[64]; /* padding; used by emulators */ 101 u_char xmm_bytes[16]; 108 u_char fp_pad[6]; /* padding */ 111 u_char sv_pad[224];
|
/bionic/libc/upstream-openbsd/lib/libc/crypt/ |
D | arc4random.c | 60 u_char rs_buf[RSBUFSZ]; /* keystream blocks */ 67 static inline void _rs_rekey(u_char *dat, size_t datlen); 70 _rs_init(u_char *buf, size_t n) in _rs_init() 87 u_char rnd[KEYSZ + IVSZ]; in _rs_stir() 118 _rs_rekey(u_char *dat, size_t datlen) in _rs_rekey() 143 u_char *buf = (u_char *)_buf; in _rs_random_buf() 144 u_char *keystream; in _rs_random_buf() 167 u_char *keystream; in _rs_random_u32()
|
/bionic/libc/dns/net/ |
D | base64.c | 138 u_char const *src; in b64_ntop() 144 u_char input[3] = { 0, 0, 0 }; /* make compiler happy */ 145 u_char output[4]; 217 u_char *target; 230 while ((ch = (u_char) *src++) != '\0') { 302 for (; ch != '\0'; ch = (u_char) *src++) 317 for (; ch != '\0'; ch = (u_char) *src++)
|
/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/libc/upstream-openbsd/lib/libc/stdio/ |
D | vfscanf.c | 90 #define u_char unsigned char macro 93 static u_char *__sccl(char *, u_char *); 101 u_char *fmt = (u_char *)fmt0; in __svfscanf() 720 (void) ungetc(*(u_char *)--p, fp); in __svfscanf() 723 c = ((u_char *)p)[-1]; in __svfscanf() 826 ungetc(*(u_char *)--p, fp); in __svfscanf() 830 c = *(u_char *)--p; in __svfscanf() 833 c = *(u_char *)--p; in __svfscanf() 870 static u_char * 871 __sccl(char *tab, u_char *fmt) in __sccl()
|