/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
H A D | sem_close.c | 54 sem_close (sem_t * sem)
|
H A D | semaphore.h | 130 typedef struct sem_t_ * sem_t; typedef in typeref:struct:sem_t_ 132 PTW32_DLLPORT int __cdecl sem_init (sem_t * sem, 136 PTW32_DLLPORT int __cdecl sem_destroy (sem_t * sem); 138 PTW32_DLLPORT int __cdecl sem_trywait (sem_t * sem); 140 PTW32_DLLPORT int __cdecl sem_wait (sem_t * sem); 142 PTW32_DLLPORT int __cdecl sem_timedwait (sem_t * sem, 145 PTW32_DLLPORT int __cdecl sem_post (sem_t * sem); 147 PTW32_DLLPORT int __cdecl sem_post_multiple (sem_t * sem, 155 PTW32_DLLPORT int __cdecl sem_close (sem_t * sem); 159 PTW32_DLLPORT int __cdecl sem_getvalue (sem_t * se [all...] |
H A D | sem_getvalue.c | 50 sem_getvalue (sem_t * sem, int *sval) 71 * sem pointer to an instance of sem_t 88 register sem_t s = *sem;
|
H A D | sem_trywait.c | 50 sem_trywait (sem_t * sem) 58 * pointer to an instance of sem_t 80 sem_t s = *sem;
|
H A D | sem_wait.c | 52 sem_t s = (sem_t) sem; 63 if (*((sem_t *)sem) != NULL && !(WaitForSingleObject(s->sem, 0) == WAIT_OBJECT_0)) 83 sem_wait (sem_t * sem) 91 * pointer to an instance of sem_t 114 sem_t s = *sem;
|
H A D | sem_init.c | 47 sem_init (sem_t * sem, int pshared, unsigned int value) 56 * pointer to an instance of sem_t 86 sem_t s = NULL; 102 s = (sem_t) calloc (1, sizeof (*s));
|
H A D | sem_destroy.c | 50 sem_destroy (sem_t * sem) 58 * pointer to an instance of sem_t 76 sem_t s = NULL;
|
H A D | sem_post.c | 50 sem_post (sem_t * sem) 58 * pointer to an instance of sem_t 77 sem_t s = *sem;
|
H A D | ptw32_semwait.c | 45 ptw32_semwait (sem_t * sem) 70 sem_t s = *sem;
|
H A D | sem_post_multiple.c | 50 sem_post_multiple (sem_t * sem, int count) 58 * pointer to an instance of sem_t 81 sem_t s = *sem;
|
H A D | sem_timedwait.c | 50 sem_t sem; 59 sem_t s = a->sem; 98 sem_timedwait (sem_t * sem, const struct timespec *abstime) 107 * pointer to an instance of sem_t 138 sem_t s = *sem;
|
/external/bluetooth/bluedroid/test/suite/support/ |
H A D | callbacks.h | 27 sem_t *semaphore = callbacks_get_semaphore(#callback); \ 33 sem_t *semaphore = callbacks_get_semaphore(#callback); \ 42 sem_t *semaphore = callbacks_get_semaphore(__func__); \ 52 sem_t *callbacks_get_semaphore(const char *name);
|
H A D | callbacks.c | 44 sem_t semaphore; 108 sem_t *callbacks_get_semaphore(const char *name) {
|
/external/deqp/framework/delibs/dethread/unix/ |
H A D | deSemaphoreUnix.c | 32 DE_STATIC_ASSERT(sizeof(deSemaphore) >= sizeof(sem_t*)); 36 sem_t* sem = (sem_t*)deMalloc(sizeof(sem_t)); 54 sem_t* sem = (sem_t*)semaphore; 62 sem_t* sem = (sem_t*)semaphore; 70 sem_t* sem = (sem_t*)semaphor [all...] |
H A D | deNamedSemaphoreUnix.c | 36 sem_t* semaphore; 88 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; 96 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore; 104 sem_t* sem = ((NamedSemaphore*)semaphore)->semaphore;
|
/external/valgrind/main/helgrind/tests/ |
H A 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; 29 sem_t* sem; 49 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) 51 sem_t* s; 79 static int my_sem_destroy ( sem_t* [all...] |
H A 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) 223 sem_t* s; 251 static int my_sem_destroy ( sem_t* [all...] |
H A 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) 99 sem_t* s; 127 static int my_sem_destroy ( sem_t* s ) 132 static int my_sem_wait(sem_t* s) 137 static int my_sem_post(sem_t* [all...] |
/external/valgrind/main/none/tests/ |
H A D | semlimit.c | 8 sem_t s[SEM_LIMIT];
|
/external/valgrind/main/drd/tests/ |
H A D | annotate_sem.c | 21 } sem_t; typedef in typeref:struct:__anon32784 23 static sem_t s_sem; 26 static void sem_init(sem_t *p, unsigned value) 33 static void sem_destroy(sem_t *p) 38 static void sem_wait(sem_t *p) 53 static void sem_post(sem_t *p)
|
H A D | pth_inconsistent_cond_wait.c | 41 static sem_t* s_sem; 45 static sem_t* create_semaphore(const char* const name) 50 sem_t* p = sem_open(name_and_pid, O_CREAT | O_EXCL, 0600, 0); 57 sem_t* p = malloc(sizeof(*p)); 64 static void destroy_semaphore(const char* const name, sem_t* p)
|
/external/libnfc-nxp/Linux_x86/ |
H A D | phOsalNfc_Common.h | 64 sem_t *pSemaphore; 65 sem_t handleSem; 73 sem_t msgSem;
|
/external/qemu/include/qemu/ |
H A D | thread-posix.h | 20 sem_t sem;
|
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/ |
H A D | thread_pool.h | 45 sem_t work_sem_; 46 sem_t done_sem_;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ |
H A D | threading.h | 86 #define sem_t HANDLE macro 101 } sem_t; typedef in typeref:struct:__anon13070 103 static inline int sem_init(sem_t *sem, int pshared, unsigned int value) 115 static inline int sem_wait(sem_t * sem) 138 static inline int sem_post(sem_t * sem) 153 static inline int sem_destroy(sem_t * sem) 167 #define sem_t semaphore_t macro
|