/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_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_data.cpp | 104 int datalen, const u_char* newrr_in, u_char* buf, int buflen) { in res_mkquery() argument 106 return res_nmkquery(gsa.get(), op, dname, klass, type, data, datalen, newrr_in, buf, buflen); in res_mkquery() 129 int res_send(const u_char* buf, int buflen, u_char* ans, int anssiz) { in res_send() argument 131 return res_nsend(gsa.get(), buf, buflen, ans, anssiz); in res_send()
|
D | res_debug.c | 172 int buflen = 2048; in do_section() local 184 buf = malloc((size_t)buflen); in do_section() 264 buf, (u_int)buflen); in do_section() 269 if (buflen < 131072) in do_section() 270 buf = malloc((size_t)(buflen += 1024)); in do_section()
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 217 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) in getanswer() argument 262 ep = buf + buflen; in getanswer() 526 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument 539 *result = gethostbyname_internal(name, AF_INET6, res, hp, buf, buflen, errorp, in gethostbyname_r() 546 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp, in gethostbyname_r() 554 size_t buflen, struct hostent **result, int *errorp) in gethostbyname2_r() argument 562 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp, in gethostbyname2_r() 675 size_t buflen, int *he) in gethostbyname_internal_real() argument 702 if (buflen < size) in gethostbyname_internal_real() 756 info.buflen = buflen; in gethostbyname_internal_real() [all …]
|
D | sethostent.c | 158 if ((ptr = buf = malloc(len = info->buflen)) == NULL) { in _hf_gethtbyname2() 172 hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, in _hf_gethtbyname2() 201 if ((size_t)(ptr - buf) >= info->buflen) in _hf_gethtbyname2() 221 len = info->buflen; in _hf_gethtbyname2() 270 while ((hp = netbsd_gethostent_r(hf, info->hp, info->buf, info->buflen, in _hf_gethtbyaddr()
|
/bionic/tests/ |
D | string_posix_strerror_r_wrapper.cpp | 27 int posix_strerror_r(int errnum, char* buf, size_t buflen) { in posix_strerror_r() argument 28 return strerror_r(errnum, buf, buflen); in posix_strerror_r()
|
D | string_posix_strerror_r_test.cpp | 23 int posix_strerror_r(int errnum, char* buf, size_t buflen);
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regerror.c | 71 static const char *regatoi(const regex_t *preg, char *localbufm, size_t buflen); in __weak_alias() 173 regatoi(const regex_t *preg, char *localbuf, size_t buflen) in regatoi() argument 183 snprintf(localbuf, buflen, "%d", r->code); in regatoi()
|
/bionic/libc/bionic/ |
D | grp_pwd.cpp | 584 size_t buflen, struct passwd** result) { in getpasswd_r() argument 589 if (p + sizeof(passwd_state_t) > buf + buflen) { in getpasswd_r() 744 size_t buflen, struct group** result) { in getgroup_r() argument 749 if (p + sizeof(group_state_t) > buf + buflen) { in getgroup_r() 763 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { in getgrgid_r() argument 764 return getgroup_r(false, nullptr, gid, grp, buf, buflen, result); in getgrgid_r() 767 int getgrnam_r(const char* name, struct group* grp, char* buf, size_t buflen, in getgrnam_r() argument 769 return getgroup_r(true, name, 0, grp, buf, buflen, result); in getgrnam_r()
|
D | fortify.cpp | 225 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, in __sendto_chk() argument 228 __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 | 381 __u32 buflen; member
|
D | cdrom.h | 153 unsigned int buflen; member
|