Searched refs:cond (Results 1 - 25 of 449) sorted by relevance

1234567891011>>

/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
H A Davassert.h37 #define av_assert0(cond) do { \
38 if (!(cond)) { \
40 AV_STRINGIFY(cond), __FILE__, __LINE__); \
51 #define av_assert1(cond) av_assert0(cond)
53 #define av_assert1(cond) ((void)0)
61 #define av_assert2(cond) av_assert0(cond)
63 #define av_assert2(cond) ((void)0)
/external/llvm/test/tools/llvm-cov/
H A Dreport.cpp20 void foo(bool cond) { argument
21 if (cond) {
/external/parameter-framework/upstream/utility/
H A DAlwaysAssert.hpp36 #define ALWAYS_ASSERT_FAILURE(cond) std::terminate()
39 #define ALWAYS_ASSERT_FAILURE(cond) assert(cond)
42 #define ALWAYS_ASSERT(cond, iostr) \
44 if (!(cond)) { \
46 << ": Assert '" #cond "' failed: " << iostr << std::endl; \
47 ALWAYS_ASSERT_FAILURE(cond); \
/external/valgrind/drd/
H A Ddrd_cond.h48 struct cond_info* DRD_(cond_get)(const Addr cond);
49 void DRD_(cond_pre_init)(const Addr cond);
50 void DRD_(cond_post_destroy)(const Addr cond, const Bool destroy_succeeded);
51 void DRD_(cond_pre_wait)(const Addr cond, const Addr mutex);
52 void DRD_(cond_post_wait)(const Addr cond);
53 void DRD_(cond_pre_signal)(const Addr cond);
54 void DRD_(cond_pre_broadcast)(const Addr cond);
H A Ddrd_cond.c61 void DRD_(cond_initialize)(struct cond_info* const p, const Addr cond) argument
63 tl_assert(cond != 0);
64 tl_assert(p->a1 == cond);
118 static struct cond_info* cond_get_or_allocate(const Addr cond) argument
122 tl_assert(offsetof(DrdClientobj, cond) == 0);
123 p = &(DRD_(clientobj_get)(cond, ClientCondvar)->cond);
127 if (DRD_(clientobj_present)(cond, cond + 1))
129 wrong_type(cond);
138 cond_get(const Addr cond) argument
145 cond_pre_init(const Addr cond) argument
168 cond_post_destroy(const Addr cond, const Bool destroy_succeeded) argument
207 cond_pre_wait(const Addr cond, const Addr mutex) argument
269 cond_post_wait(const Addr cond) argument
338 not_initialized(Addr const cond) argument
349 cond_pre_signal(Addr const cond) argument
373 cond_pre_broadcast(Addr const cond) argument
[all...]
/external/libevent/
H A Devthread_win32.c128 CONDITION_VARIABLE *cond = mm_malloc(sizeof(CONDITION_VARIABLE)); local
129 if (!cond)
131 InitializeConditionVariable_fn(cond);
132 return cond;
138 CONDITION_VARIABLE *cond = _cond; local
140 mm_free(cond);
146 CONDITION_VARIABLE *cond = _cond; local
148 WakeAllConditionVariable_fn(cond);
150 WakeConditionVariable_fn(cond);
157 CONDITION_VARIABLE *cond local
190 struct evthread_win32_cond *cond; local
209 struct evthread_win32_cond *cond = _cond; local
218 struct evthread_win32_cond *cond = _cond; local
233 struct evthread_win32_cond *cond = _cond; local
[all...]
H A Devthread-internal.h154 #define EVTHREAD_FREE_COND(cond) \
156 if (cond) \
157 _evthread_cond_fns.free_condition((cond)); \
159 /** Signal one thread waiting on cond */
160 #define EVTHREAD_COND_SIGNAL(cond) \
161 ( (cond) ? _evthread_cond_fns.signal_condition((cond), 0) : 0 )
162 /** Signal all threads waiting on cond */
163 #define EVTHREAD_COND_BROADCAST(cond) \
164 ( (cond)
[all...]
H A Devthread_pthread.c104 pthread_cond_t *cond = mm_malloc(sizeof(pthread_cond_t)); local
105 if (!cond)
107 if (pthread_cond_init(cond, NULL)) {
108 mm_free(cond);
111 return cond;
117 pthread_cond_t *cond = _cond; local
118 pthread_cond_destroy(cond);
119 mm_free(cond);
125 pthread_cond_t *cond = _cond; local
128 r = pthread_cond_broadcast(cond);
138 pthread_cond_t *cond = _cond; local
[all...]
/external/clang/test/CXX/over/over.built/
H A Dp25.cpp14 Color foo(bool cond, ConvertsToColorA ca, ConvertsToColorB cb) { argument
15 return cond? ca : cb;
/external/boringssl/include/openssl/
H A Dtype_check.h80 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg)
82 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
83 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
/external/boringssl/src/include/openssl/
H A Dtype_check.h80 #define OPENSSL_COMPILE_ASSERT(cond, msg) _Static_assert(cond, #msg)
82 #define OPENSSL_COMPILE_ASSERT(cond, msg) \
83 typedef char OPENSSL_COMPILE_ASSERT_##msg[((cond) ? 1 : -1)]
/external/valgrind/helgrind/tests/
H A Dcond_timedwait_test.c6 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local
13 pthread_cond_timedwait(&cond, &mutex, &now);
17 pthread_cond_destroy(&cond);
H A Dpth_destroy_cond.c6 // the guest application wrongly destroys a cond var being waited
9 pthread_cond_t cond; variable
17 pthread_cond_signal(&cond);
18 pthread_cond_destroy(&cond); // ERROR!!!
26 pthread_cond_init(&cond, NULL);
31 pthread_cond_wait(&cond, &mutex);
/external/dbus/dbus/
H A Ddbus-sysdeps-thread-win.c34 DBusList *list; /**< list thread-local-stored events waiting on the cond variable */
148 DBusCondVar *cond; local
150 cond = dbus_new (DBusCondVar, 1);
151 if (cond == NULL)
154 cond->list = NULL;
156 InitializeCriticalSection (&cond->lock);
157 return cond;
161 _dbus_platform_condvar_free (DBusCondVar *cond) argument
163 DeleteCriticalSection (&cond->lock);
164 _dbus_list_clear (&cond
169 _dbus_condvar_wait_win32(DBusCondVar *cond, DBusCMutex *mutex, int milliseconds) argument
228 _dbus_platform_condvar_wait(DBusCondVar *cond, DBusCMutex *mutex) argument
235 _dbus_platform_condvar_wait_timeout(DBusCondVar *cond, DBusCMutex *mutex, int timeout_milliseconds) argument
243 _dbus_platform_condvar_wake_one(DBusCondVar *cond) argument
[all...]
H A Ddbus-threads-internal.h62 void _dbus_condvar_free (DBusCondVar *cond);
63 void _dbus_condvar_wait (DBusCondVar *cond,
65 dbus_bool_t _dbus_condvar_wait_timeout (DBusCondVar *cond,
68 void _dbus_condvar_wake_one (DBusCondVar *cond);
85 void _dbus_platform_condvar_free (DBusCondVar *cond);
86 void _dbus_platform_condvar_wait (DBusCondVar *cond,
88 dbus_bool_t _dbus_platform_condvar_wait_timeout (DBusCondVar *cond,
91 void _dbus_platform_condvar_wake_one (DBusCondVar *cond);
/external/compiler-rt/lib/builtins/arm/
H A Daeabi_dcmp.S21 #define DEFINE_AEABI_DCMP(cond) \
24 DEFINE_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond) \
26 bl SYMBOL_NAME(__ ## cond ## df2) SEPARATOR \
28 b ## cond 1f SEPARATOR \
34 END_COMPILERRT_FUNCTION(__aeabi_dcmp ## cond)
H A Daeabi_fcmp.S21 #define DEFINE_AEABI_FCMP(cond) \
24 DEFINE_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond) \
26 bl SYMBOL_NAME(__ ## cond ## sf2) SEPARATOR \
28 b ## cond 1f SEPARATOR \
34 END_COMPILERRT_FUNCTION(__aeabi_fcmp ## cond)
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DWaitingThread.java58 private final Condition cond; field in class:WaitingThread
74 * @param cond the condition for which to wait
78 public WaitingThread(Condition cond, RouteSpecificPool pool) { argument
80 if (cond == null) {
84 this.cond = cond;
96 return this.cond;
146 // the lock would not be released on calling cond.await() below.
162 success = this.cond.awaitUntil(deadline);
164 this.cond
[all...]
/external/clang/test/CXX/temp/temp.decls/temp.mem/
H A Dp1.cpp5 static T cond; member in struct:A
9 return (cond ? value + value : value);
15 A<bool>::cond = true; member in class:A
/external/clang/test/CodeGenCXX/
H A Dthrow-expressions.cpp85 void test7(bool cond) { argument
97 cond ? throw test7 : val;
101 int &test8(bool cond) { argument
113 return cond ? val : ((throw "foo"));
H A Dconditional-expr-lvalue.cpp17 void foo(bool cond, const A &a) { argument
18 (cond ? a : a.sub()).foo();
H A Dexpr.cpp35 struct s5 &f5_0(bool cond, struct s5 &a, struct s5 &b) { argument
36 return cond ? a : b;
/external/compiler-rt/test/tsan/
H A Drace_on_speculative_load.cc8 int foo(int cond) { argument
9 if (cond)
/external/google-breakpad/src/common/android/testing/
H A Dpthread_fixes.h49 pthread_cond_t cond; member in struct:__anon6097::__anon6098
58 pthread_cond_init(&barrier->cond, NULL);
69 pthread_cond_broadcast(&barrier->cond);
76 pthread_cond_wait(&barrier->cond, &barrier->mutex);
85 pthread_cond_destroy(&barrier->cond);
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_thread.h110 #define pipe_condvar_init(cond) \
111 pthread_cond_init(&(cond), NULL)
113 #define pipe_condvar_destroy(cond) \
114 pthread_cond_destroy(&(cond))
116 #define pipe_condvar_wait(cond, mutex) \
117 pthread_cond_wait(&(cond), &(mutex))
119 #define pipe_condvar_signal(cond) \
120 pthread_cond_signal(&(cond))
122 #define pipe_condvar_broadcast(cond) \
123 pthread_cond_broadcast(&(cond))
397 pipe_condvar cond; member in struct:__anon13464
[all...]

Completed in 699 milliseconds

1234567891011>>