Searched refs:s_name (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/dns/net/ |
D | getservent.c | 75 rs->servent.s_name = p2; in getservent_r() 80 memcpy( rs->servent.s_name, p+1, namelen ); in getservent_r() 81 rs->servent.s_name[namelen] = 0; in getservent_r() 129 if (strcmp(s->s_name, name) == 0 && (proto == NULL || strcmp(s->s_proto, proto) == 0)) { in getservbyname()
|
D | getnameinfo.c | 225 if (strlen(sp->s_name) + 1 > (size_t)servlen) in getnameinfo_inet() 227 strlcpy(serv, sp->s_name, servlen); in getnameinfo_inet()
|
/bionic/tests/ |
D | netdb_test.cpp | 340 ASSERT_STREQ("smtp", s->s_name); in TEST() 347 ASSERT_STREQ("smtp", s->s_name); in TEST() 358 ASSERT_STREQ("echo", s->s_name); in TEST() 367 ASSERT_STREQ("smtp", s->s_name); in TEST() 374 ASSERT_STREQ("smtp", s->s_name); in TEST() 385 ASSERT_STREQ("echo", s->s_name); in TEST() 451 std::string first_service(getservent()->s_name); in TEST() 453 ASSERT_EQ(first_service, std::string(getservent()->s_name)); in TEST() 458 std::string first_service(getservent()->s_name); in TEST() 460 ASSERT_EQ(first_service, std::string(getservent()->s_name)); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | coff.h | 73 char s_name[8]; member
|
/bionic/libc/include/ |
D | netdb.h | 98 char *s_name; /* official service name */ member
|
/bionic/tests/headers/posix/ |
D | netdb_h.c | 56 STRUCT_MEMBER(struct servent, char*, s_name); in netdb_h()
|