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

12 3 4 5

  /external/compiler-rt/test/tsan/
malloc_stack.cc 7 void *thr(void *a) { function
16 pthread_create(&th, 0, thr, p);
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);
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
post_proc.h 37 #define INDEX(x,thr) (((x)>=thr)?1:0)
adaptive_smooth_no_mmx.cpp 48 thr = value of type int that is compared to the elements in Rec_Y to
119 luminance values to a threshold value ("thr") and then changing the
218 int thr, /* i */
258 / the threshold value (thr) */
273 /* sum of 0's and 1's (0 if pixel value is below thr, 1 if value
274 /is above thr) */
275 *sign_V_ptr++ = INDEX(pelu, thr) + INDEX(pelc, thr) + INDEX(pell, thr);
287 /* sum of 0's and 1's (0 if pixel value is below thr, 1 if valu
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_interface_java.cc 41 ScopedJavaFunc(ThreadState *thr, uptr pc)
42 : thr_(thr) {
44 FuncEntry(thr, pc);
62 ThreadState *thr = cur_thread(); \
66 ScopedJavaFunc scoped(thr, caller_pc); \
71 DPrintf("#%d: java_init(%p, %p)\n", thr->tid, heap_begin, heap_size);
83 DPrintf("#%d: java_fini()\n", thr->tid);
86 int status = Finalize(thr);
87 DPrintf("#%d: java_fini() = %d\n", thr->tid, status);
93 DPrintf("#%d: java_alloc(%p, %p)\n", thr->tid, ptr, size)
    [all...]
tsan_rtl.h 409 ThreadState *thr; member in class:__tsan::ThreadContext
531 void ALWAYS_INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
533 thr->stat[typ] += n;
535 void ALWAYS_INLINE StatSet(ThreadState *thr, StatType typ, u64 n) {
537 thr->stat[typ] = n;
548 void ForkBefore(ThreadState *thr, uptr pc);
549 void ForkParentAfter(ThreadState *thr, uptr pc);
550 void ForkChildAfter(ThreadState *thr, uptr pc);
552 void ReportRace(ThreadState *thr);
553 bool OutputReport(ThreadState *thr, const ScopedReport &srep)
    [all...]
tsan_interceptors.cc 147 static SignalContext *SigCtx(ThreadState *thr) {
148 SignalContext *ctx = (SignalContext*)thr->signal_ctx;
149 if (ctx == 0 && thr->is_alive) {
151 MemoryResetRange(thr, (uptr)&SigCtx, (uptr)ctx, sizeof(*ctx));
152 thr->signal_ctx = ctx;
161 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc);
169 ScopedInterceptor::ScopedInterceptor(ThreadState *thr, const char *fname,
171 : thr_(thr)
175 Initialize(thr);
176 FuncEntry(thr, pc)
801 ThreadState *thr = cur_thread(); local
824 ThreadState *thr = cur_thread(); local
953 ThreadState *thr; member in struct:CondMutexUnlockCtx
1757 ThreadState *thr = cur_thread(); local
1981 ThreadState *thr; member in struct:TsanInterceptorContext
2090 ThreadState *thr; member in struct:ScopedSyscall
2197 ThreadState *thr = cur_thread(); local
    [all...]
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_mman.h 23 void AllocatorThreadStart(ThreadState *thr);
24 void AllocatorThreadFinish(ThreadState *thr);
28 void *user_alloc(ThreadState *thr, uptr pc, uptr sz,
31 void user_free(ThreadState *thr, uptr pc, void *p);
32 void *user_realloc(ThreadState *thr, uptr pc, void *p, uptr sz);
33 void *user_alloc_aligned(ThreadState *thr, uptr pc, uptr sz, uptr align);
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);
58 void MetaMap::AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz) {
59 u32 idx = block_alloc_.Alloc(&thr->block_cache);
62 b->tid = thr->tid;
63 b->stk = CurrentStackId(thr, pc);
69 uptr MetaMap::FreeBlock(ThreadState *thr, uptr pc, uptr p) {
74 FreeRange(thr, pc, p, sz)
    [all...]
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);
75 uptr FreeBlock(ThreadState *thr, uptr pc, uptr p);
76 void FreeRange(ThreadState *thr, uptr pc, uptr p, uptr sz);
79 SyncVar* GetOrCreateAndLock(ThreadState *thr, uptr pc,
85 void OnThreadIdle(ThreadState *thr);
97 SyncVar* GetAndLock(ThreadState *thr, uptr pc, uptr addr, bool write_lock,
  /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/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);
reach_thread_register.c 46 pthread_t thr; local
47 pthread_create(&thr, NULL, &helper, &bar);
51 pthread_detach(thr);
  /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/helgrind/
hg_errors.c 298 Thread* thr; member in struct:__anon37426::__anon37427::__anon37428
312 Thread* thr; /* doing the unlocking */ member in struct:__anon37426::__anon37427::__anon37429
316 Thread* thr; /* doing the unlocking */ member in struct:__anon37426::__anon37427::__anon37430
321 Thread* thr; /* doing the unlocking */ member in struct:__anon37426::__anon37427::__anon37431
325 Thread* thr; member in struct:__anon37426::__anon37427::__anon37432
331 Thread* thr; member in struct:__anon37426::__anon37427::__anon37433
347 Thread* thr; member in struct:__anon37426::__anon37427::__anon37434
392 tl_assert(xe->XE.Race.thr);
396 xe->XE.Race.thr->locksetW,
416 Thr* thrp = NULL
    [all...]
