Home
last modified time | relevance | path

Searched refs:LIKELY (Results 1 - 25 of 108) sorted by relevance

12345

/arkcompiler/toolchain/tooling/
H A Ddebugger_service.cpp57 if (LIKELY(handler != nullptr)) { in WaitForDebugger()
69 if (LIKELY(handler != nullptr)) { in OnMessage()
81 if (LIKELY(handler != nullptr)) { in ProcessMessage()
93 if (LIKELY(handler != nullptr)) { in GetDispatchStatus()
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dclass_linker-inl.h41 if (LIKELY(klass != nullptr)) { in GetClass()
64 if (LIKELY(cls != nullptr)) { in GetLoadedClass()
69 if (LIKELY(cls != nullptr)) { in GetLoadedClass()
/arkcompiler/runtime_core/libpandafile/
H A Dfile_writer.cpp41 if (LIKELY(count_checksum_)) { in WriteByte()
54 if (LIKELY(count_checksum_)) { in WriteBytes()
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/
H A Dmutex.cpp160 if (LIKELY(curState == UNLOCKED)) { in WriteLock()
236 if (LIKELY(curState == UNLOCKED)) { in TryWriteLock()
268 if (LIKELY(curState == WRITE_LOCKED)) { in WriteUnlock()
276 if (LIKELY(done)) { in WriteUnlock()
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/
H A 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()
H A Dfmutex.cpp187 if (LIKELY((HELPERS_TO_UNSIGNED(curState) & HELPERS_TO_UNSIGNED(HELD_MASK)) == 0)) { in MutexLock()
285 if (LIKELY(done)) { in MutexUnlock()
H A Dmutex.h150 if (LIKELY(cur_state >= UNLOCKED)) { in ACQUIRE_SHARED()
183 if (LIKELY(cur_state > 0)) { in RELEASE_SHARED()
/arkcompiler/runtime_core/static_core/libpandabase/taskmanager/utils/
H A Dsp_mc_lock_free_queue.h127 if (LIKELY(GetPopUserCount() == 0)) { in TryDeleteRetiredPtrs()
205 if (LIKELY(head_.compare_exchange_strong(currentHead, nextHead, std::memory_order_acq_rel))) { in CompareAndSetNextHead()
355 if (LIKELY(CompareAndSetNextHead(currentHead, val, consumerId))) {
363 if (LIKELY(CompareAndSetNextHead(currentHead, val, consumerId))) {
H A Dtask_selector.cpp58 if (LIKELY(!taskQueues_.at(id)->IsEmpty())) { in SelectQueue()
/arkcompiler/ets_runtime/ecmascript/mem/
H A Decma_list.h41 if (LIKELY(first_ != nullptr)) { in AddNode()
62 if (LIKELY(last_ != nullptr)) { in AddNodeToFront()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
H A Dinterop_stacks.h57 if (LIKELY(curAddr_ > startAddr_)) { in PopRecord()
83 if (LIKELY(curAddr_ < endAddr_)) { in Alloc()
H A Djs_refconvert.h85 if (LIKELY(entry->klass == klass)) { in Lookup()
152 if (LIKELY(conv != nullptr)) { in JSRefConvertResolve()
H A Djs_refconvert_array.h155 if (LIKELY(etsElem != nullptr)) { in WrapImpl()
222 if (LIKELY(!IsNullOrUndefined(env, jsElem))) { in UnwrapImpl()
243 if (LIKELY(baseElemConv_ != nullptr)) { in GetElemConvertor()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
H A Dets_method_set.h57 if (LIKELY(parametersNum < entries_.size())) { in GetMethod()
58 if (LIKELY(entries_[parametersNum] != nullptr)) { in GetMethod()
H A Dets_class_wrapper.cpp58 if (LIKELY(storage->HasReference(etsObject))) { in Wrap()
82 if (LIKELY(sharedRef != nullptr)) { in Unwrap()
92 if (LIKELY(HasBuiltin())) { in Unwrap()
114 if (LIKELY(sharedRef != nullptr)) { in UnwrapEtsProxy()
214 if (LIKELY(etsClassWrapper != nullptr)) { in Get()
565 if (LIKELY(etsObject != nullptr)) { in JSCtorCallback()
607 if (LIKELY(notExtensible)) { in CreateAndWrap()
627 if (LIKELY(notExtensible)) { in CreateAndWrap()
/arkcompiler/runtime_core/static_core/runtime/interpreter/
H A Druntime_interface.cpp32 if (LIKELY(klass->IsInstantiable())) { in CreateObject()
H A Dinterpreter-inl.h327 if (LIKELY(type != nullptr)) { in HandleLdaType()
1726 if (LIKELY(CheckLoadArrayOp(array, idx))) { in HandleLdarrObj()
1847 if (LIKELY(klass != nullptr)) { in HandleNewarr()
1872 if (LIKELY(klass != nullptr)) { in HandleNewobj()
1876 if (LIKELY(obj != nullptr)) { in HandleNewobj()
1937 if (LIKELY(field != nullptr)) { in HandleLdobj()
1963 if (LIKELY(field != nullptr)) { in HandleLdobjWide()
1989 if (LIKELY(field != nullptr)) { in HandleLdobjObj()
2018 if (LIKELY(field != nullptr)) { in HandleLdobjV()
2046 if (LIKELY(fiel in HandleLdobjVWide()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_class_linker.cpp58 return LIKELY(cls != nullptr) ? EtsClass::FromRuntimeClass(cls) : nullptr; in GetClass()
65 return LIKELY(cls != nullptr) ? EtsClass::FromRuntimeClass(cls) : nullptr; in GetClass()
H A Dets_exceptions.cpp113 if (LIKELY(!coroutine->HasPendingException())) { in SetupEtsException()
132 if (LIKELY(exc != nullptr)) { in ThrowEtsException()
H A Dets_stubs-inl.h45 if (LIKELY(!(ref1->GetClass()->IsValueTyped() && ref2->GetClass()->IsValueTyped()))) { in EtsReferenceEquals()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
H A Dclass_info_extractor.cpp147 if (LIKELY(firstValue->IsString())) { in ExtractAndReturnWhetherWithElements()
174 if (LIKELY(!keysHasNameFlag)) { in ExtractAndReturnWhetherWithElements()
206 if (LIKELY(length <= PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) { in CreatePrototypeHClass()
256 if (LIKELY(length <= PropertyAttributes::MAX_FAST_PROPS_CAPACITY)) { in CreateConstructorHClass()
268 if (LIKELY(properties->Get(NAME_INDEX).IsString())) { in CreateConstructorHClass()
348 if (LIKELY(length + extraLength <= maxInline)) { in CreateSendableHClass()
411 if (LIKELY(!prototypeHClass->IsDictionaryMode())) { in DefineClassFromExtractor()
435 if (LIKELY(!constructorHClass->IsDictionaryMode())) { in DefineClassFromExtractor()
517 if (LIKELY(!prototype->GetJSHClass()->IsDictionaryMode())) { in DefineClassWithIHClass()
542 if (LIKELY(!constructorHClas in DefineClassWithIHClass()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Dmutator_lock.cpp82 if (LIKELY(curCount > 0)) { in Wait()
/arkcompiler/runtime_core/static_core/runtime/mem/
H A Dregion_allocator-inl.h81 if (LIKELY(region != nullptr)) { in CreateAndSetUpNewRegion()
155 if (LIKELY(region != nullptr)) { in AllocRegular()
180 if (LIKELY(regionTo != nullptr)) { in AllocRegular()
212 if (LIKELY(regionTo != nullptr)) { in AllocRegularPinned()
235 LIKELY(alignSize <= GetMaxRegularObjectSize())) { in Alloc()
245 if (LIKELY(region != nullptr)) { in Alloc()
306 if (LIKELY(region != nullptr)) { in CreateTLAB()
331 if (LIKELY(region != nullptr)) { in CreateRegionSizeTLAB()
674 if (LIKELY(mem != nullptr)) { in NewRegionAndRetryAlloc()
703 if (LIKELY(regio in Alloc()
[all...]
/arkcompiler/ets_runtime/ecmascript/base/
H A Darray_helper.cpp30 if (LIKELY(fromIndexValue >= 0)) { in GetStartIndex()
40 if (LIKELY(startIndexHandle->IsInt())) { in GetStartIndex()
68 if (LIKELY(fromIndexValue >= 0)) { in GetLastStartIndex()
78 if (LIKELY(startIndexHandle->IsInt())) { in GetLastStartIndex()
/arkcompiler/runtime_core/static_core/libpandabase/
H A Dtask_runner.h113 if (LIKELY(callbackOnSuccess_)) { in AddOnSuccess()
124 if (LIKELY(callbackOnFail_)) { in AddOnFail()

Completed in 17 milliseconds

12345