/external/guava/guava/src/com/google/common/math/ |
MathPreconditions.java | 74 static void checkRoundingUnnecessary(boolean condition) { 75 if (!condition) { 80 static void checkInRange(boolean condition) { 81 if (!condition) { 86 static void checkNoOverflow(boolean condition) { 87 if (!condition) {
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerProcessErrorStateInfoTest.java | 40 int condition = 1; local 48 mErrorStateInfo.condition = condition; 62 assertEquals(condition, values.condition); 74 int condition = 1; local 82 mErrorStateInfo.condition = condition; 96 assertEquals(condition, values.condition); [all...] |
/external/chromium_org/base/ |
logging.h | 59 // The CHECK(condition) macro is active in both debug and release builds and 104 // There's also VLOG_IS_ON(n) "verbose level" condition macro. To be used as 111 // There is also a VLOG_IF "verbose level" condition macro for sample 127 // PCHECK(condition) << "Couldn't do foo"; 128 // DPCHECK(condition) << "Couldn't do foo"; 232 // values, and there is a race condition that may leak a critical section 384 // the condition doesn't hold. 385 #define LAZY_STREAM(stream, condition) \ 386 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream) 399 #define LOG_IF(severity, condition) \ [all...] |
/external/chromium_org/third_party/libwebp/utils/ |
thread.c | 77 // Condition 78 static int pthread_cond_destroy(pthread_cond_t* const condition) { 80 ok &= (CloseHandle(condition->waiting_sem_) != 0); 81 ok &= (CloseHandle(condition->received_sem_) != 0); 82 ok &= (CloseHandle(condition->signal_event_) != 0); 86 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { 88 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 89 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 90 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 91 if (condition->waiting_sem_ == NULL | [all...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_thread.c | 80 // Condition 81 static int pthread_cond_destroy(pthread_cond_t* const condition) { 83 ok &= (CloseHandle(condition->waiting_sem_) != 0); 84 ok &= (CloseHandle(condition->received_sem_) != 0); 85 ok &= (CloseHandle(condition->signal_event_) != 0); 89 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { 91 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 92 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 93 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 94 if (condition->waiting_sem_ == NULL | [all...] |
/external/webp/src/utils/ |
thread.c | 77 // Condition 78 static int pthread_cond_destroy(pthread_cond_t* const condition) { 80 ok &= (CloseHandle(condition->waiting_sem_) != 0); 81 ok &= (CloseHandle(condition->received_sem_) != 0); 82 ok &= (CloseHandle(condition->signal_event_) != 0); 86 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { 88 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 89 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 90 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 91 if (condition->waiting_sem_ == NULL | [all...] |
/external/kernel-headers/original/linux/ |
wait.h | 155 #define __wait_event(wq, condition) \ 161 if (condition) \ 169 * wait_event - sleep until a condition gets true 171 * @condition: a C expression for the event to wait for 174 * @condition evaluates to true. The @condition is checked each time 178 * change the result of the wait condition. 180 #define wait_event(wq, condition) \ 182 if (condition) \ 184 __wait_event(wq, condition); \ [all...] |
/external/chromium/base/ |
logging.h | 58 // The CHECK(condition) macro is active in both debug and release builds and 103 // There's also VLOG_IS_ON(n) "verbose level" condition macro. To be used as 110 // There is also a VLOG_IF "verbose level" condition macro for sample 126 // PCHECK(condition) << "Couldn't do foo"; 127 // DPCHECK(condition) << "Couldn't do foo"; 204 // values, and there is a race condition that may leak a critical section 355 // the condition doesn't hold. 356 #define LAZY_STREAM(stream, condition) \ 357 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream) 370 #define LOG_IF(severity, condition) \ [all...] |
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
ReentrantLock.java | 52 * lock.lock(); // block until condition holds 432 * Returns a {@link Condition} instance for use with this 435 * <p>The returned {@link Condition} instance supports the same 443 * <li>If this lock is not held when any of the {@link Condition} 444 * {@linkplain Condition#await() waiting} or {@linkplain 445 * Condition#signal signalling} methods are called, then an {@link 448 * <li>When the condition {@linkplain Condition#await() waiting} 468 * @return the Condition object 470 public Condition newCondition() [all...] |
/external/chromium_org/third_party/mesa/src/src/glsl/ |
lower_discard.cpp | 105 * Unconditional discards are treated as having a condition of "true". 150 ir_rvalue *condition = ir->condition; local 152 /* For unconditional discards, use "true" as the condition. */ 153 if (condition == NULL) 154 condition = new(mem_ctx) ir_constant(true); 158 condition, NULL); 192 discard->condition = new(mem_ctx) ir_dereference_variable(temp);
|
/external/mesa3d/src/glsl/ |
lower_discard.cpp | 105 * Unconditional discards are treated as having a condition of "true". 150 ir_rvalue *condition = ir->condition; local 152 /* For unconditional discards, use "true" as the condition. */ 153 if (condition == NULL) 154 condition = new(mem_ctx) ir_constant(true); 158 condition, NULL); 192 discard->condition = new(mem_ctx) ir_dereference_variable(temp);
|
/external/smack/src/org/jivesoftware/smack/packet/ |
XMPPError.java | 28 * error condition as well as as an optional text explanation. Typical errors are:<p> 53 * <tr><td>500</td><td>undefined-condition</td><td>WAIT</td></tr> 54 * <tr><td>400</td><td>unexpected-condition</td><td>WAIT</td></tr> 64 private String condition; field in class:XMPPError 70 * Creates a new error with the specified condition infering the type and code. 71 * If the Condition is predefined, client code should be like: 72 * new XMPPError(XMPPError.Condition.remote_server_timeout); 73 * If the Condition is not predefined, invocations should be like 74 * new XMPPError(new XMPPError.Condition("my_own_error")); 76 * @param condition the error condition 359 private Condition condition; field in class:XMPPError.ErrorSpecification [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
PollingCheck.java | 59 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) 62 if (condition.call()) {
|
/external/chromium/testing/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 43 if not condition:
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
msgutil.py | 199 message, condition = self._queue.get() 200 condition.acquire() 202 condition.notify() 203 condition.release() 208 condition = threading.Condition() 209 condition.acquire() 210 self._queue.put((message, condition)) 211 condition.wait() 216 self._queue.put((message, threading.Condition())) [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 43 if not condition:
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
msgutil.py | 199 message, condition = self._queue.get() 200 condition.acquire() 202 condition.notify() 203 condition.release() 208 condition = threading.Condition() 209 condition.acquire() 210 self._queue.put((message, condition)) 211 condition.wait() 216 self._queue.put((message, threading.Condition())) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Fence.cpp | 32 void Fence::setFence(GLenum condition) 34 mFence->setFence(condition);
|
/external/chromium_org/ui/webui/resources/js/ |
assert.js | 11 * @param {*} condition The condition to test. Note that this may be used to 16 function assert(condition, opt_message) { 18 if (!condition) {
|
/external/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 43 if not condition:
|
/external/protobuf/gtest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 43 if not condition:
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_uninitialized_test.py | 42 def Assert(condition): 43 if not condition:
|
/ndk/tests/build/wchar_t-size/jni/ |
test_8bit.c | 17 #define STATIC_ASSERT(condition) \ 18 static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
|
test_8bit_cplusplus.cpp | 17 #define STATIC_ASSERT(condition) \ 18 static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
SizeFileFilter.java | 99 String condition = acceptLarger ? ">=" : "<";
100 return super.toString() + "(" + condition + size + ")";
|