Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 19 of 19) sorted by relevance

/bionic/libc/bionic/
Dsocketpair.cpp34 extern "C" int __socketpair(int domain, int type, int protocol, int sv[2]);
36 int socketpair(int domain, int type, int protocol, int sv[2]) { in socketpair() argument
37 int rc = __socketpair(domain, type, protocol, sv); in socketpair()
DNetdClientDispatch.cpp78 int socket(int domain, int type, int protocol) { in socket() argument
79 return FDTRACK_CREATE(__netdClientDispatch.socket(domain, type, protocol)); in socket()
Dpthread_mutex.cpp122 int pthread_mutexattr_setprotocol(pthread_mutexattr_t* attr, int protocol) { in pthread_mutexattr_setprotocol() argument
123 if (protocol != PTHREAD_PRIO_NONE && protocol != PTHREAD_PRIO_INHERIT) { in pthread_mutexattr_setprotocol()
126 *attr = (*attr & ~MUTEXATTR_PROTOCOL_MASK) | (protocol << MUTEXATTR_PROTOCOL_SHIFT); in pthread_mutexattr_setprotocol()
130 int pthread_mutexattr_getprotocol(const pthread_mutexattr_t* attr, int* protocol) { in pthread_mutexattr_getprotocol() argument
131 *protocol = (*attr & MUTEXATTR_PROTOCOL_MASK) >> MUTEXATTR_PROTOCOL_SHIFT; in pthread_mutexattr_getprotocol()
/bionic/libc/kernel/uapi/linux/
Dip_vs.h86 __u16 protocol; member
121 __u16 protocol; member
145 __u16 protocol; member
Dbsg.h18 __u32 protocol; member
Ddns_resolver.h60 __u8 protocol; member
Dgsmmux.h32 unsigned short protocol; member
Dppp-ioctl.h43 int protocol; member
Dip.h76 __u8 protocol; member
Ddcbnl.h94 __u16 protocol; member
Dbpf.h780 __u32 protocol; member
851 __u32 protocol; member
1162 __u32 protocol; member
1459 __u32 protocol; member
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_ip6.h26 __u8 protocol; member
Debt_ip.h26 __u8 protocol; member
/bionic/tests/
Dpthread_test.cpp2082 int protocol; in TEST() local
2083 ASSERT_EQ(0, pthread_mutexattr_getprotocol(&attr, &protocol)); in TEST()
2084 ASSERT_EQ(PTHREAD_PRIO_NONE, protocol); in TEST()
2088 ASSERT_EQ(0, pthread_mutexattr_getprotocol(&attr, &protocol)); in TEST()
2089 ASSERT_EQ(protocol, set_protocol); in TEST()
2097 explicit PthreadMutex(int mutex_type, int protocol = PTHREAD_PRIO_NONE) { in PthreadMutex()
2098 init(mutex_type, protocol); in PthreadMutex()
2106 void init(int mutex_type, int protocol) { in init()
2110 ASSERT_EQ(0, pthread_mutexattr_setprotocol(&attr, protocol)); in init()
2134 static void TestPthreadMutexLockNormal(int protocol) { in TestPthreadMutexLockNormal() argument
[all …]
/bionic/libc/async_safe/
Dasync_safe_log.cpp59 static int __socket(int domain, int type, int protocol) { in __socket() argument
62 static_cast<unsigned long>(protocol)}; in __socket()
65 return syscall(__NR_socket, domain, type, protocol); in __socket()
/bionic/libc/include/netinet/
Dip.h234 uint8_t protocol; member
/bionic/libc/dns/nameser/
Dns_print.c461 u_int keyflags, protocol, algorithm, key_id; in ns_sprintrrf() local
475 protocol = *rdata++; in ns_sprintrrf()
478 keyflags, protocol, algorithm); in ns_sprintrrf()
/bionic/libc/kernel/uapi/sound/
Dasound.h631 unsigned int protocol; member
/bionic/libc/kernel/uapi/rdma/
Dib_user_verbs.h909 __be16 protocol; member