Searched refs:LIKELY (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/wtf/
H A DBitwiseOperations.h56 return LIKELY(_BitScanReverse(&index, x)) ? (31 - index) : 32;
65 return LIKELY(_BitScanReverse64(&index, x)) ? (63 - index) : 64;
79 return LIKELY(x) ? __builtin_clz(x) : 32;
84 return LIKELY(x) ? __builtin_clzll(x) : 64;
H A DBloomFilter.h87 if (LIKELY(first < maximumCount()))
89 if (LIKELY(second < maximumCount()))
101 if (LIKELY(first < maximumCount()))
103 if (LIKELY(second < maximumCount()))
H A DCompiler.h168 /* LIKELY */
170 #ifndef LIKELY
172 #define LIKELY(x) __builtin_expect((x), 1) macro
174 #define LIKELY(x) (x) macro
H A DPartitionAlloc.cpp333 if (LIKELY(numPartitionPagesLeft >= numPartitionPages)) {
467 if (LIKELY(firstFreelistPointerExtent <= freelistLimit)) {
484 if (LIKELY(numNewFreelistEntries)) {
527 if (LIKELY(page->freelistHead != 0) || LIKELY(page->numUnprovisionedSlots)) {
533 if (LIKELY(page->numAllocatedSlots == 0)) {
671 if (LIKELY(partitionSetNewActivePage(bucket->activePagesHead))) {
673 if (LIKELY(newPage->freelistHead != 0)) {
685 if (LIKELY(newPage != 0)) {
770 if (LIKELY(pag
[all...]
H A DPassRefPtr.h48 if (LIKELY(ptr != 0)) {
56 if (LIKELY(ptr != 0))
H A DASCIICType.h163 return LIKELY(toASCIILowerUnchecked(cssCharacter) == character);
H A DPartitionAlloc.h446 if (LIKELY(ret != 0)) {
598 if (LIKELY(!partitionBucketIsDirectMapped(bucket))) {
H A DVector.h227 if (LIKELY(a && b))
592 if (LIKELY(!Base::buffer()))
595 if (LIKELY(m_size) && !(Allocator::isGarbageCollected && this->hasOutOfLineBuffer())) {
1019 if (LIKELY(size() != capacity())) {
/external/valgrind/main/include/
H A Dpub_tool_libcassert.h37 ((void) (LIKELY(expr) ? 0 : \
45 ((void) (LIKELY(expr) ? 0 : \
H A Dpub_tool_basics.h303 # define LIKELY(x) __builtin_expect(!!(x), 1) macro
306 # define LIKELY(x) (x) macro
H A Dpub_tool_libcbase.h152 if (LIKELY(0 == (((Addr)sz) & (Addr)(sizeof(UWord)-1)))
153 && LIKELY(0 == (((Addr)s) & (Addr)(sizeof(UWord)-1)))) {
/external/valgrind/main/VEX/priv/
H A Dmain_util.h46 #define LIKELY(x) __builtin_expect(!!(x), 1) macro
54 ((void) (LIKELY(expr) ? 0 : \
H A Dhost_generic_maddf.c264 if (LIKELY (adjust == 0)) {
269 } else if (LIKELY (adjust > 0)) {
/external/valgrind/main/coregrind/
H A Dpub_core_libcassert.h51 ((void) (LIKELY(expr) ? 0 : \
58 ((void) (LIKELY(expr) ? 0 : \
H A Dm_execontext.c131 if (LIKELY(init_done))
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DCSSTokenizer-in.cpp381 if (LIKELY(currentCharacter[0] != '\\')) {
461 if (LIKELY(*src != '\\'))
475 if (LIKELY(*src != '\\')) {
546 if (LIKELY(src[0] != '\\')) {
605 if (LIKELY(*end != '\\')) {
636 if (LIKELY(*src != '\\'))
654 if (LIKELY(*src != '\\')) {
677 if (LIKELY(parseURIInternal(currentCharacter<CharacterType>(), dest, quote))) {
965 if (LIKELY(!hasEscape))
969 if (LIKELY(!hasEscap
[all...]
/external/compiler-rt/lib/asan/
H A Dasan_stack.h35 if (LIKELY(asan_inited)) {
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8StringResource.h241 if (LIKELY(m_v8Object->IsString()))
244 if (LIKELY(m_v8Object->IsInt32())) {
265 if (LIKELY(!m_v8Object.IsEmpty()))
H A DV8StringResource.cpp110 if (LIKELY(!!resource)) {
/external/valgrind/main/memcheck/
H A Dmc_main.c519 if (LIKELY(auxmap_L1[0].base == a))
521 if (LIKELY(auxmap_L1[1].base == a)) {
573 if (LIKELY(res))
1088 if (LIKELY(gIgnoredAddressRanges != NULL))
1097 if (LIKELY(gIgnoredAddressRanges == NULL))
1253 if (LIKELY(n_addrs_bad == 0))
1326 if (LIKELY(sizeof(void*) == 8
1331 if (LIKELY(vabits16 == VA_BITS16_DEFINED))
1333 if (LIKELY(vabits16 == VA_BITS16_UNDEFINED))
1337 if (LIKELY(sizeo
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h146 # define LIKELY(x) (x) macro
160 # define LIKELY(x) __builtin_expect(!!(x), 1)
/external/chromium_org/third_party/smhasher/src/
H A DCity.cpp76 #if !defined(LIKELY)
78 #define LIKELY(x) (__builtin_expect(!!(x), 1)) macro
80 #define LIKELY(x) (x) macro
316 } while (LIKELY(len >= 128));
435 if (LIKELY(len >= 240)) {
/external/valgrind/main/helgrind/
H A Dlibhb_core.c692 if (LIKELY(gaKey == smCache[0].gaKey))
694 if (LIKELY(gaKey == smCache[1].gaKey)) {
724 if (LIKELY(sm)) {
1378 if (LIKELY(i == N_LINE_ARANGE)) {
1528 if (LIKELY(tag == cache_shmem.tags0[wix])) {
2347 if (LIKELY(useda == usedb)) {
2355 if (LIKELY(tmpa->tym == tmpb->tym
3245 return LIKELY(vi1 == vi2) ? True : VtsID__cmpLEQ_WRK(vi1, vi2);
3277 return LIKELY(vi1 == vi2) ? vi1 : VtsID__join2_WRK(vi1, vi2);
3363 if (LIKELY( f
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cc595 if (LIKELY(store_word == 0))
756 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(),
781 if (LIKELY(ContainsSameAccess(shadow_mem, cur.raw(),
/external/valgrind/main/coregrind/m_debuginfo/
H A Dtytypes.c355 if (LIKELY(cache != NULL)) {
394 if (LIKELY(cache != NULL) && LIKELY(res != NULL)) {

Completed in 462 milliseconds

12