[go: nahoru, domu]

Searched defs:buflen (Results 1 - 16 of 16) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dgetline.c34 getline(char **__restrict buf, size_t *__restrict buflen, FILE *__restrict fp) argument
36 return getdelim(buf, buflen, '\n', fp);
H A Dgetdelim.c46 getdelim(char **__restrict buf, size_t *__restrict buflen, argument
55 if (buf == NULL || buflen == NULL) {
62 *buflen = 0;
88 if (newlen > *buflen) {
110 *buflen = newlen;
/bionic/libc/bionic/
H A D__getcwd_chk.cpp34 extern char* __getcwd_chk(char* buf, size_t len, size_t buflen) { argument
35 if (__predict_false(len > buflen)) {
H A D__recvfrom_chk.cpp35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, argument
38 if (__predict_false(len > buflen)) {
H A Dstubs.cpp507 size_t buflen, struct group** result) {
512 if (p + sizeof(group_state_t) > buf + buflen) {
526 int getgrgid_r(gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) { argument
527 return getgroup_r(false, NULL, gid, grp, buf, buflen, result);
530 int getgrnam_r(const char* name, struct group* grp, char* buf, size_t buflen, argument
532 return getgroup_r(true, name, 0, grp, buf, buflen, result);
506 getgroup_r(bool by_name, const char* name, gid_t gid, struct group* grp, char* buf, size_t buflen, struct group** result) argument
/bionic/libc/dns/include/
H A Dhostent.h53 size_t buflen; member in struct:getnamaddr
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dregerror.c106 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 Dns_ttl.c41 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 Dns_print.c59 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 Dres_mkquery.c125 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 Dres_data.c176 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 Dres_debug.c154 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 Dres_send.c362 const u_char *buf, int buflen, u_char *ans, int anssiz)
373 (stdout, ";; res_send()\n"), buf, buflen);
374 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ;
380 statp->netid, buf, buflen,
394 _resolv_cache_query_failed(statp->netid, buf, buflen);
517 act = (*statp->qhook)(&nsap, &buf, &buflen,
552 n = send_vc(statp, buf, buflen, ans, anssiz, &terrno,
583 n = send_dg(statp, buf, buflen, ans, anssiz, &terrno,
622 _resolv_cache_add(statp->netid, buf, buflen,
640 act = (*statp->rhook)(nsap, buf, buflen,
361 res_nsend(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz) argument
750 send_vc(res_state statp, const u_char *buf, int buflen, u_char *ans, int anssiz, int *terrno, int ns, time_t* at, int* rcode, int* delay) argument
1080 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, time_t *at, int *rcode, int* delay) argument
[all...]
/bionic/libc/dns/net/
H A Dgethnamaddr.c202 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 Daudit.h411 __u32 buflen; member in struct:audit_rule_data
H A Dcdrom.h185 unsigned int buflen; member in struct:cdrom_generic_command

Completed in 1858 milliseconds