Home
last modified time | relevance | path

Searched refs:result_buf (Results 1 – 6 of 6) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/
A Dgetservice.c67 int getservent_r(struct servent *result_buf, in libc_hidden_def()
93 result_buf->s_name = *(tok++); in libc_hidden_def()
94 result_buf->s_port = htons((u_short) atoi(*(tok++))); in libc_hidden_def()
95 result_buf->s_proto = *(tok++); in libc_hidden_def()
96 result_buf->s_aliases = tok; in libc_hidden_def()
97 *result = result_buf; in libc_hidden_def()
125 struct servent *result_buf, char *buf, size_t buflen, in getservbyname_r() argument
134 if (strcmp(name, result_buf->s_name) == 0) in getservbyname_r()
136 for (cp = result_buf->s_aliases; *cp; cp++) in getservbyname_r()
162 struct servent *result_buf, char *buf, in getservbyport_r() argument
[all …]
A Dgetnet.c65 int getnetent_r(struct netent *result_buf, in libc_hidden_def()
92 result_buf->n_name = *(tok++); in libc_hidden_def()
105 result_buf->n_addrtype = addri->ai_family; in libc_hidden_def()
106 result_buf->n_net = in libc_hidden_def()
113 result_buf->n_aliases = tok; in libc_hidden_def()
114 *result = result_buf; in libc_hidden_def()
144 struct netent *result_buf, char *buf, size_t buflen, in getnetbyname_r() argument
155 if (strcmp(name, result_buf->n_name) == 0) in getnetbyname_r()
157 for (cp = result_buf->n_aliases; *cp; cp++) in getnetbyname_r()
180 struct netent *result_buf, char *buf, in getnetbyaddr_r() argument
[all …]
A Dgetproto.c65 int getprotoent_r(struct protoent *result_buf, in libc_hidden_def()
91 result_buf->p_name = *(tok++); in libc_hidden_def()
92 result_buf->p_proto = atoi(*(tok++)); in libc_hidden_def()
93 result_buf->p_aliases = tok; in libc_hidden_def()
94 *result = result_buf; in libc_hidden_def()
123 struct protoent *result_buf, char *buf, size_t buflen, in getprotobyname_r() argument
131 while (!(ret = getprotoent_r(result_buf, buf, buflen, result))) { in getprotobyname_r()
132 if (strcmp(name, result_buf->p_name) == 0) in getprotobyname_r()
134 for (cp = result_buf->p_aliases; *cp; cp++) in getprotobyname_r()
156 struct protoent *result_buf, char *buf, in getprotobynumber_r() argument
[all …]
A Dresolv.c1660 result_buf->h_name = *(result_buf->h_aliases++); in __read_etc_hosts_r()
1672 *result = result_buf; in __read_etc_hosts_r()
1683 *result = result_buf; in __read_etc_hosts_r()
2086 *result = result_buf; in libc_hidden_def()
2161 *result = result_buf; in libc_hidden_def()
2268 result_buf->h_name = buf; in gethostbyname2_r()
2273 *result = result_buf; in gethostbyname2_r()
2318 result_buf->h_name = buf; in gethostbyname2_r()
2324 *result = result_buf; in gethostbyname2_r()
2479 result_buf->h_name = buf; in libc_hidden_def()
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/rpc/
A Dgetrpcent.c273 memset(result_buf, 0x00, sizeof(*result_buf)); in __copy_rpcent()
276 result_buf->r_number = r->r_number; in __copy_rpcent()
286 result_buf->r_aliases = (char**)buffer; in __copy_rpcent()
294 result_buf->r_aliases[i] = buffer; in __copy_rpcent()
297 memcpy(result_buf->r_aliases[i], r->r_aliases[i], s); in __copy_rpcent()
304 result_buf->r_name = buffer; in __copy_rpcent()
305 memcpy(result_buf->r_name, r->r_name, i); in __copy_rpcent()
308 *result = result_buf; in __copy_rpcent()
315 int getrpcbynumber_r(int number, struct rpcent *result_buf, char *buffer, in getrpcbynumber_r() argument
335 int getrpcent_r(struct rpcent *result_buf, char *buffer, in getrpcent_r() argument
[all …]
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/pwd_grp/
A Dpwd_grp.c185 int sgetspent_r(const char *string, struct spwd *result_buf, in sgetspent_r() argument
205 if (!(rv = __parsespent(result_buf, buffer))) { in sgetspent_r()
206 *result = result_buf; in sgetspent_r()

Completed in 14 milliseconds