Home
last modified time | relevance | path

Searched refs:u_char (Results 1 – 25 of 35) sorted by relevance

12

/bionic/libc/string/
Dstrcasecmp.c34 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/private/
Dresolv_private.h111 const u_char **, int *,
112 u_char *, int, int *);
115 const u_char *, int, u_char *,
314 void fp_nquery(const u_char *, int, FILE *);
315 void fp_query(const u_char *, FILE *);
317 void p_query(const u_char *);
320 int res_opt(int, u_char *, int, int);
322 int res_mkquery(int, const char *, int, int, const u_char *, int, const u_char *, u_char *, int);
323 int res_query(const char *, int, int, u_char *, int);
324 int res_querydomain(const char *, const char *, int, int, u_char *, int);
[all …]
Darpa_nameser.h111 const u_char *_msg, *_eom;
113 const u_char *_sections[ns_s_max];
116 const u_char *_msg_ptr;
140 const u_char * rdata;
434 const u_char *t_cp = (const u_char *)(cp); \
442 const u_char *t_cp = (const u_char *)(cp); \
453 u_char *t_cp = (u_char *)(cp); \
461 u_char *t_cp = (u_char *)(cp); \
510 uint16_t ns_get16(const u_char *);
511 uint32_t ns_get32(const u_char *);
[all …]
/bionic/libc/netbsd/resolv/
D__dn_comp.c28 int dn_comp(const char *, u_char *, int, u_char **, u_char **);
31 dn_comp(const char *exp_dn, u_char *comp_dn, u_char **dnptrs,
32 u_char **lastdnptr, int length)
Dres_comp.c104 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_send.c28 int res_send(const u_char *, int, u_char *, int);
31 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz)
Dres_data.c151 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 …]
Dres_mkquery.c121 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()
Dres_debug.c242 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { in res_pquery()
313 const u_char *
314 p_cdnname(const u_char *cp, const u_char *msg, int len, FILE *file) { in p_cdnname()
327 const u_char *
328 p_cdname(const u_char *cp, const u_char *msg, FILE *file) { in p_cdname()
335 const u_char *
337 const u_char *cp, *msg; in p_fqnname()
358 const u_char *
359 p_fqname(const u_char *cp, const u_char *msg, FILE *file) { in p_fqname()
361 const u_char *n; in p_fqname()
[all …]
Dres_send.c145 static int send_vc(res_state, const u_char *, int,
146 u_char *, int, int *, int);
147 static int send_dg(res_state, const u_char *, int,
148 u_char *, int, int *, int,
159 void res_pquery(const res_state, const u_char *, int, FILE *);
288 const u_char *buf, const u_char *eom) in res_nameinquery()
290 const u_char *cp = buf + HFIXEDSZ; in res_nameinquery()
324 res_queriesmatch(const u_char *buf1, const u_char *eom1, in res_queriesmatch()
325 const u_char *buf2, const u_char *eom2) in res_queriesmatch()
327 const u_char *cp = buf1 + HFIXEDSZ; in res_queriesmatch()
[all …]
/bionic/libc/include/sys/
Dsha1.h21 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/netbsd/nameser/
Dns_name.c81 static int dn_find(const u_char *, const u_char *,
82 const u_char * const *,
83 const u_char * const *);
87 static int labellen(const u_char *);
103 ns_name_ntop(const u_char *src, char *dst, size_t dstsiz) in ns_name_ntop()
105 const u_char *cp; in ns_name_ntop()
107 u_char c; in ns_name_ntop()
206 ns_name_pton(const char *src, u_char *dst, size_t dstsiz) in ns_name_pton()
208 u_char *label, *bp, *eom; in ns_name_pton()
301 *bp++ = (u_char)c; in ns_name_pton()
[all …]
Dns_netint.c36 ns_get16(const u_char *src) { in ns_get16()
44 ns_get32(const u_char *src) { in ns_get32()
52 ns_put16(u_int16_t src, u_char *dst) { in ns_put16()
57 ns_put32(u_int32_t src, u_char *dst) { in ns_put32()
Dns_parse.c79 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr()
80 const u_char *optr = ptr; in ns_skiprr()
103 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { in ns_initparse()
104 const u_char *eom = msg + msglen; in ns_initparse()
/bionic/libc/upstream-netbsd/libc/include/isc/
Ddst.h67 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/libm/i387/
Dnpx.h64 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/include/
Dresolv.h50 extern int b64_ntop(u_char const *, size_t, char *, size_t);
51 extern int b64_pton(char const *, u_char *, size_t);
/bionic/libc/upstream-netbsd/libc/inet/
Dinet_pton.c55 static int inet_pton4(const char *src, u_char *dst, int pton);
56 static int inet_pton6(const char *src, u_char *dst);
100 inet_pton4(const char *src, u_char *dst, int pton) in inet_pton4()
223 inet_pton6(const char *src, u_char *dst) in inet_pton6()
227 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; in inet_pton6()
268 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6()
269 *tp++ = (u_char) val & 0xff; in inet_pton6()
285 *tp++ = (u_char) (val >> 8) & 0xff; in inet_pton6()
286 *tp++ = (u_char) val & 0xff; in inet_pton6()
Dinet_ntop.c57 static const char *inet_ntop4(const u_char *src, char *dst, socklen_t size);
58 static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size);
99 inet_ntop4(const u_char *src, char *dst, socklen_t size) in inet_ntop4()
124 inet_ntop6(const u_char *src, char *dst, socklen_t size) in inet_ntop6()
/bionic/libc/kernel/common/linux/mtd/
Dmtd.h54 u_char state;
82 u_char type;
104 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf);
105 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len);
106 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
107 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf);
115 …int (*read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *…
117 …int (*read_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *…
119 …int (*write_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char
/bionic/libc/netbsd/net/
Dbase64.c138 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/netbsd/inet/
Dnsap_addr.c51 inet_nsap_addr(const char *ascii, u_char *binary, int maxlen) { in inet_nsap_addr()
52 u_char c, nib; in inet_nsap_addr()
90 inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { in inet_nsap_ntoa()
/bionic/libc/kernel/common/linux/
Defs_fs_i.h55 u_char di_version;
56 u_char di_spare;
/bionic/libc/stdio/
Dvfscanf.c88 #define u_char unsigned char macro
91 static u_char *__sccl(char *, u_char *);
103 u_char *fmt = (u_char *)fmt0; in VFSCANF()
566 (void) ungetc(*(u_char *)--p, fp); in VFSCANF()
569 c = ((u_char *)p)[-1]; in VFSCANF()
672 ungetc(*(u_char *)--p, fp); in VFSCANF()
676 c = *(u_char *)--p; in VFSCANF()
679 c = *(u_char *)--p; in VFSCANF()
715 static u_char *
716 __sccl(char *tab, u_char *fmt) in __sccl()
/bionic/libc/bionic/
Darc4random.c84 arc4_addrandom(u_char *dat, int datlen) in arc4_addrandom()
135 u_char rnd[128]; in arc4_stir()
207 arc4random_addrandom(u_char *dat, int datlen) in arc4random_addrandom()
232 u_char *buf = (u_char *)_buf; in arc4random_buf()

12