Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 1008) sorted by relevance

12345678910>>...41

/external/libcxx/test/thread/thread.condition/thread.condition.condvarany/
DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.condition/thread.condition.condvarany/Android.mk
19 test_name := thread/thread.condition/thread.condition.condvarany/default
23 test_name := thread/thread.condition/thread.condition.condvarany/wait_for.exception
27 test_name := thread/thread.condition/thread.condition.condvarany/notify_one
31 test_name := thread/thread.condition/thread.condition.condvarany/wait_until
35 test_name := thread/thread.condition/thread.condition.condvarany/destructor
39 test_name := thread/thread.condition/thread.condition.condvarany/wait
43 test_name := thread/thread.condition/thread.condition.condvarany/wait_pred
47 test_name := thread/thread.condition/thread.condition.condvarany/wait_until_pred
51 test_name := thread/thread.condition/thread.condition.condvarany/notify_all
[all …]
/external/chromium_org/base/mac/
Dmach_logging.h66 #define MACH_LOG_IF(severity, condition, mach_err) \ argument
68 LOG_IS_ON(severity) && (condition))
73 #define MACH_VLOG_IF(verbose_level, condition, mach_err) \ argument
75 VLOG_IS_ON(verbose_level) && (condition))
77 #define MACH_CHECK(condition, mach_err) \ argument
78 LAZY_STREAM(MACH_LOG_STREAM(FATAL, mach_err), !(condition)) \
79 << "Check failed: " # condition << ". "
83 #define MACH_DLOG_IF(severity, condition, mach_err) \ argument
85 DLOG_IS_ON(severity) && (condition))
90 #define MACH_DVLOG_IF(verbose_level, condition, mach_err) \ argument
[all …]
Dmac_logging.h62 #define OSSTATUS_LOG_IF(severity, condition, status) \ argument
64 LOG_IS_ON(severity) && (condition))
69 #define OSSTATUS_VLOG_IF(verbose_level, condition, status) \ argument
71 VLOG_IS_ON(verbose_level) && (condition))
73 #define OSSTATUS_CHECK(condition, status) \ argument
74 LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), !(condition)) \
75 << "Check failed: " # condition << ". "
79 #define OSSTATUS_DLOG_IF(severity, condition, status) \ argument
81 DLOG_IS_ON(severity) && (condition))
86 #define OSSTATUS_DVLOG_IF(verbose_level, condition, status) \ argument
[all …]
/external/libcxx/test/thread/thread.condition/thread.condition.condvar/
DAndroid.mk17 test_makefile := external/libcxx/test/thread/thread.condition/thread.condition.condvar/Android.mk
19 test_name := thread/thread.condition/thread.condition.condvar/default
23 test_name := thread/thread.condition/thread.condition.condvar/notify_one
27 test_name := thread/thread.condition/thread.condition.condvar/wait_until
31 test_name := thread/thread.condition/thread.condition.condvar/destructor
35 test_name := thread/thread.condition/thread.condition.condvar/wait
39 test_name := thread/thread.condition/thread.condition.condvar/native_handle
43 test_name := thread/thread.condition/thread.condition.condvar/wait_pred
47 test_name := thread/thread.condition/thread.condition.condvar/wait_until_pred
51 test_name := thread/thread.condition/thread.condition.condvar/notify_all
[all …]
/external/libvpx/libvpx/vp9/decoder/
Dvp9_thread.h96 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() argument
98 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
99 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
100 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
104 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() argument
107 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
108 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
109 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
110 if (condition->waiting_sem_ == NULL || in pthread_cond_init()
111 condition->received_sem_ == NULL || in pthread_cond_init()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_thread.h95 static INLINE int pthread_cond_destroy(pthread_cond_t *const condition) { in pthread_cond_destroy() argument
97 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
98 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
99 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
103 static INLINE int pthread_cond_init(pthread_cond_t *const condition, in pthread_cond_init() argument
106 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
107 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
108 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
109 if (condition->waiting_sem_ == NULL || in pthread_cond_init()
110 condition->received_sem_ == NULL || in pthread_cond_init()
[all …]
/external/chromium_org/mojo/public/cpp/environment/
Dlogging.h25 #define MOJO_LAZY_LOG_STREAM(level, condition) \ argument
26 !(condition) ? \
37 #define MOJO_LOG_IF(level, condition) \ argument
38 MOJO_LAZY_LOG_STREAM(level, MOJO_SHOULD_LOG(level) && (condition))
40 #define MOJO_CHECK(condition) \ argument
41 MOJO_LAZY_LOG_STREAM(FATAL, !(condition)) \
42 << "Check failed: " #condition ". "
50 #define MOJO_DLOG_IF(level, condition) MOJO_LAZY_LOG_STREAM(level, false) argument
51 #define MOJO_DCHECK(condition) MOJO_LAZY_LOG_STREAM(FATAL, false && (condition)) argument
56 #define MOJO_DLOG_IF(level, condition) MOJO_LOG_IF(level, condition) argument
[all …]
/external/chromium_org/base/
Dlogging.h354 #define LAZY_STREAM(stream, condition) \ argument
355 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
368 #define LOG_IF(severity, condition) \ argument
369 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
372 #define SYSLOG_IF(severity, condition) LOG_IF(severity, condition) argument
381 #define VLOG_IF(verbose_level, condition) \ argument
383 VLOG_IS_ON(verbose_level) && (condition))
398 #define VPLOG_IF(verbose_level, condition) \ argument
400 VLOG_IS_ON(verbose_level) && (condition))
404 #define LOG_ASSERT(condition) \ argument
[all …]
/external/clang/test/Analysis/
Dcfref_rdar6080742.c34 void DebugTraceIf(unsigned int condition, const char *format,...);
37 #define Assert(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu]… argument
38 #define AssertMsg(condition, message)if (!(condition)) { DebugStop("Assertion failure: %s (%s) [Fil… argument
39 #define Require(condition)if (!(condition)) { DebugStop("Assertion failure: %s [File: %s, Line: %lu… argument
40 #define RequireAction(condition, action)if (!(condition)) { DebugStop("Assertion failure: %s [File:… argument
41 #define RequireActionSilent(condition, action)if (!(condition)) { action } argument
/external/vixl/src/
Dglobals-vixl.h74 #define VIXL_ASSERT(condition) assert(condition) argument
75 #define VIXL_CHECK(condition) VIXL_ASSERT(condition) argument
84 #define VIXL_ASSERT(condition) ((void) 0) argument
85 #define VIXL_CHECK(condition) assert(condition) argument
93 #define VIXL_STATIC_ASSERT_LINE(line, condition) \ argument
94 typedef char VIXL_CONCAT(STATIC_ASSERT_LINE_, line)[(condition) ? 1 : -1] \
96 #define VIXL_STATIC_ASSERT(condition) VIXL_STATIC_ASSERT_LINE(__LINE__, condition) //NOLINT argument
/external/llvm/test/MC/ARM/
Dthumb-invalid-crypto.txt5 @ CHECK: error: instruction 'aesd' is not predicable, but condition code specified
7 @ CHECK: error: instruction 'aesimc' is not predicable, but condition code specified
9 @ CHECK: error: instruction 'aesmc' is not predicable, but condition code specified
11 @ CHECK: error: instruction 'aese' is not predicable, but condition code specified
15 @ CHECK: error: instruction 'sha1h' is not predicable, but condition code specified
17 @ CHECK: error: instruction 'sha1su1' is not predicable, but condition code specified
19 @ CHECK: error: instruction 'sha256su0' is not predicable, but condition code specified
23 @ CHECK: error: instruction 'sha1c' is not predicable, but condition code specified
25 @ CHECK: error: instruction 'sha1m' is not predicable, but condition code specified
27 @ CHECK: error: instruction 'sha1p' is not predicable, but condition code specified
[all …]
/external/qemu/android/base/
DLog.h77 #define LOG_LAZY_EVAL(condition, expr) \ argument
78 !(condition) ? (void)0 : ::android::base::LogStreamVoidify() & (expr)
107 #define LOG_IF(severity, condition) \ argument
108 LOG_LAZY_EVAL(LOG_IS_ON(severity) && (condition), \
124 #define PLOG_IF(severity, condition) \ argument
125 LOG_LAZY_EVAL(LOG_IS_ON(severity) && (condition), \
136 #define CHECK(condition) \ argument
137 LOG_IF(FATAL, !(condition)) << "Check failed: " #condition ". "
142 #define PCHECK(condition) \ argument
143 PLOG_IF(FATAL, !(condition)) << "Check failed: " #condition ". "
[all …]
/external/smack/src/org/jivesoftware/smack/packet/
DXMPPError.java64 private String condition; field in XMPPError
78 public XMPPError(Condition condition) { in XMPPError() argument
79 this.init(condition); in XMPPError()
93 public XMPPError(Condition condition, String messageText) { in XMPPError() argument
94 this.init(condition); in XMPPError()
134 public XMPPError(int code, Type type, String condition, String message, in XMPPError() argument
138 this.condition = condition; in XMPPError()
148 private void init(Condition condition) { in init() argument
150 ErrorSpecification defaultErrorSpecification = ErrorSpecification.specFor(condition); in init()
151 this.condition = condition.value; in init()
[all …]
/external/webp/src/utils/
Dthread.c98 static int pthread_cond_destroy(pthread_cond_t* const condition) { in pthread_cond_destroy() argument
100 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
101 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
102 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
106 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { in pthread_cond_init() argument
108 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
109 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
110 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
111 if (condition->waiting_sem_ == NULL || in pthread_cond_init()
112 condition->received_sem_ == NULL || in pthread_cond_init()
[all …]
/external/chromium_org/third_party/libwebp/utils/
Dthread.c98 static int pthread_cond_destroy(pthread_cond_t* const condition) { in pthread_cond_destroy() argument
100 ok &= (CloseHandle(condition->waiting_sem_) != 0); in pthread_cond_destroy()
101 ok &= (CloseHandle(condition->received_sem_) != 0); in pthread_cond_destroy()
102 ok &= (CloseHandle(condition->signal_event_) != 0); in pthread_cond_destroy()
106 static int pthread_cond_init(pthread_cond_t* const condition, void* cond_attr) { in pthread_cond_init() argument
108 condition->waiting_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
109 condition->received_sem_ = CreateSemaphore(NULL, 0, 1, NULL); in pthread_cond_init()
110 condition->signal_event_ = CreateEvent(NULL, FALSE, FALSE, NULL); in pthread_cond_init()
111 if (condition->waiting_sem_ == NULL || in pthread_cond_init()
112 condition->received_sem_ == NULL || in pthread_cond_init()
[all …]
/external/smack/src/com/kenai/jbosh/
DTerminalBindingCondition.java119 final String condition, in TerminalBindingCondition() argument
121 cond = condition; in TerminalBindingCondition()
129 final String condition, in create() argument
131 return createWithCode(condition, message, null); in create()
138 final String condition, in createWithCode() argument
141 if (condition == null) { in createWithCode()
149 if (COND_TO_INSTANCE.get(condition) != null) { in createWithCode()
151 "Multiple definitions of condition: " + condition)); in createWithCode()
154 new TerminalBindingCondition(condition, message); in createWithCode()
155 COND_TO_INSTANCE.put(condition, result); in createWithCode()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dlogging.h83 #define CHECK(condition) \ argument
85 if (!(condition)) { \
86 WRITE_TO_STDERR("Check failed: " #condition "\n", \
87 sizeof("Check failed: " #condition "\n")-1); \
93 #define RAW_CHECK(condition, message) \ argument
95 if (!(condition)) { \
96 WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \
97 sizeof("Check failed: " #condition ": " message "\n")-1);\
105 #define RAW_DCHECK(condition, message) argument
108 #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) argument
[all …]
/external/jsoncpp/include/json/
Dassertions.h16 #define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception th… argument
19 #define JSON_ASSERT( condition ) assert( condition ); argument
29 #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) { JSON_FAIL_MESSAGE( message … argument
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dlogging.h88 #define CHECK(condition) \ argument
90 if (!(condition)) { \
91 WRITE_TO_STDERR("Check failed: " #condition "\n", \
92 sizeof("Check failed: " #condition "\n")-1); \
98 #define RAW_CHECK(condition, message) \ argument
100 if (!(condition)) { \
101 WRITE_TO_STDERR("Check failed: " #condition ": " message "\n", \
102 sizeof("Check failed: " #condition ": " message "\n")-1);\
110 #define RAW_DCHECK(condition, message) argument
113 #define RAW_DCHECK(condition, message) RAW_CHECK(condition, message) argument
[all …]
/external/chromium_org/third_party/cld/base/
Dlogging.h396 #define LOG_IF(severity, condition) \ argument
397 !(condition) ? (void) 0 : LogMessageVoidify() & LOG(severity)
398 #define SYSLOG_IF(severity, condition) \ argument
399 !(condition) ? (void) 0 : LogMessageVoidify() & SYSLOG(severity)
401 #define LOG_ASSERT(condition) \ argument
402 LOG_IF(FATAL, !(condition)) << "Assert failed: " #condition
403 #define SYSLOG_ASSERT(condition) \ argument
404 SYSLOG_IF(FATAL, !(condition)) << "Assert failed: " #condition
410 #define CHECK(condition) \ argument
411 LOG_IF(FATAL, PREDICT_FALSE(!(condition))) \
[all …]
/external/ceres-solver/internal/ceres/miniglog/glog/
Dlogging.h295 #define LOG_IF(severity, condition) \ argument
296 !(condition) ? (void) 0 : LoggerVoidify() & \
300 #define LOG_IF_FALSE(severity, condition) LOG_IF(severity, !(condition)) argument
309 # define VLOG_IF(n, condition) LOG_IF(n, (n <= MAX_LOG_LEVEL) && condition) argument
314 # define VLOG_IF(n, condition) LOG_IF(n, condition) argument
342 #define CHECK(condition) LOG_IF_FALSE(FATAL, condition) \ argument
343 << "Check failed: " #condition " "
347 # define DCHECK(condition) LOG_IF_FALSE(FATAL, condition) \ argument
348 << "Check failed: " #condition " "
351 # define DCHECK(condition) if (false) LOG_IF_FALSE(FATAL, condition) \ argument
[all …]
/external/chromium_org/third_party/WebKit/Source/core/dom/
DNodeFilter.h70 …ic PassRefPtrWillBeRawPtr<NodeFilter> create(PassRefPtrWillBeRawPtr<NodeFilterCondition> condition) in create() argument
72 return adoptRefWillBeNoop(new NodeFilter(condition)); in create()
82 void setCondition(PassRefPtrWillBeRawPtr<NodeFilterCondition> condition) in setCondition() argument
84 m_condition = condition; in setCondition()
90 …icit NodeFilter(PassRefPtrWillBeRawPtr<NodeFilterCondition> condition) : m_condition(condition) { } in NodeFilter() argument
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
Dmsgutil.py199 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()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
Dmsgutil.py199 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()
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
DSVGSMILElement.cpp110 …Ptr<ConditionEventListener> create(SVGSMILElement* animation, SVGSMILElement::Condition* condition) in create() argument
112 return adoptRef(new ConditionEventListener(animation, condition)); in create()
130 ConditionEventListener(SVGSMILElement* animation, SVGSMILElement::Condition* condition) in ConditionEventListener() argument
133 , m_condition(condition) in ConditionEventListener()
591 inline SVGElement* SVGSMILElement::eventBaseFor(const Condition& condition) in eventBaseFor() argument
593 …Element* eventBase = condition.baseID().isEmpty() ? targetElement() : treeScope().getElementById(A… in eventBaseFor()
605 Condition* condition = m_conditions[n].get(); in connectSyncBaseConditions() local
606 if (condition->type() == Condition::Syncbase) { in connectSyncBaseConditions()
607 ASSERT(!condition->baseID().isEmpty()); in connectSyncBaseConditions()
608 Element* element = treeScope().getElementById(AtomicString(condition->baseID())); in connectSyncBaseConditions()
[all …]

12345678910>>...41