| /cts/hostsidetests/securitybulletin/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);
|
| /external/compiler-rt/lib/tsan/rtl/ |
| tsan_symbolize.cc | 26 ThreadState *thr = cur_thread(); local 27 CHECK(!thr->in_symbolizer); 28 thr->in_symbolizer = true; 29 thr->ignore_interceptors++; 33 ThreadState *thr = cur_thread(); local 34 CHECK(thr->in_symbolizer); 35 thr->in_symbolizer = false; 36 thr->ignore_interceptors--;
|
| 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) {
|
| /external/compiler-rt/lib/tsan/tests/unit/ |
| tsan_mman_test.cc | 38 ThreadState *thr = cur_thread(); local 40 char *p = (char*)user_alloc(thr, pc, 10); 42 char *p2 = (char*)user_alloc(thr, pc, 20); 47 user_free(thr, pc, p); 48 user_free(thr, pc, p2); 52 ThreadState *thr = cur_thread(); local 55 void *p = user_realloc(thr, pc, 0, 0); 61 void *p = user_realloc(thr, pc, 0, 100); 64 user_free(thr, pc, p); 67 void *p = user_alloc(thr, pc, 100) 97 ThreadState *thr = cur_thread(); local 110 ThreadState *thr = cur_thread(); local [all...] |
| tsan_sync_test.cc | 20 ThreadState *thr = cur_thread(); local 23 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); 27 EXPECT_EQ(mb->tid, thr->tid); 28 uptr sz = m->FreeBlock(thr->proc(), (uptr)&block[0]); 35 ThreadState *thr = cur_thread(); local 38 m->AllocBlock(thr, 0, (uptr)&block[0], 1 * sizeof(u64)); 39 m->AllocBlock(thr, 0, (uptr)&block[1], 3 * sizeof(u64)); 44 m->FreeRange(thr->proc(), (uptr)&block[0], 4 * sizeof(u64)); 52 ThreadState *thr = cur_thread(); local 55 m->AllocBlock(thr, 0, (uptr)&block[0], 4 * sizeof(u64)) 75 ThreadState *thr = cur_thread(); local 112 ThreadState *thr = cur_thread(); local [all...] |
| /external/compiler-rt/test/tsan/ |
| signal_sync2.cc | 35 static void* thr(void *p) { function 61 pthread_create(&th, 0, thr, 0);
|
| /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);
|
| futex_wait_uninitialized_heap.c | 74 pthread_t thr; local 107 ret = pthread_create(&thr, NULL, wait_thread, NULL);
|
| /frameworks/av/media/libeffects/lvm/tests/ |
| snr.cpp | 63 printf("\n -thr:<threshold value>"); 73 float thr = - std::numeric_limits<float>::infinity(); local 79 } else if (!strncmp(argv[i], "-thr:", 5)) { 80 thr = atof(argv[i] + 5); 94 if (snr < thr) { 95 printf("%.6f less than threshold %.6f\n", snr, thr);
|
| /art/test/1919-vminit-thread-start-timing/src/art/ |
| Test1919.java | 32 if (e.thr != null) { 34 e.thr.equals(Thread.currentThread()) || 35 e.thr.equals(testing_thread)) { 36 System.out.println(e.name + ": " + e.thr.getName()); 44 public final Thread thr; field in class:Test1919.Event 45 public Event(String name, Thread thr) { 47 this.thr = thr;
|
| /external/compiler-rt/lib/tsan/dd/ |
| 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);
|
| dd_interceptors.cc | 19 static __thread Thread *thr; variable 29 if (thr != 0) 36 thr = (Thread*)InternalAlloc(sizeof(*thr)); 37 internal_memset(thr, 0, sizeof(*thr)); 38 ThreadInit(thr); 45 MutexDestroy(thr, (uptr)m); 51 MutexBeforeLock(thr, (uptr)m, true); 53 MutexAfterLock(thr, (uptr)m, true, false) [all...] |
| /external/libxaac/decoder/ |
| ixheaacd_mps_smoothing.c | 157 int thr = self->bs_frame.ipd_data.bs_quant_coarse_xxx[ps] local 195 if (ixheaacd_abs32(tmp) > thr) {
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/ |
| 3-2.c | 176 pthread_t thr; local 231 if ((ret = pthread_create(&thr, NULL, unlock_issue, NULL))) { 249 if ((ret = pthread_join(thr, &th_ret))) { 282 if ((ret = pthread_create(&thr, NULL, deadlk_issue, NULL))) { 300 if ((ret = pthread_cancel(thr))) { 307 if ((ret = pthread_join(thr, &th_ret))) {
|
| 1-2.c | 171 pthread_t thr; local 238 if ((ret = pthread_create(&thr, NULL, unlock_issue, NULL))) { 256 if ((ret = pthread_join(thr, &th_ret))) { 289 if ((ret = pthread_create(&thr, NULL, deadlk_issue, NULL))) { 307 if ((ret = pthread_cancel(thr))) { 314 if ((ret = pthread_join(thr, &th_ret))) {
|
| /external/u-boot/arch/arm/mach-at91/include/mach/ |
| at91_dbu.h | 23 u32 thr; /* Transmit Holding Register WO */ member in struct:at91_dbu
|
| /art/test/1940-ddms-ext/src-art/art/ |
| Test1940.java | 182 final Thread thr = new Thread(() -> { return; }, "THREAD"); local 183 thr.start(); 185 thr.join();
|
| /art/test/1922-owned-monitors-info/src/art/ |
| Test1922.java | 209 final Thread thr = new Thread(r1.apply(r2.apply(r3.apply(pause)))); local 210 thr.start(); 212 printer.accept(thr); 214 thr.join(); 258 public static native Object[] getOwnedMonitors(Thread thr); 259 public static native MonitorStackDepthInfo[] getOwnedMonitorStackDepthInfo(Thread thr);
|
| /art/test/988-method-trace/src/art/ |
| Test988.java | 80 Throwable thr = ((Throwable) val); local 81 w.write(thr.getClass().getName() + ": " + thr.getMessage() + "\n"); 82 for (StackTraceElement e : thr.getStackTrace()) {
|
| /art/tools/jvmti-agents/jit-load/ |
| jitload.cc | 76 jthread thr ATTRIBUTE_UNUSED, 130 jthread thr = nullptr; local 132 CHECK_CALL_SUCCESS(jvmti->GetCurrentThread(&thr)); 135 VmInitCb(jvmti, jni, thr); 137 jni->DeleteLocalRef(thr);
|
| /external/aac/libSBRdec/src/ |
| psbitdec.cpp | 393 UCHAR thr; local 394 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env); 395 if (pBsData->aEnvStartStop[env] > thr) { 396 pBsData->aEnvStartStop[env] = thr; 398 thr = pBsData->aEnvStartStop[env - 1] + 1; 399 if (pBsData->aEnvStartStop[env] < thr) { 400 pBsData->aEnvStartStop[env] = thr;
|
| /external/libevent/ |
| evthread_pthread.c | 89 pthread_t thr; member in union:__anon28173 99 r.thr = pthread_self();
|
| /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;
|
| /external/libvpx/libvpx/vp9/encoder/x86/ |
| vp9_quantize_sse2.c | 27 __m128i thr; local 115 thr = _mm_srai_epi16(dequant, 1); 136 nzflag = _mm_movemask_epi8(_mm_cmpgt_epi16(qcoeff0, thr)) | 137 _mm_movemask_epi8(_mm_cmpgt_epi16(qcoeff1, thr));
|
| /external/ltp/testcases/kernel/mem/hugetlb/hugemmap/ |
| hugemmap06.c | 71 static void *thr(void *arg) function 113 TEST(pthread_create(&tid[i], NULL, thr, &mmap_sz[i]));
|