/external/guava/guava/src/com/google/common/util/concurrent/ |
Monitor.java | 27 import java.util.concurrent.locks.Condition; 43 * when a condition becomes true (no "signaling storms" due to use of {@link 44 * java.util.concurrent.locks.Condition#signalAll Condition.signalAll}) and that no signals are lost 45 * (no "hangs" due to incorrect use of {@link java.util.concurrent.locks.Condition#signal 46 * Condition.signal}). 66 * the condition of an <i>if</i> statement containing a <i>try/finally</i> block to ensure that the 118 * However, one advantage is that we can introduce two separate {@code Condition} objects, which 124 * private final Condition valuePresent = lock.newCondition(); 125 * private final Condition valueAbsent = lock.newCondition() 222 final Condition condition; field in class:Monitor.Guard 828 final Condition condition = guard.condition; local 856 final Condition condition = guard.condition; local 875 final Condition condition = guard.condition; local 911 final Condition condition = guard.condition; local [all...] |
/external/icu4c/test/intltest/ |
apicoll.h | 25 void doAssert(UBool condition, const char *message);
|
/external/stlport/test/unit/ |
allocator_test.cpp | 91 pthread_cond_init(&condition, 0); 116 pthread_cond_wait(&condition, &mutex); 122 pthread_cond_signal(&condition); 137 pthread_cond_t condition; member in class:SharedDatas
|
/ndk/tests/device/test-gnustl-full/unit/ |
allocator_test.cpp | 91 pthread_cond_init(&condition, 0); 116 pthread_cond_wait(&condition, &mutex); 122 pthread_cond_signal(&condition); 137 pthread_cond_t condition; member in class:SharedDatas
|
/ndk/tests/device/test-stlport/unit/ |
allocator_test.cpp | 91 pthread_cond_init(&condition, 0); 116 pthread_cond_wait(&condition, &mutex); 122 pthread_cond_signal(&condition); 137 pthread_cond_t condition; member in class:SharedDatas
|
/packages/apps/Email/tests/src/com/android/email/ |
TestUtils.java | 37 public interface Condition { 106 * Wait until a {@code Condition} is met. 108 public static void waitUntil(Condition condition, int timeoutSeconds) { 109 waitUntil("", condition, timeoutSeconds); 113 * Wait until a {@code Condition} is met. 115 public static void waitUntil(String message, Condition condition, int timeoutSeconds) { 119 if (condition.isMet()) { 132 waitUntil("message", new Condition() { [all...] |
/external/v8/src/ |
checks.h | 54 // The CHECK macro checks that the given condition is true; if not, it 56 #define CHECK(condition) do { \ 57 if (!(condition)) { \ 58 V8_Fatal(__FILE__, __LINE__, "CHECK(%s) failed", #condition); \ 242 // Causes an error during compilation of the condition is not 261 #define ASSERT(condition) CHECK(condition) 267 #define SLOW_ASSERT(condition) CHECK(!FLAG_enable_slow_asserts || (condition)) 270 #define ASSERT(condition) ((void) 0 [all...] |
/external/proguard/src/proguard/classfile/util/ |
InstructionSequenceMatcher.java | 190 boolean condition = 196 checkMatch(condition, 210 boolean condition = 218 checkMatch(condition, 232 boolean condition = 241 checkMatch(condition, 256 boolean condition = 263 checkMatch(condition, 277 boolean condition = 291 checkMatch(condition, [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/i686-linux/bits/ |
gthr-default.h | 616 /* Backend condition mutex functions */ 618 /* Allocate a condition. */ 620 __gthread_objc_condition_allocate (objc_condition_t condition) 624 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 626 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 628 objc_free (condition->backend); 629 condition->backend = NULL; 637 /* Deallocate a condition. */ 639 __gthread_objc_condition_deallocate (objc_condition_t condition) 643 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 616 /* Backend condition mutex functions */ 618 /* Allocate a condition. */ 620 __gthread_objc_condition_allocate (objc_condition_t condition) 624 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 626 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 628 objc_free (condition->backend); 629 condition->backend = NULL; 637 /* Deallocate a condition. */ 639 __gthread_objc_condition_deallocate (objc_condition_t condition) 643 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/i686-linux/bits/ |
gthr-default.h | 590 /* Backend condition mutex functions */ 592 /* Allocate a condition. */ 594 __gthread_objc_condition_allocate (objc_condition_t condition) 598 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 600 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 602 objc_free (condition->backend); 603 condition->backend = NULL; 611 /* Deallocate a condition. */ 613 __gthread_objc_condition_deallocate (objc_condition_t condition) 617 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 590 /* Backend condition mutex functions */ 592 /* Allocate a condition. */ 594 __gthread_objc_condition_allocate (objc_condition_t condition) 598 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 600 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 602 objc_free (condition->backend); 603 condition->backend = NULL; 611 /* Deallocate a condition. */ 613 __gthread_objc_condition_deallocate (objc_condition_t condition) 617 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/x86_64-linux/bits/ |
gthr-default.h | 590 /* Backend condition mutex functions */ 592 /* Allocate a condition. */ 594 __gthread_objc_condition_allocate (objc_condition_t condition) 598 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 600 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 602 objc_free (condition->backend); 603 condition->backend = NULL; 611 /* Deallocate a condition. */ 613 __gthread_objc_condition_deallocate (objc_condition_t condition) 617 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 590 /* Backend condition mutex functions */ 592 /* Allocate a condition. */ 594 __gthread_objc_condition_allocate (objc_condition_t condition) 598 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 600 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 602 objc_free (condition->backend); 603 condition->backend = NULL; 611 /* Deallocate a condition. */ 613 __gthread_objc_condition_deallocate (objc_condition_t condition) 617 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
gthr-default.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
gthr-default.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
gthr-default.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include/bits/ |
gthr-default.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/libs/x86/include/bits/ |
gthr-default.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
gthr-posix.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include/bits/ |
gthr-default.h | 629 /* Backend condition mutex functions */ 631 /* Allocate a condition. */ 633 __gthread_objc_condition_allocate (objc_condition_t condition) 637 condition->backend = objc_malloc (sizeof (pthread_cond_t)); 639 if (__gthrw_(pthread_cond_init) ((pthread_cond_t *) condition->backend, NULL)) 641 objc_free (condition->backend); 642 condition->backend = NULL; 650 /* Deallocate a condition. */ 652 __gthread_objc_condition_deallocate (objc_condition_t condition) 656 if (__gthrw_(pthread_cond_destroy) ((pthread_cond_t *) condition->backend) [all...] |