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.h98 __u16 protocol; member
133 __u16 protocol; member
157 __u16 protocol; member
Dgsmmux.h42 unsigned short protocol; member
Dcm4000_cs.h33 __u32 protocol; member
Ddns_resolver.h72 __u8 protocol; member
Dbsg.h30 __u32 protocol; member
Dppp-ioctl.h55 int protocol; member
Dip.h87 __u8 protocol; member
Dbpf.h470 __u32 protocol; member
530 __u32 protocol; member
694 __u32 protocol; member
Ddcbnl.h105 __u16 protocol; member
Dpkt_cls.h232 __u8 protocol; member
/bionic/tests/
Dpthread_test.cpp2003 int protocol; in TEST() local
2004 ASSERT_EQ(0, pthread_mutexattr_getprotocol(&attr, &protocol)); in TEST()
2005 ASSERT_EQ(PTHREAD_PRIO_NONE, protocol); in TEST()
2009 ASSERT_EQ(0, pthread_mutexattr_getprotocol(&attr, &protocol)); in TEST()
2010 ASSERT_EQ(protocol, set_protocol); in TEST()
2018 explicit PthreadMutex(int mutex_type, int protocol = PTHREAD_PRIO_NONE) { in PthreadMutex()
2019 init(mutex_type, protocol); in PthreadMutex()
2027 void init(int mutex_type, int protocol) { in init()
2031 ASSERT_EQ(0, pthread_mutexattr_setprotocol(&attr, protocol)); in init()
2055 static void TestPthreadMutexLockNormal(int protocol) { in TestPthreadMutexLockNormal() argument
[all …]
/bionic/libc/kernel/uapi/linux/netfilter_bridge/
Debt_ip6.h38 __u8 protocol; member
Debt_ip.h38 __u8 protocol; member
/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/rdma/
Dib_user_verbs.h905 __be16 protocol; member