/external/compiler-rt/lib/builtins/ |
assembly.h | 96 #define IT(cond) it cond 97 #define ITT(cond) itt cond 99 #define IT(cond) 100 #define ITT(cond)
|
/external/dng_sdk/source/ |
dng_pthread.h | 123 int dng_pthread_cond_init(dng_pthread_cond_t *cond, void * /* attrs */); 124 int dng_pthread_cond_destroy(dng_pthread_cond_t *cond); 125 int dng_pthread_cond_wait(dng_pthread_cond_t *cond, dng_pthread_mutex_t *mutex); 126 int dng_pthread_cond_timedwait(dng_pthread_cond_t *cond, dng_pthread_mutex_t *mutex, struct dng_timespec *latest_time); 127 int dng_pthread_cond_signal(dng_pthread_cond_t *cond); 128 int dng_pthread_cond_broadcast(dng_pthread_cond_t *cond);
|
/external/ltp/tools/pounder21/src/ramsnake/ |
snake.c | 146 int *cond; local 223 cond = mmap(NULL, sizeof(int), PROT_READ | PROT_WRITE, 225 if (cond == MAP_FAILED) { 229 *cond = 1; 242 * fork anything. Note that the "cond" mmap is a really crappy 260 while (*cond) { 279 *cond = 0;
|
/system/tools/hidl/utils/ |
Formatter.cpp | 74 Formatter &Formatter::sIf(const std::string &cond, std::function<void(void)> block) { 75 (*this) << "if (" << cond << ") "; 79 Formatter &Formatter::sElseIf(const std::string &cond, std::function<void(void)> block) { 80 (*this) << " else if (" << cond << ") "; 109 Formatter &Formatter::sWhile(const std::string &cond, std::function<void(void)> block) { 110 (*this) << "while (" << cond << ") ";
|
/external/libcups/cups/ |
thread-private.h | 90 extern void _cupsCondBroadcast(_cups_cond_t *cond); 91 extern void _cupsCondInit(_cups_cond_t *cond); 92 extern void _cupsCondWait(_cups_cond_t *cond, _cups_mutex_t *mutex, double timeout);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
2-2.c | 10 * if the absolute time specified by abstime passes before the condition cond is 30 pthread_cond_t cond; member in struct:testdata 65 fprintf(stderr, "Thread1 is waiting for the cond\n"); 66 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 87 if (pthread_cond_init(&td.cond, NULL) != 0) { 88 fprintf(stderr, "Fail to initialize cond\n");
|
2-3.c | 29 pthread_cond_t cond; member in struct:testdata 56 fprintf(stderr, "Thread1 is waiting for the cond\n"); 57 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 79 if (pthread_cond_init(&td.cond, NULL) != 0) { 80 fprintf(stderr, "Fail to initialize cond\n");
|
/external/mesa3d/src/compiler/nir/ |
nir_lower_bitmap.c | 86 nir_ssa_def *cond; local 105 cond = nir_f2b(b, nir_channel(b, &tex->dest.ssa, 109 discard->src[0] = nir_src_for_ssa(cond);
|
/external/speex/libspeex/ |
os_support.h | 155 #define speex_assert(cond) {if (!(cond)) {speex_fatal("assertion failed: " #cond);}}
|
/prebuilts/ndk/r11/sources/cxx-stl/gabi++/tests/ |
test_gabixx_rtti.cpp | 45 #define CHECK(cond) \ 47 if (!(cond)) { \ 48 fprintf(stderr, "KO: Assertion failure: %s\n", #cond); \
|
/prebuilts/ndk/r13/sources/cxx-stl/gabi++/tests/ |
test_gabixx_rtti.cpp | 45 #define CHECK(cond) \ 47 if (!(cond)) { \ 48 fprintf(stderr, "KO: Assertion failure: %s\n", #cond); \
|
/development/ndk/platforms/android-9/include/android/ |
log.h | 116 void __android_log_assert(const char *cond, const char *tag,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/ |
versionpredicate.py | 124 seq = [cond + " " + str(ver) for cond, ver in self.pred]
134 for cond, ver in self.pred:
135 if not compmap[cond](version, ver):
|
/external/compiler-rt/test/lsan/TestCases/ |
leak_check_before_thread_started.cc | 10 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable
|
/external/fio/ |
idletime.h | 35 pthread_cond_t cond; member in struct:idle_prof_thread
|
mutex.c | 24 pthread_cond_destroy(&mutex->cond); 39 int cond_init_pshared(pthread_cond_t *cond) 57 ret = pthread_cond_init(cond, &cattr); 96 int mutex_cond_init_pshared(pthread_mutex_t *mutex, pthread_cond_t *cond) 104 ret = cond_init_pshared(cond); 118 ret = mutex_cond_init_pshared(&mutex->lock, &mutex->cond); 179 ret = pthread_cond_timedwait(&mutex->cond, &mutex->lock, &t); 219 pthread_cond_wait(&mutex->cond, &mutex->lock); 241 pthread_cond_signal(&mutex->cond);
|
mutex.h | 12 pthread_cond_t cond; member in struct:fio_mutex
|
/external/libevent/ |
util-internal.h | 195 #define EVUTIL_ASSERT(cond) _EVUTIL_NIL_CONDITION(cond) 196 #define EVUTIL_FAILURE_CHECK(cond) 0 198 #define EVUTIL_ASSERT(cond) \ 200 if (EVUTIL_UNLIKELY(!(cond))) { \ 203 __FILE__,__LINE__,#cond,__func__); \ 208 __FILE__,__LINE__,#cond,__func__); \ 212 #define EVUTIL_FAILURE_CHECK(cond) EVUTIL_UNLIKELY(cond)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
2-2.c | 29 pthread_cond_t cond; member in struct:testdata 58 fprintf(stderr, "[Thread 0x%p] is waiting for the cond for at " 60 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 96 if (pthread_cond_init(&td.cond, NULL) != 0) { 97 fprintf(stderr, "Fail to initialize cond\n"); 121 rc = pthread_cond_broadcast(&td.cond);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
2-1.c | 27 pthread_cond_t cond; member in struct:testdata 61 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n", 63 rc = pthread_cond_wait(&td.cond, &td.mutex); 89 "[Thread 0x%p] did not owned the mutex after the cond wait\n", 117 if (pthread_cond_init(&td.cond, NULL) != 0) { 118 fprintf(stderr, "Fail to initialize cond\n"); 142 if (pthread_cond_signal(&td.cond) != 0) {
|
2-2.c | 29 pthread_cond_t cond; member in struct:testdata 59 "[Thread 0x%p] is waiting for the cond for at most %d secs\n", 61 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 88 "[Thread 0x%p] did not owned the mutex after the cond wait\n", 116 if (pthread_cond_init(&td.cond, NULL) != 0) { 117 fprintf(stderr, "Fail to initialize cond\n"); 134 if (pthread_cond_signal(&td.cond) != 0) {
|
4-1.c | 26 pthread_cond_t cond; member in struct:testdata 59 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n", 61 rc = pthread_cond_wait(&td.cond, &td.mutex); 86 if (pthread_cond_init(&td.cond, NULL) != 0) { 87 fprintf(stderr, "Fail to initialize cond\n"); 109 rc = pthread_cond_signal(&td.cond);
|
/external/ltp/testcases/realtime/perf/latency/ |
pthread_cond_latency.c | 113 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; local 142 if (pthread_create(&childid, &attr, childfunc, (void *)&cond) != 0) { 157 if (pthread_cond_broadcast(&cond) != 0) { 163 if (pthread_cond_signal(&cond) != 0) {
|
/external/mesa3d/src/amd/addrlib/core/ |
addrcommon.h | 192 #define ADDR_INFO(cond, a) \ 193 { if (!(cond)) { ADDR_PRNT(a); } } 208 #define ADDR_WARN(cond, a) \ 209 { if (!(cond)) \ 228 #define ADDR_EXIT(cond, a) \ 229 { if (!(cond)) \ 241 #define ADDR_INFO(cond, a) 243 #define ADDR_WARN(cond, a) 245 #define ADDR_EXIT(cond, a)
|
/external/python/cpython2/Doc/includes/ |
mp_benchmarks.py | 60 def pipe_func(c, cond, iterations): 62 cond.acquire() 63 cond.notify() 64 cond.release() 73 cond = multiprocessing.Condition() 81 args=(d, cond, iterations)) 82 cond.acquire() 84 cond.wait() 85 cond.release()
|