/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | getline.c | 34 getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp) argument 36 return getdelim(buf, buflen, '\n', fp);
|
H A D | getdelim.c | 45 getdelim(char **__restrict buf, size_t *__restrict buflen, argument 54 if (buf == NULL || buflen == NULL) { 61 *buflen = 0; 87 if (newlen > *buflen) { 109 *buflen = newlen;
|
/bionic/libc/bionic/ |
H A D | __recvfrom_chk.cpp | 35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, argument 38 if (__predict_false(len > buflen)) {
|
/bionic/libc/dns/include/ |
H A D | hostent.h | 53 size_t buflen; member in struct:getnamaddr
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | regerror.c | 106 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 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) { argument 155 if ((int)len < 0 || len + 1 > *buflen) 159 *buflen -= len;
|
H A 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) 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 D | res_mkquery.c | 125 int buflen) /* size of buffer */ 142 if ((buf == NULL) || (buflen < HFIXEDSZ)) 151 ep = buf + buflen; 234 int buflen, /* size of buffer */ 248 ep = buf + buflen; 117 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 D | res_data.c | 176 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 D | res_debug.c | 154 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 D | res_send.c | 365 const u_char *buf, int buflen, u_char *ans, int anssiz) 385 (stdout, ";; res_send()\n"), buf, buflen); 386 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; 393 statp->netid, buf, buflen, 408 _resolv_cache_query_failed(statp->netid, buf, buflen); 519 act = (*statp->qhook)(&nsap, &buf, &buflen, 554 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, 573 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, 604 _resolv_cache_add(statp->netid, buf, buflen, 623 act = (*statp->rhook)(nsap, buf, buflen, 364 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument 736 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument 1047 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) argument [all...] |
/bionic/libc/dns/net/ |
H A D | gethnamaddr.c | 202 res_state res, struct hostent *hent, char *buf, size_t buflen, int *he) 247 ep = buf + buflen; 511 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, argument 525 *result = gethostbyname_internal(name, AF_INET6, res, hp, buf, buflen, errorp, NETID_UNSET, 532 *result = gethostbyname_internal(name, AF_INET, res, hp, buf, buflen, errorp, NETID_UNSET, 545 size_t buflen, struct hostent **result, int *errorp) 554 *result = gethostbyname_internal(name, af, res, hp, buf, buflen, errorp, NETID_UNSET, 700 size_t buflen, int *he) 727 if (buflen < size) 781 info.buflen 201 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 544 gethostbyname2_r(const char *name, int af, struct hostent *hp, char *buf, size_t buflen, struct hostent **result, int *errorp) argument 699 gethostbyname_internal_real(const char *name, int af, res_state res, struct hostent *hp, char *buf, size_t buflen, int *he) argument 851 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 864 android_gethostbyaddrfornet_real(const void *addr, socklen_t len, int af, struct hostent *hp, char *buf, size_t buflen, int *he, unsigned netid, unsigned mark) 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 D | audit.h | 397 __u32 buflen; member in struct:audit_rule_data
|
H A D | cdrom.h | 185 unsigned int buflen; member in struct:cdrom_generic_command
|