Home
last modified time | relevance | path

Searched refs:tok (Results 1 – 5 of 5) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/inet/
A Dgetservice.c70 char **tok = NULL; in libc_hidden_def() local
90 if (!config_read(servp, &tok, MAXTOKENS - 1, MINTOKENS, "# \t/", PARSE_NORMAL)) { 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()
A Dgetproto.c68 char **tok = NULL; in libc_hidden_def() local
88 if (!config_read(protop, &tok, MAXTOKENS - 1, MINTOKENS, "# \t/", PARSE_NORMAL)) { 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()
A Dgetnet.c70 char **tok = NULL; in libc_hidden_def() local
89 if (!config_read(netp, &tok, MAXTOKENS-1, MINTOKENS, "# \t/", PARSE_NORMAL)) { in libc_hidden_def()
92 result_buf->n_name = *(tok++); in libc_hidden_def()
104 getaddrinfo(*(tok++), NULL, &hints, &addri); in libc_hidden_def()
113 result_buf->n_aliases = tok; in libc_hidden_def()
A Dresolv.c1608 char **tok = NULL; in __read_etc_hosts_r() local
1640 while (config_read(parser, &tok, MAXTOKENS, MINTOKENS, "# \t", PARSE_NORMAL)) { in __read_etc_hosts_r()
1641 result_buf->h_aliases = tok+1; in __read_etc_hosts_r()
1647 if (strcmp(name, *tok) != 0) in __read_etc_hosts_r()
1651 char **alias = tok + 1; in __read_etc_hosts_r()
1668 && inet_pton(AF_INET, *tok, h_addr0) > 0) { in __read_etc_hosts_r()
1679 && inet_pton(AF_INET6, *tok, h_addr0) > 0) { in __read_etc_hosts_r()
/l4re-core-master/uclibc/lib/contrib/uclibc/extra/config/
A Dexpr.h153 #define for_all_properties(sym, st, tok) \ argument
155 if (st->type == (tok))

Completed in 15 milliseconds