hg_main.c 164 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/
168 static Thread* mk_Thread ( Thr* hbthr ) {
236 /* Update 'lk' to reflect that 'thr' now has a write-acquisition of
239 static void lockN_acquire_writer ( Lock* lk, Thread* thr )
242 tl_assert(HG_(is_sane_Thread)(thr));
252 tid = map_threads_maybe_reverse_lookup_SLOW(thr);
267 VG_(addToBag)( lk->heldBy, (UWord)thr );
276 /* assert: .. and that thread is 'thr'. */
277 tl_assert(VG_(elemBag)(lk->heldBy, (UWord)thr)
279 VG_(addToBag)(lk->heldBy, (UWord)thr);
356 Thread* thr; local
497 Thread* thr; local
589 Thread* thr; local
652 Thread* thr; local
661 Thread* thr; local
695 Thread* thr; local
851 Thread* thr; local
911 Thread* thr; local
1410 Thread* thr; local
1652 Thread* thr; local
1800 Thread* thr; local
1822 Thread* thr = get_current_Thread_in_C_C(); local
1829 Thread* thr = get_current_Thread_in_C_C(); local
1836 Thread* thr = get_current_Thread_in_C_C(); local
1843 Thread* thr = get_current_Thread_in_C_C(); local
1850 Thread* thr = get_current_Thread_in_C_C(); local
1857 Thread* thr = get_current_Thread_in_C_C(); local
1864 Thread* thr = get_current_Thread_in_C_C(); local
1871 Thread* thr = get_current_Thread_in_C_C(); local
1878 Thread* thr = get_current_Thread_in_C_C(); local
1885 Thread* thr = get_current_Thread_in_C_C(); local
1917 Thread* thr; local
1976 Thread* thr; local
2017 Thread* thr; local
2035 Thread* thr; local
2049 Thread* thr; local
2070 Thread* thr; local
2202 Thread* thr; local
2247 Thread* thr; local
2323 Thread* thr; local
2394 Thread* thr; local
2487 Thread* thr; local
2538 Thread* thr; local
2563 Thread* thr; local
2583 Thread* thr; local
2597 Thread* thr; local
2729 Thread* thr; local
2776 Thread* thr; local
2804 Thread* thr; local
2906 Thread* thr; local
2961 Thread* thr; local
3082 Thread* thr; local
3125 Thread* thr; local
3246 Thread* thr; local
3271 Thread* thr; local
3976 Thread* thr; \/* allocating thread *\/ member in struct:__anon37441
5101 Thread* thr = map_threads_maybe_lookup( tid ); local
5338 Thread* thr; local
5355 Thread* thr; local
    [all...]
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;
  /external/compiler-rt/test/asan/TestCases/
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/main/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/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/chromium_org/third_party/libvpx/source/libvpx/vp8/common/ppc/
loopfilter_altivec.c 58 mbloop_filter_horizontal_edge_y_ppc(y_ptr, y_stride, lfi->mbflim, lfi->lim, lfi->thr);
61 mbloop_filter_horizontal_edge_uv_ppc(u_ptr, v_ptr, uv_stride, lfi->mbflim, lfi->lim, lfi->thr);
77 mbloop_filter_vertical_edge_y_ppc(y_ptr, y_stride, lfi->mbflim, lfi->lim, lfi->thr);
80 mbloop_filter_vertical_edge_uv_ppc(u_ptr, v_ptr, uv_stride, lfi->mbflim, lfi->lim, lfi->thr);
97 loop_filter_horizontal_edge_y_ppc(y_ptr + 4 * y_stride, y_stride, lfi->flim, lfi->lim, lfi->thr);
98 loop_filter_horizontal_edge_y_ppc(y_ptr + 8 * y_stride, y_stride, lfi->flim, lfi->lim, lfi->thr);
99 loop_filter_horizontal_edge_y_ppc(y_ptr + 12 * y_stride, y_stride, lfi->flim, lfi->lim, lfi->thr);
102 loop_filter_horizontal_edge_uv_ppc(u_ptr + 4 * uv_stride, v_ptr + 4 * uv_stride, uv_stride, lfi->flim, lfi->lim, lfi->thr);
120 loop_filter_vertical_edge_y_ppc(y_ptr, y_stride, lfi->flim, lfi->lim, lfi->thr);
123 loop_filter_vertical_edge_uv_ppc(u_ptr + 4, v_ptr + 4, uv_stride, lfi->flim, lfi->lim, lfi->thr);
    [all...]
  /external/libvpx/libvpx/vp8/common/ppc/
loopfilter_altivec.c 58 mbloop_filter_horizontal_edge_y_ppc(y_ptr, y_stride, lfi->mbflim, lfi->lim, lfi->thr);
61 mbloop_filter_horizontal_edge_uv_ppc(u_ptr, v_ptr, uv_stride, lfi->mbflim, lfi->lim, lfi->thr);
77 mbloop_filter_vertical_edge_y_ppc(y_ptr, y_stride, lfi->mbflim, lfi->lim, lfi->thr);
80 mbloop_filter_vertical_edge_uv_ppc(u_ptr, v_ptr, uv_stride, lfi->mbflim, lfi->lim, lfi->thr);
97 loop_filter_horizontal_edge_y_ppc(y_ptr + 4 * y_stride, y_stride, lfi->flim, lfi->lim, lfi->thr);
98 loop_filter_horizontal_edge_y_ppc(y_ptr + 8 * y_stride, y_stride, lfi->flim, lfi->lim, lfi->thr);
99 loop_filter_horizontal_edge_y_ppc(y_ptr + 12 * y_stride, y_stride, lfi->flim, lfi->lim, lfi->thr);
102 loop_filter_horizontal_edge_uv_ppc(u_ptr + 4 * uv_stride, v_ptr + 4 * uv_stride, uv_stride, lfi->flim, lfi->lim, lfi->thr);
120 loop_filter_vertical_edge_y_ppc(y_ptr, y_stride, lfi->flim, lfi->lim, lfi->thr);
123 loop_filter_vertical_edge_uv_ppc(u_ptr + 4, v_ptr + 4, uv_stride, lfi->flim, lfi->lim, lfi->thr);
    [all...]

Completed in 365 milliseconds

12 3 4 5