Home
last modified time | relevance | path

Searched refs:buflen (Results 1 – 16 of 16) 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/string/
Dstrerror_r.c93 strerror_r(int errnum, char *strerrbuf, size_t buflen) in strerror_r() argument
102 len = strlcpy(strerrbuf, msg, buflen); in strerror_r()
103 if ((size_t)len >= buflen) in strerror_r()
106 len = strlcpy(strerrbuf, "Unknown error: ", buflen); in strerror_r()
107 if ((size_t)len >= buflen) in strerror_r()
110 int ret = __itoa(errnum, 1, strerrbuf, len, buflen); in strerror_r()
128 __num2string(int num, int sign, int setid, char *buf, size_t buflen,
135 len = strlcpy(buf, def, buflen);
136 if (len >= buflen)
139 len = strlcpy(buf, def, buflen);
[all …]
/bionic/libc/unistd/
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.c182 int buflen) /* size of buffer */ in res_mkquery() argument
190 newrr_in, buf, buflen)); in res_mkquery()
195 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_mkupdate() argument
201 return (res_nmkupdate(&_nres, rrecp_in, buf, buflen)); in res_mkupdate()
234 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { in res_send() argument
240 return (res_nsend(&_nres, buf, buflen, ans, anssiz)); in res_send()
245 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, in res_sendsigned() argument
253 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
382 (stdout, ";; res_send()\n"), buf, buflen); in res_nsend()
383 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; in res_nsend()
392 cache, buf, buflen, in res_nsend()
506 act = (*statp->qhook)(&nsap, &buf, &buflen, in res_nsend()
541 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, in res_nsend()
561 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, in res_nsend()
593 _resolv_cache_add(cache, buf, buflen, in res_nsend()
612 act = (*statp->rhook)(nsap, buf, buflen, in res_nsend()
719 const u_char *buf, int buflen, u_char *ans, int anssiz, in send_vc() argument
[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/kernel/common/linux/nfsd/
Dxdr.h130 int buflen; member
/bionic/libc/bionic/
Dstubs.c464 int ttyname_r(int fd, char *buf, size_t buflen) in ttyname_r() argument
/bionic/libc/kernel/common/linux/
Dcdrom.h201 unsigned int buflen; member
/bionic/libc/netbsd/
Dgethnamaddr.c466 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, in gethostbyname_r() argument