Home
last modified time | relevance | path

Searched defs:coro (Results 1 – 25 of 103) sorted by relevance

12345

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_promise.h76 EtsObjectArray *GetCallbackQueue(EtsCoroutine *coro) const in GetCallbackQueue()
82 void SetCallbackQueue(EtsCoroutine *coro, EtsObjectArray *callbackQueue) in SetCallbackQueue()
87 EtsIntArray *GetLaunchModeQueue(EtsCoroutine *coro) const in GetLaunchModeQueue()
93 void SetLaunchModeQueue(EtsCoroutine *coro, EtsIntArray *launchModeQueue) in SetLaunchModeQueue()
129 EtsObject *GetInteropObject(EtsCoroutine *coro) const in GetInteropObject()
135 void SetInteropObject(EtsCoroutine *coro, EtsObject *o) in SetInteropObject()
141 EtsObject *GetLinkedPromise(EtsCoroutine *coro) const in GetLinkedPromise()
147 void SetLinkedPromise(EtsCoroutine *coro, EtsObject *p) in SetLinkedPromise()
163 EtsMutex *GetMutex(EtsCoroutine *coro) const in GetMutex()
169 void SetMutex(EtsCoroutine *coro, EtsMutex *mutex) in SetMutex()
[all …]
Dets_error.h42 static Error *Create(EtsCoroutine *coro, EtsClass *klass) in Create()
62 void SetName(EtsCoroutine *coro, EtsString *name) in SetName()
68 void SetMessage(EtsCoroutine *coro, EtsString *msg) in SetMessage()
74 void SetStack(EtsCoroutine *coro, EtsString *stack) in SetStack()
80 void SetStackLines(EtsCoroutine *coro, EtsTypedObjectArray<EtsStackTraceElement> *stackLines) in SetStackLines()
113 static EtsOutOfMemoryError *Create(EtsCoroutine *coro) in Create()
Dets_job.h78 EtsMutex *GetMutex(EtsCoroutine *coro) in GetMutex()
84 void SetMutex(EtsCoroutine *coro, EtsMutex *mutex) in SetMutex()
90 EtsEvent *GetEvent(EtsCoroutine *coro) in GetEvent()
96 void SetEvent(EtsCoroutine *coro, EtsEvent *event) in SetEvent()
102 EtsObject *GetValue(EtsCoroutine *coro) in GetValue()
153 void Finish(EtsCoroutine *coro, EtsObject *value) in Finish()
163 void Fail(EtsCoroutine *coro, EtsObject *error) in Fail()
Dets_box_primitive-inl.h25 EtsBoxPrimitive<T> *EtsBoxPrimitive<T>::Create(EtsCoroutine *coro, T value) in Create()
34 EtsClass *EtsBoxPrimitive<T>::GetEtsBoxClass(EtsCoroutine *coro) in GetEtsBoxClass()
62 Class *EtsBoxPrimitive<T>::GetBoxClass(EtsCoroutine *coro) in GetBoxClass()
Dets_finalizable_weak_ref_list.h28 void Push(EtsCoroutine *coro, Node *weakRef) in Push()
41 void Unlink(EtsCoroutine *coro, Node *weakRef) in Unlink()
59 void UnlinkClearedReferences(EtsCoroutine *coro) in UnlinkClearedReferences()
122 void SetHead(EtsCoroutine *coro, Node *weakRef) in SetHead()
Dets_sync_primitives.cpp25 EtsMutex *EtsMutex::Create(EtsCoroutine *coro) in Create()
69 auto *coro = EtsCoroutine::GetCurrent(); in Lock() local
93 EtsEvent *EtsEvent::Create(EtsCoroutine *coro) in Create()
111 auto *coro = EtsCoroutine::GetCurrent(); in Wait() local
131 EtsCondVar *EtsCondVar::Create(EtsCoroutine *coro) in Create()
147 auto *coro = EtsCoroutine::GetCurrent(); in Wait() local
174 EtsQueueSpinlock *EtsQueueSpinlock::Create(EtsCoroutine *coro) in Create()
Dets_promise_ref.h49 EtsObject *GetTarget(EtsCoroutine *coro) const in GetTarget()
55 void SetTarget(EtsCoroutine *coro, EtsObject *t) in SetTarget()
Dets_promise.cpp27 EtsPromise *EtsPromise::Create(EtsCoroutine *coro) in Create()
40 void EtsPromise::OnPromiseCompletion(EtsCoroutine *coro) in OnPromiseCompletion()
65 void EtsPromise::LaunchCallback(EtsCoroutine *coro, EtsObject *callback, CoroutineLaunchMode launch… in LaunchCallback()
Dets_sync_primitives.h60 EtsWaitersList *GetWaitersList(EtsCoroutine *coro) in GetWaitersList()
66 void SetWaitersList(EtsCoroutine *coro, EtsWaitersList *waitersList) in SetWaitersList()
79 auto *coro = EtsCoroutine::GetCurrent(); in SuspendCoroutine() local
97 auto *coro = EtsCoroutine::GetCurrent(); in ResumeCoroutine() local
Dets_job.cpp24 EtsJob *EtsJob::Create(EtsCoroutine *coro) in Create()
42 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in EtsJobFinish() local
62 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in EtsJobFail() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Dcode_scopes.h26 explicit InteropCodeScope(EtsCoroutine *coro, char const *descr = nullptr) : coro_(coro) in coro_() argument
55 …explicit InteropCodeScopeJS(EtsCoroutine *coro, char const *descr = nullptr) : codeScope_(coro, de… in codeScope_() argument
72 #define INTEROP_CODE_SCOPE_JS(coro) InteropCodeScopeJS codeScope(coro, __PRETTY_FUNCTION__) argument
75 #define INTEROP_CODE_SCOPE_ETS(coro) InteropCodeScopeETS codeScope(coro, __PRETTY_FUNCTION__) argument
Dintrinsics_api_impl.cpp54 auto coro = EtsCoroutine::GetCurrent(); in LoadJSModule() local
83 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeFinalizationRegistryCallback() local
95 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueDouble() local
106 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueBoolean() local
117 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueString() local
138 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueObject() local
173 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeIsJSValue() local
183 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeNewJSValueBigInt() local
215 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeGetValueString() local
240 auto coro = EtsCoroutine::GetCurrent(); in JSRuntimeGetValueObject() local
[all …]
Dintrinsics_api_impl.h90 auto coro = EtsCoroutine::GetCurrent(); in JSValueNamedGetter() local
112 auto coro = EtsCoroutine::GetCurrent(); in JSValueNamedSetter() local
129 auto coro = EtsCoroutine::GetCurrent(); in JSValueIndexedGetter() local
164 auto coro = EtsCoroutine::GetCurrent(); in JSValueIndexedSetter() local
184 auto coro = EtsCoroutine::GetCurrent(); in ConvertToLocal() local
206 auto coro = EtsCoroutine::GetCurrent(); in CompilerJSCallFunction() local
262 auto coro = EtsCoroutine::GetCurrent(); in ConvertFromLocal() local
Djs_job_queue.cpp39 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in ThenCallback() local
64 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in Post() local
105 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in OnJsPromiseCompleted() local
167 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in CreatePromiseLink() local
208 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in CreateLink() local
214 JsJobQueue::JsCallback *JsJobQueue::JsCallback::Create(EtsCoroutine *coro, const EtsObject *callbac… in Create()
225 auto *coro = EtsCoroutine::GetCurrent(); in Run() local
234 auto *coro = EtsCoroutine::GetCurrent(); in ~JsCallback() local
Djs_value.h72 static JSValue *CreateUndefined(EtsCoroutine *coro, InteropCtx *ctx) in CreateUndefined()
77 static JSValue *CreateNull(EtsCoroutine *coro, InteropCtx *ctx) in CreateNull()
87 static JSValue *CreateBoolean(EtsCoroutine *coro, InteropCtx *ctx, bool value) in CreateBoolean()
97 static JSValue *CreateNumber(EtsCoroutine *coro, InteropCtx *ctx, double value) in CreateNumber()
107 static JSValue *CreateString(EtsCoroutine *coro, InteropCtx *ctx, std::string &&value) in CreateString()
117 …static JSValue *CreateRefValue(EtsCoroutine *coro, InteropCtx *ctx, napi_value value, napi_valuety… in CreateRefValue()
206 static JSValue *AllocUndefined(EtsCoroutine *coro, InteropCtx *ctx) in AllocUndefined()
Dstack_info.cpp42 StackInfoManagerOhos::StackInfoManagerOhos(InteropCtx *ctx, EtsCoroutine *coro) : StackInfoManagerB… in StackInfoManagerOhos()
62 auto *coro = EtsCoroutine::GetCurrent(); in UpdateStackInfoIfNeeded() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_finalization_registry.cpp27 auto *coro = EtsCoroutine::GetCurrent(); in StdFinalizationRegistryRegisterInstance() local
37 auto *coro = EtsCoroutine::GetCurrent(); in StdFinalizationRegistryFinishCleanup() local
Dstd_core_AbcFile.cpp36 static EtsAbcFile *CreateAbcFile(EtsCoroutine *coro, ClassLinkerContext *ctx, in CreateAbcFile()
51 auto *coro = EtsCoroutine::GetCurrent(); in EtsAbcFileLoadAbcFile() local
99 auto *coro = EtsCoroutine::GetCurrent(); in EtsAbcFileLoadFromMemory() local
131 auto *coro = EtsCoroutine::GetCurrent(); in EtsAbcFileLoadClass() local
Dstd_core.cpp143 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in StdSystemScheduleCoroutine() local
172 auto *coro = EtsCoroutine::GetCurrent(); in StdSystemIsMainWorker() local
178 auto *coro = EtsCoroutine::GetCurrent(); in StdSystemWorkerHasExternalScheduler() local
187 auto *coro = EtsCoroutine::GetCurrent(); in StdSystemScaleWorkersPool() local
210 auto coro = EtsCoroutine::GetCurrent(); in StdSystemStopTaskpool() local
229 auto coro = EtsCoroutine::GetCurrent(); in StdSystemIncreaseTaskpoolWorkersToN() local
Descompat_ArrayBuffer.cpp34 static EtsHandle<EtsEscompatArrayBuffer> CreateArrayBuffer(EtsCoroutine *coro, EtsInt byteLength, in CreateArrayBuffer()
58 …tor<uint8_t> ConvertEtsStringToBytes(EtsString *strObj, EtsString *encodingObj, EtsCoroutine *coro, in ConvertEtsStringToBytes()
78 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in EtsStringBytesLength() local
97 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in EtsArrayBufferFromEncodedString() local
142 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in EtsArrayBufferFromBufferSlice() local
184 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in EtsArrayBufferToString() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dets_proxy.cpp31 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in GetETSFunction() local
61 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in GetETSClassImpl() local
80 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in CreateEtsRecordInstance() local
112 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in GetETSClass() local
126 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in FillExportedClasses() local
157 auto *coro = EtsCoroutine::GetCurrent(); in CopyNamedProperties() local
180 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in ProcessModuleRecursive() local
209 EtsCoroutine *coro = EtsCoroutine::GetCurrent(); in GetETSModule() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_stubs-inl.h30 ALWAYS_INLINE inline bool EtsReferenceNullish(EtsCoroutine *coro, EtsObject *ref) in EtsReferenceNullish()
36 ALWAYS_INLINE inline bool IsReferenceNullish(EtsCoroutine *coro, EtsObject *ref) in IsReferenceNullish()
43 ALWAYS_INLINE inline bool EtsReferenceEquals(EtsCoroutine *coro, EtsObject *ref1, EtsObject *ref2) in EtsReferenceEquals()
65 ALWAYS_INLINE inline EtsString *EtsReferenceTypeof(EtsCoroutine *coro, EtsObject *ref) in EtsReferenceTypeof()
70 ALWAYS_INLINE inline bool EtsIstrue(EtsCoroutine *coro, EtsObject *obj) in EtsIstrue()
76 inline EtsClass *GetMethodOwnerClassInFrames(EtsCoroutine *coro, uint32_t depth) in GetMethodOwnerClassInFrames()
92 ALWAYS_INLINE inline void IsValidByType(EtsCoroutine *coro, ark::Class *argClass, Field *metaField,… in IsValidByType()
106 ALWAYS_INLINE inline void IsValidAccessorByName(EtsCoroutine *coro, Field *metaField, Method *resol… in IsValidAccessorByName()
115 ALWAYS_INLINE inline void IsValidFieldByName(EtsCoroutine *coro, Field *metaField, Field *resolved,… in IsValidFieldByName()
362 ALWAYS_INLINE inline Method *ResolveCompatibleVMethodInClass(EtsCoroutine *coro, const ark::Class *… in ResolveCompatibleVMethodInClass()
[all …]
Dets_exceptions.cpp30 static EtsClass *GetExceptionClass(EtsCoroutine *coro, const char *classDescriptor) in GetExceptionClass()
46 static EtsObject *CreateExceptionInstance(EtsCoroutine *coro, EtsClass *cls, EtsHandle<EtsString> m… in CreateExceptionInstance()
75 static EtsObject *CreateErrorInstance(EtsCoroutine *coro, EtsClass *cls, EtsHandle<EtsString> msg, in CreateErrorInstance()
110 EtsObject *SetupEtsException(EtsCoroutine *coro, const char *classDescriptor, const char *msg) in SetupEtsException()
Dets_stubs.cpp93 bool EtsValueTypedEquals(EtsCoroutine *coro, EtsObject *obj1, EtsObject *obj2) in EtsValueTypedEquals()
161 [[maybe_unused]] static bool DbgIsBoxedNumericClass(EtsCoroutine *coro, EtsClass *cls) in DbgIsBoxedNumericClass()
168 EtsString *EtsGetTypeof(EtsCoroutine *coro, EtsObject *obj) in EtsGetTypeof()
217 bool EtsGetIstrue(EtsCoroutine *coro, EtsObject *obj) in EtsGetIstrue()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/helpers/
Dets_to_string_cache.cpp105 ToStringResult TryStore(EtsCoroutine *coro, EtsString *string, T number, Data oldData) in TryStore()
172 EtsClass *EtsToStringCacheElement<T>::GetClass(EtsCoroutine *coro) in GetClass()
192 EtsToStringCacheElement<T> *EtsToStringCacheElement<T>::Create(EtsCoroutine *coro, EtsHandle<EtsStr… in Create()
204 void EtsToStringCacheElement<T>::SetString(EtsCoroutine *coro, EtsString *string) in SetString()
267 EtsCoroutine *coro, T number, EtsToStringCacheElement<T> *elem, uint64_t cachedAsInt) in FinishUpdate()
302 …*, ToStringResult> EtsToStringCache<T, Derived, Hash>::GetOrCacheImpl(EtsCoroutine *coro, T number) in GetOrCacheImpl()
338 EtsString *EtsToStringCache<T, Derived, Hash>::CacheAndGetNoCheck(EtsCoroutine *coro, T number, Obj… in CacheAndGetNoCheck()
356 Derived *EtsToStringCache<T, Derived, Hash>::Create(EtsCoroutine *coro) in Create()
366 void EtsToStringCache<T, Derived, Hash>::StoreToCache(EtsCoroutine *coro, EtsHandle<EtsString> &str… in StoreToCache()

12345