/external/chromium_org/third_party/libwebp/utils/ |
thread.c | 97 // Condition 98 static int pthread_cond_destroy(pthread_cond_t* const condition) { 100 ok &= (CloseHandle(condition->waiting_sem_) != 0); 101 ok &= (CloseHandle(condition->received_sem_) != 0); 102 ok &= (CloseHandle(condition->signal_event_) != 0); 106 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { 108 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 109 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 110 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 111 if (condition->waiting_sem_ == NULL | [all...] |
/external/webp/src/utils/ |
thread.c | 97 // Condition 98 static int pthread_cond_destroy(pthread_cond_t* const condition) { 100 ok &= (CloseHandle(condition->waiting_sem_) != 0); 101 ok &= (CloseHandle(condition->received_sem_) != 0); 102 ok &= (CloseHandle(condition->signal_event_) != 0); 106 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { 108 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 109 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); 110 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); 111 if (condition->waiting_sem_ == NULL | [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/angle/src/common/ |
debug.h | 73 // A macro asserting a condition and outputting failures to the debug log 122 #define META_ASSERT_MSG(condition, msg) static_assert(condition, msg) 126 #define META_ASSERT_MSG(condition, msg) typedef int META_ASSERT_CONCAT2(COMPILE_TIME_ASSERT_, __LINE__)[static_cast<bool>(condition)?1:-1] 128 #define META_ASSERT(condition) META_ASSERT_MSG(condition, "compile time assertion failed.")
|
/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-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/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 | 16 #define STATIC_ASSERT(condition) \ 17 static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
|
test_8bit_cplusplus.cpp | 16 #define STATIC_ASSERT(condition) \ 17 static char CONCAT(dummy_,__LINE__)[1 - 2*(!(condition))];
|
test_8bit_cplusplus_stdc_limit_macros.cpp | 18 #define STATIC_ASSERT(condition) \ 19 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 + ")";
|
/external/chromium_org/gin/test/ |
gtest.cc | 26 void ExpectTrue(bool condition, const std::string& description) { 27 EXPECT_TRUE(condition) << description; 30 void ExpectFalse(bool condition, const std::string& description) { 31 EXPECT_FALSE(condition) << description;
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
capitst.h | 32 static void doAssert(int condition, const char *message);
|
/external/icu/icu4c/source/test/cintltst/ |
capitst.h | 32 static void doAssert(int condition, const char *message);
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
IImsUt.aidl | 42 int queryCallForward(int condition, String number); 82 int updateCallForward(int action, int condition, String number, int timeSeconds);
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
GLESmacros.h | 34 #define SET_ERROR_IF(condition,err) if((condition)) { \ 41 #define RET_AND_SET_ERROR_IF(condition,err,ret) if((condition)) { \
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
add-include | 74 my $condition = $1; 80 $currentCondition = $condition; 111 for my $condition (sort keys %includes) { 112 $contents .= "#if $condition\n" unless $condition eq ""; 113 $contents .= includesParagraph($includes{$condition}); 114 $contents .= "#endif\n" unless $condition eq "";
|