Searched refs:scope (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_attr.cpp173 int pthread_attr_setscope(pthread_attr_t*, int scope) { argument
174 if (scope == PTHREAD_SCOPE_SYSTEM) {
177 if (scope == PTHREAD_SCOPE_PROCESS) {
183 int pthread_attr_getscope(const pthread_attr_t*, int* scope) { argument
184 *scope = PTHREAD_SCOPE_SYSTEM;
/bionic/libc/kernel/uapi/linux/
H A Dtipc.h105 signed char scope; member in struct:sockaddr_tipc
/bionic/libc/dns/net/
H A Dgetaddrinfo.c1016 * numeric hostname with scope
1028 char *cp, *hostname2 = NULL, *scope, *addr;
1054 * Handle special case of <scoped_address><delimiter><scope id>
1062 scope = cp + 1;
1072 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1247 /* convert a string to a scope identifier. XXX: IPv6 specific */
1249 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) argument
1255 assert(scope != NULL);
1262 if (*scope == '\0')
1271 *scopeid = if_nametoindex(scope);
[all...]
/bionic/tests/
H A Dpthread_test.cpp739 int scope; local
740 ASSERT_EQ(0, pthread_attr_getscope(&attr, &scope));
741 ASSERT_EQ(PTHREAD_SCOPE_SYSTEM, scope);

Completed in 314 milliseconds