HomeSort by relevance Sort by last modified time
    Searched refs:sem_t (Results 1 - 25 of 237) sorted by null

1 2 3 4 5 6 7 8 910

  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/bits/
semaphore.h 29 #define SEM_FAILED ((sem_t *) 0)
36 } sem_t; typedef in typeref:union:__anon62295
  /bionic/tests/headers/posix/
semaphore_h.c 34 TYPE(sem_t);
38 FUNCTION(sem_close, int (*f)(sem_t*));
39 FUNCTION(sem_destroy, int (*f)(sem_t*));
40 FUNCTION(sem_getvalue, int (*f)(sem_t*, int*));
41 FUNCTION(sem_init, int (*f)(sem_t*, int, unsigned));
42 FUNCTION(sem_open, sem_t* (*f)(const char*, int, ...));
43 FUNCTION(sem_post, int (*f)(sem_t*));
44 FUNCTION(sem_timedwait, int (*f)(sem_t*, const struct timespec*));
45 FUNCTION(sem_trywait, int (*f)(sem_t*));
47 FUNCTION(sem_wait, int (*f)(sem_t*));
    [all...]
  /bionic/libc/include/
semaphore.h 43 } sem_t; typedef in typeref:struct:__anon308
45 #define SEM_FAILED __BIONIC_CAST(reinterpret_cast, sem_t*, 0)
47 int sem_destroy(sem_t* __sem);
48 int sem_getvalue(sem_t* __sem, int* __value);
49 int sem_init(sem_t* __sem, int __shared, unsigned int __value);
50 int sem_post(sem_t* __sem);
51 int sem_timedwait(sem_t* __sem, const struct timespec* __ts);
58 int sem_timedwait_monotonic_np(sem_t* __sem, const struct timespec* __ts) __INTRODUCED_IN(28);
59 int sem_trywait(sem_t* __sem);
60 int sem_wait(sem_t* __sem)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/
semaphore.h 34 #define SEM_FAILED ((sem_t *) 0)
41 } sem_t; typedef in typeref:union:__anon63162
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
semaphore.h 50 typedef void *sem_t; typedef
54 int WINPTHREAD_SEMA_API sem_init(sem_t * sem, int pshared, unsigned int value);
56 int WINPTHREAD_SEMA_API sem_destroy(sem_t *sem);
58 int WINPTHREAD_SEMA_API sem_trywait(sem_t *sem);
60 int WINPTHREAD_SEMA_API sem_wait(sem_t *sem);
62 int WINPTHREAD_SEMA_API sem_timedwait(sem_t * sem, const struct timespec *t);
64 int WINPTHREAD_SEMA_API sem_post(sem_t *sem);
66 int WINPTHREAD_SEMA_API sem_post_multiple(sem_t *sem, int count);
69 sem_t * WINPTHREAD_SEMA_API sem_open(const char * name, int oflag, mode_t mode, unsigned int value);
71 int WINPTHREAD_SEMA_API sem_close(sem_t * sem)
    [all...]
  /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));
55 sem_t* sem = (sem_t*)semaphore;
63 sem_t* sem = (sem_t*)semaphore;
71 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;
  /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...]
  /cts/suite/audio_quality/lib/include/
Semaphore.h 44 sem_t mSem;
  /external/valgrind/none/tests/
semlimit.c 8 sem_t s[SEM_LIMIT];
  /external/valgrind/drd/tests/
annotate_sem.c 21 } sem_t; typedef in typeref:struct:__anon42615
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)
  /bionic/benchmarks/
semaphore_benchmark.cpp 27 sem_t semaphore;
38 sem_t semaphore;
74 sem_t* semaphore = reinterpret_cast<sem_t*>(arg);
118 sem_t semaphore;
  /bionic/libc/bionic/
semaphore.cpp 89 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) {
104 int sem_init(sem_t* sem, int pshared, unsigned int value) {
121 int sem_destroy(sem_t*) {
125 sem_t* sem_open(const char*, int, ...) {
130 int sem_close(sem_t*) {
215 int sem_wait(sem_t* sem) {
234 static int __sem_timedwait(sem_t* sem, const timespec* abs_timeout, bool use_realtime_clock) {
271 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) {
275 int sem_timedwait_monotonic_np(sem_t* sem, const timespec* abs_timeout) {
279 int sem_post(sem_t* sem)
    [all...]
  /external/autotest/utils/named_semaphore/
namedsem.c 8 *((sem_t **)address) = PyLong_AsVoidPtr(object);
19 sem_t *result;
30 sem_t *sem;
54 sem_t *sem;
66 sem_t *sem;
79 sem_t *sem;
  /external/ltp/testcases/kernel/syscalls/move_pages/
move_pages_support.h 49 sem_t *alloc_sem(int num);
50 void free_sem(sem_t *sem, int num);
  /external/compiler-rt/test/msan/
sem_getvalue.cc 8 sem_t sem;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
5-1.c 29 sem_t mysemp;
5-2.c 29 sem_t mysemp;
7-1.c 85 sem_t *sems;
86 sem_t sem_last;
100 sems = (sem_t *) calloc(max, sizeof(sem_t));
  /packages/apps/LegacyCamera/jni/
mosaic_renderer_jni.h 35 extern sem_t gPreviewImage_semaphore;
  /external/libhevc/common/
ithread.c 126 return (sizeof(sem_t));
131 return sem_init((sem_t *)sem, pshared, value);
136 return sem_post((sem_t *)sem);
141 return sem_wait((sem_t *)sem);
146 return sem_destroy((sem_t *)sem);
  /bionic/tests/
semaphore_test.cpp 30 sem_t s;
56 sem_t s;
67 static void SemWaitThreadTestFn(sem_t& sem) {
72 SemWaitThreadTestFn(*reinterpret_cast<sem_t*>(arg));
77 sem_t s;
105 int (*wait_function)(sem_t* __sem, const timespec* __ts)) {
106 sem_t s;
150 sem_t s;
157 sem_t s;
183 sem_t* sem = reinterpret_cast<sem_t*>(arg)
    [all...]

Completed in 550 milliseconds

1 2 3 4 5 6 7 8 910