Searched defs:buflen (Results 1 - 18 of 18) sorted by relevance

/bionic/libc/dns/include/
H A Dhostent.h53 size_t buflen; member in struct:getnamaddr
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dgetdelim.c46 getdelim(char **__restrict buf, size_t *__restrict buflen, argument
55 if (buf == NULL || buflen == NULL) {
62 *buflen = 0;
88 if (newlen > *buflen) {
110 *buflen = newlen;
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dregerror.c106 static const char *regatoi(const regex_t *preg, char *localbuf, size_t buflen);
205 * size_t buflen);
211 size_t buflen)
221 (void)snprintf(localbuf, buflen, "%d", r->code);
208 regatoi( const regex_t *preg, char *localbuf, size_t buflen) argument
/bionic/libc/dns/nameser/
H A Dns_ttl.c41 static int fmt1(int t, char s, char **buf, size_t *buflen);
150 fmt1(int t, char s, char **buf, size_t *buflen) { argument
155 if ((int)len < 0 || len + 1 > *buflen)
159 *buflen -= len;
H A Dns_print.c59 char **buf, size_t *buflen);
62 char **buf, size_t *buflen);
63 static void addlen(size_t len, char **buf, size_t *buflen);
65 char **buf, size_t *buflen);
67 char **buf, size_t *buflen);
90 char *buf, size_t buflen)
97 name_ctx, origin, buf, buflen);
112 char *buf, size_t buflen)
126 T(addstr("\t\t\t", (size_t)3, &buf, &buflen));
132 T(addstr("@\t\t\t", (size_t)4, &buf, &buflen));
88 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
108 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
164 addlen(strlen(buf), &buf, &buflen); local
334 addlen(strlen(buf), &buf, &buflen); local
425 addlen(strlen(buf), &buf, &buflen); local
669 addlen(strlen(buf), &buf, &buflen); local
692 addlen(strlen(buf), &buf, &buflen); local
964 addlen(strlen(buf), &buf, &buflen); local
969 addlen(strlen(buf), &buf, &buflen); local
1142 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) argument
1177 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument
1222 addlen(size_t len, char **buf, size_t *buflen) argument
1229 addstr(const char *src, size_t len, char **buf, size_t *buflen) argument
1241 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) argument
[all...]
/bionic/libc/dns/resolv/
H A Dres_mkquery.c124 int buflen) /* size of buffer */
141 if ((buf == NULL) || (buflen < HFIXEDSZ))
151 ep = buf + buflen;
234 int buflen, /* size of buffer */
248 ep = buf + buflen;
277 if (minlen > buflen) {
280 padlen = MIN(padlen, buflen - minlen);
116 res_nmkquery(res_state statp, int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument
231 res_nopt(res_state statp, int n0, u_char *buf, int buflen, int anslen) argument
H A Dres_data.c176 int buflen) /* size of buffer */
184 newrr_in, buf, buflen));
189 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { argument
195 return (res_nmkupdate(&_nres, rrecp_in, buf, buflen));
228 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { argument
234 return (res_nsend(&_nres, buf, buflen, ans, anssiz));
239 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, argument
247 return (res_nsendsigned(&_nres, buf, buflen, key, ans, anssiz));
169 res_mkquery(int op, const char *dname, int class, int type, const u_char *data, int datalen, const u_char *newrr_in, u_char *buf, int buflen) argument
H A Dres_debug.c154 int buflen = 2048; local
166 buf = malloc((size_t)buflen);
246 buf, (u_int)buflen);
251 if (buflen < 131072)
252 buf = malloc((size_t)(buflen += 1024));
H A Dres_send.c362 const u_char *buf, int buflen, u_char *ans, int anssiz)
373 (stdout, ";; res_send()\n"), buf, buflen);
374 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ;
380 statp->netid, buf, buflen,
394 _resolv_cache_query_failed(statp->netid, buf, buflen);
517 act = (*statp->qhook)(&nsap, &buf, &buflen,
528 _resolv_cache_add(statp->netid, buf, buflen,
556 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno,
587 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno,
626 _resolv_cache_add(statp->netid, buf, buflen,
361 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument
754 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, time_t* at, int* rcode, int* delay) argument
1085 send_dg(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, int *v_circuit, int *gotsomewhere, time_t *at, int *rcode, int* delay) argument
[all...]
/bionic/libc/bionic/
H A Dgrp_pwd.cpp686 size_t buflen, struct group** result) {
691 if (p + sizeof(group_state_t) > buf + buflen) {
705 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { argument
706 return getgroup_r(false, NULL, gid, grp, buf, buflen, result);
709 int getgrnam_r(const char* name, struct group* grp, char* buf, size_t buflen, argument
711 return getgroup_r(true, name, 0, grp, buf, buflen, result);
685 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
H A Dfortify.cpp222 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, argument
225 __check_buffer_access("sendto", "read from", len, buflen);
/bionic/libc/dns/net/
H A Dgethnamaddr.c218 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he)
263 ep = buf + buflen;
527 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, argument
540 *result = gethostbyname_internal(name, AF_INET6, res, hp, buf, buflen, errorp,
547 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp,
555 size_t buflen, struct hostent **result, int *errorp)
563 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp,
704 size_t buflen, int *he)
731 if (buflen < size)
785 info.buflen
217 getanswer(const querybuf *answer, int anslen, const char *qname, int qtype, res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) argument
554 gethostbyname2_r(const char *name, int af, struct hostent *hp, char *buf, size_t buflen, struct hostent **result, int *errorp) argument
703 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, size_t buflen, int *he) argument
854 gethostbyaddr_r(const void *addr, socklen_t len, int af, struct hostent *hp, char *buf, size_t buflen, struct hostent **result, int *h_errnop) argument
863 android_gethostbyaddrfornetcontext_real(const void *addr, socklen_t len, int af, struct hostent *hp, char *buf, size_t buflen, int *he, const struct android_net_context *netcontext) argument
960 netbsd_gethostent_r(FILE *hf, struct hostent *hent, char *buf, size_t buflen, int *he) argument
[all...]
/bionic/libc/kernel/uapi/linux/
H A Daudit.h346 __u32 buflen; member in struct:audit_rule_data
H A Dcdrom.h152 unsigned int buflen; member in struct:cdrom_generic_command
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Daudit.h346 __u32 buflen; member in struct:audit_rule_data
H A Dcdrom.h152 unsigned int buflen; member in struct:cdrom_generic_command
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Daudit.h346 __u32 buflen; member in struct:audit_rule_data
H A Dcdrom.h152 unsigned int buflen; member in struct:cdrom_generic_command

Completed in 3189 milliseconds