Searched refs:buflen (Results 1 - 25 of 120) sorted by relevance

12345

/barrelfish-2018-10-04/lib/vfs/
H A Dvfs_fat_conv.h12 int dos2unixfn(const unsigned char *dosfn, unsigned char *buf, size_t buflen);
/barrelfish-2018-10-04/lib/spawndomain/
H A Dgetopt.c19 const char *getopt(const char **optstring, char *buf, size_t buflen, argument
36 for (char c = *pos; c != '\0' && bufpos < buflen; c = *++pos) {
56 buf[bufpos < buflen ? bufpos++ : buflen - 1] = '\0';
59 *optlen = bufpos < buflen ? bufpos : buflen;
H A Dspawn.h19 const char *getopt(const char **optstring, char *buf, size_t buflen,
/barrelfish-2018-10-04/lib/libc/nameser/
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);
91 char *buf, size_t buflen)
98 name_ctx, origin, buf, buflen);
113 char *buf, size_t buflen)
127 T(addstr("\t\t\t", 3, &buf, &buflen));
133 T(addstr("@\t\t\t", 4, &buf, &buflen));
89 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument
109 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
165 addlen(strlen(buf), &buf, &buflen); local
335 addlen(strlen(buf), &buf, &buflen); local
426 addlen(strlen(buf), &buf, &buflen); local
669 addlen(strlen(buf), &buf, &buflen); local
692 addlen(strlen(buf), &buf, &buflen); local
963 addlen(strlen(buf), &buf, &buflen); local
968 addlen(strlen(buf), &buf, &buflen); local
1137 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) argument
1171 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument
1215 addlen(size_t len, char **buf, size_t *buflen) argument
1222 addstr(const char *src, size_t len, char **buf, size_t *buflen) argument
1234 addtab(size_t len, size_t target, int spaced, char **buf, size_t *buflen) argument
[all...]
/barrelfish-2018-10-04/lib/libc/gen/
H A Dgetvfsbyname.c51 size_t buflen; local
54 if (sysctlbyname("vfs.conflist", NULL, &buflen, NULL, 0) < 0)
56 xvfsp = malloc(buflen);
59 if (sysctlbyname("vfs.conflist", xvfsp, &buflen, NULL, 0) < 0) {
63 cnt = buflen / sizeof(struct xvfsconf);
H A Dauxv.c114 _elf_aux_info(int aux, void *buf, int buflen) argument
125 if (canary != NULL && canary_len >= buflen) {
126 memcpy(buf, canary, buflen);
134 if (pagesizes != NULL && pagesizes_len >= buflen) {
135 memcpy(buf, pagesizes, buflen);
142 if (buflen == sizeof(int)) {
152 if (buflen == sizeof(int)) {
162 if (buflen == sizeof(int)) {
172 if (buflen == sizeof(void *)) {
/barrelfish-2018-10-04/include/spawndomain/
H A Dspawn_getopt.h23 const char *spawn_getopt(const char **optstring, char *buf, size_t buflen,
/barrelfish-2018-10-04/include/lwip2/netif/ppp/polarssl/
H A Darc4.h71 * \param buflen amount of data in buf
73 void arc4_crypt( arc4_context *ctx, unsigned char *buf, int buflen );
/barrelfish-2018-10-04/lib/libc/stdlib/
H A Dl64a.c28 l64a_r(long value, char *buffer, int buflen) argument
35 while (buflen-- > 0) {
/barrelfish-2018-10-04/include/tftp/
H A Dtftp.h59 * \param buflen length of the file to write
64 errval_t tftp_client_write_file(char *name, void *buf, size_t buflen);
72 * \param buflen maximum length of the buffer
78 errval_t tftp_client_read_file(char *path, void *buf, size_t buflen, size_t *ret_size);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/ecdh/
H A Dech_ossl.c118 size_t buflen, len; local
169 buflen = (EC_GROUP_get_degree(group) + 7)/8;
171 if (len > buflen)
176 if ((buf = OPENSSL_malloc(buflen)) == NULL)
182 memset(buf, 0, buflen - len);
183 if (len != (size_t)BN_bn2bin(x, buf + buflen - len))
191 if (KDF(buf, buflen, out, &outlen) == NULL)
201 if (outlen > buflen)
202 outlen = buflen;
/barrelfish-2018-10-04/include/barrelfish/
H A Dlmp_endpoints.h38 uint32_t buflen; ///< Length of endpoint buffer (in words) member in struct:lmp_endpoint
53 size_t buflen; ///< Length of entire buffer (in words) member in struct:lmp_recv_buf
67 #define LMP_RECV_MSG_INIT { .buf.buflen = LMP_MSG_LENGTH };
69 errval_t lmp_endpoint_alloc(size_t buflen, struct lmp_endpoint **retep);
71 errval_t lmp_endpoint_create_in_slot(size_t buflen, struct capref dest,
H A Dpmap.h34 errval_t (*serialise)(struct pmap *pmap, void *buf, size_t buflen);
35 errval_t (*deserialise)(struct pmap *pmap, void *buf, size_t buflen);
37 errval_t (*dump)(struct pmap *pmap, struct pmap_dump_info *buf, size_t buflen,
/barrelfish-2018-10-04/lib/libc/string/
H A Dstrerror.c83 strerror_r(int errnum, char *strerrbuf, size_t buflen) argument
99 strerrbuf, buflen);
108 buflen) >= buflen)
/barrelfish-2018-10-04/lib/barrelfish/
H A Dlmp_endpoints.c38 * allocated size of the buffer will be one larger than buflen.
40 * \param buflen Length of incoming LMP buffer, in words
43 errval_t lmp_endpoint_alloc(size_t buflen, struct lmp_endpoint **retep) argument
45 // sanity-check buflen
46 if (buflen <= LMP_RECV_LENGTH) {
52 size_t epsize = sizeof(struct lmp_endpoint) + buflen * sizeof(uintptr_t);
60 ep->buflen = buflen;
89 * \param buflen Length of incoming LMP buffer, in words
96 errval_t lmp_endpoint_create_in_slot(size_t buflen, struc argument
458 uint32_t buflen = ep->buflen; local
490 size_t buflen = (1UL << DISPATCHER_FRAME_BITS) - dispsize; local
[all...]
/barrelfish-2018-10-04/lib/libc/net/
H A Dgetproto.c60 size_t buflen; local
66 buflen = va_arg(ap, size_t);
84 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) {
95 size_t buflen, struct protoent **result)
116 defaultsrc, proto, pptr, buffer, buflen, &ret_errno);
94 getprotobynumber_r(int proto, struct protoent *pptr, char *buffer, size_t buflen, struct protoent **result) argument
H A Dgetprotoname.c68 size_t buflen; local
74 buflen = va_arg(ap, size_t);
98 if (__copy_protoent(&pe, pptr, buffer, buflen) != 0) {
110 size_t buflen, struct protoent **result)
130 defaultsrc, name, pptr, buffer, buflen, &ret_errno);
109 getprotobyname_r(const char *name, struct protoent *pptr, char *buffer, size_t buflen, struct protoent **result) argument
/barrelfish-2018-10-04/lib/lwip2/src/core/ipv6/
H A Dip6_addr.c186 * @param buflen length of buf
191 ip6addr_ntoa_r(const ip6_addr_t *addr, char *buf, int buflen) argument
213 if (i >= buflen) {
229 if (i >= buflen) {
245 if (i >= buflen) {
255 if (i >= buflen) {
265 if (i >= buflen) {
276 if (i >= buflen) {
282 if (i >= buflen) {
/barrelfish-2018-10-04/lib/barrelfish/include/target/x86/
H A Dpmap_x86.h21 errval_t pmap_x86_serialise(struct pmap *pmap, void *buf, size_t buflen);
22 errval_t pmap_x86_deserialise(struct pmap *pmap, void *buf, size_t buflen);
/barrelfish-2018-10-04/lib/ahci/
H A Dahci_internal.h25 struct ahci_dma_region *buf, size_t buflen);
/barrelfish-2018-10-04/lib/lwip2/src/apps/httpserver/
H A Dhttpserver-netconn.c23 u16_t buflen; local
31 netbuf_data(inbuf, (void**)&buf, &buflen);
35 if (buflen>=5 &&
/barrelfish-2018-10-04/include/lwip/lwip/
H A Dnetdb.h98 size_t buflen, struct hostent **result, int *h_errnop);
106 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \
107 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
/barrelfish-2018-10-04/include/lwip2/lwip/
H A Dnetdb.h124 size_t buflen, struct hostent **result, int *h_errnop);
135 #define gethostbyname_r(name, ret, buf, buflen, result, h_errnop) \
136 lwip_gethostbyname_r(name, ret, buf, buflen, result, h_errnop)
/barrelfish-2018-10-04/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c159 sdump_addrinfo(struct addrinfo *ai, char *buffer, size_t buflen) argument
163 written = snprintf(buffer, buflen, "%d %d %d %d %d ",
167 if (written > buflen)
169 buflen -= written;
171 written = snprintf(buffer, buflen, "%s ",
174 if (written > buflen)
176 buflen -= written;
179 written = snprintf(buffer, buflen, "(null)");
181 if (written > buflen)
183 buflen
[all...]
/barrelfish-2018-10-04/lib/libc/resolv/
H A Dres_data.c140 int buflen) /*!< size of buffer */
149 newrr_in, buf, buflen));
153 res_mkupdate(ns_updrec *rrecp_in, u_char *buf, int buflen) { argument
160 return (res_nmkupdate(statp, rrecp_in, buf, buflen));
195 res_send(const u_char *buf, int buflen, u_char *ans, int anssiz) { argument
202 return (res_nsend(statp, buf, buflen, ans, anssiz));
207 res_sendsigned(const u_char *buf, int buflen, ns_tsig_key *key, argument
216 return (res_nsendsigned(statp, buf, buflen, key, ans, anssiz));
281 res_opt(int n0, u_char *buf, int buflen, int anslen) argument
283 return (res_nopt(&_res, n0, buf, buflen, ansle
133 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
[all...]

Completed in 108 milliseconds

12345