Searched refs:p_aliases (Results 1 – 14 of 14) sorted by relevance
/freebsd/lib/libc/tests/nss/ |
H A D | getproto_test.c | 94 if (src->p_aliases != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT() 96 for (cp = src->p_aliases; *cp; ++cp) in IMPLEMENT_TEST_FILE_SNAPSHOT() 99 dest->p_aliases = calloc(aliases_num + 1, sizeof(char *)); in IMPLEMENT_TEST_FILE_SNAPSHOT() 100 assert(dest->p_aliases != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT() 102 for (cp = src->p_aliases; *cp; ++cp) { in IMPLEMENT_TEST_FILE_SNAPSHOT() 103 dest->p_aliases[cp - src->p_aliases] = strdup(*cp); in IMPLEMENT_TEST_FILE_SNAPSHOT() 104 assert(dest->p_aliases[cp - src->p_aliases] != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT() 118 for (cp = pe->p_aliases; *cp; ++cp) in free_protoent() 120 free(pe->p_aliases); in free_protoent() 138 c1 = pe1->p_aliases; in compare_protoent() [all …]
|
/freebsd/lib/libc/net/ |
H A D | getprotoent.c | 174 if (proto->p_aliases != NULL) { in __proto_marshal_func() 176 for (alias = proto->p_aliases; *alias; ++alias) { in __proto_marshal_func() 206 if (new_proto.p_aliases != NULL) { in __proto_marshal_func() 208 memcpy(p, new_proto.p_aliases, sizeof(char *) * aliases_size); in __proto_marshal_func() 209 new_proto.p_aliases = (char **)p; in __proto_marshal_func() 212 for (alias = new_proto.p_aliases; *alias; ++alias) { in __proto_marshal_func() 274 if (proto->p_aliases != NULL) { in __proto_unmarshal_func() 275 NS_APPLY_OFFSET(proto->p_aliases, orig_buf, p, char **); in __proto_unmarshal_func() 277 for (alias = proto->p_aliases; *alias; ++alias) in __proto_unmarshal_func() 301 for (i = 0; pe->p_aliases[i]; i++, numptr++) { in __copy_protoent() [all …]
|
H A D | getprotoname.c | 83 for (cp = pe.p_aliases; *cp != 0; cp++) in files_getprotobyname()
|
/freebsd/lib/libcasper/services/cap_netdb/ |
H A D | cap_netdb.c | 61 pp->p_aliases = realloc(aliases, sizeof(char *) * (n + 1)); in protoent_unpack() 62 if (pp->p_aliases == NULL) { in protoent_unpack() 71 pp->p_aliases[n] = NULL; in protoent_unpack() 104 while (pp->p_aliases[n] != NULL) in protoent_pack() 107 (const char * const *)pp->p_aliases, n); in protoent_pack()
|
/freebsd/lib/libcasper/services/cap_netdb/tests/ |
H A D | netdb_test.c | 77 ATF_REQUIRE(pp->p_aliases != NULL); in ATF_TC_BODY() 78 while (pp->p_aliases[n] != NULL) in ATF_TC_BODY()
|
/freebsd/contrib/netbsd-tests/lib/libc/net/ |
H A D | h_protoent.c | 44 for (pp = prp->p_aliases; *pp; pp++) in pserv()
|
/freebsd/lib/libbluetooth/ |
H A D | bluetooth.c | 184 for (cp = p->p_aliases; *cp != NULL; cp++) in bt_getprotobyname() 235 q = proto.p_aliases = proto_aliases; in bt_getprotoent()
|
/freebsd/include/ |
H A D | netdb.h | 129 char **p_aliases; /* alias list */ member
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_freebsd.h | 119 char **p_aliases; member
|
H A D | sanitizer_platform_limits_posix.h | 753 char **p_aliases; 752 char **p_aliases; global() member
|
H A D | sanitizer_platform_limits_netbsd.h | 134 char **p_aliases; member
|
H A D | sanitizer_common_interceptors.inc | 7652 for (char **pp = p->p_aliases; *pp; ++pp, ++pp_size) 7655 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, p->p_aliases, pp_size * sizeof(char *));
|
/freebsd/usr.bin/getent/ |
H A D | getent.c | 427 #define PROTOCOLSPRINT printfmtstrings(pe->p_aliases, " ", " ", \ in protocols()
|
/freebsd/usr.bin/netstat/ |
H A D | main.c | 911 for (alias = p->p_aliases; *alias; alias++) in name2protox()
|