/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_allocator_testlib.cc | 76 if (UNLIKELY(!thread_inited)) in malloc() 84 if (UNLIKELY(!thread_inited)) in free() 91 if (UNLIKELY(!thread_inited)) in calloc() 101 if (UNLIKELY(!thread_inited)) in realloc() 114 if (UNLIKELY(!thread_inited)) in memalign() 122 if (UNLIKELY(!thread_inited)) in posix_memalign() 130 if (UNLIKELY(!thread_inited)) in valloc()
|
/external/valgrind/VEX/priv/ |
D | host_s390_defs.c | 1504 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AR() 1514 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AGR() 1524 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_A() 1534 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AY() 1544 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AG() 1556 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AFI() 1568 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AGFI() 1578 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AH() 1588 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AHY() 1598 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) in s390_emit_AHI() [all …]
|
D | host_generic_maddf.c | 144 if (UNLIKELY (u.ieee.exponent + v.ieee.exponent in h_generic_calc_MAddF64() 146 || UNLIKELY (u.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64() 147 || UNLIKELY (v.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64() 148 || UNLIKELY (w.ieee.exponent >= 0x7ff - DBL_MANT_DIG) in h_generic_calc_MAddF64() 149 || UNLIKELY (u.ieee.exponent + v.ieee.exponent in h_generic_calc_MAddF64() 253 if (UNLIKELY (adjust < 0)) { in h_generic_calc_MAddF64()
|
D | main_util.h | 48 # define UNLIKELY(x) (x) macro 52 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
|
/external/libchrome/base/trace_event/ |
D | heap_profiler.h | 45 if (UNLIKELY(AllocationContextTracker::capture_mode() != in HeapProfilerScopedTaskExecutionTracker() 54 if (UNLIKELY(AllocationContextTracker::capture_mode() != in ~HeapProfilerScopedTaskExecutionTracker() 69 if (UNLIKELY( in HeapProfilerScopedIgnore() 78 if (UNLIKELY( in ~HeapProfilerScopedIgnore()
|
/external/valgrind/coregrind/ |
D | m_stacks.c | 295 if (UNLIKELY(stackseg == NULL)) { in VG_() 304 if (UNLIKELY((!stackseg->hasR || !stackseg->hasW) in VG_() 316 if (UNLIKELY(*start < stackseg->start)) { in VG_() 327 if (UNLIKELY(stackseg->kind == SkResvn)) { in VG_() 342 if (UNLIKELY(*end > stackseg->end)) { in VG_() 352 if (UNLIKELY(*start > *end)) { in VG_() 409 if (UNLIKELY(current_stack == NULL || \ 428 if (UNLIKELY(delta < -VG_(clo_max_stackframe) \
|
D | m_poolalloc.c | 122 if (UNLIKELY(pa->nextFree == NULL)) { in VG_()
|
/external/compiler-rt/lib/asan/ |
D | asan_malloc_linux.cc | 48 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR() 55 if (UNLIKELY(IsInDlsymAllocPool(ptr))) in INTERCEPTOR() 61 if (UNLIKELY(!asan_inited)) in INTERCEPTOR() 69 if (UNLIKELY(!asan_inited)) in INTERCEPTOR() 78 if (UNLIKELY(IsInDlsymAllocPool(ptr))) { in INTERCEPTOR()
|
D | asan_interceptors.cc | 158 if (SANITIZER_MAC && UNLIKELY(!asan_inited)) \ 396 if (UNLIKELY(!asan_inited)) return internal_memcpy(to, from, size); \ 418 if (UNLIKELY(!asan_inited)) return internal_memset(block, c, size); \ 434 if (UNLIKELY(!asan_inited)) \ 536 if (UNLIKELY(!asan_inited)) return REAL(strcpy)(to, from); // NOLINT in INTERCEPTOR() 556 if (UNLIKELY(!asan_inited)) return internal_strdup(s); in INTERCEPTOR() 572 if (UNLIKELY(!asan_inited)) return internal_strdup(s); in INTERCEPTOR() 627 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr); in INTERCEPTOR() 648 if (UNLIKELY(!asan_inited)) return REAL(atol)(nptr); in INTERCEPTOR() 700 if (UNLIKELY(!asan_inited)) return REAL(__cxa_atexit)(func, arg, dso_handle); in INTERCEPTOR()
|
D | asan_interceptors.h | 117 if (UNLIKELY(!asan_inited)) { \
|
D | asan_rtl.cc | 164 if (UNLIKELY(s)) { \ 165 if (UNLIKELY(size >= SHADOW_GRANULARITY || \
|
/external/libchrome/base/ |
D | compiler_specific.h | 187 #if !defined(UNLIKELY) 189 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 191 #define UNLIKELY(x) (x) macro
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | prep_cif.c | 41 if (UNLIKELY(arg == NULL || arg->elements == NULL)) in initialize_aggregate() 49 if (UNLIKELY(ptr == 0)) in initialize_aggregate() 54 if (UNLIKELY(((*ptr)->size == 0) in initialize_aggregate()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_internal_defs.h | 140 # define UNLIKELY(x) (x) macro 153 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 206 if (UNLIKELY(!(expr))) { \ 218 if (UNLIKELY(!(v1 op v2))) \
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_diamond_search_sad_avx.c | 23 #define UNLIKELY(v) __builtin_expect(v, 0) macro 26 #define UNLIKELY(v) (v) macro 259 if (UNLIKELY(local_best_sad == 0xffff)) { in vp9_diamond_search_sad_avx() 303 if (UNLIKELY(best_address == in_what)) { in vp9_diamond_search_sad_avx()
|
/external/valgrind/helgrind/ |
D | libhb_core.c | 1047 if (UNLIKELY(free_lineF)) { in clear_LineF_of_Z() 1333 && UNLIKELY(tree[7] == SVal_INVALID || tree[6] == SVal_INVALID in normalise_tree() 1668 if (UNLIKELY(ga_ix == N_WAY_NENT)) in shmem__invalidate_scache_range() 2312 if (UNLIKELY(here->thrid >= me_thrid)) in VTS__tick() 2337 if (UNLIKELY(here->tym >= (1ULL << SCALARTS_N_TYMBITS) - 2ULL)) { in VTS__tick() 2595 if (UNLIKELY(i == useda)) { in VTS__cmp_structural() 3602 while (UNLIKELY(!VG_IS_8_ALIGNED(a)) && LIKELY(len > 0)) { in Filter__clear_range_SLOW() 3614 while (UNLIKELY(len > 0)) { in Filter__clear_range_SLOW() 3662 if (UNLIKELY(!VG_IS_8_ALIGNED(c))) { in Filter__clear_range() 3711 if (UNLIKELY(address_in_range(fi->tags[clineno], c, full_len))) { in Filter__clear_range() [all …]
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 318 if (UNLIKELY(!ThreadInited)) in allocate() 378 if (UNLIKELY(!ThreadInited)) in deallocate() 432 if (UNLIKELY(!ThreadInited)) in getUsableSize() 466 if (UNLIKELY(!ThreadInited)) in reallocate() 506 if (UNLIKELY(!ThreadInited)) in calloc()
|
/external/valgrind/drd/ |
D | drd_load_store.c | 538 if (UNLIKELY(DRD_(any_address_is_traced)())) { in instrument_store() 669 if (UNLIKELY(DRD_(any_address_is_traced)())) { in DRD_() 684 if (UNLIKELY(DRD_(any_address_is_traced)())) { in DRD_() 753 if (UNLIKELY(DRD_(any_address_is_traced)())) in DRD_() 774 if (UNLIKELY(DRD_(any_address_is_traced)())) in DRD_()
|
D | drd_main.c | 349 if (UNLIKELY(DRD_(any_address_is_traced)())) in drd_start_using_mem() 354 if (UNLIKELY(DRD_(running_thread_inside_pthread_create)())) in drd_start_using_mem() 382 if (UNLIKELY(DRD_(any_address_is_traced)())) in drd_stop_using_mem()
|
/external/compiler-rt/lib/esan/ |
D | esan_interceptors.cpp | 60 if (UNLIKELY(COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED)) { \ 61 if (!UNLIKELY(EsanDuringInit)) \ 344 if (UNLIKELY(REAL(mmap) == nullptr)) { in INTERCEPTOR()
|
/external/valgrind/memcheck/ |
D | mc_main.c | 649 if (UNLIKELY(is_distinguished_sm(*p))) in get_secmap_for_writing_low() 657 if (UNLIKELY(is_distinguished_sm(*p))) in get_secmap_for_writing_high() 1846 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_() 1862 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_() 1899 if (UNLIKELY( MC_(clo_mc_level) == 3 )) in MC_() 1922 if (UNLIKELY(MC_(clo_mc_level) >= 3)) { in make_mem_defined_if_addressable() 1939 if (UNLIKELY(MC_(clo_mc_level) >= 3)) { in make_mem_defined_if_noaccess() 2547 if (UNLIKELY(0 == (ocacheL1_event_ctr++ in find_OCacheLine_SLOW() 2674 if (UNLIKELY(a > MAX_PRIMARY_ADDRESS)) { in make_aligned_word32_undefined() 2717 if (UNLIKELY(a > MAX_PRIMARY_ADDRESS)) { in make_aligned_word32_noaccess() [all …]
|
/external/valgrind/include/ |
D | pub_tool_basics.h | 448 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 451 # define UNLIKELY(x) (x) macro
|
/external/python/cpython2/Objects/ |
D | obmalloc.c | 36 # define UNLIKELY(value) __builtin_expect((value), 0) macro 38 # define UNLIKELY(value) (value) macro 798 if (UNLIKELY(running_on_valgrind == -1)) in PyObject_Malloc() 800 if (UNLIKELY(running_on_valgrind)) in PyObject_Malloc() 1008 if (UNLIKELY(running_on_valgrind > 0)) in PyObject_Free() 1248 if (UNLIKELY(running_on_valgrind > 0)) in PyObject_Realloc()
|
/external/python/cpython2/Modules/_ctypes/libffi/include/ |
D | ffi_common.h | 126 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_platform_mac.cc | 51 if (UNLIKELY(val == nullptr)) { in SignalSafeGetOrAllocate()
|