/art/test/ti-agent/ |
frame_pop_helper.cc | 36 jthread thr, 48 jvmti->GetFrameLocation(thr, 0, &frame_method, &location))) { 62 JNIEnv* env, jclass, jclass klass, jobject notify_method, jthread thr) { 104 thr)); 125 JNIEnv* env, jclass, jthread thr, jint depth) { 126 JvmtiErrorToException(env, jvmti_env, jvmti_env->NotifyFramePop(thr, depth));
|
trace_helper.cc | 30 static bool IsInCallback(JNIEnv* env, jvmtiEnv *jvmti, jthread thr) { 34 jvmti->GetThreadLocalStorage(thr, &data); 45 static void SetInCallback(JNIEnv* env, jvmtiEnv *jvmti, jthread thr, bool val) { 48 jvmti->SetThreadLocalStorage(thr, (val ? reinterpret_cast<void*>(0x1) 57 ScopedCallbackState(JNIEnv* jnienv, jvmtiEnv* env, jthread thr) 58 : jnienv_(jnienv), env_(env), thr_(thr) { 159 jthread thr, 170 if (IsInCallback(jnienv, jvmti, thr)) { 179 ScopedCallbackState st(jnienv, jvmti, thr); 195 jthread thr, [all...] |
/art/test/1908-suspend-native-resume-self/ |
native_suspend_resume.cc | 40 jthread thr) { 45 jint ret = jvmti_env->ResumeThread(thr);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
signal_during_stop_the_world.cc | 19 static void *thr(void *arg); 56 static void *thr(void *arg) { function
|
/external/compiler-rt/test/tsan/ |
barrier.cc | 18 void *thr(void *p) { function 35 pthread_create(&th[i], 0, thr, (void*)(long)i);
|
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);
|
/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...] |
/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 | 49 Thread thr = new Thread("ShutdownActivity") { local 64 thr.start(); 68 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 | 78 pthread_t thr; local 105 ret = pthread_create(&thr, NULL, thr_futex_wait, NULL); 123 pthread_join(thr, NULL);
|
/art/openjdkjvmti/ |
ti_thread.h | 97 static jvmtiError StopThread(jvmtiEnv* env, jthread thr, jobject exception); 98 static jvmtiError InterruptThread(jvmtiEnv* env, jthread thr); 107 /*out*/ art::Thread** thr, 116 /*out*/ art::Thread** thr,
|
/art/test/1941-dispose-stress/ |
dispose_stress.cc | 35 jthread thr, 41 thr));
|
/art/test/203-multi-checkpoint/ |
multi_checkpoint.cc | 77 extern "C" JNIEXPORT void JNICALL Java_Main_pushCheckpoints(JNIEnv*, jclass, jobject thr) { 81 Thread* target = Thread::FromManagedThread(soa, thr);
|