HomeSort by relevance Sort by last modified time
    Searched refs:thr (Results 76 - 100 of 212) sorted by null

1 2 34 5 6 7 8 9

  /external/compiler-rt/test/tsan/
cond_destruction.cc 16 void *thr(void *p) { function
30 pthread_create(&th, 0, thr, 0);
cond_race.cc 14 void *thr(void *p) { function
30 pthread_create(&th, 0, thr, c);
signal_sync.cc 17 static void* thr(void *p) { function
27 pthread_create(&th[i], 0, thr, 0);
signal_thread.cc 20 static void* thr(void *p) { function
43 pthread_create(&th, 0, thr, 0);
signal_sync2.cc 35 static void* thr(void *p) { function
61 pthread_create(&th, 0, thr, 0);
  /external/valgrind/none/tests/
ppoll_alarm.c 37 pthread_t thr; local
38 int ret = pthread_create(&thr, NULL, mythr, NULL);
pselect_alarm.c 38 pthread_t thr; local
39 int ret = pthread_create(&thr, NULL, mythr, NULL);
  /external/compiler-rt/lib/tsan/rtl/
tsan_sync.h 49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
74 void AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz);
80 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
98 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
tsan_libdispatch_mac.cc 80 static tsan_block_context_t *AllocContext(ThreadState *thr, uptr pc,
85 (tsan_block_context_t *)user_alloc(thr, pc, sizeof(tsan_block_context_t));
106 Acquire(thr, pc, submit_sync);
107 Acquire(thr, pc, serial_sync);
108 if (serial_task) Acquire(thr, pc, concurrent_sync);
114 Release(thr, pc, serial_task ? serial_sync : concurrent_sync);
115 if (context->submitted_synchronously) Release(thr, pc, submit_sync);
117 if (context->free_context_in_callback) user_free(thr, pc, context);
138 AllocContext(thr, pc, q, heap_block, &invoke_and_release_block); \
140 Release(thr, pc, (uptr)new_context);
    [all...]
tsan_sync.cc 20 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s);
27 void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) {
34 creation_stack_id = CurrentStackId(thr, pc);
36 DDMutexInit(thr, pc, this);
63 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) {
64 u32 idx = block_alloc_.Alloc(&thr->proc()->block_cache);
67 b->tid = thr->tid;
68 b->stk = CurrentStackId(thr, pc);
196 SyncVar* MetaMap::GetOrCreateAndLock(ThreadState *thr, uptr pc,
198 return GetAndLock(thr, pc, addr, write_lock, true)
    [all...]
tsan_platform_mac.cc 82 ThreadState *thr = (ThreadState *)SignalSafeGetOrAllocate( local
84 return thr;
136 ThreadState *thr = cur_thread(); local
138 ProcWire(proc, thr);
142 ThreadStart(thr, tid, GetTid());
146 ThreadState *thr = cur_thread(); local
147 if (thr->tctx) {
tsan_interface_ann.cc 34 ScopedAnnotation(ThreadState *thr, const char *aname, const char *f, int l,
36 : thr_(thr) {
52 ThreadState *thr = cur_thread(); \
54 StatInc(thr, StatAnnotation); \
55 StatInc(thr, Stat##typ); \
56 ScopedAnnotation sa(thr, __func__, f, l, caller_pc); \
228 Release(thr, pc, addr);
233 Acquire(thr, pc, addr);
255 MutexCreate(thr, pc, m, true, true, false);
260 MutexCreate(thr, pc, m, true, true, true)
    [all...]
tsan_new_delete.cc 33 p = user_alloc(thr, pc, size); \
68 user_free(thr, pc, ptr);
tsan_interceptors_mac.cc 182 Acquire(thr, pc, (uptr)lock);
193 Acquire(thr, pc, (uptr)lock);
203 Release(thr, pc, (uptr)lock);
214 Acquire(thr, pc, (uptr)lock);
225 Acquire(thr, pc, (uptr)lock);
235 Release(thr, pc, (uptr)lock);
243 Release(thr, pc, (uptr)connection);
247 Acquire(thr, pc, (uptr)connection);
257 Release(thr, pc, (uptr)connection);
261 Acquire(thr, pc, (uptr)connection)
    [all...]
tsan_platform_linux.cc 356 ThreadState* thr = (ThreadState*)__get_tls()[TLS_SLOT_TSAN]; local
357 if (thr == nullptr) {
362 thr = reinterpret_cast<ThreadState*>(__get_tls()[TLS_SLOT_TSAN]);
363 if (thr == nullptr) {
364 thr = reinterpret_cast<ThreadState*>(MmapOrDie(sizeof(ThreadState),
366 __get_tls()[TLS_SLOT_TSAN] = thr;
380 return thr;
388 ThreadState* thr = (ThreadState*)__get_tls()[TLS_SLOT_TSAN]; local
389 if (thr != dead_thread_state) {
391 UnmapOrDie(thr, sizeof(ThreadState))
    [all...]
  /external/mesa3d/include/c11/
threads.h 34 #include <thr/xtimec.h> // for xtime
  /cts/hostsidetests/security/securityPatch/CVE-2016-8427/
poc.c 34 void *thr(void *arg) function
70 pthread_create(&th, 0, thr, (void*)i);
74 pthread_create(&th, 0, thr, (void*)i);
  /frameworks/base/core/java/com/android/internal/app/
ShutdownActivity.java 46 Thread thr = new Thread("ShutdownActivity") { local
63 thr.start();
67 thr.join();
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
1-2.c 173 pthread_t thr; local
240 if ((ret = pthread_create(&thr, NULL, unlock_issue, NULL))) {
258 if ((ret = pthread_join(thr, &th_ret))) {
291 if ((ret = pthread_create(&thr, NULL, deadlk_issue, NULL))) {
309 if ((ret = pthread_cancel(thr))) {
316 if ((ret = pthread_join(thr, &th_ret))) {
3-2.c 178 pthread_t thr; local
233 if ((ret = pthread_create(&thr, NULL, unlock_issue, NULL))) {
251 if ((ret = pthread_join(thr, &th_ret))) {
284 if ((ret = pthread_create(&thr, NULL, deadlk_issue, NULL))) {
302 if ((ret = pthread_cancel(thr))) {
309 if ((ret = pthread_join(thr, &th_ret))) {
  /external/linux-kselftest/tools/testing/selftests/futex/functional/
futex_wait_private_mapped_file.c 77 pthread_t thr; local
102 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL);
120 pthread_join(thr, NULL);
  /art/runtime/openjdkjvmti/
events-inl.h 141 ScopedLocalRef<jthrowable> thr(jnienv, jnienv->ExceptionOccurred());
156 if (thr.get() != nullptr && !jnienv->ExceptionCheck()) {
157 jnienv->Throw(thr.get());
200 ScopedLocalRef<jthrowable> thr(jnienv, jnienv->ExceptionOccurred());
203 if (thr.get() != nullptr && !jnienv->ExceptionCheck()) {
204 jnienv->Throw(thr.get());
236 ScopedLocalRef<jthrowable> thr(jnienv, jnienv->ExceptionOccurred());
240 if (thr.get() != nullptr && !jnienv->ExceptionCheck()) {
241 jnienv->Throw(thr.get());
267 ScopedLocalRef<jthrowable> thr(jnienv, jnienv->ExceptionOccurred())
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
deringing_luma.cpp 41 int thr, blks, incr; local
94 thr = thres[blks];
97 thr, width, max_diff);
148 thr = thres[blks];
151 thr, width, max_diff);
210 thr = thres[blks];
213 thr, width, max_diff);
216 width, thr, max_diff);
  /external/valgrind/helgrind/
libhb_core.c 143 a pair, (Thr*, ULong), but that takes 16 bytes on a 64-bit target.
144 We pack it into 64 bits by representing the Thr* using a ThrID, a
171 NB3: this probably also relies on the fact that Thr's are never
173 Thr's to thrid values (set up in Thr__new) persists forever.
261 // data decls: Thr, ULong_n_EC //
305 /* A small integer giving a unique identity to this Thr. See
315 1-1 mapping between Thread and Thr structures -- each Thr points
316 at its corresponding Thread, and vice versa. Really, Thr and
361 static void (*main_get_stacktrace)( Thr*, Addr*, UWord ) = NULL
4016 Thr* thr = *(Thr**)VG_(indexXA)( thrid_to_thr_map, thrid - 1024 ); local
4023 Thr* thr = HG_(zalloc)( "libhb.Thr__new.1", sizeof(Thr) ); local
6222 Thr* thr; local
    [all...]
  /external/libopus/silk/
A2NLSF.c 135 opus_int32 ylo, yhi, ymid, thr; local
167 thr = 0;
174 if( ( ylo <= 0 && yhi >= thr ) || ( ylo >= 0 && yhi <= -thr ) ) {
178 thr = 1;
180 thr = 0;
234 thr = 0;

Completed in 1341 milliseconds

1 2 34 5 6 7 8 9