Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/dns/nameser/
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) in ns_sprintrr() argument
97 name_ctx, origin, buf, buflen); in ns_sprintrr()
112 char *buf, size_t buflen) in ns_sprintrrf() argument
126 T(addstr("\t\t\t", (size_t)3, &buf, &buflen)); in ns_sprintrrf()
132 T(addstr("@\t\t\t", (size_t)4, &buf, &buflen)); in ns_sprintrrf()
[all …]
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) { in fmt1() argument
155 if ((int)len < 0 || len + 1 > *buflen) in fmt1()
159 *buflen -= len; in fmt1()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dgetline.c34 getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp) in getline() argument
36 return getdelim(buf, buflen, '\n', fp); in getline()
Dgetdelim.c45 getdelim(char **__restrict buf, size_t *__restrict buflen, in getdelim() argument
54 if (buf == NULL || buflen == NULL) { in getdelim()
61 *buflen = 0; in getdelim()
87 if (newlen > *buflen) { in getdelim()
109 *buflen = newlen; in getdelim()
/bionic/libc/bionic/
D__recvfrom_chk.cpp35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, in __recvfrom_chk() argument
38 if (__predict_false(len > buflen)) { in __recvfrom_chk()
/bionic/libc/dns/resolv/
Dres_data.c176 int buflen) /* size of buffer */ in res_mkquery() argument
184 newrr_in, buf, buflen)); in res_mkquery()
189 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_mkupdate() argument
195 return (res_nmkupdate(&_nres, rrecp_in, buf, buflen)); in res_mkupdate()
228 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { in res_send() argument
234 return (res_nsend(&_nres, buf, buflen, ans, anssiz)); in res_send()
239 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, in res_sendsigned() argument
247 return (res_nsendsigned(&_nres, buf, buflen, key, ans, anssiz)); in res_sendsigned()
Dres_mkquery.c125 int buflen) /* size of buffer */ in res_nmkquery() argument
142 if ((buf == NULL) || (buflen < HFIXEDSZ)) in res_nmkquery()
151 ep = buf + buflen; in res_nmkquery()
234 int buflen, /* size of buffer */ in res_nopt() argument
248 ep = buf + buflen; in res_nopt()
Dres_send.c365 const u_char *buf, int buflen, u_char *ans, int anssiz) in res_nsend() argument
385 (stdout, ";; res_send()\n"), buf, buflen); in res_nsend()
386 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend()
393 statp->netid, buf, buflen, in res_nsend()
408 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend()
519 act = (*statp->qhook)(&nsap, &buf, &buflen, in res_nsend()
554 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, in res_nsend()
573 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, in res_nsend()
604 _resolv_cache_add(statp->netid, buf, buflen, in res_nsend()
623 act = (*statp->rhook)(nsap, buf, buflen, in res_nsend()
[all …]
Dres_debug.c154 int buflen = 2048; in do_section() local
166 buf = malloc((size_t)buflen); in do_section()
246 buf, (u_int)buflen); in do_section()
251 if (buflen < 131072) in do_section()
252 buf = malloc((size_t)(buflen += 1024)); in do_section()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregerror.c106 static const char *regatoi(const regex_t *preg, char *localbuf, size_t buflen); in __weak_alias()
211 size_t buflen) in regatoi() argument
221 (void)snprintf(localbuf, buflen, "%d", r->code); in regatoi()
/bionic/libc/dns/net/
Dgethnamaddr.c202 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer() argument
247 ep = buf + buflen; in getanswer()
511 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument
525 *result = gethostbyname_internal(name, AF_INET6, res, hp, buf, buflen, errorp, NETID_UNSET, in gethostbyname_r()
532 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp, NETID_UNSET, in gethostbyname_r()
545 size_t buflen, struct hostent **result, int *errorp) in gethostbyname2_r() argument
554 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp, NETID_UNSET, in gethostbyname2_r()
700 size_t buflen, int *he) in gethostbyname_internal_real() argument
727 if (buflen < size) in gethostbyname_internal_real()
781 info.buflen = buflen; in gethostbyname_internal_real()
[all …]
Dsethostent.c147 if ((ptr = buf = malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2()
162 hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, in _hf_gethtbyname2()
191 if ((size_t)(ptr - buf) >= info->buflen) in _hf_gethtbyname2()
211 len = info->buflen; in _hf_gethtbyname2()
261 while ((hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, in _hf_gethtbyaddr()
/bionic/libc/dns/include/
Dhostent.h53 size_t buflen; member
/bionic/libc/kernel/uapi/linux/
Daudit.h397 __u32 buflen; member
Dcdrom.h185 unsigned int buflen; member