/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; 88 if (newlen > *buflen) { 110 *buflen = newlen;
|
/bionic/libc/dns/nameser/ |
H A D | ns_print.c | 65 char **buf, size_t *buflen); 68 char **buf, size_t *buflen); 69 static void addlen(size_t len, char **buf, size_t *buflen); 71 char **buf, size_t *buflen); 73 char **buf, size_t *buflen); 96 char *buf, size_t buflen) 103 name_ctx, origin, buf, buflen); 118 char *buf, size_t buflen) 132 T(addstr("\t\t\t", (size_t)3, &buf, &buflen)); 138 T(addstr("@\t\t\t", (size_t)4, &buf, &buflen)); 94 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument 114 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 170 addlen(strlen(buf), &buf, &buflen); local 340 addlen(strlen(buf), &buf, &buflen); local 431 addlen(strlen(buf), &buf, &buflen); local 675 addlen(strlen(buf), &buf, &buflen); local 698 addlen(strlen(buf), &buf, &buflen); local 970 addlen(strlen(buf), &buf, &buflen); local 975 addlen(strlen(buf), &buf, &buflen); local 1148 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) argument 1183 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument 1228 addlen(size_t len, char **buf, size_t *buflen) argument 1235 addstr(const char *src, size_t len, char **buf, size_t *buflen) argument 1247 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) argument [all...] |
H A D | ns_ttl.c | 47 static int fmt1(int t, char s, char **buf, size_t *buflen); 156 fmt1(int t, char s, char **buf, size_t *buflen) { argument 161 if (len + 1 > *buflen) 165 *buflen -= len;
|
/bionic/libc/bionic/ |
H A D | __recvfrom_chk.cpp | 36 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, unsigned int flags, argument 38 if (__predict_false(len > buflen)) {
|
H A D | gethostname.c | 33 int gethostname(char* buff, size_t buflen) argument 43 if ((int)buflen < namelen+1) {
|
/bionic/libc/dns/resolv/ |
H A D | __res_send.c | 31 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) 34 return __res_send(buf, buflen, ans, anssiz);
|
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_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_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, 515 act = (*statp->qhook)(&nsap, &buf, &buflen, 550 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, 569 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, 600 _resolv_cache_add(statp->netid, buf, buflen, 619 act = (*statp->rhook)(nsap, buf, buflen, 656 _resolv_cache_query_failed(statp->netid, buf, buflen); 364 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument 732 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument 1043 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...] |
H A D | res_debug.c | 162 int buflen = 2048; local 174 buf = malloc((size_t)buflen); 254 buf, (u_int)buflen); 259 if (buflen < 131072) 260 buf = malloc((size_t)(buflen += 1024));
|
/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/kernel/uapi/linux/ |
H A D | audit.h | 380 __u32 buflen; member in struct:audit_rule_data
|
H A D | cdrom.h | 202 unsigned int buflen; member in struct:cdrom_generic_command
|
/bionic/libc/dns/ |
H A D | gethnamaddr.c | 476 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, argument
|