HomeSort by relevance Sort by last modified time
    Searched defs:thr (Results 26 - 50 of 86) sorted by null

12 3 4

  /external/compiler-rt/lib/tsan/tests/unit/
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, 0, (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, 0, (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/valgrind/main/memcheck/tests/
thread_alloca.c 7 Also, a high nr of threads in thr[] is needed to get
36 pthread_t thr[50]; local
39 for (i = 0; i < sizeof(thr) / sizeof(*thr); i++) {
40 err = pthread_create(&thr[i], NULL, nop, NULL);
47 for (i = 0; i < sizeof(thr) / sizeof(*thr); i++)
48 pthread_join(thr[i], NULL);
  /external/valgrind/main/none/tests/
thread-exits.c 40 static void *thr(void *v) function
72 ret = pthread_create(&t, NULL, thr, NULL);
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
testutil.cc 182 pthread_t thr; local
185 SAFE_PTHREAD(pthread_create(&thr, NULL, RunFunctionInThread, &fn));
186 SAFE_PTHREAD(pthread_join(thr, NULL));
190 pthread_t* thr = new pthread_t[count]; local
192 SAFE_PTHREAD(pthread_create(&thr[i], NULL, RunFunctionInThread, &fn));
195 SAFE_PTHREAD(pthread_join(thr[i], NULL));
197 delete[] thr;
205 pthread_t* thr = new pthread_t[count]; local
210 SAFE_PTHREAD(pthread_create(&thr[i], &attr,
214 SAFE_PTHREAD(pthread_join(thr[i], NULL))
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
testutil.cc 182 pthread_t thr; local
185 SAFE_PTHREAD(pthread_create(&thr, NULL, RunFunctionInThread, &fn));
186 SAFE_PTHREAD(pthread_join(thr, NULL));
190 pthread_t* thr = new pthread_t[count]; local
192 SAFE_PTHREAD(pthread_create(&thr[i], NULL, RunFunctionInThread, &fn));
195 SAFE_PTHREAD(pthread_join(thr[i], NULL));
197 delete[] thr;
205 pthread_t* thr = new pthread_t[count]; local
210 SAFE_PTHREAD(pthread_create(&thr[i], &attr,
214 SAFE_PTHREAD(pthread_join(thr[i], NULL))
    [all...]
  /external/aac/libSBRdec/src/
psbitdec.cpp 383 UCHAR thr; local
384 thr = (UCHAR)h_ps_d->noSubSamples - (pBsData->noEnv - env);
385 if (pBsData->aEnvStartStop[env] > thr) {
386 pBsData->aEnvStartStop[env] = thr;
389 thr = pBsData->aEnvStartStop[env-1]+1;
390 if (pBsData->aEnvStartStop[env] < thr) {
391 pBsData->aEnvStartStop[env] = thr;
  /external/chromium_org/third_party/opus/src/silk/
A2NLSF.c 120 opus_int32 ylo, yhi, ymid, thr; local
152 thr = 0;
159 if( ( ylo <= 0 && yhi >= thr ) || ( ylo >= 0 && yhi <= -thr ) ) {
163 thr = 1;
165 thr = 0;
219 thr = 0;
  /external/compiler-rt/lib/tsan/dd/
dd_interceptors.cc 22 static __thread Thread *thr; variable
32 if (thr != 0)
39 thr = (Thread*)InternalAlloc(sizeof(*thr));
40 internal_memset(thr, 0, sizeof(*thr));
41 ThreadInit(thr);
48 MutexDestroy(thr, (uptr)m);
54 MutexBeforeLock(thr, (uptr)m, true);
56 MutexAfterLock(thr, (uptr)m, true, false)
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_interface_inl.h 56 ThreadState *thr = cur_thread(); local
57 thr->is_vptr_access = true;
58 MemoryWrite(thr, CALLERPC, (uptr)vptr_p, kSizeLog8);
59 thr->is_vptr_access = false;
65 ThreadState *thr = cur_thread(); local
66 thr->is_vptr_access = true;
67 MemoryRead(thr, CALLERPC, (uptr)vptr_p, kSizeLog8);
68 thr->is_vptr_access = false;
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--;
  /external/libopus/silk/
A2NLSF.c 120 opus_int32 ylo, yhi, ymid, thr; local
152 thr = 0;
159 if( ( ylo <= 0 && yhi >= thr ) || ( ylo >= 0 && yhi <= -thr ) ) {
163 thr = 1;
165 thr = 0;
219 thr = 0;
  /external/valgrind/main/helgrind/tests/
tc17_sembar.c 190 pthread_t thr[4]; local
196 res = pthread_create( &thr[i], NULL, child, (void*)(i+2) );
201 res = pthread_join( thr[i], NULL );
  /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);
  /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...]
OldThreadGroupTest.java 202 for(MyThread thr:subThreads) {
203 thr.start();
220 for(MyThread thr:subThreads1) {
221 thr.start();
229 for(MyThread thr:subThreads) {
230 thr.interrupt();
OldThreadTest.java 407 Thread thr = new Thread(); local
408 thr.start();
410 thr.start();
  /system/core/debuggerd/
crasher.c 69 pthread_t thr; local
73 pthread_create(&thr, &attr, noisy, (void*) 'A');
74 pthread_create(&thr, &attr, noisy, (void*) 'B');
75 pthread_create(&thr, &attr, noisy, (void*) 'C');
  /frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
StorageNotification.java 93 HandlerThread thr = new HandlerThread("SystemUI StorageNotification"); local
94 thr.start();
95 mAsyncEventHandler = new Handler(thr.getLooper());
UsbStorageActivity.java 111 HandlerThread thr = new HandlerThread("SystemUI UsbStorageActivity"); local
112 thr.start();
113 mAsyncStorageHandler = new Handler(thr.getLooper());
  /packages/apps/Protips/src/com/android/protips/
ProtipWidget.java 52 HandlerThread thr = new HandlerThread("ProtipWidget async"); typedefs
53 thr.start();
54 mAsyncHandler = new Handler(thr.getLooper());
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaScannerService.java 129 Thread thr = new Thread(null, this, "MediaScannerService"); local
130 thr.start();
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java 87 Thread thr = new Thread(null, this, "rss_service_thread"); local
88 thr.start();
  /frameworks/base/core/java/android/os/
Binder.java 347 Thread thr = new Thread("Binder.dumpAsync") { local
356 thr.start();
  /external/chromium_org/sandbox/linux/seccomp-bpf/
demo.cc 443 pthread_t thr; local
444 if (!pthread_create(&thr, NULL, ThreadFnc,
447 pthread_join(thr, &ret);
  /external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
mfqe.c 149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk; local
188 /* thr = qdiff/16 + log2(act) + log4(qprev) */
189 thr = (qdiff >> 4);
190 while (actd >>= 1) thr++;
191 while (qprev >>= 2) thr++;
194 thrsq = thr * thr;
200 if (sad < thr &&
203 2 * usad < thr && 2 * vsad < thr && !actrisk
    [all...]

Completed in 2050 milliseconds

12 3 4