/external/clang/test/SemaCXX/ |
return-stack-addr.cpp | 63 int* ret_conditional(bool cond) { 66 return cond ? &x : &y; // expected-warning {{address of stack memory}} 69 int* ret_conditional_rhs(int *x, bool cond) { 71 return cond ? x : &y; // expected-warning {{address of stack memory}}
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
1-1.c | 10 * variable cond. 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); 74 if (pthread_cond_init(&td.cond, NULL) != 0) { 75 fprintf(stderr, "Fail to initialize cond\n"); 104 rc = pthread_cond_broadcast(&td.cond);
|
2-1.c | 26 pthread_cond_t cond; member in struct:testdata 46 fprintf(stderr, "[Thread 0x%p] is waiting for the cond\n", 48 rc = pthread_cond_wait(&td.cond, &td.mutex); 83 if (pthread_cond_init(&td.cond, NULL) != 0) { 84 fprintf(stderr, "Fail to initialize cond\n"); 110 rc = pthread_cond_broadcast(&td.cond);
|
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) {
|
/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/python/cpython3/Include/ |
pymacro.h | 39 #define Py_BUILD_ASSERT_EXPR(cond) \ 40 (sizeof(char [1 - 2*!(cond)]) - 1) 42 #define Py_BUILD_ASSERT(cond) do { \ 43 (void)Py_BUILD_ASSERT_EXPR(cond); \
|
/external/tensorflow/tensorflow/core/kernels/ |
logging_ops.cc | 31 const Tensor& cond = ctx->input(0); variable 32 OP_REQUIRES(ctx, IsLegacyScalar(cond.shape()), 34 cond.shape().DebugString())); 36 if (cond.scalar<bool>()()) {
|
/external/valgrind/drd/ |
drd_error.h | 117 Addr cond; member in struct:__anon42595 122 Addr cond; member in struct:__anon42596 129 Addr cond; member in struct:__anon42597 135 Addr cond; member in struct:__anon42598
|
/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 | 18 cond := sync.NewCond(&mu) 23 cond.Signal() 28 cond.Wait() 37 cond := sync.NewCond(&mu) 42 time.Sleep(10 * time.Millisecond) // Enter cond.Wait loop 46 cond.Signal() 48 time.Sleep(10 * time.Millisecond) // Exit cond.Wait loop 56 cond.Wait()
|
/prebuilts/go/linux-x86/src/runtime/race/testdata/ |
sync_test.go | 18 cond := sync.NewCond(&mu) 23 cond.Signal() 28 cond.Wait() 37 cond := sync.NewCond(&mu) 42 time.Sleep(10 * time.Millisecond) // Enter cond.Wait loop 46 cond.Signal() 48 time.Sleep(10 * time.Millisecond) // Exit cond.Wait loop 56 cond.Wait()
|
/toolchain/binutils/binutils-2.27/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 | 110 void VisitEqual(HEqual* cond) OVERRIDE { 111 BinaryFP(cond); variable 114 void VisitNotEqual(HNotEqual* cond) OVERRIDE { 115 BinaryFP(cond); variable 118 void VisitLessThan(HLessThan* cond) OVERRIDE { 119 BinaryFP(cond); variable 122 void VisitLessThanOrEqual(HLessThanOrEqual* cond) OVERRIDE { 123 BinaryFP(cond); variable 126 void VisitGreaterThan(HGreaterThan* cond) OVERRIDE { 127 BinaryFP(cond); variable 131 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,
|