HomeSort by relevance Sort by last modified time
    Searched refs:sem_t (Results 76 - 100 of 173) sorted by null

1 2 34 5 6 7

  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/
semaphore.h 29 /* Get the definition for sem_t. */
37 extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value)
40 extern int sem_destroy (sem_t *__sem) __THROW;
43 extern sem_t *sem_open (__const char *__name, int __oflag, ...) __THROW;
46 extern int sem_close (sem_t *__sem) __THROW;
55 extern int sem_wait (sem_t *__sem);
62 extern int sem_timedwait (sem_t *__restrict __sem,
67 extern int sem_trywait (sem_t *__sem) __THROWNL;
70 extern int sem_post (sem_t *__sem) __THROWNL;
73 extern int sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval
    [all...]
  /external/deqp/framework/delibs/dethread/unix/
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*)semaphore
    [all...]
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;
  /system/bt/test/suite/support/
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__); \
53 sem_t *callbacks_get_semaphore(const char *name);
  /external/valgrind/helgrind/tests/
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* s
    [all...]
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* s
    [all...]
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* s
    [all...]
  /development/ndk/platforms/android-21/samples/native-codec/jni/
looper.h 38 sem_t headwriteprotect;
39 sem_t headdataavailable;
  /cts/suite/audio_quality/lib/include/
Semaphore.h 44 sem_t mSem;
  /external/valgrind/none/tests/
semlimit.c 8 sem_t s[SEM_LIMIT];
  /hardware/ti/omap4-aah/domx/mm_osal/src/
timm_osal_semaphores.c 69 sem_t sem;
87 sem_t *psem = (sem_t *) TIMM_OSAL_Malloc(sizeof(sem_t), 0, 0, 0);
123 sem_t *psem = (sem_t *) pSemaphore;
156 sem_t *psem = (sem_t *) pSemaphore;
212 sem_t *psem = (sem_t *) pSemaphore
    [all...]
  /hardware/ti/omap4xxx/domx/mm_osal/src/
timm_osal_semaphores.c 69 sem_t sem;
87 sem_t *psem = (sem_t *) TIMM_OSAL_Malloc(sizeof(sem_t), 0, 0, 0);
123 sem_t *psem = (sem_t *) pSemaphore;
156 sem_t *psem = (sem_t *) pSemaphore;
212 sem_t *psem = (sem_t *) pSemaphore
    [all...]
  /external/valgrind/drd/tests/
annotate_sem.c 21 } sem_t; typedef in typeref:struct:__anon20577
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)
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)
circular_buffer.c 36 sem_t* data;
38 sem_t* free;
60 static sem_t* create_semaphore(const char* const name, const int value)
65 sem_t* p = sem_open(name_and_pid, O_CREAT | O_EXCL, 0600, value);
72 sem_t* p = malloc(sizeof(*p));
79 static void destroy_semaphore(const char* const name, sem_t* p)
  /external/libnfc-nxp/Linux_x86/
phOsalNfc_Common.h 64 sem_t *pSemaphore;
65 sem_t handleSem;
73 sem_t msgSem;
  /packages/apps/Camera/jni/
mosaic_renderer_jni.h 35 extern sem_t gPreviewImage_semaphore;
  /packages/apps/LegacyCamera/jni/
mosaic_renderer_jni.h 35 extern sem_t gPreviewImage_semaphore;
  /bionic/libc/bionic/
semaphore.cpp 88 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) {
103 int sem_init(sem_t* sem, int pshared, unsigned int value) {
120 int sem_destroy(sem_t*) {
124 sem_t* sem_open(const char*, int, ...) {
129 int sem_close(sem_t*) {
214 int sem_wait(sem_t* sem) {
227 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) {
270 int sem_post(sem_t* sem) {
287 int sem_trywait(sem_t* sem) {
297 int sem_getvalue(sem_t* sem, int* sval)
    [all...]
  /bionic/benchmarks/
semaphore_benchmark.cpp 27 sem_t semaphore;
42 sem_t semaphore;
81 sem_t *semaphore = reinterpret_cast<sem_t *>(obj);
94 sem_t semaphore;
  /hardware/ti/omap4-aah/libtiutils/
Semaphore.h 58 sem_t *mSemaphore;
  /hardware/ti/omap4xxx/libtiutils/
Semaphore.h 55 sem_t *mSemaphore;
  /external/libavc/common/
ithread.c 136 return(sizeof(sem_t));
142 return sem_init((sem_t *)sem,pshared,value);
147 return sem_post((sem_t *)sem);
153 return sem_wait((sem_t *)sem);
159 return sem_destroy((sem_t *)sem);
  /bionic/tests/
semaphore_test.cpp 29 sem_t s;
55 sem_t s;
66 static void SemWaitThreadTestFn(sem_t& sem) {
71 SemWaitThreadTestFn(*reinterpret_cast<sem_t*>(arg));
76 sem_t s;
104 sem_t s;
125 sem_t s;
  /external/libnfc-nci/halimpl/pn54x/tml/
phTmlNfc.h 149 sem_t rxSemaphore;
150 sem_t txSemaphore; /* Lock/Aquire txRx Semaphore */
151 sem_t postMsgSemaphore; /* Semaphore to post message atomically by Reader & writer thread */

Completed in 2362 milliseconds

1 2 34 5 6 7