Home
last modified time | relevance | path

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

/bionic/libc/netbsd/nameser/
Dns_print.c64 char **buf, size_t *buflen);
67 char **buf, size_t *buflen);
68 static void addlen(size_t len, char **buf, size_t *buflen);
70 char **buf, size_t *buflen);
72 char **buf, size_t *buflen);
94 char *buf, size_t buflen) in ns_sprintrr() argument
101 name_ctx, origin, buf, buflen); in ns_sprintrr()
118 char *buf, size_t buflen) in ns_sprintrrf() argument
132 T(addstr("\t\t\t", (size_t)3, &buf, &buflen)); in ns_sprintrrf()
138 T(addstr("@\t\t\t", (size_t)4, &buf, &buflen)); in ns_sprintrrf()
[all …]
Dns_ttl.c46 static int fmt1(int t, char s, char **buf, size_t *buflen);
153 fmt1(int t, char s, char **buf, size_t *buflen) { in fmt1() argument
158 if (len + 1 > *buflen) in fmt1()
162 *buflen -= len; in fmt1()
/bionic/libc/upstream-netbsd/libc/stdio/
Dgetdelim.c57 __getdelim(char **__restrict buf, size_t *__restrict buflen, in __weak_alias()
66 if (buf == NULL || buflen == NULL) { in __weak_alias()
73 *buflen = 0; in __weak_alias()
100 if (newlen > *buflen) { in __weak_alias()
121 *buflen = newlen; in __weak_alias()
145 getdelim(char **__restrict buf, size_t *__restrict buflen, in getdelim() argument
151 n = __getdelim(buf, buflen, sep, fp); in getdelim()
Dgetline.c42 getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp) in __weak_alias()
44 return getdelim(buf, buflen, '\n', fp); in __weak_alias()
/bionic/libc/bionic/
Drecv.c31 ssize_t recv(int socket, void *buf, size_t buflen, unsigned int flags) in recv() argument
33 return recvfrom(socket, buf, buflen, flags, NULL, 0); in recv()
Dsend.c31 ssize_t send(int socket, const void *buf, size_t buflen, unsigned int flags) in send() argument
33 return (ssize_t) sendto(socket, buf, buflen, flags, NULL, 0); in send()
Dgethostname.c33 int gethostname(char* buff, size_t buflen) in gethostname() argument
43 if ((int)buflen < namelen+1) { in gethostname()
Dptsname_r.c35 int ptsname_r( int fd, char* buf, size_t buflen) in ptsname_r() argument
52 if (len+1 > (int)buflen) { in ptsname_r()
/bionic/libc/netbsd/resolv/
D__res_send.c31 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz)
34 return __res_send(buf, buflen, ans, anssiz);
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.c364 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()
396 cache, 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(cache, buf, buflen, in res_nsend()
623 act = (*statp->rhook)(nsap, buf, buflen, in res_nsend()
660 _resolv_cache_query_failed(cache, buf, buflen); in res_nsend()
[all …]
Dres_debug.c164 int buflen = 2048; in do_section() local
176 buf = malloc((size_t)buflen); in do_section()
209 buf, (u_int)buflen); in do_section()
214 if (buflen < 131072) in do_section()
215 buf = malloc((size_t)(buflen += 1024)); in do_section()
/bionic/libc/upstream-netbsd/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/kernel/common/linux/nfsd/
Dxdr.h130 int buflen; member
/bionic/libc/kernel/common/linux/
Daudit.h347 __u32 buflen; member
Dcdrom.h201 unsigned int buflen; member
/bionic/libc/netbsd/
Dgethnamaddr.c471 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument