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

/bionic/libc/bionic/
H A Dpthread_attr.cpp215 int pthread_attr_setscope(pthread_attr_t*, int scope) { argument
216 if (scope == PTHREAD_SCOPE_SYSTEM) {
219 if (scope == PTHREAD_SCOPE_PROCESS) {
225 int pthread_attr_getscope(const pthread_attr_t*, int* scope) { argument
226 *scope = PTHREAD_SCOPE_SYSTEM;
/bionic/libc/kernel/uapi/linux/
H A Dtipc.h107 signed char scope; member in struct:sockaddr_tipc
/bionic/libc/dns/net/
H A Dgetaddrinfo.c1007 * numeric hostname with scope
1019 char *cp, *hostname2 = NULL, *scope, *addr;
1045 * Handle special case of <scoped_address><delimiter><scope id>
1053 scope = cp + 1;
1063 if (ip6_str2scopeid(scope, sin6, &scopeid) == -1) {
1238 /* convert a string to a scope identifier. XXX: IPv6 specific */
1240 ip6_str2scopeid(char *scope, struct sockaddr_in6 *sin6, u_int32_t *scopeid) argument
1246 assert(scope != NULL);
1253 if (*scope == '\0')
1262 *scopeid = if_nametoindex(scope);
[all...]
/bionic/tests/
H A Dpthread_test.cpp1056 int scope; local
1057 ASSERT_EQ(0, pthread_attr_getscope(&attr, &scope));
1058 ASSERT_EQ(PTHREAD_SCOPE_SYSTEM, scope);

Completed in 86 milliseconds