/external/v8/test/cctest/ |
H A D | test-circular-queue.cc | 125 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); local 133 ProducerThread producer1(&scq, kRecordsPerChunk, 1, semaphore); 134 ProducerThread producer2(&scq, kRecordsPerChunk, 10, semaphore); 135 ProducerThread producer3(&scq, kRecordsPerChunk, 20, semaphore); 139 semaphore->Wait(); 151 semaphore->Wait(); 163 semaphore->Wait(); 175 delete semaphore;
|
H A D | test-thread-termination.cc | 33 v8::internal::Semaphore* semaphore = NULL; variable 37 semaphore->Signal(); 167 semaphore->Wait(); 180 semaphore = v8::internal::OS::CreateSemaphore(0); 195 delete semaphore; 196 semaphore = NULL; 234 semaphore = v8::internal::OS::CreateSemaphore(0); 244 // Wait until all threads have signaled the semaphore. 246 semaphore->Wait(); 259 delete semaphore; [all...] |
H A D | test-threads.cc | 146 i::Semaphore* semaphore) 149 semaphore_(semaphore) { 176 i::Semaphore* semaphore = i::OS::CreateSemaphore(0); local 180 new ThreadIdValidationThread(prev, &refs, i, semaphore); 187 semaphore->Wait(); 143 ThreadIdValidationThread(i::Thread* thread_to_start, i::List<i::ThreadId>* refs, unsigned int thread_no, i::Semaphore* semaphore) argument
|
/external/kernel-headers/original/asm-arm/ |
H A D | semaphore.h | 2 * linux/include/asm-arm/semaphore.h 15 struct semaphore { struct 28 struct semaphore name = __SEMAPHORE_INIT(name,count) 33 static inline void sema_init(struct semaphore *sem, int val) 40 static inline void init_MUTEX(struct semaphore *sem) 45 static inline void init_MUTEX_LOCKED(struct semaphore *sem) 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 * se [all...] |
/external/kernel-headers/original/asm-x86/ |
H A D | semaphore_32.h | 14 * the original code and to make semaphore waits 21 * also implemented the `trylock' semaphore operation. 35 * /pub/linux/src/semaphore/semaphore-2.0.24.tar.gz. 44 struct semaphore { struct 59 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 63 static inline void sema_init (struct semaphore *sem, int val) 66 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 76 static inline void init_MUTEX (struct semaphore *sem) 81 static inline void init_MUTEX_LOCKED (struct semaphore *se [all...] |
/external/chromium_org/v8/test/cctest/ |
H A D | test-semaphore.cc | 41 explicit WaitAndSignalThread(Semaphore* semaphore) argument 42 : Thread("WaitAndSignalThread"), semaphore_(semaphore) {} 61 Semaphore semaphore(0); 62 WaitAndSignalThread t1(&semaphore); 63 WaitAndSignalThread t2(&semaphore); 69 semaphore.Signal(); 74 semaphore.Wait(); 76 bool result = semaphore.WaitFor(TimeDelta::FromMicroseconds(1)); 84 Semaphore semaphore(0); 87 ok = semaphore [all...] |
H A D | test-thread-termination.cc | 33 v8::internal::Semaphore* semaphore = NULL; variable 37 semaphore->Signal(); 167 semaphore->Wait(); 180 semaphore = new v8::internal::Semaphore(0); 197 delete semaphore; 198 semaphore = NULL;
|
H A D | test-threads.cc | 131 i::Semaphore* semaphore) 134 semaphore_(semaphore) { 162 i::Semaphore* semaphore = new i::Semaphore(0); local 166 new ThreadIdValidationThread(prev, &refs, i, semaphore); 173 semaphore->Wait(); 128 ThreadIdValidationThread(i::Thread* thread_to_start, i::List<i::ThreadId>* refs, unsigned int thread_no, i::Semaphore* semaphore) argument
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/sync/ |
H A D | ChromiumSyncAdapter.java | 64 Semaphore semaphore = new Semaphore(0); 68 getStartupCallback(mApplication, account, extras, syncResult, semaphore); 69 startBrowserProcess(callback, syncResult, semaphore); 73 semaphore.acquire(); 83 final SyncResult syncResult, Semaphore semaphore) { 108 semaphore.release(); 131 final SyncResult syncResult, final Semaphore semaphore) { 156 semaphore.release(); 165 semaphore.release(); 81 startBrowserProcess( final BrowserStartupController.StartupCallback callback, final SyncResult syncResult, Semaphore semaphore) argument 129 getStartupCallback( final Context context, final Account acct, Bundle extras, final SyncResult syncResult, final Semaphore semaphore) argument
|
/external/valgrind/main/drd/ |
H A D | drd_semaphore.c | 85 /** Enable or disable tracing of semaphore actions. */ 93 * client semaphore at client addres 'semaphore'. 97 const Addr semaphore) 99 tl_assert(semaphore != 0); 100 tl_assert(p->a1 == semaphore); 127 "Destruction of semaphore that is being waited" 138 * client semaphore. Allocate a new structure if such a structure did not 143 drd_semaphore_get_or_allocate(const Addr semaphore) argument 147 tl_assert(offsetof(DrdClientobj, semaphore) 96 drd_semaphore_initialize(struct semaphore_info* const p, const Addr semaphore) argument 162 semaphore_get(const Addr semaphore) argument 169 semaphore_init(const Addr semaphore, const Word pshared, const UInt value) argument 218 semaphore_destroy(const Addr semaphore) argument 247 semaphore_open(const Addr semaphore, const Char* name, const Word oflag, const Word mode, const UInt value) argument 291 semaphore_close(const Addr semaphore) argument 320 semaphore_pre_wait(const Addr semaphore) argument 344 semaphore_post_wait(const DrdThreadId tid, const Addr semaphore, const Bool waited) argument 403 semaphore_pre_post(const DrdThreadId tid, const Addr semaphore) argument 426 semaphore_post_post(const DrdThreadId tid, const Addr semaphore, const Bool succeeded) argument [all...] |
H A D | drd_clientobj.h | 150 struct semaphore_info semaphore; member in union:drd_clientobj
|
H A D | drd_error.h | 142 Addr semaphore; member in struct:__anon28383
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
H A D | wince_usb.c | 172 HANDLE semaphore; local 176 semaphore = CreateSemaphore(NULL, 1, 1, sem_name); 177 if (semaphore == NULL) { 178 usbi_err(ctx, "could not create semaphore: %s", windows_error_str(0)); 182 // A successful wait brings our semaphore count to 0 (unsignaled) 183 // => any concurent wait stalls until the semaphore's release 184 if (WaitForSingleObject(semaphore, INFINITE) != WAIT_OBJECT_0) { 185 usbi_err(ctx, "failure to access semaphore: %s", windows_error_str(0)); 186 CloseHandle(semaphore); 224 usbi_err(ctx, "could not create timer response semaphore 290 HANDLE semaphore; local [all...] |
H A D | windows_usb.c | 804 HANDLE semaphore; local 808 semaphore = CreateSemaphoreA(NULL, 1, 1, sem_name); 809 if (semaphore == NULL) { 810 usbi_err(ctx, "could not create semaphore: %s", windows_error_str(0)); 814 // A successful wait brings our semaphore count to 0 (unsignaled) 815 // => any concurent wait stalls until the semaphore's release 816 if (WaitForSingleObject(semaphore, INFINITE) != WAIT_OBJECT_0) { 817 usbi_err(ctx, "failure to access semaphore: %s", windows_error_str(0)); 818 CloseHandle(semaphore); 874 usbi_err(ctx, "could not create timer response semaphore 1686 HANDLE semaphore; local [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
H A D | JSR166TestCase.java | 935 public void await(Semaphore semaphore) { argument 937 assertTrue(semaphore.tryAcquire(LONG_DELAY_MS, MILLISECONDS));
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
H A D | SIPTransaction.java | 131 private Semaphore semaphore; field in class:SIPTransaction 332 this.semaphore = new Semaphore(1,true); 1130 * semaphore gaurds re-entrancy to the transaction. 1140 retval = this.semaphore.tryAcquire(1000, TimeUnit.MILLISECONDS); 1157 * Release the transaction semaphore. 1181 this.semaphore.release();
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-darwin.c | 69 #include <semaphore.h> 5101 mach_msg_port_descriptor_t semaphore; member in struct:__anon28238 5109 assign_port_name(reply->semaphore.name, "semaphore-%p"); 5110 PRINT("%s", name_for_port(reply->semaphore.name)); 5121 mach_msg_port_descriptor_t semaphore; member in struct:__anon28239 5130 name_for_port(MACH_REMOTE), name_for_port(req->semaphore.name)); 5132 record_port_destroy(req->semaphore.name); 6481 // Create a semaphore that pthread_hijack will signal once it starts 6503 // GrP fixme semaphore destro [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
H A D | org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar | META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ... |
H A D | org.eclipse.osgi_3.6.1.R36x_v20100806.jar | ... eclipse.core.runtime.internal.adaptor.Semaphore semaphore private final int frameworkEventType public void " href="/4.4 ... |
H A D | org.eclipse.osgi_3.6.2.R36x_v20101103.jar | ... eclipse.core.runtime.internal.adaptor.Semaphore semaphore private final int frameworkEventType public void " href="/4.4 ... |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
H A D | ant.jar | META-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ... |
/external/droiddriver/libs/ |
H A D | guava-13.0.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/hash/ ... |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
H A D | compiler.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ... |