Searched refs:likely (Results 1 - 25 of 54) sorted by relevance

123

/fuchsia/zircon/third_party/ulib/ngunwind/include/ngunwind/private/
H A Dcompiler.h38 #undef likely macro
53 # define likely(x) __builtin_expect ((x), 1) macro
67 # define likely(x) (x) macro
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dshell.h94 #ifndef likely
95 #define likely(x) __builtin_expect(!!(x),1) macro
H A Dtrap.c325 if (likely(status < 0)) {
401 if (likely(!setjmp(loc.loc)))
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Darena_inlines_b.h97 if (likely(tcache != NULL)) {
98 if (likely(size <= SMALL_MAXCLASS)) {
102 if (likely(size <= tcache_maxclass)) {
127 if (likely(extent_slab_get(extent)))
142 if (likely(extent_slab_get(extent))) {
144 if (likely(tcache != NULL)) {
155 if (likely(tcache != NULL) && usize <= tcache_maxclass) {
175 if (likely(extent_slab_get(extent))) {
177 if (likely(tcache != NULL)) {
187 if (likely(tcach
[all...]
H A Dutil_types.h73 # define likely(x) __builtin_expect(!!(x), 1) macro
76 # define likely(x) !!(x) macro
H A Darena_inlines_a.h59 if (likely(prof_interval == 0))
69 if (likely(prof_interval == 0))
H A Dtsd_types.h227 if (likely(&a_name##tsd_tls != val)) \
278 if (likely(&a_name##tsd_tls != val)) \
414 if (likely(&wrapper->val != val)) \
547 if (likely(&wrapper->val != val)) \
H A Dprof_inlines.h123 if (likely(tdata->bytes_until_sample >= usize)) {
144 if (!prof_active || likely(prof_sample_accum_update(tsd, usize, update,
/fuchsia/zircon/kernel/arch/x86/
H A Dcache.cpp49 if (likely(x86_feature_test(X86_FEATURE_CLFLUSHOPT))) {
H A Dregisters.cpp125 if (likely(xsave_supported)) {
187 if (likely(fxsave_supported || xsave_supported)) {
211 if (likely(xsave_supported)) {
254 if (likely(xsave_supported)) {
282 if (likely(xsave_supported)) {
382 if (likely(old_thread)) {
H A Dthread.cpp99 if (likely(g_x86_feature_fsgsbase)) {
128 if (likely(g_x86_feature_fsgsbase)) {
/fuchsia/zircon/kernel/dev/iommu/intel/
H A Diommu_page.h45 return likely(page_) ? page_->paddr() : kInvalidPaddr;
/fuchsia/zircon/kernel/lib/vdso/include/lib/
H A Dvdso.h20 return likely(instance_) && instance_->vmo_is_vdso_impl(vmo);
/fuchsia/zircon/third_party/ulib/musl/src/fenv/aarch64/
H A Dfenv.c63 if (likely(env != FE_DFL_ENV)) {
/fuchsia/zircon/third_party/ulib/musl/src/fenv/x86_64/
H A Dfenv.c73 install_fenv(likely(env != FE_DFL_ENV) ? env :
/fuchsia/zircon/system/ulib/trace-engine/
H A Dcontext_api.cpp145 if (likely(cache)) {
146 if (likely(cache->generation == generation))
168 if (likely(it.IsValid()))
189 if (likely(it.IsValid()))
455 if (likely(payload)) {
477 if (likely(payload)) {
503 if (likely(entry)) {
527 // The subsequent write of the inlined reference will likely
529 if (likely(context->AllocStringIndex(&entry->index) &&
535 if (likely(entr
[all...]
H A Dengine.cpp452 if (likely(!context))
463 // This is marked likely because tracing is usually disabled and we want
466 if (likely(count == 0u))
486 // This is marked likely because tracing is usually disabled and we want
489 if (likely(!context))
521 if (likely(count == 0u))
533 if (likely(count == 0u))
H A Dcontext.cpp129 if (likely(buffer_offset + num_bytes <= rolling_buffer_size_)) {
233 if (likely(wrapped_count == current_wrapped_count)) {
283 if (likely(buffer_offset + num_bytes <= durable_buffer_size_)) {
/fuchsia/zircon/kernel/kernel/
H A Dmutex.cpp76 if (likely(atomic_cmpxchg_u64(&m->val, &oldval, (uintptr_t)ct))) {
137 if (likely(atomic_cmpxchg_u64(&m->val, &oldval, 0))) {
H A Dsched.cpp81 likely((t->base_priority + t->priority_boost) < HIGHEST_PRIORITY)) {
261 if (likely(c->run_queue_bitmap)) {
435 if (likely(!thread_is_idle(current_thread))) {
474 if (likely(!thread_is_idle(current_thread))) {
/fuchsia/zircon/kernel/arch/arm64/
H A Dfpu.cpp121 if (likely(t))
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Djemalloc_cpp.cpp39 if (likely(ptr != nullptr))
/fuchsia/zircon/kernel/object/include/object/
H A Ddispatcher.h377 return (likely(DispatchTag<T>::ID == (*disp)->get_type())) ?
392 return (likely(DispatchTag<typename fbl::remove_const<T>::type>::ID == (*disp)->get_type())) ?
408 return (likely(DispatchTag<T>::ID == disp->get_type())) ?
422 return (likely(DispatchTag<typename fbl::remove_const<T>::type>::ID == disp->get_type())) ?
/fuchsia/zircon/kernel/object/
H A Dhandle.cpp90 if (likely(addr)) {
203 return likely(handle->base_value() == value) ? handle : nullptr;
/fuchsia/zircon/system/public/zircon/
H A Dcompiler.h13 #define likely(x) __builtin_expect(!!(x), 1) macro

Completed in 196 milliseconds

123