Searched refs:cv (Results 1 - 25 of 107) sorted by relevance

12345

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_cond_signal.c68 pthread_cond_t cv; local
76 cv = *cond;
82 if (cv == PTHREAD_COND_INITIALIZER)
87 if ((result = pthread_mutex_lock (&(cv->mtxUnblockLock))) != 0)
92 if (0 != cv->nWaitersToUnblock)
94 if (0 == cv->nWaitersBlocked)
96 return pthread_mutex_unlock (&(cv->mtxUnblockLock));
100 cv->nWaitersToUnblock += (nSignalsToIssue = cv->nWaitersBlocked);
101 cv
[all...]
H A Dpthread_timechange_handler_np.c92 pthread_cond_t cv; local
97 cv = ptw32_cond_list_head;
99 while (cv != NULL && 0 == result)
101 result = pthread_cond_broadcast (&cv);
102 cv = cv->next;
H A Dpthread_cond_destroy.c116 pthread_cond_t cv; local
132 cv = *cond;
139 if (ptw32_semwait (&(cv->semBlockLock)) != 0) /* Non-cancelable */
150 if ((result = pthread_mutex_trylock (&(cv->mtxUnblockLock))) != 0)
152 (void) sem_post (&(cv->semBlockLock));
163 * Check whether cv is still busy (still has waiters)
165 if (cv->nWaitersBlocked > cv->nWaitersGone)
167 if (sem_post (&(cv->semBlockLock)) != 0)
171 result1 = pthread_mutex_unlock (&(cv
[all...]
H A Dpthread_cond_init.c72 pthread_cond_t cv = NULL; local
90 cv = (pthread_cond_t) calloc (1, sizeof (*cv));
92 if (cv == NULL)
98 cv->nWaitersBlocked = 0;
99 cv->nWaitersToUnblock = 0;
100 cv->nWaitersGone = 0;
102 if (sem_init (&(cv->semBlockLock), 0, 1) != 0)
108 if (sem_init (&(cv->semBlockQueue), 0, 0) != 0)
114 if ((result = pthread_mutex_init (&(cv
[all...]
H A Dpthread_cond_wait.c271 pthread_cond_t cv; member in struct:__anon9134
280 pthread_cond_t cv = cleanup_args->cv; local
291 if ((result = pthread_mutex_lock (&(cv->mtxUnblockLock))) != 0)
297 if (0 != (nSignalsWasLeft = cv->nWaitersToUnblock))
299 --(cv->nWaitersToUnblock);
301 else if (INT_MAX / 2 == ++(cv->nWaitersGone))
304 if (ptw32_semwait (&(cv->semBlockLock)) != 0)
310 * cv->mtxUnblockLock before returning.
314 cv
358 pthread_cond_t cv; local
[all...]
/external/valgrind/main/none/tests/arm/
H A Dv6intThumb.c222 #define NOCARRY { int cv = 0; {
223 #define TESTCARRY { int cv = 0; for (cv = 0; cv < 4; cv++) {
240 TESTINST2("movs r0, r1", 1, r0, r1, cv);
241 TESTINST2("movs r0, r1", 0, r0, r1, cv);
242 TESTINST2("movs r0, r1", 0x80000000, r0, r1, cv);
243 TESTINST2("movs r0, #0", 0, r0, r1, cv);
244 TESTINST2("movs r0, #1", 0, r0, r1, cv);
[all...]
/external/llvm/include/llvm/Support/
H A DValgrind.h28 const volatile void *cv);
30 const volatile void *cv);
52 #define TsanHappensBefore(cv) \
53 AnnotateHappensBefore(__FILE__, __LINE__, cv)
56 #define TsanHappensAfter(cv) \
57 AnnotateHappensAfter(__FILE__, __LINE__, cv)
67 #define TsanHappensBefore(cv)
68 #define TsanHappensAfter(cv)
/external/opencv/
H A DAndroid.mk57 $(LOCAL_PATH)/cv/include
62 cv/src/cvaccum.cpp \
63 cv/src/cvadapthresh.cpp \
64 cv/src/cvapprox.cpp \
65 cv/src/cvcalccontrasthistogram.cpp \
66 cv/src/cvcalcimagehomography.cpp \
67 cv/src/cvcalibinit.cpp \
68 cv/src/cvcalibration.cpp \
69 cv/src/cvcamshift.cpp \
70 cv/sr
[all...]
H A DApplication.mk3 APP_MODULES := cxcore cv cvaux cvml cvhighgui opencv
H A Dlibopencv.mk6 $(OPENCV)/cv/include \
/external/chromium_org/tools/symsrc/
H A Dpdb_fingerprint_from_img.py37 cv = pefile.Structure(__CV_INFO_PDB70_format__)
38 cv.__unpack__(data)
39 cv.PdbFileName = data[cv.sizeof():]
41 guid.__unpack__(cv.Signature)
47 guid.Data4_0, guid.Data4_1, cv.Age),
48 cv.PdbFileName.split('\x00', 1)[0])
/external/valgrind/main/drd/tests/
H A Dannotate_hb_err.c13 pthread_cond_t cv; local
17 pthread_cond_init(&cv, NULL);
26 U_ANNOTATE_HAPPENS_BEFORE(&cv);
H A Dunified_annotations.h31 AnnotateCondVarSignal(const char *file, int line, const volatile void *cv) argument
37 AnnotateCondVarWait(const char *file, int line, const volatile void *cv, argument
/external/valgrind/unittest/
H A Dlibstdc++_tests.cc61 pthread_cond_t cv; member in namespace:LibStdCPlusPlus_basic_string_Test
69 pthread_cond_signal(&cv);
89 pthread_cond_init(&cv, 0);
97 pthread_cond_wait(&cv, &mu);
125 pthread_cond_t cv; member in namespace:LibStdCPlusPlus_shared_ptr_Test
133 pthread_cond_signal(&cv);
152 pthread_cond_init(&cv, 0);
160 pthread_cond_wait(&cv, &mu);
/external/chromium_org/third_party/openssl/openssl/crypto/conf/
H A Dcnf_save.c62 static void print_conf(CONF_VALUE *cv);
81 static void print_conf(CONF_VALUE *cv) argument
92 if (cv->name != NULL) return;
94 printf("[ %s ]\n",cv->section);
95 s=(STACK *)cv->value;
/external/openssl/crypto/conf/
H A Dcnf_save.c62 static void print_conf(CONF_VALUE *cv);
81 static void print_conf(CONF_VALUE *cv) argument
92 if (cv->name != NULL) return;
94 printf("[ %s ]\n",cv->section);
95 s=(STACK *)cv->value;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_clear.c53 uint64_t cv; local
76 cv = util_pack64_z_stencil(ps->format, depth, stencil);
77 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_clear.c53 uint64_t cv; local
76 cv = util_pack64_z_stencil(ps->format, depth, stencil);
77 sp_tile_cache_clear(softpipe->zsbuf_cache, &zero, cv);
/external/llvm/lib/Support/
H A DValgrind.cpp61 const volatile void *cv) {}
63 const volatile void *cv) {}
60 AnnotateHappensBefore(const char *file, int line, const volatile void *cv) argument
62 AnnotateHappensAfter(const char *file, int line, const volatile void *cv) argument
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/
H A DContext.c53 PERL_UNUSED_VAR(cv); /* -W */
76 PERL_UNUSED_VAR(cv); /* -W */
99 PERL_UNUSED_VAR(cv); /* -W */
124 PERL_UNUSED_VAR(cv); /* -W */
/external/valgrind/main/helgrind/tests/
H A Dtc23_bogus_condwait.c11 pthread_cond_t cv; pthread_rwlock_t rwl; variable
20 pthread_cond_signal( &cv );
24 pthread_cond_signal( &cv );
28 pthread_cond_signal( &cv );
32 pthread_cond_signal( &cv );
56 r= pthread_cond_init(&cv, NULL); assert(!r);
69 r= pthread_cond_wait(&cv, (pthread_mutex_t*)(4 + (char*)&mx[0]) );
72 r= pthread_cond_wait(&cv, &mx[0]);
75 r= pthread_cond_wait(&cv, (pthread_mutex_t*)&rwl );
78 r= pthread_cond_wait(&cv,
[all...]
/external/chromium_org/third_party/cld/base/
H A Ddynamic_annotations.h71 // Report that wait on the condition variable at address "cv" has succeeded
73 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \
74 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
76 // Report that wait on the condition variable at "cv" has succeeded. Variant
78 #define ANNOTATE_CONDVAR_WAIT(cv) \
79 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL)
82 // "cv".
83 #define ANNOTATE_CONDVAR_SIGNAL(cv) \
84 AnnotateCondVarSignal(__FILE__, __LINE__, cv)
86 // Report that we are about to signal_all on the condition variable at "cv"
[all...]
/external/chromium_org/v8/test/cctest/
H A Dtest-condition-variable.cc40 ConditionVariable cv; local
44 cv.NotifyOne();
45 CHECK_EQ(false, cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n)));
47 cv.NotifyAll();
48 CHECK_EQ(false, cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n)));
155 ConditionVariable cv; local
160 threads[n].cv_ = &cv;
178 cv.Wait(&mutex);
201 cv.NotifyAll();
209 cv
232 LoopIncrementThread(int rem, int* counter, int limit, int thread_count, ConditionVariable* cv, Mutex* mutex) argument
278 ConditionVariable cv; local
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Ddynamic_annotations.h104 /* Report that wait on the condition variable at address "cv" has succeeded
106 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \
107 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
109 /* Report that wait on the condition variable at "cv" has succeeded. Variant
111 #define ANNOTATE_CONDVAR_WAIT(cv) \
112 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL)
115 "cv". */
116 #define ANNOTATE_CONDVAR_SIGNAL(cv) \
117 AnnotateCondVarSignal(__FILE__, __LINE__, cv)
119 /* Report that we are about to signal_all on the condition variable at "cv"
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Ddynamic_annotations.h104 /* Report that wait on the condition variable at address "cv" has succeeded
106 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \
107 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
109 /* Report that wait on the condition variable at "cv" has succeeded. Variant
111 #define ANNOTATE_CONDVAR_WAIT(cv) \
112 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL)
115 "cv". */
116 #define ANNOTATE_CONDVAR_SIGNAL(cv) \
117 AnnotateCondVarSignal(__FILE__, __LINE__, cv)
119 /* Report that we are about to signal_all on the condition variable at "cv"
[all...]

Completed in 6938 milliseconds

12345