/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
4-1.c | 25 pthread_cond_t cond; member in struct:testdata 45 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n", 47 rc = pthread_cond_wait(&td.cond, &td.mutex); 72 if (pthread_cond_init(&td.cond, NULL) != 0) { 73 fprintf(stderr, "Fail to initialize cond\n"); 100 rc = pthread_cond_broadcast(&td.cond);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
1-1.c | 27 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); 72 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 88 if (pthread_cond_init(&td.cond, NULL) != 0) { 89 fprintf(stderr, "Fail to initialize cond\n"); 113 if (pthread_cond_signal(&td.cond) != 0) { 114 fprintf(stderr, "Main: Fail to signal cond\n");
|
2-1.c | 10 * if the absolute time specified by abstime passes before the condition cond is 34 pthread_cond_t cond; member in struct:testdata 62 fprintf(stderr, "Thread1 is waiting for the cond\n"); 63 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 78 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 107 if (pthread_cond_init(&td.cond, NULL) != 0) { 108 fprintf(stderr, "Fail to initialize cond\n"); 132 if (pthread_cond_signal(&td.cond) != 0) {
|
3-1.c | 27 pthread_cond_t cond; member in struct:testdata 55 fprintf(stderr, "Thread1 is waiting for the cond\n"); 56 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 71 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 92 if (pthread_cond_init(&td.cond, NULL) != 0) { 93 fprintf(stderr, "Fail to initialize cond\n"); 117 if (pthread_cond_signal(&td.cond) != 0) {
|
4-1.c | 27 pthread_cond_t cond; member in struct:testdata 51 fprintf(stderr, "Thread1 is waiting for the cond for %d seconds\n", 53 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout); 76 if (pthread_cond_init(&td.cond, NULL) != 0) { 77 fprintf(stderr, "Fail to initialize cond\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
1-1.c | 24 pthread_cond_t cond; member in struct:testdata 51 fprintf(stderr, "Thread1 is waiting for the cond\n"); 52 rc = pthread_cond_wait(&td.cond, &td.mutex); 60 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 76 if (pthread_cond_init(&td.cond, NULL) != 0) { 77 fprintf(stderr, "Fail to initialize cond\n"); 108 if (pthread_cond_signal(&td.cond) != 0) { 109 fprintf(stderr, "Main: Fail to signal cond\n");
|
2-1.c | 24 pthread_cond_t cond; member in struct:testdata 51 fprintf(stderr, "Thread1 is waiting for the cond\n"); 52 rc = pthread_cond_wait(&td.cond, &td.mutex); 60 fprintf(stderr, "Thread1 did not block on the cond at all\n"); 90 if (pthread_cond_init(&td.cond, NULL) != 0) { 91 fprintf(stderr, "Fail to initialize cond\n"); 122 if (pthread_cond_signal(&td.cond) != 0) {
|
3-1.c | 22 pthread_cond_t cond; member in struct:testdata 49 fprintf(stderr, "Thread1 is waiting for the cond\n"); 50 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"); 108 if (pthread_cond_broadcast(&td.cond) != 0) {
|
/external/mesa3d/src/compiler/nir/ |
nir_opt_conditional_discard.c | 29 * Handles optimization of lowering if (cond) discard to discard_if(cond). 87 nir_src cond; 91 cond = if_stmt->condition; 93 cond = nir_src_for_ssa(nir_iand(b, 99 nir_src_copy(&discard_if->src[0], &cond, discard_if);
|
/external/valgrind/drd/ |
drd_error.h | 117 Addr cond; member in struct:__anon37573 122 Addr cond; member in struct:__anon37574 129 Addr cond; member in struct:__anon37575 135 Addr cond; member in struct:__anon37576
|
/external/vboot_reference/futility/ |
futility.h | 74 #define _BA1_(cond, line) \ 75 extern int __build_assertion_ ## line[1 - 2*!(cond)] \ 78 #define BUILD_ASSERT(cond) _BA0_(cond, __LINE__)
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
Mutexed.h | 123 inline status_t waitForCondition(Condition &cond) { return cond.wait(mLock); } 126 inline status_t waitForConditionRelative(Condition &cond, nsecs_t reltime) { 127 return cond.waitRelative(mLock, reltime);
|
/hardware/ril/libril/ |
rilSocketQueue.h | 51 pthread_cond_t cond; member in class:Ril_queue 97 cond = PTHREAD_COND_INITIALIZER; 107 pthread_cond_wait(&cond, &mutex_instance); 132 pthread_cond_broadcast(&cond);
|
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
sync_test.go | 17 cond := sync.NewCond(&mu) 22 cond.Signal() 27 cond.Wait() 36 cond := sync.NewCond(&mu) 40 time.Sleep(10 * time.Millisecond) // Enter cond.Wait loop 44 cond.Signal() 46 time.Sleep(10 * time.Millisecond) // Exit cond.Wait loop 54 cond.Wait()
|
/prebuilts/go/linux-x86/src/runtime/race/testdata/ |
sync_test.go | 17 cond := sync.NewCond(&mu) 22 cond.Signal() 27 cond.Wait() 36 cond := sync.NewCond(&mu) 40 time.Sleep(10 * time.Millisecond) // Enter cond.Wait loop 44 cond.Signal() 46 time.Sleep(10 * time.Millisecond) // Exit cond.Wait loop 54 cond.Wait()
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ia64/ |
forward.d | 12 [[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\(p0?6\)[[:space:]]+br.cond.sptk.few 0+ <_start>;; 15 [[:space:]]*[[:xdigit:]]*:[[:space:][:xdigit:]]+\(p0?7\)[[:space:]]+br(\.cond)?\.sptk(\.few)? [[:xdigit:]]+0 <.*>;;
|
/art/compiler/optimizing/ |
pc_relative_fixups_x86.cc | 108 void VisitEqual(HEqual* cond) OVERRIDE { 109 BinaryFP(cond); variable 112 void VisitNotEqual(HNotEqual* cond) OVERRIDE { 113 BinaryFP(cond); variable 116 void VisitLessThan(HLessThan* cond) OVERRIDE { 117 BinaryFP(cond); variable 120 void VisitLessThanOrEqual(HLessThanOrEqual* cond) OVERRIDE { 121 BinaryFP(cond); variable 124 void VisitGreaterThan(HGreaterThan* cond) OVERRIDE { 125 BinaryFP(cond); variable 129 BinaryFP(cond); variable [all...] |
/external/clang/test/Analysis/ |
unreachable-code-path.c | 153 int cond = coin(); local 154 if (!cond) { 156 if (cond) {
|
/external/clang/test/CodeGenCXX/ |
conditional-gnu-ext.cpp | 35 _Complex int cond; local 48 int &cond() { function in namespace:radar8453812 59 foo (cond()? : rhs);
|
lambda-expressions.cpp | 70 int e(E a, E b, bool cond) { [a,b,cond](){ return (cond ? a : b).x; }(); }
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_termination.cc | 70 void NORETURN CheckFailed(const char *file, int line, const char *cond, 79 CheckFailedCallback(file, line, cond, v1, v2); 81 Report("Sanitizer CHECK failed: %s:%d %s (%lld, %lld)\n", file, line, cond,
|
/external/compiler-rt/test/lsan/TestCases/ |
guard-page.c | 11 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable 25 pthread_cond_signal(&cond); 57 while (!ctxfunc_started) pthread_cond_wait(&cond, &mutex);
|
high_allocator_contention.cc | 16 pthread_cond_t cond = PTHREAD_COND_INITIALIZER; variable 22 while (!go) pthread_cond_wait(&cond, &mutex); 45 pthread_cond_broadcast(&cond);
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
nvc0_query.c | 104 uint32_t cond; local 110 cond = NVC0_3D_COND_MODE_ALWAYS; 116 cond = condition ? NVC0_3D_COND_MODE_EQUAL : 124 cond = wait ? NVC0_3D_COND_MODE_NOT_EQUAL : 127 cond = NVC0_3D_COND_MODE_RES_NON_ZERO; 129 cond = wait ? NVC0_3D_COND_MODE_EQUAL : NVC0_3D_COND_MODE_ALWAYS; 134 cond = NVC0_3D_COND_MODE_ALWAYS; 141 nvc0->cond_condmode = cond; 146 IMMED_NVC0(push, NVC0_3D(COND_MODE), cond); 148 IMMED_NVC0(push, NVC0_CP(COND_MODE), cond); [all...] |
/external/pdfium/skia/config/ |
SkUserConfig.h | 145 #define SK_DEBUGBREAK(cond) \ 147 if (!(cond)) { \ 150 __LINE__, #cond); \
|