Home
last modified time | relevance | path

Searched refs:sem_t (Results 1 – 25 of 41) sorted by relevance

12

/external/valgrind/main/helgrind/tests/
Dtc24_nonzero_sem.c15 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)
Dtc17_sembar.c28 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 …]
Dtc23_bogus_condwait.c12 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()
Dtc18_semabuse.c20 sem_t s1; in main()
/external/valgrind/main/drd/tests/
Dpth_inconsistent_cond_wait.c41 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()
Dcircular_buffer.c36 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()
Dsem_as_mutex.c19 static sem_t s_sem;
Dsem_open.c19 static sem_t* s_sem;
Dpth_detached_sem.c18 static sem_t s_sem;
/external/libnfc-nxp/Linux_x86/
DphOsalNfc_Common.h64 sem_t *pSemaphore;
65 sem_t handleSem;
73 sem_t msgSem;
DphDal4Nfc_messageQueueLib.c55 sem_t nProcessSemaphore;
/external/valgrind/main/helgrind/
Dhg_intercepts.c1683 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/
Ddrd_pthread_intercepts.c939 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/
DSDL_syssem.c84 sem_t *sem;
85 sem_t sem_data;
/external/libvpx/vp8/decoder/
Donyxd_int.h114 sem_t *h_event_start_decoding;
115 sem_t h_event_end_decoding;
/external/valgrind/tsan/
Dts_valgrind_intercepts.c1740 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/
Dthreading.h62 #define sem_t HANDLE macro
73 #define sem_t semaphore_t macro
/external/libvpx/vp8/encoder/
Donyx_int.h609 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/
Dsemlimit.c8 sem_t s[SEM_LIMIT]; in main()
/external/compiler-rt/lib/tsan/output_tests/
Dvptr_harmful_race.cc18 sem_t sem_;
Dvptr_benign_race.cc16 sem_t sem_;
/external/valgrind/unittest/
Dposix_tests.cc112 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/
Ddevtools_remote_listen_socket_unittest.h110 sem_t* semaphore_;
/external/valgrind/main/memcheck/tests/
Derr_disable4.c29 sem_t sem;
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
DSDL_syssem.c40 sem_t sem;

12