Home
last modified time | relevance | path

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

12

/third_party/gn/src/base/
H A Dcompiler_specific.h42 #if !defined(UNLIKELY)
44 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
46 #define UNLIKELY(x) (x) macro
48 #endif // !defined(UNLIKELY)
/third_party/node/src/
H A Dnode_context_data.h73 if (UNLIKELY(context.IsEmpty())) { in IsNodeContext()
76 if (UNLIKELY(context->GetNumberOfEmbedderDataFields() <= in IsNodeContext()
80 if (UNLIKELY(context->GetAlignedPointerFromEmbedderData( in IsNodeContext()
H A Dnode_realm-inl.h12 if (UNLIKELY(!isolate->InContext())) return nullptr; in GetCurrent()
18 if (UNLIKELY(!ContextEmbedderTag::IsNodeContext(context))) return nullptr; in GetCurrent()
72 if (UNLIKELY(!ptr)) return nullptr; in GetBindingData()
H A Ddebug_utils-inl.h140 if (!UNLIKELY(list->enabled(cat))) return; in Debug()
147 if (!UNLIKELY(list->enabled(cat))) return; in Debug()
197 if (!UNLIKELY(async_wrap->env()->enabled_debug_list()->enabled(cat))) return; in Debug()
H A Dcares_wrap.cc894 if (UNLIKELY(response->is_host)) in Parse()
1061 if (UNLIKELY(response->is_host)) in Parse()
1095 if (UNLIKELY(response->is_host)) in Parse()
1129 if (UNLIKELY(response->is_host)) in Parse()
1151 if (UNLIKELY(response->is_host)) in Parse()
1174 if (UNLIKELY(response->is_host)) in Parse()
1197 if (UNLIKELY(response->is_host)) in Parse()
1220 if (UNLIKELY(response->is_host)) in Parse()
1242 if (UNLIKELY(response->is_host)) in Parse()
1264 if (UNLIKELY(respons in Parse()
[all...]
H A Dbase_object.cc29 if (UNLIKELY(has_pointer_data())) { in ~BaseObject()
H A Denv-inl.h98 if (UNLIKELY(js_execution_async_resources_.IsEmpty())) { in js_execution_async_resources()
175 if (UNLIKELY(!isolate->InContext())) return nullptr; in GetCurrent()
181 if (UNLIKELY(!ContextEmbedderTag::IsNodeContext(context))) { in GetCurrent()
/third_party/node/src/crypto/
H A Dcrypto_spkac.cc45 if (UNLIKELY(!input.CheckSizeInt32())) in VerifySpkac()
81 if (UNLIKELY(!input.CheckSizeInt32())) in ExportPublicKey()
115 if (UNLIKELY(!input.CheckSizeInt32())) in ExportChallenge()
H A Dcrypto_hash.cc151 if (UNLIKELY(size > INT_MAX)) in HashUpdate()
253 if (UNLIKELY(params->digest == nullptr)) { in AdditionalConfig()
259 if (UNLIKELY(!data.CheckSizeInt32())) { in AdditionalConfig()
269 if (UNLIKELY(args[offset + 2]->IsUint32())) { in AdditionalConfig()
291 if (UNLIKELY(!ctx || in DeriveBits()
309 if (UNLIKELY(ret != 1)) in DeriveBits()
H A Dcrypto_tls.cc123 if (UNLIKELY(line_bf.IsEmpty())) in KeylogCallback()
142 if (UNLIKELY(size > SecureContext::kMaxSessionSize)) in NewSessionCallback()
147 if (UNLIKELY(session.IsEmpty())) in NewSessionCallback()
163 if (UNLIKELY(session_id.IsEmpty())) in NewSessionCallback()
238 if (UNLIKELY(maybe_callback_result.IsEmpty())) { in SelectALPNCallback()
306 if (UNLIKELY(obj.IsEmpty())) in TLSExtStatusCallback()
608 if (UNLIKELY(has_active_write_issued_by_prev_listener_)) { in EncOut()
686 if (UNLIKELY(has_active_write_issued_by_prev_listener_)) { in OnStreamAfterWrite()
809 if (UNLIKELY(context.IsEmpty())) return; in ClearOut()
813 if (UNLIKELY(messag in ClearOut()
[all...]
H A Dcrypto_pbkdf2.cc70 if (UNLIKELY(!pass.CheckSizeInt32())) { in AdditionalConfig()
75 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
H A Dcrypto_hmac.cc108 if (UNLIKELY(size > INT_MAX)) in HmacUpdate()
203 if (UNLIKELY(!data.CheckSizeInt32())) { in AdditionalConfig()
213 if (UNLIKELY(!signature.CheckSizeInt32())) { in AdditionalConfig()
H A Dcrypto_hkdf.cc72 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
76 if (UNLIKELY(!info.CheckSizeInt32())) { in AdditionalConfig()
H A Dcrypto_scrypt.cc67 if (UNLIKELY(!pass.CheckSizeInt32())) { in AdditionalConfig()
72 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
H A Dcrypto_cipher.cc537 if (UNLIKELY(key_buf.size() > INT_MAX)) in Init()
543 if (UNLIKELY(!iv_buf.CheckSizeInt32())) in Init()
687 if (UNLIKELY(!auth_tag.CheckSizeInt32())) in Init()
784 if (UNLIKELY(!buf.CheckSizeInt32())) in Init()
856 if (UNLIKELY(size > INT_MAX)) in Init()
1052 if (UNLIKELY(!buf.CheckSizeInt32())) in Init()
1095 if (UNLIKELY(!oaep_label.CheckSizeInt32())) in Init()
H A Dcrypto_dh.cc269 if (UNLIKELY(!arg0.CheckSizeInt32())) in New()
277 if (UNLIKELY(!arg1.CheckSizeInt32())) in New()
397 if (UNLIKELY(!key_buf.CheckSizeInt32())) in ComputeSecret()
453 if (UNLIKELY(!buf.CheckSizeInt32())) in SetKey()
531 if (UNLIKELY(!input.CheckSizeInt32())) { in AdditionalConfig()
H A Dcrypto_sig.cc381 if (UNLIKELY(size > INT_MAX)) in SignUpdate()
500 if (UNLIKELY(size > INT_MAX)) in VerifyUpdate()
551 if (UNLIKELY(!hbuf.CheckSizeInt32())) in VerifyFinal()
639 if (UNLIKELY(!data.CheckSizeInt32())) { in AdditionalConfig()
677 if (UNLIKELY(!signature.CheckSizeInt32())) { in AdditionalConfig()
H A Dcrypto_aes.cc351 if (UNLIKELY(!iv.CheckSizeInt32())) { in ValidateIV()
389 if (UNLIKELY(!tag_contents.CheckSizeInt32())) { in ValidateAuthTag()
424 if (UNLIKELY(!additional.CheckSizeInt32())) { in ValidateAdditionalData()
/third_party/python/Objects/
H A Dobmalloc.c748 # define UNLIKELY(value) __builtin_expect((value), 0) macro
751 # define UNLIKELY(value) (value) macro
1792 if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) { in pymalloc_pool_extend()
1817 if (UNLIKELY(usable_arenas == NULL)) { in allocate_from_new_pool()
1856 if (UNLIKELY(usable_arenas->nfreepools == 0)) { in allocate_from_new_pool()
1951 if (UNLIKELY(running_on_valgrind == -1)) { in pymalloc_alloc()
1954 if (UNLIKELY(running_on_valgrind)) { in pymalloc_alloc()
1959 if (UNLIKELY(nbytes == 0)) { in pymalloc_alloc()
1962 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) { in pymalloc_alloc()
1979 if (UNLIKELY((poo in pymalloc_alloc()
[all...]
/third_party/node/src/permission/
H A Dpermission.h25 if (UNLIKELY(!(env)->permission()->is_granted(perm_, resource_))) { \
H A Dfs_permission.cc221 if (UNLIKELY(per_process::enabled_debug_list.enabled( in Insert()
/third_party/node/src/quic/
H A Dpacket.cc110 if (UNLIKELY(!GetConstructorTemplate(env) in Create()
131 if (UNLIKELY(!GetConstructorTemplate(env()) in Clone()
/third_party/skia/src/core/
H A DSkTraceEventCommon.h203 #define UNLIKELY(exp) (__builtin_expect((exp) != 0, false)) macro
249 if (UNLIKELY(IsTagEnabled(HITRACE_TAG_GRAPHIC_AGP))) { \
/third_party/gn/src/gn/
H A Descape.cc62 if (UNLIKELY(buf_size > kStackStringBufferSize)) in StackOrHeapBuffer()
H A Dhash_table_base.h479 if (UNLIKELY(count_ * 4 >= size_ * 3)) { in UpdateAfterInsert()

Completed in 22 milliseconds

12