/arkcompiler/toolchain/tooling/ |
D | debugger_service.cpp | 45 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/ |
D | file_writer.cpp | 41 if (LIKELY(count_checksum_)) { in WriteByte() 54 if (LIKELY(count_checksum_)) { in WriteBytes()
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | ecma_list.h | 41 if (LIKELY(first_ != nullptr)) { in AddNode() 62 if (LIKELY(last_ != nullptr)) { in AddNodeToFront()
|
D | space.cpp | 146 if (LIKELY(!allocationCounter_.IsActive())) { in InvokeAllocationInspector()
|
D | allocator-inl.h | 93 if (LIKELY(ret != 0)) { in Allocate()
|
D | linear_space.cpp | 152 if (LIKELY(!allocationCounter_.IsActive())) { in InvokeAllocationInspector()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | class_info_extractor.cpp | 125 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 …]
|
D | method_literal.cpp | 91 if (LIKELY(methodName[0] != '#')) { in ParseFunctionName()
|
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
D | mutex.cpp | 142 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()
|
D | mutex.h | 150 if (LIKELY(cur_state >= UNLOCKED)) { in ReadLock() 183 if (LIKELY(cur_state > 0)) { in ReadUnlock()
|
D | fmutex.cpp | 187 if (LIKELY((HELPERS_TO_UNSIGNED(curState) & HELPERS_TO_UNSIGNED(HELD_MASK)) == 0)) { in MutexLock() 285 if (LIKELY(done)) { in MutexUnlock()
|
D | fmutex.h | 37 #define LIKELY(a) a macro
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | interpreter-inl.h | 2162 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 …]
|
D | interpreter_assembly.cpp | 2238 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/ |
D | ic_runtime_stub-inl.h | 89 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()
|
D | invoke_cache.cpp | 93 if (LIKELY(firstValue.IsJSFunction() && in Construct()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | ts_hclass_generator.cpp | 181 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/ |
D | file.h | 115 if (LIKELY(path.length() < _MAX_PATH)) { in GetExtendedFilePath()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | object_fast_operator-inl.h | 67 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()
|
D | js_thread.cpp | 344 if (LIKELY(!HasPendingException())) { in DoStackOverflowCheck() 359 if (!IsCrossThreadExecutionEnable() && LIKELY(!HasPendingException())) { in DoStackLimitCheck()
|
/arkcompiler/runtime_core/libpandabase/mem/ |
D | mmap_mem_pool-inl.h | 217 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/ |
D | ts_type_table_generator.cpp | 44 if (LIKELY(tsManager_->IsBuiltinsDTSEnabled())) { in GenerateBuiltinsTypeTable()
|
/arkcompiler/runtime_core/libpandabase/ |
D | macros.h | 137 #define LIKELY(exp) (__builtin_expect((exp) != 0, true)) // NOLINT(cppcoreguidelines-macro-usage) macro
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | json_parser.h | 308 if (LIKELY(isFastString)) { in ParseString() 486 if (LIKELY(isMatch)) { in ParseLiteral()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_lazy_callback.cpp | 223 if (LIKELY(!hclass->IsDictionaryMode())) { in ITERATE_INTL()
|