/external/libchrome/base/ |
D | bits.h | 64 return LIKELY(_BitScanReverse(&index, static_cast<uint32_t>(x))) in CountLeadingZeroBits() 76 return LIKELY(_BitScanReverse64(&index, static_cast<uint64_t>(x))) in CountLeadingZeroBits() 88 return LIKELY(_BitScanForward(&index, static_cast<uint32_t>(x))) ? index in CountTrailingZeroBits() 99 return LIKELY(_BitScanForward64(&index, static_cast<uint64_t>(x))) ? index in CountTrailingZeroBits() 128 return LIKELY(value) in CountLeadingZeroBits() 140 return LIKELY(value) ? bits == 64 in CountTrailingZeroBits()
|
D | compiler_specific.h | 213 #if !defined(LIKELY) 215 #define LIKELY(x) __builtin_expect(!!(x), 1) macro 217 #define LIKELY(x) (x) macro
|
/external/pdfium/third_party/base/ |
D | bits.h | 66 return LIKELY(_BitScanReverse(&index, x)) ? (31 - index) : 32; in CountLeadingZeroBits32() 74 return LIKELY(_BitScanReverse64(&index, x)) ? (63 - index) : 64; in CountLeadingZeroBits64() 87 return LIKELY(x) ? __builtin_clz(x) : 32; in CountLeadingZeroBits32() 91 return LIKELY(x) ? __builtin_clzll(x) : 64; in CountLeadingZeroBits64()
|
D | compiler_specific.h | 217 #if !defined(LIKELY) 219 #define LIKELY(x) __builtin_expect(!!(x), 1) macro 221 #define LIKELY(x) (x) macro
|
/external/libaom/libaom/aom_dsp/x86/ |
D | sum_squares_avx2.c | 68 if (LIKELY(width == 4 && height == 4)) { in aom_sum_squares_2d_i16_avx2() 70 } else if (LIKELY(width == 4 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_avx2() 72 } else if (LIKELY(width == 8 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_avx2() 74 } else if (LIKELY(((width & 15) == 0) && ((height & 3) == 0))) { in aom_sum_squares_2d_i16_avx2()
|
D | sum_squares_sse2.c | 128 if (LIKELY(width == 4 && height == 4)) { in aom_sum_squares_2d_i16_sse2() 130 } else if (LIKELY(width == 4 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_sse2() 132 } else if (LIKELY((width & 7) == 0 && (height & 3) == 0)) { in aom_sum_squares_2d_i16_sse2()
|
D | highbd_quantize_intrin_avx2.c | 75 if (LIKELY(nzflag)) { in quantize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LowerExpectIntrinsic/ |
D | expect_nonboolean.ll | 11 ; CHECK: br i1 %tmp2{{.*}}!prof [[LIKELY:![0-9]+]] 45 ; CHECK: br i1 %tmp2{{.*}}!prof [[LIKELY]] 62 ; CHECK: br i1 %tmp2{{.*}}!prof [[LIKELY]] 102 ; CHECK: [[LIKELY]] = !{!"branch_weights", i32 2000, i32 1}
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_alloc.cc | 372 if (LIKELY(num_partition_pages_left >= num_partition_pages)) { in PartitionAllocPartitionPages() 528 if (LIKELY(firstFreelistPointerExtent <= freelist_limit)) { in PartitionPageAllocAndFillFreelist() 547 if (LIKELY(num_new_freelist_entries)) { in PartitionPageAllocAndFillFreelist() 588 if (LIKELY(PartitionPageStateIsActive(page))) { in PartitionSetNewActivePage() 594 if (LIKELY(PartitionPageStateIsEmpty(page))) { in PartitionSetNewActivePage() 597 } else if (LIKELY(PartitionPageStateIsDecommitted(page))) { in PartitionSetNewActivePage() 777 } else if (LIKELY(PartitionSetNewActivePage(bucket))) { in PartitionAllocSlowPath() 781 } else if (LIKELY(bucket->empty_pages_head != nullptr) || in PartitionAllocSlowPath() 782 LIKELY(bucket->decommitted_pages_head != nullptr)) { in PartitionAllocSlowPath() 786 while (LIKELY((new_page = bucket->empty_pages_head) != nullptr)) { in PartitionAllocSlowPath() [all …]
|
D | spin_lock.h | 35 if (LIKELY(!lock_.exchange(true, std::memory_order_acquire))) in lock()
|
D | spin_lock.cc | 72 LIKELY(!lock_.exchange(true, std::memory_order_acquire))) in LockSlow()
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
D | macros-expected.cc | 15 #define LIKELY(x) x macro 30 if (LIKELY(derived_ptr)) { in F()
|
D | macros-original.cc | 15 #define LIKELY(x) x macro 30 if (LIKELY(derivedPtr)) { in F()
|
/external/libaom/libaom/aom_dsp/ |
D | aom_dsp_common.h | 45 #define LIKELY(v) __builtin_expect(v, 1) macro 48 #define LIKELY(v) (v)
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_diamond_search_sad_avx.c | 22 #define LIKELY(v) __builtin_expect(v, 1) macro 25 #define LIKELY(v) (v) macro 158 if (LIKELY(_mm_test_all_zeros(v_inside_d, v_inside_d))) { in vp9_diamond_search_sad_avx() 284 if (LIKELY(local_best_sad < best_sad)) { in vp9_diamond_search_sad_avx()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | LikelySubtagsTest.java | 37 static final LikelySubtags LIKELY = new LikelySubtags( field in LikelySubtagsTest 169 String max = LIKELY.maximize(source); in checkAdding() 196 final String maximize = LIKELY.maximize(test); in checkAdding() 200 LIKELY.maximize(test); // do again for debugging in checkAdding()
|
/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/sanitizer_common/ |
D | sanitizer_internal_defs.h | 139 # define LIKELY(x) (x) macro 152 # define LIKELY(x) __builtin_expect(!!(x), 1) macro
|
/external/compiler-rt/lib/scudo/ |
D | scudo_allocator.cpp | 340 if (LIKELY(!ThreadTornDown)) { in allocate() 417 if (LIKELY(!ThreadTornDown)) { in deallocate() 492 if (LIKELY(!ThreadTornDown)) { in reallocate()
|
/external/python/cpython2/Modules/_ctypes/libffi/include/ |
D | ffi_common.h | 125 #define LIKELY(x) __builtin_expect(!!(x),1) macro
|
/external/libffi/include/ |
D | ffi_common.h | 125 #define LIKELY(x) __builtin_expect(!!(x),1) macro
|
/external/compiler-rt/lib/asan/ |
D | asan_stack.h | 42 if (LIKELY(asan_inited)) { in GetStackTraceWithPcBpAndContext()
|
/external/python/cpython3/Modules/_blake2/impl/ |
D | blake2s-round.h | 25 #define LIKELY(x) __builtin_expect((x),1) macro
|
D | blake2b-round.h | 25 #define LIKELY(x) __builtin_expect((x),1) macro
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_rtl.cc | 625 if (LIKELY(store_word == 0)) in MemoryAccessImpl1() 789 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccess() 814 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(), in MemoryAccessImpl()
|