/bionic/libc/unistd/ |
H A D | recv.c | 31 ssize_t recv(int socket, void *buf, size_t buflen, unsigned int flags) argument 33 return recvfrom(socket, buf, buflen, flags, NULL, 0);
|
H A D | send.c | 31 ssize_t send(int socket, const void *buf, size_t buflen, unsigned int flags) argument 33 return (ssize_t) sendto(socket, buf, buflen, flags, NULL, 0);
|
H A D | gethostname.c | 33 int gethostname(char* buff, size_t buflen) argument 43 if ((int)buflen < namelen+1) {
|
H A D | ptsname_r.c | 35 int ptsname_r( int fd, char* buf, size_t buflen) argument 52 if (len+1 > (int)buflen) {
|
/bionic/libc/netbsd/nameser/ |
H A D | ns_print.c | 64 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); 86 * ns_sprintrr(handle, rr, name_ctx, origin, buf, buflen) 94 char *buf, size_t buflen) 101 name_ctx, origin, buf, buflen); 108 * name_ctx, origin, buf, buflen) 118 char *buf, size_t buflen) 92 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 338 addlen(strlen(buf), &buf, &buflen); local 429 addlen(strlen(buf), &buf, &buflen); local 671 addlen(strlen(buf), &buf, &buflen); local 694 addlen(strlen(buf), &buf, &buflen); local 800 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) argument 834 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument 878 addlen(size_t len, char **buf, size_t *buflen) argument 885 addstr(const char *src, size_t len, char **buf, size_t *buflen) argument 897 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) argument [all...] |
H A D | ns_ttl.c | 46 static int fmt1(int t, char s, char **buf, size_t *buflen); 153 fmt1(int t, char s, char **buf, size_t *buflen) { argument 158 if (len + 1 > *buflen) 162 *buflen -= len;
|
/bionic/libc/netbsd/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 | 182 int buflen) /* size of buffer */ 190 newrr_in, buf, buflen)); 195 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { argument 201 return (res_nmkupdate(&_nres, rrecp_in, buf, buflen)); 234 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { argument 240 return (res_nsend(&_nres, buf, buflen, ans, anssiz)); 245 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, argument 253 return (res_nsendsigned(&_nres, buf, buflen, key, ans, anssiz)); 175 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 | 364 const u_char *buf, int buflen, u_char *ans, int anssiz) 382 (stdout, ";; res_send()\n"), buf, buflen); 383 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ; 392 cache, buf, buflen, 506 act = (*statp->qhook)(&nsap, &buf, &buflen, 541 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno, 561 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno, 593 _resolv_cache_add(cache, buf, buflen, 612 act = (*statp->rhook)(nsap, buf, buflen, 649 _resolv_cache_query_failed(cache, buf, buflen); 363 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument 726 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns) argument 1027 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 | 164 int buflen = 2048; local 176 buf = malloc((size_t)buflen); 209 buf, (u_int)buflen); 214 if (buflen < 131072) 215 buf = malloc((size_t)(buflen += 1024));
|
/bionic/libc/upstream-netbsd/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/common/linux/nfsd/ |
H A D | xdr.h | 130 int buflen; member in struct:nfsd_readdirres
|
/bionic/libc/bionic/ |
H A D | stubs.cpp | 442 int ttyname_r(int fd, char* buf, size_t buflen) { argument
|
/bionic/libc/kernel/common/linux/ |
H A D | cdrom.h | 201 unsigned int buflen; member in struct:cdrom_generic_command
|
/bionic/libc/netbsd/ |
H A D | gethnamaddr.c | 466 gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, argument
|