/external/libchrome/base/trace_event/ |
D | heap_profiler.h | 66 if (UNLIKELY(AllocationContextTracker::capture_mode() != in HeapProfilerScopedTaskExecutionTracker() 75 if (UNLIKELY(AllocationContextTracker::capture_mode() != in ~HeapProfilerScopedTaskExecutionTracker() 91 if (UNLIKELY(AllocationContextTracker::capture_mode() == in HeapProfilerScopedStackFrame() 100 if (UNLIKELY(AllocationContextTracker::capture_mode() == in ~HeapProfilerScopedStackFrame() 115 if (UNLIKELY( in HeapProfilerScopedIgnore() 124 if (UNLIKELY( in ~HeapProfilerScopedIgnore()
|
/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/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)) { \
|
/external/libchrome/base/sampling_heap_profiler/ |
D | sampling_heap_profiler.cc | 265 if (UNLIKELY(g_deterministic)) in GetNextSampleInterval() 281 if (UNLIKELY(value < min_value)) in GetNextSampleInterval() 283 if (UNLIKELY(value > max_value)) in GetNextSampleInterval() 292 if (UNLIKELY(!base::subtle::NoBarrier_Load(&g_running))) in RecordAlloc() 294 if (UNLIKELY(base::ThreadLocalStorage::HasBeenDestroyed())) in RecordAlloc() 378 if (UNLIKELY(address == nullptr)) in RecordFree() 380 if (UNLIKELY(sampled_addresses_set().Contains(address))) in RecordFree() 385 if (UNLIKELY(base::ThreadLocalStorage::HasBeenDestroyed())) in DoRecordFree()
|
/external/autotest/client/deps/glbench/src/ |
D | utils.h | 116 #if !defined(UNLIKELY) 118 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 120 #define UNLIKELY(x) (x) macro 124 #define CHECK(condition) UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : (0)
|
/external/libchrome/base/ |
D | compiler_specific.h | 205 #if !defined(UNLIKELY) 207 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 209 #define UNLIKELY(x) (x) macro
|
/external/pdfium/third_party/base/ |
D | compiler_specific.h | 209 #if !defined(UNLIKELY) 211 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 213 #define UNLIKELY(x) (x) macro
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_alloc.cc | 388 if (UNLIKELY(!super_page)) in PartitionAllocPartitionPages() 435 if (UNLIKELY(isNewExtent)) { in PartitionAllocPartitionPages() 436 if (UNLIKELY(!current_extent)) { in PartitionAllocPartitionPages() 524 if (UNLIKELY(slots_limit < freelist_limit)) in PartitionPageAllocAndFillFreelist() 609 if (UNLIKELY(!bucket->num_full_pages)) in PartitionSetNewActivePage() 630 if (UNLIKELY(raw_size_ptr != nullptr)) in PartitionPageSetRawSize() 658 if (UNLIKELY(!ptr)) in PartitionDirectMap() 767 if (UNLIKELY(PartitionBucketIsDirectMapped(bucket))) { in PartitionAllocSlowPath() 800 if (UNLIKELY(!new_page) && in PartitionAllocSlowPath() 824 if (UNLIKELY(!new_page)) { in PartitionAllocSlowPath() [all …]
|
D | partition_alloc.h | 463 if (UNLIKELY(hook != nullptr)) in AllocationHookIfEnabled() 469 if (UNLIKELY(hook != nullptr)) in FreeHookIfEnabled() 480 if (UNLIKELY(allocation_hook && free_hook)) { in ReallocHookIfEnabled() 642 if (UNLIKELY(raw_size_ptr != nullptr)) in PartitionPageGetRawSize() 747 if (UNLIKELY(page->num_allocated_slots <= 0)) { in PartitionFreeWithPage() 820 if (UNLIKELY(!ptr)) in PartitionFreeGeneric()
|
D | spin_lock.cc | 79 } while (UNLIKELY(lock_.exchange(true, std::memory_order_acquire))); in LockSlow()
|
/external/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/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/libaom/libaom/aom_dsp/ |
D | aom_dsp_common.h | 46 #define UNLIKELY(v) __builtin_expect(v, 0) macro 49 #define UNLIKELY(v) (v)
|
/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/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerExpectIntrinsic/ |
D | expect_nonboolean.ll | 28 ; CHECK: br i1 %tmp2{{.*}}!prof [[UNLIKELY:![0-9]+]] 103 ; CHECK: [[UNLIKELY]] = !{!"branch_weights", i32 1, i32 2000}
|
/external/libchrome/libchrome_tools/patch/ |
D | compiler_specific.patch | 1 # In Android, prefer Android's libbase definitions for LIKELY/UNLIKELY macros.
|
/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/libchrome/base/android/orderfile/ |
D | orderfile_instrumentation.cc | 128 if (UNLIKELY(address < start || address > end)) { in RecordAddress() 165 if (UNLIKELY(insertion_index >= kMaxElements)) { in RecordAddress()
|
/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/libffi/include/ |
D | ffi_common.h | 126 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
|