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

1 23 4 5 6 7 8 91011>>

  /external/compiler-rt/test/asan/TestCases/Windows/
thread_stack_reuse.cc 22 HANDLE thr = NULL; local
24 thr = CreateThread(NULL, 0, thread_proc_1, NULL, 0, NULL);
25 if (thr == 0)
27 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
30 thr = CreateThread(NULL, 0, thread_proc_2, NULL, 0, NULL);
31 if (thr == 0)
33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
35 CloseHandle(thr);
beginthreadex.cc 15 HANDLE thr = (HANDLE)_beginthreadex(NULL, 0, thread_proc, NULL, 0, NULL); local
16 if (thr == 0)
18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
20 CloseHandle(thr);
thread_simple.cc 15 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local
16 if (thr == 0)
18 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
21 GetExitCodeThread(thr, &exitcode);
24 CloseHandle(thr);
dll_thread_stack_array_left_oob.cc 26 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local
31 if (thr == 0)
33 if (WAIT_OBJECT_0 != WaitForSingleObject(thr, INFINITE))
thread_stack_array_left_oob.cc 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local
24 if (thr == 0) return 0;
26 WaitForSingleObject(thr, INFINITE);
thread_stack_array_right_oob.cc 19 HANDLE thr = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); local
24 if (thr == 0) return 0;
26 WaitForSingleObject(thr, INFINITE);
thread_stress.cc 16 HANDLE thr[NUM_THREADS]; local
18 thr[i] = CreateThread(NULL, 0, thread_proc, NULL, 0, NULL);
19 if (thr[i] == 0)
23 if (WAIT_OBJECT_0 != WaitForSingleObject(thr[i], INFINITE))
25 CloseHandle(thr[i]);
  /libcore/luni/src/test/java/libcore/java/lang/
OldThrowableTest.java 26 Throwable thr = new Throwable(message, npe); local
27 assertEquals("message is incorrect.", message, thr.getMessage());
28 assertEquals("cause is incorrect.", npe, thr.getCause());
30 thr = new Throwable(null, npe);
31 assertNull("message is not null.", thr.getMessage());
32 assertEquals("cause is incorrect.", npe, thr.getCause());
34 thr = new Throwable(message, null);
35 assertEquals("message is incorrect.", message, thr.getMessage());
36 assertNull("cause is not null.", thr.getCause());
42 Throwable thr = new Throwable(npe) local
74 Throwable thr = new Throwable(message, npe); local
83 Throwable thr = new Throwable(); local
118 Throwable thr = new Throwable(npe); local
    [all...]
  /art/test/1927-exception-event/src/art/
Exceptions.java 29 public static native void enableExceptionCatchEvent(Thread thr);
30 public static native void enableExceptionEvent(Thread thr);
31 public static native void disableExceptionCatchEvent(Thread thr);
32 public static native void disableExceptionEvent(Thread thr);
  /art/test/1928-exception-event-exception/src/art/
Exceptions.java 29 public static native void enableExceptionCatchEvent(Thread thr);
30 public static native void enableExceptionEvent(Thread thr);
31 public static native void disableExceptionCatchEvent(Thread thr);
32 public static native void disableExceptionEvent(Thread thr);
  /art/test/1929-exception-catch-exception/src/art/
Exceptions.java 29 public static native void enableExceptionCatchEvent(Thread thr);
30 public static native void enableExceptionEvent(Thread thr);
31 public static native void disableExceptionCatchEvent(Thread thr);
32 public static native void disableExceptionEvent(Thread thr);
  /art/test/ti-agent/
threads_helper.cc 29 extern "C" JNIEXPORT void Java_art_Threads_interruptThread(JNIEnv* env, jclass, jthread thr) {
30 JvmtiErrorToException(env, jvmti_env, jvmti_env->InterruptThread(thr));
35 jthread thr,
37 JvmtiErrorToException(env, jvmti_env, jvmti_env->StopThread(thr, exception));
  /external/compiler-rt/lib/tsan/rtl/
tsan_fd.h 42 void FdAcquire(ThreadState *thr, uptr pc, int fd);
43 void FdRelease(ThreadState *thr, uptr pc, int fd);
44 void FdAccess(ThreadState *thr, uptr pc, int fd);
45 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true);
46 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write);
48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
49 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd)
    [all...]
tsan_rtl_thread.cc 27 , thr()
49 ThreadState *thr; member in struct:__tsan::OnCreatedArgs
54 thr = 0;
58 if (!args->thr) // GCD workers don't have a parent thread.
60 args->thr->fast_state.IncrementEpoch();
62 TraceAddEvent(args->thr, args->thr->fast_state, EventTypeMop, 0);
63 ReleaseImpl(args->thr, 0, &sync);
64 creation_stack_id = CurrentStackId(args->thr, args->pc);
66 StatInc(args->thr, StatThreadMaxTid)
81 ThreadState *thr; member in struct:__tsan::OnStartedArgs
    [all...]
