Home
last modified time | relevance | path

Searched refs:UNLIKELY (Results 1 – 25 of 50) sorted by relevance

12

/third_party/gn/src/base/
Dcompiler_specific.h42 #if !defined(UNLIKELY)
44 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
46 #define UNLIKELY(x) (x) macro
/third_party/node/src/
Dnode_context_data.h73 if (UNLIKELY(context.IsEmpty())) { in IsNodeContext()
76 if (UNLIKELY(context->GetNumberOfEmbedderDataFields() <= in IsNodeContext()
80 if (UNLIKELY(context->GetAlignedPointerFromEmbedderData( in IsNodeContext()
Dnode_realm-inl.h12 if (UNLIKELY(!isolate->InContext())) return nullptr; in GetCurrent()
18 if (UNLIKELY(!ContextEmbedderTag::IsNodeContext(context))) return nullptr; in GetCurrent()
66 if (UNLIKELY(it == map->end())) return nullptr; in GetBindingData()
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()
Dcares_wrap.cc893 if (UNLIKELY(response->is_host)) in Parse()
1060 if (UNLIKELY(response->is_host)) in Parse()
1094 if (UNLIKELY(response->is_host)) in Parse()
1128 if (UNLIKELY(response->is_host)) in Parse()
1150 if (UNLIKELY(response->is_host)) in Parse()
1173 if (UNLIKELY(response->is_host)) in Parse()
1196 if (UNLIKELY(response->is_host)) in Parse()
1219 if (UNLIKELY(response->is_host)) in Parse()
1241 if (UNLIKELY(response->is_host)) in Parse()
1263 if (UNLIKELY(response->is_host)) in Parse()
[all …]
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()
Dbase_object.cc29 if (UNLIKELY(has_pointer_data())) { in ~BaseObject()
/third_party/node/src/crypto/
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()
Dcrypto_spkac.cc45 if (UNLIKELY(!input.CheckSizeInt32())) in VerifySpkac()
81 if (UNLIKELY(!input.CheckSizeInt32())) in ExportPublicKey()
115 if (UNLIKELY(!input.CheckSizeInt32())) in ExportChallenge()
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()
268 if (UNLIKELY(obj.IsEmpty())) in TLSExtStatusCallback()
570 if (UNLIKELY(has_active_write_issued_by_prev_listener_)) { in EncOut()
648 if (UNLIKELY(has_active_write_issued_by_prev_listener_)) { in OnStreamAfterWrite()
771 if (UNLIKELY(context.IsEmpty())) return; in ClearOut()
775 if (UNLIKELY(message.IsEmpty())) return; in ClearOut()
777 if (UNLIKELY(error.IsEmpty())) return; in ClearOut()
[all …]
Dcrypto_pbkdf2.cc70 if (UNLIKELY(!pass.CheckSizeInt32())) { in AdditionalConfig()
75 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
Dcrypto_scrypt.cc67 if (UNLIKELY(!pass.CheckSizeInt32())) { in AdditionalConfig()
72 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
Dcrypto_hmac.cc108 if (UNLIKELY(size > INT_MAX)) in HmacUpdate()
203 if (UNLIKELY(!data.CheckSizeInt32())) { in AdditionalConfig()
213 if (UNLIKELY(!signature.CheckSizeInt32())) { in AdditionalConfig()
Dcrypto_hkdf.cc72 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
76 if (UNLIKELY(!info.CheckSizeInt32())) { in AdditionalConfig()
Dcrypto_cipher.cc536 if (UNLIKELY(key_buf.size() > INT_MAX)) in Init()
542 if (UNLIKELY(!iv_buf.CheckSizeInt32())) in Init()
686 if (UNLIKELY(!auth_tag.CheckSizeInt32())) in Init()
783 if (UNLIKELY(!buf.CheckSizeInt32())) in Init()
855 if (UNLIKELY(size > INT_MAX)) in Init()
1051 if (UNLIKELY(!buf.CheckSizeInt32())) in Init()
1067 if (UNLIKELY(!oaep_label.CheckSizeInt32())) in Init()
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()
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()
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/cef/include/base/
Dcef_compiler_specific.h263 #if !defined(UNLIKELY)
265 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro
267 #define UNLIKELY(x) (x) macro
/third_party/libffi/src/
Dprep_cif.c41 if (UNLIKELY(arg == NULL || arg->elements == NULL)) in initialize_aggregate()
49 if (UNLIKELY(ptr == 0)) in initialize_aggregate()
54 if (UNLIKELY(((*ptr)->size == 0) in initialize_aggregate()
/third_party/python/Objects/
Dobmalloc.c716 # define UNLIKELY(value) __builtin_expect((value), 0) macro
719 # define UNLIKELY(value) (value) macro
1745 if (UNLIKELY(pool->nextoffset <= pool->maxnextoffset)) { in pymalloc_pool_extend()
1770 if (UNLIKELY(usable_arenas == NULL)) { in allocate_from_new_pool()
1809 if (UNLIKELY(usable_arenas->nfreepools == 0)) { in allocate_from_new_pool()
1904 if (UNLIKELY(running_on_valgrind == -1)) { in pymalloc_alloc()
1907 if (UNLIKELY(running_on_valgrind)) { in pymalloc_alloc()
1912 if (UNLIKELY(nbytes == 0)) { in pymalloc_alloc()
1915 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) { in pymalloc_alloc()
1932 if (UNLIKELY((pool->freeblock = *(block **)bp) == NULL)) { in pymalloc_alloc()
[all …]
/third_party/node/src/permission/
Dpermission.h25 if (UNLIKELY(!(env)->permission()->is_granted(perm_, resource_))) { \
/third_party/libffi/include/
Dffi_common.h147 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
/third_party/node/src/quic/
Dpacket.cc110 if (UNLIKELY(!GetConstructorTemplate(env) in Create()
131 if (UNLIKELY(!GetConstructorTemplate(env()) in Clone()
/third_party/gn/src/gn/
Dhash_table_base.h479 if (UNLIKELY(count_ * 4 >= size_ * 3)) { in UpdateAfterInsert()

12