/third_party/musl/libc-test/src/api/ |
H A D | pthread.c | 17 T(pthread_spinlock_t) in f() 142 {int(*p)(pthread_spinlock_t*) = pthread_spin_destroy;} in f() 143 {int(*p)(pthread_spinlock_t*,int) = pthread_spin_init;} in f() 144 {int(*p)(pthread_spinlock_t*) = pthread_spin_lock;} in f() 145 {int(*p)(pthread_spinlock_t*) = pthread_spin_trylock;} in f() 146 {int(*p)(pthread_spinlock_t*) = pthread_spin_unlock;} in f()
|
H A D | sys_types.c | 40 T(pthread_spinlock_t) in f()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pthread.h | 138 int pthread_spin_init(pthread_spinlock_t *, int); 139 int pthread_spin_destroy(pthread_spinlock_t *); 140 int pthread_spin_lock(pthread_spinlock_t *); 141 int pthread_spin_trylock(pthread_spinlock_t *); 142 int pthread_spin_unlock(pthread_spinlock_t *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pthread.h | 138 int pthread_spin_init(pthread_spinlock_t *, int); 139 int pthread_spin_destroy(pthread_spinlock_t *); 140 int pthread_spin_lock(pthread_spinlock_t *); 141 int pthread_spin_trylock(pthread_spinlock_t *); 142 int pthread_spin_unlock(pthread_spinlock_t *);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pthread.h | 138 int pthread_spin_init(pthread_spinlock_t *, int); 139 int pthread_spin_destroy(pthread_spinlock_t *); 140 int pthread_spin_lock(pthread_spinlock_t *); 141 int pthread_spin_trylock(pthread_spinlock_t *); 142 int pthread_spin_unlock(pthread_spinlock_t *);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | pthread.h | 131 int pthread_spin_init(pthread_spinlock_t *, int); 132 int pthread_spin_destroy(pthread_spinlock_t *); 133 int pthread_spin_lock(pthread_spinlock_t *); 134 int pthread_spin_trylock(pthread_spinlock_t *); 135 int pthread_spin_unlock(pthread_spinlock_t *);
|
/third_party/musl/porting/linux/user/include/ |
H A D | pthread.h | 311 int pthread_spin_init(pthread_spinlock_t *, int); 312 int pthread_spin_destroy(pthread_spinlock_t *); 313 int pthread_spin_lock(pthread_spinlock_t *); 314 int pthread_spin_trylock(pthread_spinlock_t *); 315 int pthread_spin_unlock(pthread_spinlock_t *);
|
/third_party/musl/include/ |
H A D | pthread.h | 285 int pthread_spin_init(pthread_spinlock_t *, int); 286 int pthread_spin_destroy(pthread_spinlock_t *); 287 int pthread_spin_lock(pthread_spinlock_t *); 288 int pthread_spin_trylock(pthread_spinlock_t *); 289 int pthread_spin_unlock(pthread_spinlock_t *);
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_spin_lock.c | 20 pthread_spinlock_t lock = 0; 39 pthread_spinlock_t spin; in pthread_spin_lock_0100()
|
H A D | pthread_spin_unlock.c | 20 pthread_spinlock_t lock = 0;
|
/third_party/musl/src/thread/ |
H A D | pthread_spin_destroy.c | 3 int pthread_spin_destroy(pthread_spinlock_t *s) in pthread_spin_destroy()
|
H A D | pthread_spin_init.c | 3 int pthread_spin_init(pthread_spinlock_t *s, int shared) in pthread_spin_init()
|
H A D | pthread_spin_unlock.c | 3 int pthread_spin_unlock(pthread_spinlock_t *s) in pthread_spin_unlock()
|
H A D | pthread_spin_lock.c | 4 int pthread_spin_lock(pthread_spinlock_t *s) in pthread_spin_lock()
|
H A D | pthread_spin_trylock.c | 4 int pthread_spin_trylock(pthread_spinlock_t *s) in pthread_spin_trylock()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
H A D | 3-12-buildonly.c | 8 Test pthread_spinlock_t 14 static pthread_spinlock_t dummy;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/ |
H A D | 4-1.c | 7 * Test pthread_spin_trylock(pthread_spinlock_t *lock) 28 pthread_spinlock_t spinlock; in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/ |
H A D | 1-1.c | 7 * Test pthread_spin_destroy(pthread_spinlock_t * lock) 13 * 1. Initialize a pthread_spinlock_t object 'spinlock' with 27 static pthread_spinlock_t spinlock;
|
H A D | 3-1.c | 7 * Test pthread_spin_destroy(pthread_spinlock_t *lock) may fail if: 17 * 1. Initialize a pthread_spinlock_t object 'spinlock' with 32 static pthread_spinlock_t spinlock;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/ |
H A D | 1-1.c | 7 * Test pthread_spin_init(pthread_spinlock_t * lock, int pshared) 14 * 1. Initialize a pthread_spinlock_t object 'spinlock' with 29 static pthread_spinlock_t spinlock;
|
H A D | 4-1.c | 7 * Test pthread_spin_init(pthread_spinlock_t * lock, int pshared) 17 * 1. Initialize a pthread_spinlock_t object 'spinlock' with 33 static pthread_spinlock_t spinlock;
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/ |
H A D | 3-2.c | 7 * Test pthread_spin_lock(pthread_spinlock_t *lock) 44 pthread_spinlock_t spinlock; in main()
|
H A D | 3-1.c | 7 * Test pthread_spin_lock(pthread_spinlock_t *lock) 37 pthread_spinlock_t spinlock; in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | pthread_spin_test.cpp | 9 pthread_spinlock_t spinLock;
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
H A D | mod.rs | 707 pub fn pthread_spin_init(lock: *mut pthread_spinlock_t, pshared: ::c_int) -> ::c_int; in pthread_spin_init() 708 pub fn pthread_spin_destroy(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_destroy() 709 pub fn pthread_spin_lock(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_lock() 710 pub fn pthread_spin_trylock(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_trylock() 711 pub fn pthread_spin_unlock(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_unlock()
|