/bionic/libc/dns/nameser/ |
D | ns_print.c | 59 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 …]
|
D | ns_ttl.c | 41 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/ |
D | getdelim.c | 46 getdelim(char **__restrict buf, size_t *__restrict buflen, in getdelim() argument 55 if (buf == NULL || buflen == NULL) { in getdelim() 62 *buflen = 0; in getdelim() 88 if (newlen > *buflen) { in getdelim() 106 newb = recallocarray(*buf, *buflen, newlen, 1); in getdelim() 110 *buflen = newlen; in getdelim()
|
/bionic/libc/dns/resolv/ |
D | res_data.c | 176 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()
|
D | res_mkquery.c | 124 int buflen) /* size of buffer */ in res_nmkquery() argument 141 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() 277 if (minlen > buflen) { in res_nopt() 280 padlen = MIN(padlen, buflen - minlen); in res_nopt()
|
D | res_send.c | 352 const u_char *buf, int buflen, u_char *ans, int anssiz) in res_nsend() argument 363 (stdout, ";; res_send()\n"), buf, buflen); in res_nsend() 364 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend() 370 statp->netid, buf, buflen, in res_nsend() 384 _resolv_cache_query_failed(statp->netid, buf, buflen); in res_nsend() 507 act = (*statp->qhook)(&nsap, &buf, &buflen, in res_nsend() 518 _resolv_cache_add(statp->netid, buf, buflen, in res_nsend() 546 n = send_vc(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, in res_nsend() 577 n = send_dg(statp, ¶ms, buf, buflen, ans, anssiz, &terrno, in res_nsend() 616 _resolv_cache_add(statp->netid, buf, buflen, in res_nsend() [all …]
|
D | res_debug.c | 154 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/dns/net/ |
D | gethnamaddr.c | 218 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer() argument 263 ep = buf + buflen; in getanswer() 527 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument 540 *result = gethostbyname_internal(name, AF_INET6, res, hp, buf, buflen, errorp, in gethostbyname_r() 547 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp, in gethostbyname_r() 555 size_t buflen, struct hostent **result, int *errorp) in gethostbyname2_r() argument 563 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp, in gethostbyname2_r() 676 size_t buflen, int *he) in gethostbyname_internal_real() argument 703 if (buflen < size) in gethostbyname_internal_real() 757 info.buflen = buflen; in gethostbyname_internal_real() [all …]
|
D | sethostent.c | 161 if ((ptr = buf = malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2() 175 hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, in _hf_gethtbyname2() 204 if ((size_t)(ptr - buf) >= info->buflen) in _hf_gethtbyname2() 224 len = info->buflen; in _hf_gethtbyname2() 273 while ((hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, in _hf_gethtbyaddr()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regerror.c | 106 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/bionic/ |
D | grp_pwd.cpp | 563 size_t buflen, struct passwd** result) { in getpasswd_r() argument 568 if (p + sizeof(passwd_state_t) > buf + buflen) { in getpasswd_r() 722 size_t buflen, struct group** result) { in getgroup_r() argument 727 if (p + sizeof(group_state_t) > buf + buflen) { in getgroup_r() 741 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r() argument 742 return getgroup_r(false, nullptr, gid, grp, buf, buflen, result); in getgrgid_r() 745 int getgrnam_r(const char* name, struct group* grp, char* buf, size_t buflen, in getgrnam_r() argument 747 return getgroup_r(true, name, 0, grp, buf, buflen, result); in getgrnam_r()
|
D | fortify.cpp | 228 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, in __sendto_chk() argument 231 __check_buffer_access("sendto", "read from", len, buflen); in __sendto_chk()
|
/bionic/libc/dns/include/ |
D | hostent.h | 53 size_t buflen; member
|
/bionic/libc/kernel/uapi/linux/ |
D | audit.h | 371 __u32 buflen; member
|
D | cdrom.h | 152 unsigned int buflen; member
|