Home
last modified time | relevance | path

Searched refs:s_aliases (Results 1 – 10 of 10) sorted by relevance

/freebsd/lib/libc/tests/nss/
H A Dgetserv_test.c97 if (src->s_aliases != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
99 for (cp = src->s_aliases; *cp; ++cp) in IMPLEMENT_TEST_FILE_SNAPSHOT()
102 dest->s_aliases = calloc(aliases_num + 1, sizeof(char *)); in IMPLEMENT_TEST_FILE_SNAPSHOT()
103 ATF_REQUIRE(dest->s_aliases != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
105 for (cp = src->s_aliases; *cp; ++cp) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
106 dest->s_aliases[cp - src->s_aliases] = strdup(*cp); in IMPLEMENT_TEST_FILE_SNAPSHOT()
107 ATF_REQUIRE(dest->s_aliases[cp - src->s_aliases] != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
122 for (cp = serv->s_aliases; *cp; ++cp) in free_servent()
124 free(serv->s_aliases); in free_servent()
143 c1 = serv1->s_aliases; in compare_servent()
[all …]
/freebsd/usr.sbin/nscd/agents/
H A Dservices.c63 if (serv->s_aliases != NULL) { in services_marshal_func()
64 for (alias = serv->s_aliases; *alias; ++alias) { in services_marshal_func()
101 if (new_serv.s_aliases != NULL) { in services_marshal_func()
103 memcpy(p, new_serv.s_aliases, sizeof(char *) * aliases_size); in services_marshal_func()
104 new_serv.s_aliases = (char **)p; in services_marshal_func()
107 for (alias = new_serv.s_aliases; *alias; ++alias) { in services_marshal_func()
/freebsd/lib/libc/net/
H A Dgetservent.c195 q = serv->s_aliases = aliases; in servent_unpack()
398 for (cp = serv->s_aliases; *cp; cp++) in files_servent()
985 if (serv->s_aliases != NULL) { in serv_marshal_func()
986 for (alias = serv->s_aliases; *alias; ++alias) { in serv_marshal_func()
1023 if (new_serv.s_aliases != NULL) { in serv_marshal_func()
1025 memcpy(p, new_serv.s_aliases, sizeof(char *) * aliases_size); in serv_marshal_func()
1026 new_serv.s_aliases = (char **)p; in serv_marshal_func()
1029 for (alias = new_serv.s_aliases; *alias; ++alias) { in serv_marshal_func()
1094 if (serv->s_aliases != NULL) { in serv_unmarshal_func()
1095 NS_APPLY_OFFSET(serv->s_aliases, orig_buf, p, char **); in serv_unmarshal_func()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/net/
H A Dh_servent.c44 for (pp = svp->s_aliases; *pp; pp++) in pserv()
/freebsd/contrib/tcpdump/missing/
H A Dgetservent.c124 q = serv.s_aliases = serv_aliases; in getservent()
/freebsd/contrib/ntp/include/
H A Dntp_machine.h148 char **s_aliases; /* alias list */ member
/freebsd/include/
H A Dnetdb.h122 char **s_aliases; /* alias list */ member
/freebsd/contrib/ntp/libntp/
H A Dmachines.c70 serv1->s_aliases = NULL; /* alias list */ in getservbyname()
/freebsd/usr.bin/getent/
H A Dgetent.c507 #define SERVICESPRINT printfmtstrings(se->s_aliases, " ", " ", \ in services()
/freebsd/usr.sbin/inetd/
H A Dinetd.c1483 for (alias = se->s_aliases; *alias; alias++) in matchservent()