/third_party/rust/crates/pkg-config-rs/tests/ |
D | test.rs | 11 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/ |
D | README | 87 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/ |
D | selinux_internal.h | 48 #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/ |
D | atexit.c | 33 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/ |
D | ofl.c | 16 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/ |
D | random.c | 68 LOCK(lock); in srandom() 78 LOCK(lock); in initstate() 100 LOCK(lock); in setstate() 110 LOCK(lock); in random()
|
/third_party/musl/src/exit/ |
D | at_quick_exit.c | 16 LOCK(lock); in __funcs_on_quick_exit() 21 LOCK(lock); in __funcs_on_quick_exit() 28 LOCK(lock); in at_quick_exit()
|
D | atexit.c | 29 LOCK(lock); in __funcs_on_exit() 35 LOCK(lock); in __funcs_on_exit() 45 LOCK(lock); in __cxa_atexit()
|
/third_party/musl/src/misc/ |
D | syslog.c | 25 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/ |
D | syslog.c | 27 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/ |
D | gstimagesequencesrc.c | 52 #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/ |
D | sem_open.c | 48 LOCK(lock); in sem_open() 145 LOCK(lock); in sem_open() 162 LOCK(lock); in sem_open() 171 LOCK(lock); in sem_close()
|
D | pthread_atfork.c | 19 LOCK(lock); in __fork_handler() 39 LOCK(lock); in pthread_atfork()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | sem_open.c | 48 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.c | 24 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.c | 20 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.c | 24 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/ |
D | ofl.c | 8 static int LOCK(void) in LOCK() function 21 LOCK(); in __ofl_lock()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
D | ofl.c | 8 static int LOCK(void) in LOCK() function 21 LOCK(); in __ofl_lock()
|
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
D | ofl.c | 8 static int LOCK(void) in LOCK() function 21 LOCK(); in __ofl_lock()
|
/third_party/musl/src/malloc/mallocng/ |
D | glue.h | 68 if (MT) LOCK(__malloc_lock); in rdlock() 72 if (MT) LOCK(__malloc_lock); in wrlock()
|
/third_party/musl/src/ldso/ |
D | dlerror.c | 34 LOCK(freebuf_queue_lock); in __dl_thread_cleanup() 44 LOCK(freebuf_queue_lock); in __dl_vseterr()
|
/third_party/musl/porting/linux/user/src/ldso/ |
D | dlerror.c | 34 LOCK(freebuf_queue_lock); in __dl_thread_cleanup() 44 LOCK(freebuf_queue_lock); in __dl_vseterr()
|
/third_party/rust/crates/lazycell/src/ |
D | lib.rs | 231 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/ |
D | ofl.c | 11 LOCK(ofl_lock); in __ofl_lock()
|