HomeSort by relevance Sort by last modified time
    Searched refs:thr (Results 126 - 150 of 335) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/compiler-rt/test/tsan/
signal_cond.cc 36 pthread_t thr; local
37 pthread_create(&thr, 0, &my_thread, 0);
41 pthread_kill(thr, SIGUSR1);
47 pthread_join(thr, 0);
lots_of_threads.c 4 void *thr(void *arg) { function
21 pthread_create(&t[i], &attr, thr, 0);
  /external/valgrind/helgrind/
hg_errors.c 312 Thread* thr; member in struct:__anon42653::__anon42654::__anon42655
326 Thread* thr; /* doing the unlocking */ member in struct:__anon42653::__anon42654::__anon42656
330 Thread* thr; /* doing the unlocking */ member in struct:__anon42653::__anon42654::__anon42657
335 Thread* thr; /* doing the unlocking */ member in struct:__anon42653::__anon42654::__anon42658
339 Thread* thr; member in struct:__anon42653::__anon42654::__anon42659
345 Thread* thr; member in struct:__anon42653::__anon42654::__anon42660
361 Thread* thr; member in struct:__anon42653::__anon42654::__anon42661
406 tl_assert(xe->XE.Race.thr);
410 xe->XE.Race.thr->locksetW,
430 Thr* thrp = NULL
898 Thread* thr = get_admin_threads(); local
    [all...]
libhb.h 37 /* typedef struct _Thr Thr; */ /* now in hg_lock_n_thread.h */
42 /* Initialise library; returns Thr* for root thread. 'shadow_alloc'
45 Thr* libhb_init (
46 void (*get_stacktrace)( Thr*, Addr*, UWord ),
47 ExeContext* (*get_EC)( Thr* )
54 /* Thread creation: returns Thr* for new thread */
55 Thr* libhb_create ( Thr* parent );
58 void libhb_async_exit ( Thr* exitter );
59 void libhb_joinedwith_done ( Thr* exitter )
    [all...]
hg_main.c 172 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/
176 static Thread* mk_Thread ( Thr* hbthr ) {
250 /* Update 'lk' to reflect that 'thr' now has a write-acquisition of
253 static void lockN_acquire_writer ( Lock* lk, Thread* thr )
256 tl_assert(HG_(is_sane_Thread)(thr));
266 tid = map_threads_maybe_reverse_lookup_SLOW(thr);
281 VG_(addToBag)( lk->heldBy, (UWord)thr );
290 /* assert: .. and that thread is 'thr'. */
291 tl_assert(VG_(elemBag)(lk->heldBy, (UWord)thr)
293 VG_(addToBag)(lk->heldBy, (UWord)thr);
370 Thread* thr; local
511 Thread* thr; local
603 Thread* thr; local
664 Thread* thr; local
673 Thread* thr; local
707 Thread* thr; local
740 Thread *thr = map_threads_maybe_lookup(tid); local
891 Thread* thr; local
951 Thread* thr; local
1450 Thread* thr; local
1468 Thread *thr = get_current_Thread(); local
1480 Thread *thr = get_current_Thread(); local
1492 Thread *thr = get_current_Thread(); local
1505 Thread *thr = get_current_Thread(); local
1575 Thread *thr = get_current_Thread(); local
1715 Thread* thr; local
1818 Thread *thr = map_threads_lookup(tid); local
1852 Thread *thr = map_threads_lookup(tid); local
1872 Thread* thr; local
1916 Thread* thr = get_current_Thread_in_C_C(); local
1924 Thread* thr = get_current_Thread_in_C_C(); local
1932 Thread* thr = get_current_Thread_in_C_C(); local
1940 Thread* thr = get_current_Thread_in_C_C(); local
1948 Thread* thr = get_current_Thread_in_C_C(); local
1956 Thread* thr = get_current_Thread_in_C_C(); local
1964 Thread* thr = get_current_Thread_in_C_C(); local
1972 Thread* thr = get_current_Thread_in_C_C(); local
1980 Thread* thr = get_current_Thread_in_C_C(); local
1988 Thread* thr = get_current_Thread_in_C_C(); local
2021 Thread* thr; local
2080 Thread* thr; local
2121 Thread* thr; local
2139 Thread* thr; local
2153 Thread* thr; local
2174 Thread* thr; local
2305 Thread* thr; local
2350 Thread* thr; local
2426 Thread* thr; local
2497 Thread* thr; local
2590 Thread* thr; local
2641 Thread* thr; local
2666 Thread* thr; local
2686 Thread* thr; local
2700 Thread* thr; local
2831 Thread* thr; local
2878 Thread* thr; local
2906 Thread* thr; local
3006 Thread* thr; local
3060 Thread* thr; local
3181 Thread* thr; local
3224 Thread* thr; local
3344 Thread* thr; local
3369 Thread* thr; local
3417 Thread *thr = map_threads_maybe_lookup(tid); local
3437 Thread *thr = map_threads_maybe_lookup(tid); local
4113 Thread* thr; \/* allocating thread *\/ member in struct:__anon42668
5475 Thread* thr = map_threads_maybe_lookup( tid ); local
5510 Thread *thr = map_threads_maybe_lookup(tid); local
5519 Thread *thr = map_threads_maybe_lookup(tid); local
5771 Thread* thr; local
5788 Thread* thr; local
    [all...]
hg_addrdescr.c 89 Thread* thr = get_admin_threads(); local
92 while (thr) {
93 if (thr->coretid == ai->Addr.Stack.tinfo.tid) {
94 ai->Addr.Stack.tinfo.tnr = thr->errmsg_index;
97 thr = thr->admin;
hg_lock_n_thread.c 48 inline Bool HG_(is_sane_Thread) ( Thread* thr ) {
49 return thr != NULL && thr->magic == Thread_MAGIC;
54 Thread* thr; local
57 while (VG_(nextIterBag)( bag, (UWord*)&thr, &count )) {
59 if (!HG_(is_sane_Thread)(thr)) return False;
  /art/test/1950-unprepared-transform/
unprepared_transform.cc 42 jthread thr ATTRIBUTE_UNUSED,
48 JNIEnv* env, jclass main ATTRIBUTE_UNUSED, jthread thr) {
53 thr));
56 JNIEnv* env, jclass main, jthread thr) {
73 thr));
  /external/compiler-rt/lib/tsan/rtl/
tsan_malloc_mac.cc 33 void *p = user_alloc(thr, pc, size)
37 void *p = user_realloc(thr, pc, ptr, size)
41 void *p = user_calloc(thr, pc, size, count)
46 void *p = user_alloc(thr, pc, size, GetPageSizeCached())
50 user_free(thr, pc, ptr)
tsan_mman.h 30 void *user_alloc(ThreadState *thr, uptr pc, uptr sz,
32 void *user_calloc(ThreadState *thr, uptr pc, uptr sz, uptr n);
34 void user_free(ThreadState *thr, uptr pc, void *p, bool signal = true);
35 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz);
36 void *user_alloc_aligned(ThreadState *thr, uptr pc, uptr sz, uptr align);
tsan_rtl.h 337 ThreadState *thr; // currently wired thread, or nullptr member in struct:__tsan::Processor
464 ThreadState *thr; member in class:__tsan::ThreadContext
591 void ObtainCurrentStack(ThreadState *thr, uptr toppc, StackTraceTy *stack) {
592 uptr size = thr->shadow_stack_pos - thr->shadow_stack;
598 stack->Init(&thr->shadow_stack[start], size, toppc);
607 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
609 thr->stat[typ] += n;
612 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) {
614 thr->stat[typ] = n
    [all...]
tsan_interface_inl.h 88 ThreadState *thr = cur_thread(); local
89 thr->is_vptr_access = true;
90 MemoryWrite(thr, CALLERPC, (uptr)vptr_p, kSizeLog8);
91 thr->is_vptr_access = false;
97 ThreadState *thr = cur_thread(); local
98 thr->is_vptr_access = true;
99 MemoryRead(thr, CALLERPC, (uptr)vptr_p, kSizeLog8);
100 thr->is_vptr_access = false;
tsan_interface_atomic.cc 223 static T AtomicLoad(ThreadState *thr, uptr pc, const volatile T *a,
229 MemoryReadAtomic(thr, pc, (uptr)a, SizeLog<T>());
232 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, false);
233 AcquireImpl(thr, pc, &s->clock);
236 MemoryReadAtomic(thr, pc, (uptr)a, SizeLog<T>());
253 static void AtomicStore(ThreadState *thr, uptr pc, volatile T *a, T v,
256 MemoryWriteAtomic(thr, pc, (uptr)a, SizeLog<T>());
266 SyncVar *s = ctx->metamap.GetOrCreateAndLock(thr, pc, (uptr)a, true);
267 thr->fast_state.IncrementEpoch();
269 TraceAddEvent(thr, thr->fast_state, EventTypeMop, 0)
    [all...]
tsan_rtl_report.cc 231 ThreadState *thr = tctx->thr;
232 CHECK(thr);
233 return ((addr >= thr->stk_addr && addr < thr->stk_addr + thr->stk_size) ||
234 (addr >= thr->tls_addr && addr < thr->tls_addr + thr->tls_size));
244 ThreadState *thr = tctx->thr
    [all...]
  /external/compiler-rt/test/asan/TestCases/Posix/
current_allocated_bytes.cc 29 pthread_t thr[4]; local
32 pthread_create(&thr[j], 0, (j < 2) ? allocate : check_stats, 0));
35 assert(0 == pthread_join(thr[j], 0));
  /external/valgrind/helgrind/tests/
bar_trivial.c 38 pthread_t thr[NTHR]; local
44 r = pthread_create(&thr[i], NULL, child_fn, (void*)i);
49 r = pthread_join(thr[i], NULL);
  /external/valgrind/memcheck/tests/
reach_thread_register.c 46 pthread_t thr; local
47 pthread_create(&thr, NULL, &helper, &bar);
51 pthread_detach(thr);
  /art/test/ti-agent/
stack_trace_helper.cc 31 JNIEnv* env, jclass, jthread thr) {
33 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetFrameCount(thr, &ret));
39 jthread thr) {
50 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetFrameCount(thr, &depth))) {
63 env, jvmti_env, jvmti_env->GetStackTrace(thr, 0, depth, frames, &nframes))) {
80 thr,
suspension_helper.cc 29 JNIEnv* env, jclass, jthread thr) {
31 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetThreadState(thr, &state))) {
48 jobjectArray thr) {
50 std::vector<jthread> threads(CopyToVector(env, thr));
88 extern "C" JNIEXPORT void JNICALL Java_art_Suspension_resume(JNIEnv* env, jclass, jthread thr) {
89 JvmtiErrorToException(env, jvmti_env, jvmti_env->ResumeThread(thr));
92 extern "C" JNIEXPORT void JNICALL Java_art_Suspension_suspend(JNIEnv* env, jclass, jthread thr) {
93 JvmtiErrorToException(env, jvmti_env, jvmti_env->SuspendThread(thr));
monitors_helper.cc 31 JNIEnv* env, jclass, jthread thr) {
33 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetCurrentContendedMonitor(thr, &out));
83 jthread thr,
93 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_enter, thr, obj);
97 jthread thr,
107 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_entered, thr, obj);
111 jthread thr,
122 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_wait, thr, obj, timeout);
126 jthread thr,
137 jnienv->CallStaticVoidMethod(data->test_klass, data->monitor_waited, thr, obj, timed_out)
    [all...]
  /external/compiler-rt/test/tsan/Linux/
mutex_robust.cc 10 void *thr(void *p) { function
21 pthread_create(&th, 0, thr, 0);
mutex_robust2.cc 11 void *thr(void *p) { function
23 pthread_create(&th, 0, thr, 0);
  /art/test/1909-per-agent-tls/
agent_tls.cc 30 jthread thr,
35 thr, reinterpret_cast<const void*>(static_cast<intptr_t>(data))));
41 jthread thr) {
46 reinterpret_cast<jvmtiEnv*>(jvmti_env_ptr)->GetThreadLocalStorage(thr, &res));
  /art/test/1909-per-agent-tls/src/art/
Test1909.java 28 public Thread thr; field in class:Test1909.ThreadHolder
29 public ThreadHolder(Thread thr) {
30 this.thr = thr;
34 return Test1909.getTLS(jvmtienv, this.thr);
37 Test1909.setTLS(jvmtienv, this.thr, ptr);
43 public Thread thr; field in class:Test1909.ThreadWaiter
49 this.thr = new Thread(() -> {
61 thr.setDaemon(true);
62 thr.start()
    [all...]
  /art/test/1917-get-stack-frame/src/art/
Test1917.java 63 private final Thread thr; field in class:Test1917.StackTraceGenerator
65 public StackTraceGenerator(Thread thr, Consumer<StackTrace.StackFrameData> con) {
66 this.thr = thr;
75 if (thr == null) {
78 return thr;
136 Thread thr = new Thread(
138 thr.start();
139 thr.join();

Completed in 346 milliseconds

1 2 3 4 56 7 8 91011>>