/external/valgrind/main/drd/ |
D | drd_semaphore.c | 98 const Addr semaphore) in drd_semaphore_initialize() argument 100 tl_assert(semaphore != 0); in drd_semaphore_initialize() 101 tl_assert(p->a1 == semaphore); in drd_semaphore_initialize() 144 drd_semaphore_get_or_allocate(const Addr semaphore) in drd_semaphore_get_or_allocate() argument 148 tl_assert(offsetof(DrdClientobj, semaphore) == 0); in drd_semaphore_get_or_allocate() 149 p = &(DRD_(clientobj_get)(semaphore, ClientSemaphore)->semaphore); in drd_semaphore_get_or_allocate() 152 tl_assert(offsetof(DrdClientobj, semaphore) == 0); in drd_semaphore_get_or_allocate() 153 p = &(DRD_(clientobj_add)(semaphore, ClientSemaphore)->semaphore); in drd_semaphore_get_or_allocate() 154 drd_semaphore_initialize(p, semaphore); in drd_semaphore_get_or_allocate() 163 static struct semaphore_info* semaphore_get(const Addr semaphore) in semaphore_get() argument [all …]
|
D | drd_semaphore.h | 41 struct semaphore_info* DRD_(semaphore_init)(const Addr semaphore, 44 void DRD_(semaphore_destroy)(const Addr semaphore); 45 struct semaphore_info* DRD_(semaphore_open)(const Addr semaphore, 48 void DRD_(semaphore_close)(const Addr semaphore); 49 void DRD_(semaphore_pre_wait)(const Addr semaphore); 50 void DRD_(semaphore_post_wait)(const DrdThreadId tid, const Addr semaphore, 52 void DRD_(semaphore_pre_post)(const DrdThreadId tid, const Addr semaphore); 53 void DRD_(semaphore_post_post)(const DrdThreadId tid, const Addr semaphore,
|
D | drd_error.h | 143 Addr semaphore; member
|
D | drd_clientobj.h | 151 struct semaphore_info semaphore; member
|
/external/kernel-headers/original/asm-arm/ |
D | semaphore.h | 15 struct semaphore { struct 28 struct semaphore name = __SEMAPHORE_INIT(name,count) argument 33 static inline void sema_init(struct semaphore *sem, int val) in sema_init() 40 static inline void init_MUTEX(struct semaphore *sem) in init_MUTEX() 45 static inline void init_MUTEX_LOCKED(struct semaphore *sem) in init_MUTEX_LOCKED() 58 extern void __down(struct semaphore * sem); 59 extern int __down_interruptible(struct semaphore * sem); 60 extern int __down_trylock(struct semaphore * sem); 61 extern void __up(struct semaphore * sem); 67 static inline void down(struct semaphore * sem) in down() [all …]
|
/external/kernel-headers/original/asm-x86/ |
D | semaphore_32.h | 44 struct semaphore { struct 59 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) argument 63 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 76 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 81 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 96 static inline void down(struct semaphore * sem) in down() 115 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 138 static inline int down_trylock(struct semaphore * sem) in down_trylock() 160 static inline void up(struct semaphore * sem) in up()
|
/external/jmdns/src/javax/jmdns/impl/ |
D | DNSStatefulObject.java | 57 Semaphore semaphore = _semaphores.get(thread); in waitForEvent() local 58 if (semaphore == null) { in waitForEvent() 59 semaphore = new Semaphore(1, true); in waitForEvent() 60 semaphore.drainPermits(); in waitForEvent() 61 _semaphores.putIfAbsent(thread, semaphore); in waitForEvent() 63 semaphore = _semaphores.get(thread); in waitForEvent() 65 semaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS); in waitForEvent() 76 for (Semaphore semaphore : semaphores) { in signalEvent() 77 semaphore.release(); in signalEvent() 78 semaphores.remove(semaphore); in signalEvent()
|
/external/valgrind/main/drd/tests/ |
D | tc18_semabuse.stderr.exp | 2 Semaphore reinitialization: semaphore 0x........ 5 semaphore 0x........ was first observed at: 9 Invalid semaphore: semaphore 0x........ 12 semaphore 0x........ was first observed at:
|
D | sem_open_traced.vgtest | 2 vgopts: --check-stack-var=yes --read-var-info=yes --trace-semaphore=yes
|
/external/v8/test/cctest/ |
D | test-circular-queue.cc | 125 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); in TEST() local 133 ProducerThread producer1(&scq, kRecordsPerChunk, 1, semaphore); in TEST() 134 ProducerThread producer2(&scq, kRecordsPerChunk, 10, semaphore); in TEST() 135 ProducerThread producer3(&scq, kRecordsPerChunk, 20, semaphore); in TEST() 139 semaphore->Wait(); in TEST() 151 semaphore->Wait(); in TEST() 163 semaphore->Wait(); in TEST() 175 delete semaphore; in TEST()
|
D | test-threads.cc | 146 i::Semaphore* semaphore) in ThreadIdValidationThread() argument 149 semaphore_(semaphore) { in ThreadIdValidationThread() 176 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); in TEST() local 180 new ThreadIdValidationThread(prev, &refs, i, semaphore); in TEST() 187 semaphore->Wait(); in TEST()
|
D | test-thread-termination.cc | 33 v8::internal::Semaphore* semaphore = NULL; variable 37 semaphore->Signal(); in Signal() 167 semaphore->Wait(); in Run() 180 semaphore = v8::internal::OS::CreateSemaphore(0); in TEST() 195 delete semaphore; in TEST() 196 semaphore = NULL; in TEST() 234 semaphore = v8::internal::OS::CreateSemaphore(0); in TEST() 246 semaphore->Wait(); in TEST() 259 delete semaphore; in TEST() 260 semaphore = NULL; in TEST()
|
/external/srec/portable/include/ |
D | ptrd.h | 312 PtrdSemaphore **semaphore); 322 PORTABLE_API ESR_ReturnCode PtrdSemaphoreDestroy(PtrdSemaphore *semaphore); 333 PORTABLE_API ESR_ReturnCode PtrdSemaphoreAcquire(PtrdSemaphore *semaphore); 347 PORTABLE_API ESR_ReturnCode PtrdSemaphoreAcquireTimeout(PtrdSemaphore *semaphore, 359 PORTABLE_API ESR_ReturnCode PtrdSemaphoreRelease(PtrdSemaphore *semaphore);
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
D | WebCookieJar.cpp | 250 static scoped_refptr<FlushSemaphore> semaphore(new FlushSemaphore()); in flush() local 251 semaphore->SendFlushRequest(get(false)->cookieStore()->GetCookieMonster()); in flush() 252 semaphore->SendFlushRequest(get(true)->cookieStore()->GetCookieMonster()); in flush() 253 semaphore->Wait(2); in flush()
|
/external/webkit/Source/WebKit2/Platform/win/ |
D | RunLoopWin.cpp | 82 …entMessagesUntil(const Vector<HWND>& windows, CoreIPC::BinarySemaphore& semaphore, double absolute… in dispatchSentMessagesUntil() argument 85 return semaphore.wait(absoluteTime); in dispatchSentMessagesUntil() 87 HANDLE handle = semaphore.event(); in dispatchSentMessagesUntil()
|
/external/v8/src/ |
D | runtime-profiler.cc | 83 static LazySemaphore<0>::type semaphore = LAZY_SEMAPHORE_INITIALIZER; variable 424 semaphore.Pointer()->Signal(); in HandleWakeUp() 437 semaphore.Pointer()->Wait(); in WaitForSomeIsolateToEnterJS() 453 semaphore.Pointer()->Signal(); in StopRuntimeProfilerThreadBeforeShutdown()
|
/external/valgrind/unittest/ |
D | wine.supp | 18 # semaphore implementation.
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | SIPTransaction.java | 131 private Semaphore semaphore; field in SIPTransaction 332 this.semaphore = new Semaphore(1,true); in SIPTransaction() 1140 retval = this.semaphore.tryAcquire(1000, TimeUnit.MILLISECONDS); in acquireSem() 1181 this.semaphore.release(); in semRelease()
|
/external/e2fsprogs/lib/ext2fs/ |
D | kernel-jbd.h | 478 struct semaphore j_barrier; 511 struct semaphore j_checkpoint_sem; 514 struct semaphore j_sem;
|
/external/kernel-headers/original/linux/ |
D | kernelcapi.h | 65 struct semaphore recv_sem;
|
D | device.h | 147 struct semaphore sem; /* locks both the children and interfaces lists */ 311 struct semaphore sem; /* semaphore to synchronize calls to
|
D | tty.h | 59 struct semaphore pty_sem; 179 struct semaphore termios_sem;
|
/external/oprofile/module/ |
D | compat22.h | 113 #define DECLARE_MUTEX(foo) struct semaphore foo = MUTEX
|
/external/valgrind/main/docs/internals/ |
D | threads-syscalls-signals.txt | 3 sleeping, and not holding the CPU semaphore. This will set the 5 the CPU semaphore. By the time it returns, tid will be the running 10 must be runnable, and holding the CPU semaphore. When this call 12 and will not be holding the CPU semaphore. Note that another 20 The master semaphore is run_sema in vg_scheduler.c. 27 semaphore with a new pipe so the process has its own.
|
/external/kernel-headers/original/linux/netfilter/ |
D | nfnetlink.h | 132 extern struct semaphore nfnl_sem;
|