Searched refs:UNLIKELY (Results 1 - 25 of 88) sorted by relevance

1234

/external/libchrome/base/trace_event/
H A Dheap_profiler.h45 if (UNLIKELY(AllocationContextTracker::capture_mode() !=
54 if (UNLIKELY(AllocationContextTracker::capture_mode() !=
69 if (UNLIKELY(
78 if (UNLIKELY(
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_allocator_testlib.cc76 if (UNLIKELY(!thread_inited))
84 if (UNLIKELY(!thread_inited))
91 if (UNLIKELY(!thread_inited))
101 if (UNLIKELY(!thread_inited))
114 if (UNLIKELY(!thread_inited))
122 if (UNLIKELY(!thread_inited))
130 if (UNLIKELY(!thread_inited))
/external/libchrome/base/
H A Dcompiler_specific.h214 #if !defined(UNLIKELY)
216 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
218 #define UNLIKELY(x) (x) macro
220 #endif // !defined(UNLIKELY)
/external/pdfium/third_party/base/
H A Dcompiler_specific.h209 #if !defined(UNLIKELY)
211 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
213 #define UNLIKELY(x) (x) macro
215 #endif // !defined(UNLIKELY)
/external/pdfium/third_party/base/allocator/partition_allocator/
H A Dspin_lock.cc79 } while (UNLIKELY(lock_.exchange(true, std::memory_order_acquire)));
H A Dpartition_alloc.cc388 if (UNLIKELY(!super_page))
435 if (UNLIKELY(isNewExtent)) {
436 if (UNLIKELY(!current_extent)) {
524 if (UNLIKELY(slots_limit < freelist_limit))
609 if (UNLIKELY(!bucket->num_full_pages))
630 if (UNLIKELY(raw_size_ptr != nullptr))
658 if (UNLIKELY(!ptr))
767 if (UNLIKELY(PartitionBucketIsDirectMapped(bucket))) {
800 if (UNLIKELY(!new_page) &&
824 if (UNLIKELY(!new_pag
[all...]
H A Dpartition_alloc.h463 if (UNLIKELY(hook != nullptr))
469 if (UNLIKELY(hook != nullptr))
480 if (UNLIKELY(allocation_hook && free_hook)) {
642 if (UNLIKELY(raw_size_ptr != nullptr))
747 if (UNLIKELY(page->num_allocated_slots <= 0)) {
820 if (UNLIKELY(!ptr))
H A Daddress_space_randomization.cc54 if (UNLIKELY(!x->initialized)) {
/external/valgrind/coregrind/
H A Dm_stacks.c295 if (UNLIKELY(stackseg == NULL)) {
304 if (UNLIKELY((!stackseg->hasR || !stackseg->hasW)
316 if (UNLIKELY(*start < stackseg->start)) {
327 if (UNLIKELY(stackseg->kind == SkResvn)) {
342 if (UNLIKELY(*end > stackseg->end)) {
352 if (UNLIKELY(*start > *end)) {
409 if (UNLIKELY(current_stack == NULL || \
428 if (UNLIKELY(delta < -VG_(clo_max_stackframe) \
/external/compiler-rt/lib/asan/
H A Dasan_malloc_linux.cc48 if (UNLIKELY(IsInDlsymAllocPool(ptr)))
55 if (UNLIKELY(IsInDlsymAllocPool(ptr)))
61 if (UNLIKELY(!asan_inited))
69 if (UNLIKELY(!asan_inited))
78 if (UNLIKELY(IsInDlsymAllocPool(ptr))) {
H A Dasan_interceptors.h117 if (UNLIKELY(!asan_inited)) { \
H A Dasan_interceptors.cc158 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
556 if (UNLIKELY(!asan_inited)) return internal_strdup(s);
572 if (UNLIKELY(!asan_inited)) return internal_strdup(s);
627 if (UNLIKELY(!asan_inited)) return REAL(atoi)(nptr);
648 if (UNLIKELY(!asan_inited)) return REAL(atol)(nptr);
700 if (UNLIKELY(!asan_inite
[all...]
/external/libffi/src/
H A Dprep_cif.c41 if (UNLIKELY(arg == NULL || arg->elements == NULL))
49 if (UNLIKELY(ptr == 0))
54 if (UNLIKELY(((*ptr)->size == 0)
/external/python/cpython2/Modules/_ctypes/libffi/src/
H A Dprep_cif.c41 if (UNLIKELY(arg == NULL || arg->elements == NULL))
49 if (UNLIKELY(ptr == 0))
54 if (UNLIKELY(((*ptr)->size == 0)
/external/python/cpython3/Modules/_ctypes/libffi/src/
H A Dprep_cif.c41 if (UNLIKELY(arg == NULL || arg->elements == NULL))
49 if (UNLIKELY(ptr == 0))
54 if (UNLIKELY(((*ptr)->size == 0)
/external/valgrind/VEX/priv/
H A Dhost_generic_maddf.c144 if (UNLIKELY (u.ieee.exponent + v.ieee.exponent
146 || UNLIKELY (u.ieee.exponent >= 0x7ff - DBL_MANT_DIG)
147 || UNLIKELY (v.ieee.exponent >= 0x7ff - DBL_MANT_DIG)
148 || UNLIKELY (w.ieee.exponent >= 0x7ff - DBL_MANT_DIG)
149 || UNLIKELY (u.ieee.exponent + v.ieee.exponent
253 if (UNLIKELY (adjust < 0)) {
H A Dhost_s390_defs.c1504 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1514 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1524 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1534 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1544 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1556 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1568 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1578 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1588 if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM))
1598 if (UNLIKELY(vex_traceflag
[all...]
H A Dmain_util.h48 # define UNLIKELY(x) (x) macro
52 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h140 # 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/libchrome/base/numerics/
H A Dsaturated_arithmetic.h54 if (UNLIKELY(a == std::numeric_limits<int>::min()))
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_diamond_search_sad_avx.c23 #define UNLIKELY(v) __builtin_expect(v, 0) macro
26 #define UNLIKELY(v) (v) macro
259 if (UNLIKELY(local_best_sad == 0xffff)) {
303 if (UNLIKELY(best_address == in_what)) {
/external/libffi/include/
H A Dffi_common.h126 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
/external/python/cpython2/Modules/_ctypes/libffi/include/
H A Dffi_common.h126 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
/external/python/cpython3/Modules/_ctypes/libffi/include/
H A Dffi_common.h126 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
/external/valgrind/include/
H A Dpub_tool_basics.h448 # define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
451 # define UNLIKELY(x) (x) macro

Completed in 938 milliseconds

1234