/third_party/gn/src/base/ |
D | compiler_specific.h | 42 #if !defined(UNLIKELY) 44 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 46 #define UNLIKELY(x) (x) macro
|
/third_party/node/src/ |
D | node_context_data.h | 73 if (UNLIKELY(context.IsEmpty())) { in IsNodeContext() 76 if (UNLIKELY(context->GetNumberOfEmbedderDataFields() <= in IsNodeContext() 80 if (UNLIKELY(context->GetAlignedPointerFromEmbedderData( in IsNodeContext()
|
D | node_realm-inl.h | 12 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()
|
D | debug_utils-inl.h | 140 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()
|
D | cares_wrap.cc | 893 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 …]
|
D | env-inl.h | 98 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()
|
D | base_object.cc | 29 if (UNLIKELY(has_pointer_data())) { in ~BaseObject()
|
/third_party/node/src/crypto/ |
D | crypto_hash.cc | 151 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()
|
D | crypto_spkac.cc | 45 if (UNLIKELY(!input.CheckSizeInt32())) in VerifySpkac() 81 if (UNLIKELY(!input.CheckSizeInt32())) in ExportPublicKey() 115 if (UNLIKELY(!input.CheckSizeInt32())) in ExportChallenge()
|
D | crypto_tls.cc | 123 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 …]
|
D | crypto_pbkdf2.cc | 70 if (UNLIKELY(!pass.CheckSizeInt32())) { in AdditionalConfig() 75 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
|
D | crypto_scrypt.cc | 67 if (UNLIKELY(!pass.CheckSizeInt32())) { in AdditionalConfig() 72 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig()
|
D | crypto_hmac.cc | 108 if (UNLIKELY(size > INT_MAX)) in HmacUpdate() 203 if (UNLIKELY(!data.CheckSizeInt32())) { in AdditionalConfig() 213 if (UNLIKELY(!signature.CheckSizeInt32())) { in AdditionalConfig()
|
D | crypto_hkdf.cc | 72 if (UNLIKELY(!salt.CheckSizeInt32())) { in AdditionalConfig() 76 if (UNLIKELY(!info.CheckSizeInt32())) { in AdditionalConfig()
|
D | crypto_cipher.cc | 536 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()
|
D | crypto_dh.cc | 269 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()
|
D | crypto_sig.cc | 381 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()
|
D | crypto_aes.cc | 351 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/ |
D | cef_compiler_specific.h | 263 #if !defined(UNLIKELY) 265 #define UNLIKELY(x) __builtin_expect(!!(x), 0) macro 267 #define UNLIKELY(x) (x) macro
|
/third_party/libffi/src/ |
D | prep_cif.c | 41 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/ |
D | obmalloc.c | 716 # 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/ |
D | permission.h | 25 if (UNLIKELY(!(env)->permission()->is_granted(perm_, resource_))) { \
|
/third_party/libffi/include/ |
D | ffi_common.h | 147 #define UNLIKELY(x) __builtin_expect((x)!=0,0) macro
|
/third_party/node/src/quic/ |
D | packet.cc | 110 if (UNLIKELY(!GetConstructorTemplate(env) in Create() 131 if (UNLIKELY(!GetConstructorTemplate(env()) in Clone()
|
/third_party/gn/src/gn/ |
D | hash_table_base.h | 479 if (UNLIKELY(count_ * 4 >= size_ * 3)) { in UpdateAfterInsert()
|