Home
last modified time | relevance | path

Searched refs:cv (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/valgrind/main/none/tests/arm/
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); in old_main()
241 TESTINST2("movs r0, r1", 0, r0, r1, cv); in old_main()
242 TESTINST2("movs r0, r1", 0x80000000, r0, r1, cv); in old_main()
243 TESTINST2("movs r0, #0", 0, r0, r1, cv); in old_main()
244 TESTINST2("movs r0, #1", 0, r0, r1, cv); in old_main()
250 TESTINST2("mvns r0, r1", 1, r0, r1, cv); in old_main()
251 TESTINST2("mvns r0, r1", 0, r0, r1, cv); in old_main()
252 TESTINST2("mvns r0, r1", 0x80000000, r0, r1, cv); in old_main()
[all …]
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
Dpthread_cond_signal.c68 pthread_cond_t cv; in ptw32_cond_unblock() local
76 cv = *cond; in ptw32_cond_unblock()
82 if (cv == PTHREAD_COND_INITIALIZER) in ptw32_cond_unblock()
87 if ((result = pthread_mutex_lock (&(cv->mtxUnblockLock))) != 0) in ptw32_cond_unblock()
92 if (0 != cv->nWaitersToUnblock) in ptw32_cond_unblock()
94 if (0 == cv->nWaitersBlocked) in ptw32_cond_unblock()
96 return pthread_mutex_unlock (&(cv->mtxUnblockLock)); in ptw32_cond_unblock()
100 cv->nWaitersToUnblock += (nSignalsToIssue = cv->nWaitersBlocked); in ptw32_cond_unblock()
101 cv->nWaitersBlocked = 0; in ptw32_cond_unblock()
106 cv->nWaitersToUnblock++; in ptw32_cond_unblock()
[all …]
Dpthread_cond_destroy.c116 pthread_cond_t cv; in pthread_cond_destroy() local
132 cv = *cond; in pthread_cond_destroy()
139 if (ptw32_semwait (&(cv->semBlockLock)) != 0) /* Non-cancelable */ in pthread_cond_destroy()
150 if ((result = pthread_mutex_trylock (&(cv->mtxUnblockLock))) != 0) in pthread_cond_destroy()
152 (void) sem_post (&(cv->semBlockLock)); in pthread_cond_destroy()
165 if (cv->nWaitersBlocked > cv->nWaitersGone) in pthread_cond_destroy()
167 if (sem_post (&(cv->semBlockLock)) != 0) in pthread_cond_destroy()
171 result1 = pthread_mutex_unlock (&(cv->mtxUnblockLock)); in pthread_cond_destroy()
181 if (sem_destroy (&(cv->semBlockLock)) != 0) in pthread_cond_destroy()
185 if (sem_destroy (&(cv->semBlockQueue)) != 0) in pthread_cond_destroy()
[all …]
Dpthread_cond_init.c72 pthread_cond_t cv = NULL; in pthread_cond_init() local
90 cv = (pthread_cond_t) calloc (1, sizeof (*cv)); in pthread_cond_init()
92 if (cv == NULL) in pthread_cond_init()
98 cv->nWaitersBlocked = 0; in pthread_cond_init()
99 cv->nWaitersToUnblock = 0; in pthread_cond_init()
100 cv->nWaitersGone = 0; in pthread_cond_init()
102 if (sem_init (&(cv->semBlockLock), 0, 1) != 0) in pthread_cond_init()
108 if (sem_init (&(cv->semBlockQueue), 0, 0) != 0) in pthread_cond_init()
114 if ((result = pthread_mutex_init (&(cv->mtxUnblockLock), 0)) != 0) in pthread_cond_init()
129 (void) sem_destroy (&(cv->semBlockQueue)); in pthread_cond_init()
[all …]
Dpthread_cond_wait.c271 pthread_cond_t cv; member
280 pthread_cond_t cv = cleanup_args->cv; in ptw32_cond_wait_cleanup() local
291 if ((result = pthread_mutex_lock (&(cv->mtxUnblockLock))) != 0) in ptw32_cond_wait_cleanup()
297 if (0 != (nSignalsWasLeft = cv->nWaitersToUnblock)) in ptw32_cond_wait_cleanup()
299 --(cv->nWaitersToUnblock); in ptw32_cond_wait_cleanup()
301 else if (INT_MAX / 2 == ++(cv->nWaitersGone)) in ptw32_cond_wait_cleanup()
304 if (ptw32_semwait (&(cv->semBlockLock)) != 0) in ptw32_cond_wait_cleanup()
314 cv->nWaitersBlocked -= cv->nWaitersGone; in ptw32_cond_wait_cleanup()
315 if (sem_post (&(cv->semBlockLock)) != 0) in ptw32_cond_wait_cleanup()
325 cv->nWaitersGone = 0; in ptw32_cond_wait_cleanup()
[all …]
Dpthread_timechange_handler_np.c92 pthread_cond_t cv; in pthread_timechange_handler_np() local
97 cv = ptw32_cond_list_head; in pthread_timechange_handler_np()
99 while (cv != NULL && 0 == result) in pthread_timechange_handler_np()
101 result = pthread_cond_broadcast (&cv); in pthread_timechange_handler_np()
102 cv = cv->next; in pthread_timechange_handler_np()
/external/opencv/
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/src/cvcanny.cpp \
[all …]
/external/llvm/include/llvm/Support/
DValgrind.h28 const volatile void *cv);
30 const volatile void *cv);
52 #define TsanHappensBefore(cv) \ argument
53 AnnotateHappensBefore(__FILE__, __LINE__, cv)
56 #define TsanHappensAfter(cv) \ argument
57 AnnotateHappensAfter(__FILE__, __LINE__, cv)
67 #define TsanHappensBefore(cv) argument
68 #define TsanHappensAfter(cv) argument
/external/chromium_org/third_party/cld/base/
Ddynamic_annotations.h73 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \ argument
74 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
78 #define ANNOTATE_CONDVAR_WAIT(cv) \ argument
79 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL)
83 #define ANNOTATE_CONDVAR_SIGNAL(cv) \ argument
84 AnnotateCondVarSignal(__FILE__, __LINE__, cv)
87 #define ANNOTATE_CONDVAR_SIGNAL_ALL(cv) \ argument
88 AnnotateCondVarSignalAll(__FILE__, __LINE__, cv)
240 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) // empty argument
241 #define ANNOTATE_CONDVAR_WAIT(cv) // empty argument
[all …]
/external/valgrind/unittest/
Dlibstdc++_tests.cc61 pthread_cond_t cv; variable
69 pthread_cond_signal(&cv); in Thread()
89 pthread_cond_init(&cv, 0); in TEST()
97 pthread_cond_wait(&cv, &mu); in TEST()
125 pthread_cond_t cv; variable
133 pthread_cond_signal(&cv); in Thread()
152 pthread_cond_init(&cv, 0); in TEST()
160 pthread_cond_wait(&cv, &mu); in TEST()
/external/valgrind/main/helgrind/tests/
Dtc23_bogus_condwait.c11 pthread_cond_t cv; pthread_rwlock_t rwl; variable
20 pthread_cond_signal( &cv ); in rescue_me()
24 pthread_cond_signal( &cv ); in rescue_me()
28 pthread_cond_signal( &cv ); in rescue_me()
32 pthread_cond_signal( &cv ); in rescue_me()
56 r= pthread_cond_init(&cv, NULL); assert(!r); in main()
69 r= pthread_cond_wait(&cv, (pthread_mutex_t*)(4 + (char*)&mx[0]) ); in main()
72 r= pthread_cond_wait(&cv, &mx[0]); in main()
75 r= pthread_cond_wait(&cv, (pthread_mutex_t*)&rwl ); in main()
78 r= pthread_cond_wait(&cv, &mx[2] ); in main()
Dtc20_verifywrap.c45 pthread_cond_t cv; in main() local
146 r= pthread_cond_init( &cv, NULL ); assert(!r); in main()
147 r= pthread_cond_wait( &cv, &mx4 ); assert(r); in main()
152 r= pthread_cond_signal( &cv ); assert(!r); in main()
158 r= pthread_cond_broadcast( &cv ); assert(!r); in main()
165 r= pthread_cond_timedwait( &cv, &mx4, &abstime ); assert(r); in main()
/external/chromium_org/tools/symsrc/
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/chromium_org/v8/test/cctest/
Dtest-condition-variable.cc40 ConditionVariable cv; in TEST() local
44 cv.NotifyOne(); in TEST()
45 CHECK_EQ(false, cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
47 cv.NotifyAll(); in TEST()
48 CHECK_EQ(false, cv.WaitFor(&mutex, TimeDelta::FromMicroseconds(n))); in TEST()
155 ConditionVariable cv; in TEST() local
160 threads[n].cv_ = &cv; in TEST()
178 cv.Wait(&mutex); in TEST()
201 cv.NotifyAll(); in TEST()
209 cv.Wait(&mutex); in TEST()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Ddynamic_annotations.h106 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \ argument
107 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
111 #define ANNOTATE_CONDVAR_WAIT(cv) \ argument
112 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL)
116 #define ANNOTATE_CONDVAR_SIGNAL(cv) \ argument
117 AnnotateCondVarSignal(__FILE__, __LINE__, cv)
120 #define ANNOTATE_CONDVAR_SIGNAL_ALL(cv) \ argument
121 AnnotateCondVarSignalAll(__FILE__, __LINE__, cv)
340 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) /* empty */ argument
341 #define ANNOTATE_CONDVAR_WAIT(cv) /* empty */ argument
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Ddynamic_annotations.h106 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \ argument
107 AnnotateCondVarWait(__FILE__, __LINE__, cv, lock)
111 #define ANNOTATE_CONDVAR_WAIT(cv) \ argument
112 AnnotateCondVarWait(__FILE__, __LINE__, cv, NULL)
116 #define ANNOTATE_CONDVAR_SIGNAL(cv) \ argument
117 AnnotateCondVarSignal(__FILE__, __LINE__, cv)
120 #define ANNOTATE_CONDVAR_SIGNAL_ALL(cv) \ argument
121 AnnotateCondVarSignalAll(__FILE__, __LINE__, cv)
340 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) /* empty */ argument
341 #define ANNOTATE_CONDVAR_WAIT(cv) /* empty */ argument
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/conf/
Dcnf_save.c62 static void print_conf(CONF_VALUE *cv);
81 static void print_conf(CONF_VALUE *cv) in print_conf() argument
92 if (cv->name != NULL) return; in print_conf()
94 printf("[ %s ]\n",cv->section); in print_conf()
95 s=(STACK *)cv->value; in print_conf()
/external/openssl/crypto/conf/
Dcnf_save.c62 static void print_conf(CONF_VALUE *cv);
81 static void print_conf(CONF_VALUE *cv) in print_conf() argument
92 if (cv->name != NULL) return; in print_conf()
94 printf("[ %s ]\n",cv->section); in print_conf()
95 s=(STACK *)cv->value; in print_conf()
/external/chromium_org/base/third_party/dynamic_annotations/
Ddynamic_annotations.h126 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \ argument
127 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarWait)(__FILE__, __LINE__, cv, lock)
131 #define ANNOTATE_CONDVAR_WAIT(cv) \ argument
132 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarWait)(__FILE__, __LINE__, cv, NULL)
136 #define ANNOTATE_CONDVAR_SIGNAL(cv) \ argument
137 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarSignal)(__FILE__, __LINE__, cv)
141 #define ANNOTATE_CONDVAR_SIGNAL_ALL(cv) \ argument
142 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarSignalAll)(__FILE__, __LINE__, cv)
390 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) /* empty */ argument
391 #define ANNOTATE_CONDVAR_WAIT(cv) /* empty */ argument
[all …]
/external/chromium/base/third_party/dynamic_annotations/
Ddynamic_annotations.h129 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \ argument
130 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarWait)(__FILE__, __LINE__, cv, lock)
134 #define ANNOTATE_CONDVAR_WAIT(cv) \ argument
135 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarWait)(__FILE__, __LINE__, cv, NULL)
139 #define ANNOTATE_CONDVAR_SIGNAL(cv) \ argument
140 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarSignal)(__FILE__, __LINE__, cv)
144 #define ANNOTATE_CONDVAR_SIGNAL_ALL(cv) \ argument
145 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarSignalAll)(__FILE__, __LINE__, cv)
391 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) /* empty */ argument
392 #define ANNOTATE_CONDVAR_WAIT(cv) /* empty */ argument
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/dbgfmts/codeview/
DMakefile.inc1 libyasm_a_SOURCES += modules/dbgfmts/codeview/cv-dbgfmt.h
2 libyasm_a_SOURCES += modules/dbgfmts/codeview/cv-dbgfmt.c
3 libyasm_a_SOURCES += modules/dbgfmts/codeview/cv-symline.c
4 libyasm_a_SOURCES += modules/dbgfmts/codeview/cv-type.c
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-gdef.c383 static HB_Error Load_CaretValue( HB_CaretValue* cv, in Load_CaretValue() argument
396 cv->CaretValueFormat = GET_UShort(); in Load_CaretValue()
400 switch ( cv->CaretValueFormat ) in Load_CaretValue()
406 cv->cvf.cvf1.Coordinate = GET_Short(); in Load_CaretValue()
416 cv->cvf.cvf2.CaretValuePoint = GET_UShort(); in Load_CaretValue()
426 cv->cvf.cvf3.Coordinate = GET_Short(); in Load_CaretValue()
434 ( error = _HB_OPEN_Load_Device( &cv->cvf.cvf3.Device, in Load_CaretValue()
446 cv->cvf.cvf4.IdCaretValue = GET_UShort(); in Load_CaretValue()
462 static void Free_CaretValue( HB_CaretValue* cv) in Free_CaretValue() argument
464 if ( cv->CaretValueFormat == 3 ) in Free_CaretValue()
[all …]
/external/harfbuzz/src/
Dharfbuzz-gdef.c383 static HB_Error Load_CaretValue( HB_CaretValue* cv, in Load_CaretValue() argument
396 cv->CaretValueFormat = GET_UShort(); in Load_CaretValue()
400 switch ( cv->CaretValueFormat ) in Load_CaretValue()
406 cv->cvf.cvf1.Coordinate = GET_Short(); in Load_CaretValue()
416 cv->cvf.cvf2.CaretValuePoint = GET_UShort(); in Load_CaretValue()
426 cv->cvf.cvf3.Coordinate = GET_Short(); in Load_CaretValue()
434 ( error = _HB_OPEN_Load_Device( &cv->cvf.cvf3.Device, in Load_CaretValue()
446 cv->cvf.cvf4.IdCaretValue = GET_UShort(); in Load_CaretValue()
462 static void Free_CaretValue( HB_CaretValue* cv) in Free_CaretValue() argument
464 if ( cv->CaretValueFormat == 3 ) in Free_CaretValue()
[all …]
/external/linux-tools-perf/scripts/perl/Perf-Trace-Util/
DContext.c53 PERL_UNUSED_VAR(cv); /* -W */ in XS()
76 PERL_UNUSED_VAR(cv); /* -W */ in XS()
99 PERL_UNUSED_VAR(cv); /* -W */ in XS()
124 PERL_UNUSED_VAR(cv); /* -W */ in XS()
/external/valgrind/main/drd/tests/
Dannotate_hb_err.c13 pthread_cond_t cv; in main() local
17 pthread_cond_init(&cv, NULL); in main()
26 U_ANNOTATE_HAPPENS_BEFORE(&cv); in main()

1234567891011