Home
last modified time | relevance | path

Searched refs:LIKELY (Results 1 – 25 of 34) sorted by relevance

12

/arkcompiler/toolchain/tooling/
Ddebugger_service.cpp45 if (LIKELY(handler != nullptr)) { in WaitForDebugger()
53 if (LIKELY(handler != nullptr)) { in OnMessage()
61 if (LIKELY(handler != nullptr)) { in ProcessMessage()
69 if (LIKELY(handler != nullptr)) { in GetDispatchStatus()
/arkcompiler/runtime_core/libpandafile/
Dfile_writer.cpp41 if (LIKELY(count_checksum_)) { in WriteByte()
54 if (LIKELY(count_checksum_)) { in WriteBytes()
/arkcompiler/ets_runtime/ecmascript/mem/
Decma_list.h41 if (LIKELY(first_ != nullptr)) { in AddNode()
62 if (LIKELY(last_ != nullptr)) { in AddNodeToFront()
Dspace.cpp146 if (LIKELY(!allocationCounter_.IsActive())) { in InvokeAllocationInspector()
Dallocator-inl.h93 if (LIKELY(ret != 0)) { in Allocate()
Dlinear_space.cpp152 if (LIKELY(!allocationCounter_.IsActive())) { in InvokeAllocationInspector()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp125 if (LIKELY(firstValue->IsString())) { in ExtractAndReturnWhetherWithElements()
152 if (LIKELY(!keysHasNameFlag)) { in ExtractAndReturnWhetherWithElements()
188 if (LIKELY(length <= PropertyAttributes::MAX_CAPACITY_OF_PROPERTIES)) { in CreatePrototypeHClass()
244 if (LIKELY(length <= PropertyAttributes::MAX_CAPACITY_OF_PROPERTIES)) { in CreateConstructorHClass()
256 if (LIKELY(properties->Get(NAME_INDEX).IsString())) { in CreateConstructorHClass()
302 if (LIKELY(!constructorHClass->IsDictionaryMode())) { in CorrectConstructorHClass()
357 if (LIKELY(!prototypeHClass->IsDictionaryMode())) { in DefineClassFromExtractor()
383 if (LIKELY(!constructorHClass->IsDictionaryMode())) { in DefineClassFromExtractor()
444 if (LIKELY(!prototype->GetJSHClass()->IsDictionaryMode())) { in DefineClassWithIHClass()
471 if (LIKELY(!constructorHClass->IsDictionaryMode())) { in DefineClassWithIHClass()
[all …]
Dmethod_literal.cpp91 if (LIKELY(methodName[0] != '#')) { in ParseFunctionName()
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
Dmutex.cpp142 if (LIKELY(cur_state == UNLOCKED)) { in WriteLock()
226 if (LIKELY(cur_state == UNLOCKED)) { in TryWriteLock()
258 if (LIKELY(cur_state == WRITE_LOCKED)) { in WriteUnlock()
266 if (LIKELY(done)) { in WriteUnlock()
Dmutex.h150 if (LIKELY(cur_state >= UNLOCKED)) { in ReadLock()
183 if (LIKELY(cur_state > 0)) { in ReadUnlock()
Dfmutex.cpp187 if (LIKELY((HELPERS_TO_UNSIGNED(curState) & HELPERS_TO_UNSIGNED(HELD_MASK)) == 0)) { in MutexLock()
285 if (LIKELY(done)) { in MutexUnlock()
Dfmutex.h37 #define LIKELY(a) a macro
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter-inl.h2162 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal()
2166 if (LIKELY(!instOfHandler.IsHole())) { in RunInternal()
2181 if (LIKELY(!res.IsHole())) { in RunInternal()
2481 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal()
2492 if (LIKELY(!res.IsHole())) { in RunInternal()
2544 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal()
2555 if (LIKELY(!res.IsHole())) { in RunInternal()
2852 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal()
2856 if (LIKELY(!res.IsHole())) { in RunInternal()
2926 if (LIKELY(firstValue.IsHeapObject())) { in RunInternal()
[all …]
Dinterpreter_assembly.cpp2238 if (LIKELY(firstValue.IsHeapObject())) { in HandleStobjbyvalueImm8V8V8()
2249 if (LIKELY(!res.IsHole())) { in HandleStobjbyvalueImm8V8V8()
2555 if (LIKELY(firstValue.IsHeapObject())) { in HandleStobjbynameImm8Id16V8()
2559 if (LIKELY(!res.IsHole())) { in HandleStobjbynameImm8Id16V8()
3045 if (LIKELY(firstValue.IsHeapObject())) { in HandleStobjbyvalueImm16V8V8()
3056 if (LIKELY(!res.IsHole())) { in HandleStobjbyvalueImm16V8V8()
3402 if (LIKELY(receiver.IsHeapObject())) { in HandleWideLdobjbyindexPrefImm32()
4083 if (LIKELY(receiver.IsHeapObject())) { in HandleDeprecatedLdobjbynamePrefId32V8()
4257 if (LIKELY(receiver.IsHeapObject())) { in HandleDeprecatedLdobjbyindexPrefV8Imm32()
4308 if (LIKELY(receiver.IsHeapObject())) { in HandleDeprecatedLdobjbyvaluePrefV8V8()
[all …]
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime_stub-inl.h89 if (LIKELY(receiver.IsHeapObject())) { in TryLoadICByName()
91 if (LIKELY(firstValue.GetWeakReferentUnChecked() == hclass)) { in TryLoadICByName()
404 if (LIKELY(handler.IsInt())) { in LoadICWithHandler()
406 if (LIKELY(HandlerBase::IsField(handlerInfo))) { in LoadICWithHandler()
496 if (LIKELY(key.IsInt())) { in TryToElementsIndex()
Dinvoke_cache.cpp93 if (LIKELY(firstValue.IsJSFunction() && in Construct()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dts_hclass_generator.cpp181 if (LIKELY(numOfProps <= PropertyAttributes::MAX_CAPACITY_OF_PROPERTIES)) { in CreateIHClass()
218 if (LIKELY(numOfProps <= PropertyAttributes::MAX_CAPACITY_OF_PROPERTIES)) { in CreatePHClass()
293 if (LIKELY(numOfProps <= PropertyAttributes::MAX_CAPACITY_OF_PROPERTIES)) { in CreateCHClass()
/arkcompiler/runtime_core/platforms/windows/libpandabase/
Dfile.h115 if (LIKELY(path.length() < _MAX_PATH)) { in GetExtendedFilePath()
/arkcompiler/ets_runtime/ecmascript/
Dobject_fast_operator-inl.h67 if (LIKELY(!hclass->IsDictionaryMode())) { in GetPropertyByName()
137 if (LIKELY(!hclass->IsDictionaryMode())) { in SetPropertyByName()
343 if (LIKELY(index >= 0)) { in GetPropertyByValue()
370 if (LIKELY(index >= 0)) { in SetPropertyByValue()
752 if (LIKELY(key.IsInt())) { in TryToElementsIndex()
Djs_thread.cpp344 if (LIKELY(!HasPendingException())) { in DoStackOverflowCheck()
359 if (!IsCrossThreadExecutionEnable() && LIKELY(!HasPendingException())) { in DoStackLimitCheck()
/arkcompiler/runtime_core/libpandabase/mem/
Dmmap_mem_pool-inl.h217 if (LIKELY(compiler_space_max_size_ >= compiler_space_current_size_ + size)) { in AllocRawMemCompilerImpl()
231 if (LIKELY(internal_space_max_size_ >= internal_space_current_size_ + size)) { in AllocRawMemInternalImpl()
245 if (LIKELY(code_space_max_size_ >= code_space_current_size_ + size)) { in AllocRawMemCodeImpl()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_table_generator.cpp44 if (LIKELY(tsManager_->IsBuiltinsDTSEnabled())) { in GenerateBuiltinsTypeTable()
/arkcompiler/runtime_core/libpandabase/
Dmacros.h137 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) // NOLINT(cppcoreguidelines-macro-usage) macro
/arkcompiler/ets_runtime/ecmascript/base/
Djson_parser.h308 if (LIKELY(isFastString)) { in ParseString()
486 if (LIKELY(isMatch)) { in ParseLiteral()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.cpp223 if (LIKELY(!hclass->IsDictionaryMode())) { in ITERATE_INTL()

12