/external/valgrind/main/helgrind/tests/ |
D | tc24_nonzero_sem.c | 15 static sem_t* my_sem_init(char*, int, unsigned); 16 static int my_sem_destroy(sem_t*); 17 static int my_sem_wait(sem_t*); //static int my_sem_post(sem_t*); 21 sem_t* sem = (sem_t*)semV; in child_fn() 29 sem_t* sem; in main() 49 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) in my_sem_init() 51 sem_t* s; in my_sem_init() 79 static int my_sem_destroy ( sem_t* s ) in my_sem_destroy() 84 static int my_sem_wait(sem_t* s) in my_sem_wait() 90 static int my_sem_post(sem_t* s)
|
D | tc17_sembar.c | 28 static sem_t* my_sem_init(char*, int, unsigned); 29 static int my_sem_destroy(sem_t*); 30 static int my_sem_wait(sem_t*); static int my_sem_post(sem_t*); 35 sem_t* sem1; 36 sem_t* sem2; 39 sem_t* xxx; 221 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) in my_sem_init() 223 sem_t* s; in my_sem_init() 251 static int my_sem_destroy ( sem_t* s ) in my_sem_destroy() 256 static int my_sem_wait(sem_t* s) in my_sem_wait() [all …]
|
D | tc23_bogus_condwait.c | 12 sem_t* quit_now; 13 static sem_t* my_sem_init(char*, int, unsigned); 14 static int my_sem_destroy(sem_t*); 15 static int my_sem_wait(sem_t*); static int my_sem_post(sem_t*); 97 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) in my_sem_init() 99 sem_t* s; in my_sem_init() 127 static int my_sem_destroy ( sem_t* s ) in my_sem_destroy() 132 static int my_sem_wait(sem_t* s) in my_sem_wait() 137 static int my_sem_post(sem_t* s) in my_sem_post()
|
D | tc18_semabuse.c | 20 sem_t s1; in main()
|
/external/valgrind/main/drd/tests/ |
D | pth_inconsistent_cond_wait.c | 41 static sem_t* s_sem; 45 static sem_t* create_semaphore(const char* const name) in create_semaphore() 50 sem_t* p = sem_open(name_and_pid, O_CREAT | O_EXCL, 0600, 0); in create_semaphore() 57 sem_t* p = malloc(sizeof(*p)); in create_semaphore() 64 static void destroy_semaphore(const char* const name, sem_t* p) in destroy_semaphore()
|
D | circular_buffer.c | 36 sem_t* data; 38 sem_t* free; 60 static sem_t* create_semaphore(const char* const name, const int value) in create_semaphore() 65 sem_t* p = sem_open(name_and_pid, O_CREAT | O_EXCL, 0600, value); in create_semaphore() 72 sem_t* p = malloc(sizeof(*p)); in create_semaphore() 79 static void destroy_semaphore(const char* const name, sem_t* p) in destroy_semaphore()
|
D | sem_as_mutex.c | 19 static sem_t s_sem;
|
D | sem_open.c | 19 static sem_t* s_sem;
|
D | pth_detached_sem.c | 18 static sem_t s_sem;
|
/external/libnfc-nxp/Linux_x86/ |
D | phOsalNfc_Common.h | 64 sem_t *pSemaphore; 65 sem_t handleSem; 73 sem_t msgSem;
|
D | phDal4Nfc_messageQueueLib.c | 55 sem_t nProcessSemaphore;
|
/external/valgrind/main/helgrind/ |
D | hg_intercepts.c | 1683 static int sem_init_WRK(sem_t* sem, int pshared, unsigned long value) in sem_init_WRK() 1698 sem_t*, sem, unsigned long, value); in sem_init_WRK() 1712 sem_t* sem, int pshared, unsigned long value) { in PTH_FUNC() 1717 sem_t* sem, int pshared, unsigned long value) { in PTH_FUNC() 1731 static int sem_destroy_WRK(sem_t* sem) in sem_destroy_WRK() 1742 DO_CREQ_v_W(_VG_USERREQ__HG_POSIX_SEM_DESTROY_PRE, sem_t*, sem); in sem_destroy_WRK() 1759 sem_t* sem) { in PTH_FUNC() 1764 sem_t* sem) { in PTH_FUNC() 1782 static int sem_wait_WRK(sem_t* sem) in sem_wait_WRK() 1796 DO_CREQ_v_W(_VG_USERREQ__HG_POSIX_SEM_WAIT_POST, sem_t*,sem); in sem_wait_WRK() [all …]
|
/external/valgrind/main/drd/ |
D | drd_pthread_intercepts.c | 939 int sem_init_intercept(sem_t *sem, int pshared, unsigned int value) in sem_init_intercept() 953 (sem_t *sem, int pshared, unsigned int value), (sem, pshared, value)); 956 int sem_destroy_intercept(sem_t *sem) in sem_destroy_intercept() 969 PTH_FUNCS(int, semZudestroy, sem_destroy_intercept, (sem_t *sem), (sem)); 972 sem_t* sem_open_intercept(const char *name, int oflag, mode_t mode, in sem_open_intercept() 975 sem_t *ret; in sem_open_intercept() 987 PTH_FUNCS(sem_t *, semZuopen, sem_open_intercept, 991 static __always_inline int sem_close_intercept(sem_t *sem) in sem_close_intercept() 1004 PTH_FUNCS(int, semZuclose, sem_close_intercept, (sem_t *sem), (sem)); 1006 static __always_inline int sem_wait_intercept(sem_t *sem) in sem_wait_intercept() [all …]
|
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/ |
D | SDL_syssem.c | 84 sem_t *sem; 85 sem_t sem_data;
|
/external/libvpx/vp8/decoder/ |
D | onyxd_int.h | 114 sem_t *h_event_start_decoding; 115 sem_t h_event_end_decoding;
|
/external/valgrind/tsan/ |
D | ts_valgrind_intercepts.c | 1740 PTH_FUNC(int, semZuinitZAZa, sem_t* sem, int pshared, unsigned long value) in PTH_FUNC() 1755 sem_t*, sem, unsigned long, value); in PTH_FUNC() 1769 static int sem_destroy_WRK(sem_t* sem) in sem_destroy_WRK() 1780 DO_CREQ_v_W(TSREQ_POSIX_SEM_DESTROY_PRE, sem_t*, sem); in sem_destroy_WRK() 1798 PTH_FUNC(int, semZudestroyZAZa, sem_t* sem) in PTH_FUNC() 1804 PTH_FUNC(int, semZudestroy, sem_t* sem) in PTH_FUNC() 1812 static int sem_wait_WRK(sem_t* sem, const char *name, int is_try) in sem_wait_WRK() 1826 DO_CREQ_v_W(TSREQ_WAIT, sem_t*,sem); in sem_wait_WRK() 1840 PTH_FUNC(int, semZuwait, sem_t* sem) { /* sem_wait */ in PTH_FUNC() 1843 PTH_FUNC(int, semZuwaitZAZa, sem_t* sem) { /* sem_wait@* */ in PTH_FUNC() [all …]
|
/external/libvpx/vp8/common/ |
D | threading.h | 62 #define sem_t HANDLE macro 73 #define sem_t semaphore_t macro
|
/external/libvpx/vp8/encoder/ |
D | onyx_int.h | 609 sem_t *h_event_start_encoding; 610 sem_t h_event_end_encoding; 611 sem_t h_event_start_lpf; 612 sem_t h_event_end_lpf;
|
/external/valgrind/main/none/tests/ |
D | semlimit.c | 8 sem_t s[SEM_LIMIT]; in main()
|
/external/compiler-rt/lib/tsan/output_tests/ |
D | vptr_harmful_race.cc | 18 sem_t sem_;
|
D | vptr_benign_race.cc | 16 sem_t sem_;
|
/external/valgrind/unittest/ |
D | posix_tests.cc | 112 sem_t sem[2]; 347 sem_t *DoSemOpen() { in DoSemOpen() 351 sem_t *sem = sem_open(kSemName, O_CREAT, 0600, 3); in DoSemOpen() 367 sem_t *sem = DoSemOpen(); in Worker() 386 sem_t* sem = DoSemOpen(); in TEST()
|
/external/chromium/chrome/browser/debugger/ |
D | devtools_remote_listen_socket_unittest.h | 110 sem_t* semaphore_;
|
/external/valgrind/main/memcheck/tests/ |
D | err_disable4.c | 29 sem_t sem;
|
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/ |
D | SDL_syssem.c | 40 sem_t sem;
|