Home
last modified time | relevance | path

Searched refs:LOCK (Results 1 – 25 of 123) sorted by relevance

12345

/third_party/rust/crates/pkg-config-rs/tests/
Dtest.rs11 static ref LOCK: Mutex<()> = Mutex::new(());
39 let _g = LOCK.lock(); in cross_disabled()
51 let _g = LOCK.lock(); in cross_enabled()
61 let _g = LOCK.lock(); in cross_enabled_if_customized()
71 let _g = LOCK.lock(); in cross_disabled_if_customized()
85 let _g = LOCK.lock(); in package_disabled()
96 let _g = LOCK.lock(); in output_ok()
110 let _g = LOCK.lock(); in escapes()
132 let _g = LOCK.lock(); in framework()
145 let _g = LOCK.lock(); in get_variable()
[all …]
/third_party/ltp/testcases/network/nfsv4/locks/
DREADME87 1. WRITE ON A READ LOCK
88 2. WRITE ON A WRITE LOCK
89 3. READ ON A READ LOCK
90 4. READ ON A WRITE LOCK
91 5. SET A READ LOCK ON A READ LOCK
92 6. SET A WRITE LOCK ON A WRITE LOCK
93 7. SET A WRITE LOCK ON A READ LOCK
94 8. SET A READ LOCK ON A WRITE LOCK
95 9. READ LOCK THE WHOLE FILE BYTE BY BYTE
96 10. WRITE LOCK THE WHOLE FILE BYTE BY BYTE
[all …]
/third_party/selinux/libselinux/src/
Dselinux_internal.h48 #define __pthread_mutex_init(LOCK, ATTR) \ argument
51 pthread_mutex_init(LOCK, ATTR); \
54 #define __pthread_mutex_destroy(LOCK) \ argument
57 pthread_mutex_destroy(LOCK); \
60 #define __pthread_mutex_lock(LOCK) \ argument
63 pthread_mutex_lock(LOCK); \
66 #define __pthread_mutex_unlock(LOCK) \ argument
69 pthread_mutex_unlock(LOCK); \
/third_party/musl/porting/linux/user/src/exit/
Datexit.c33 LOCK(lock); in __funcs_on_exit()
40 LOCK(lock); in __funcs_on_exit()
52 LOCK(lock); in __cxa_finalize()
59 LOCK(lock); in __cxa_finalize()
73 LOCK(lock); in __cxa_atexit()
130 LOCK(lock); in invalidate_exit_funcs()
/third_party/musl/porting/linux/user/src/stdio/
Dofl.c16 LOCK(ofl_lock); in __ofl_lock()
31 LOCK(ofl_lock); in __ofl_alloc()
47 LOCK(ofl_lock); in __ofl_alloc()
60 LOCK(ofl_lock); in __ofl_free()
/third_party/musl/src/prng/
Drandom.c68 LOCK(lock); in srandom()
78 LOCK(lock); in initstate()
100 LOCK(lock); in setstate()
110 LOCK(lock); in random()
/third_party/musl/src/exit/
Dat_quick_exit.c16 LOCK(lock); in __funcs_on_quick_exit()
21 LOCK(lock); in __funcs_on_quick_exit()
28 LOCK(lock); in at_quick_exit()
Datexit.c29 LOCK(lock); in __funcs_on_exit()
35 LOCK(lock); in __funcs_on_exit()
45 LOCK(lock); in __cxa_atexit()
/third_party/musl/src/misc/
Dsyslog.c25 LOCK(lock); in setlogmask()
44 LOCK(lock); in closelog()
61 LOCK(lock); in openlog()
132 LOCK(lock); in __vsyslog()
/third_party/musl/porting/liteos_a/user/src/misc/
Dsyslog.c27 LOCK(lock); in setlogmask()
47 LOCK(lock); in closelog()
65 LOCK(lock); in openlog()
136 LOCK(lock); in __vsyslog()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dgstimagesequencesrc.c52 #define LOCK(self) (g_rec_mutex_lock (&self->fields_lock)) macro
133 LOCK (self); in gst_image_sequence_src_uri_get_uri()
160 LOCK (self); in gst_image_sequence_src_uri_set_uri()
399 LOCK (self); in gst_image_sequence_src_query()
430 LOCK (self); in gst_image_sequence_src_set_property()
460 LOCK (self); in gst_image_sequence_src_get_property()
552 LOCK (self); in gst_image_sequence_src_set_duration()
582 LOCK (self); in gst_image_sequence_src_create()
621 LOCK (self); in gst_image_sequence_src_create()
/third_party/musl/src/thread/
Dsem_open.c48 LOCK(lock); in sem_open()
145 LOCK(lock); in sem_open()
162 LOCK(lock); in sem_open()
171 LOCK(lock); in sem_close()
Dpthread_atfork.c19 LOCK(lock); in __fork_handler()
39 LOCK(lock); in pthread_atfork()
/third_party/musl/porting/liteos_a/user/src/thread/
Dsem_open.c48 LOCK(lock); in sem_open()
143 LOCK(lock); in sem_open()
160 LOCK(lock); in sem_open()
169 LOCK(lock); in sem_close()
/third_party/musl/porting/uniproton/kernel/src/time/
D__tz.c24 static int LOCK(void) in LOCK() function
162 LOCK(); in __secs_to_zone()
217 LOCK(); in __tzset()
227 LOCK(); in __tm_to_tzname()
/third_party/musl/porting/liteos_a/kernel/src/time/
D__tz.c20 static int LOCK(void) in LOCK() function
156 LOCK(); in __secs_to_zone()
211 LOCK(); in __tzset()
221 LOCK(); in __tm_to_tzname()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__tz.c24 static int LOCK(void) in LOCK() function
162 LOCK(); in __secs_to_zone()
217 LOCK(); in __tzset()
227 LOCK(); in __tm_to_tzname()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
Dofl.c8 static int LOCK(void) in LOCK() function
21 LOCK(); in __ofl_lock()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dofl.c8 static int LOCK(void) in LOCK() function
21 LOCK(); in __ofl_lock()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dofl.c8 static int LOCK(void) in LOCK() function
21 LOCK(); in __ofl_lock()
/third_party/musl/src/malloc/mallocng/
Dglue.h68 if (MT) LOCK(__malloc_lock); in rdlock()
72 if (MT) LOCK(__malloc_lock); in wrlock()
/third_party/musl/src/ldso/
Ddlerror.c34 LOCK(freebuf_queue_lock); in __dl_thread_cleanup()
44 LOCK(freebuf_queue_lock); in __dl_vseterr()
/third_party/musl/porting/linux/user/src/ldso/
Ddlerror.c34 LOCK(freebuf_queue_lock); in __dl_thread_cleanup()
44 LOCK(freebuf_queue_lock); in __dl_vseterr()
/third_party/rust/crates/lazycell/src/
Dlib.rs231 const LOCK: usize = 1; constant
257 if NONE != self.state.compare_and_swap(NONE, LOCK, Ordering::Acquire) { in fill()
263 if LOCK != self.state.compare_and_swap(LOCK, SOME, Ordering::Release) { in fill()
/third_party/musl/src/stdio/
Dofl.c11 LOCK(ofl_lock); in __ofl_lock()

12345