tsan_rtl_proc.cc 25 proc->thr = nullptr;
35 CHECK_EQ(proc->thr, nullptr);
47 void ProcWire(Processor *proc, ThreadState *thr) {
48 CHECK_EQ(thr->proc1, nullptr);
49 CHECK_EQ(proc->thr, nullptr);
50 thr->proc1 = proc;
51 proc->thr = thr;
54 void ProcUnwire(Processor *proc, ThreadState *thr) {
55 CHECK_EQ(thr->proc1, proc)
    [all...]
tsan_rtl_mutex.cc 26 void ReportDeadlock(ThreadState *thr, uptr pc, DDReport *r);
29 ThreadState *thr; member in struct:__tsan::Callback
32 Callback(ThreadState *thr, uptr pc)
33 : thr(thr)
35 DDCallback::pt = thr->proc()->dd_pt;
36 DDCallback::lt = thr->dd_lt;
39 u32 Unwind() override { return CurrentStackId(thr, pc); }
40 int UniqueTid() override { return thr->unique_id; }
43 void DDMutexInit(ThreadState *thr, uptr pc, SyncVar *s)
374 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local
417 ThreadState *thr = reinterpret_cast<ThreadState*>(arg); local
    [all...]
tsan_fd.cc 50 static FdSync *allocsync(ThreadState *thr, uptr pc) {
51 FdSync *s = (FdSync*)user_alloc(thr, pc, sizeof(FdSync), kDefaultAlignment,
63 static void unref(ThreadState *thr, uptr pc, FdSync *s) {
69 user_free(thr, pc, s, false);
74 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) {
82 void *p = user_alloc(thr, pc, size, kDefaultAlignment, false);
84 MemoryResetRange(thr, (uptr)&fddesc, (uptr)p, size);
88 user_free(thr, pc, p, false);
94 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s,
96 FdDesc *d = fddesc(thr, pc, fd)
    [all...]
  /external/compiler-rt/lib/tsan/dd/
dd_rtl.cc 22 static u32 CurrentStackTrace(Thread *thr, uptr skip) {
24 thr->ignore_interceptors = true;
26 thr->ignore_interceptors = false;
32 static void PrintStackTrace(Thread *thr, u32 stk) {
34 thr->ignore_interceptors = true;
36 thr->ignore_interceptors = false;
39 static void ReportDeadlock(Thread *thr, DDReport *rep) {
48 PrintStackTrace(thr, rep->loop[i].stk[1]);
52 PrintStackTrace(thr, rep->loop[i].stk[0]);
58 Callback::Callback(Thread *thr)
    [all...]
dd_rtl.h 35 Thread *thr; member in struct:__dsan::Callback
37 Callback(Thread *thr);
58 void ThreadInit(Thread *thr);
59 void ThreadDestroy(Thread *thr);
61 void MutexBeforeLock(Thread *thr, uptr m, bool writelock);
62 void MutexAfterLock(Thread *thr, uptr m, bool writelock, bool trylock);
63 void MutexBeforeUnlock(Thread *thr, uptr m, bool writelock);
64 void MutexDestroy(Thread *thr, uptr m);
  /art/test/1926-missed-frame-pop/
frame_pop_missed.cc 38 JNIEnv* env, jclass, jthread thr) {
42 JVMTI_DISABLE, JVMTI_EVENT_FRAME_POP, thr));
46 JNIEnv* env, jclass, jthread thr) {
50 JVMTI_ENABLE, JVMTI_EVENT_FRAME_POP, thr));
  /art/test/1934-jvmti-signal-thread/src/art/
Threads.java 21 public static native void stopThread(Thread t, Throwable thr);
  /art/test/1924-frame-pop-toggle/
frame_pop_toggle.cc 38 JNIEnv* env, jclass, jthread thr) {
42 JVMTI_DISABLE, JVMTI_EVENT_FRAME_POP, thr));
46 JVMTI_ENABLE, JVMTI_EVENT_FRAME_POP, thr));
  /art/test/579-inline-infinite/src/
Main.java 33 Thread thr = new Thread(new Infinite()); local
34 thr.setDaemon(true);
35 thr.start();
  /external/valgrind/drd/tests/
pth_create_glibc_2_0.c 28 pthread_t thr; local
30 result = (*pthread_create_glibc_2_0)(&thr, 0, thread_func, 0);
36 pthread_join(thr, 0);
  /external/compiler-rt/lib/tsan/go/
tsan_go.cc 135 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex, local
137 internal_memset(thr, 0, sizeof(*thr));
138 return thr;
144 ThreadState *thr = AllocGoroutine(); local
145 main_thr = *thrp = thr;
146 Initialize(thr);
147 *procp = thr->proc1;
153 ThreadState *thr = main_thr; local
154 int res = Finalize(thr);
214 ThreadState *thr = AllocGoroutine(); local
    [all...]

Completed in 303 milliseconds

1 23 4 5 6 7 8 91011>>