/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_manager_helper.cpp | 212 JSHandle<JSTaggedValue> resolution = in UpdateBindingAndGetModuleValue() local 214 // ii. If resolution is null or "ambiguous", throw a SyntaxError exception. in UpdateBindingAndGetModuleValue() 215 if (resolution->IsNull() || resolution->IsString()) { in UpdateBindingAndGetModuleValue() 220 CString msg = "the requested module '" + requestMod + SourceTextModule::GetResolveErrorReason(resolution) + in UpdateBindingAndGetModuleValue() 227 // in.[[LocalName]], resolution.[[Module]], resolution.[[BindingName]]). in UpdateBindingAndGetModuleValue() 228 environment->Set(thread, index, resolution); in UpdateBindingAndGetModuleValue() 229 ASSERT(resolution->IsResolvedIndexBinding()); in UpdateBindingAndGetModuleValue() 230 ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolution in UpdateBindingAndGetModuleValue() [all...] |
H A D | js_module_source_text.cpp | 178 JSHandle<JSTaggedValue> resolution(thread, JSTaggedValue::Hole()); in ResolveExportObject() 186 resolution = ResolveElementOfObject(thread, jsHclass, exportName, module); in ResolveExportObject() 192 resolution = JSHandle<JSTaggedValue>::Cast(factory->NewResolvedIndexBindingRecord(module, entry)); in ResolveExportObject() 195 if (!resolution->IsUndefined()) { in ResolveExportObject() 196 return resolution; in ResolveExportObject() 250 JSHandle<JSTaggedValue> resolution = ResolveLocalExport(thread, localExportEntriesTv, exportName, module); in ResolveExport() local 251 if (!resolution->IsUndefined()) { in ResolveExport() 252 return resolution; in ResolveExport() 258 JSHandle<JSTaggedValue> resolution = ResolveIndirectExport(thread, indirectExportEntriesTv, in ResolveExport() local 261 if (!resolution in ResolveExport() 732 JSHandle<JSTaggedValue> resolution = ModuleDeclarationEnvironmentSetup() local 829 JSHandle<JSTaggedValue> resolution = ModuleDeclarationArrayEnvironmentSetup() local 879 JSHandle<JSTaggedValue> resolution = GetModuleNamespace() local 1416 JSTaggedValue resolution = FindByExport(exportEntriesTv, key, dictionary); GetModuleValue() local 1552 JSHandle<JSTaggedValue> resolution; GetStarResolution() local 1723 JSHandle<JSTaggedValue> resolution = CheckResolvedBinding() local 1762 JSHandle<JSTaggedValue> resolution = CheckResolvedIndexBinding() local [all...] |
H A D | js_module_source_text.h | 186 inline static CString GetResolveErrorReason(const JSHandle<JSTaggedValue> &resolution) in GetResolveErrorReason() argument 188 ASSERT(resolution->IsNull() || resolution->IsString()); in GetResolveErrorReason() 189 return resolution->IsNull() ? "' does not provide an export name '" in GetResolveErrorReason()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_promise_handler.cpp | 51 // 6. If SameValue(resolution, promise) is true, then in Resolve() 54 JSHandle<JSTaggedValue> resolution = BuiltinsBase::GetCallArg(argv, 0); in Resolve() local 55 if (JSTaggedValue::SameValue(resolution.GetTaggedValue(), resolvePromise.GetTaggedValue())) { in Resolve() 57 "Resolve: The promise and resolution cannot be the same.", StackCheck::NO); in Resolve() 61 // 7. If Type(resolution) is not Object, then in Resolve() 62 // a. Return FulfillPromise(promise, resolution). in Resolve() 63 if (!resolution.GetTaggedValue().IsECMAObject()) { in Resolve() 64 JSPromise::FulfillPromise(thread, resolvePromise, resolution); in Resolve() 67 // 8. Let then be Get(resolution, "then"). in Resolve() 71 JSHandle<JSTaggedValue> thenValue = JSObject::GetProperty(thread, resolution, thenKe in Resolve() [all...] |
/arkcompiler/ets_runtime/ecmascript/module/tests/ |
H A D | ecma_module_test.cpp | 2050 JSHandle<JSTaggedValue> resolution = in HWTEST_F_L0() local 2052 envRec->Set(thread, 0, resolution); in HWTEST_F_L0() 2062 JSTaggedValue res2 = ModuleTools::ProcessModuleLoadInfo(thread, module1, resolution.GetTaggedValue(), 0); in HWTEST_F_L0() 2095 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast( in HWTEST_F_L0() local 2097 envRec->Set(thread, 0, resolution); in HWTEST_F_L0() 2103 JSTaggedValue res1 = ModuleTools::ProcessModuleLoadInfo(thread, module1, resolution.GetTaggedValue(), 0); in HWTEST_F_L0() 3431 JSHandle<JSTaggedValue> resolution = in HWTEST_F_L0() local 3433 envRec->Set(thread, 0, resolution); in HWTEST_F_L0() 3466 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast(recordIndexBinding); in HWTEST_F_L0() local 3467 envRec->Set(thread, 0, resolution); in HWTEST_F_L0() 3493 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast(nameBinding); HWTEST_F_L0() local 3517 JSHandle<JSTaggedValue> resolution = HWTEST_F_L0() local 3552 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast(recordIndexBinding); HWTEST_F_L0() local 3579 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast(nameBinding); HWTEST_F_L0() local 3606 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast(nameBinding); HWTEST_F_L0() local 3630 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast(nameBinding); HWTEST_F_L0() local 3661 JSHandle<JSTaggedValue> resolution = JSHandle<JSTaggedValue>::Cast( HWTEST_F_L0() local [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/napi_impl/detail/ |
H A D | enumerate_napi.h | 48 FN_MACRO(napi_resolve_deferred, napi_env, env, napi_deferred, deferred, napi_value, resolution) \
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/ |
H A D | ets_napi.h | 436 ets_status (*DeferredResolve)(EtsEnv *env, ets_deferred deferred, ets_object resolution); 1527 ets_status DeferredResolve(ets_deferred deferred, ets_object resolution) in DeferredResolve() 1529 return native_interface->DeferredResolve(this, deferred, resolution); in DeferredResolve()
|
H A D | ets_napi_native_interface.cpp | 2735 NO_UB_SANITIZE static ets_status DeferredResolve(EtsEnv *env, ets_deferred deferred, ets_object resolution) in DeferredResolve() argument 2740 CHECK_ARG(env, resolution); in DeferredResolve() 2744 EtsObject *value = s.ToInternalType(resolution); in DeferredResolve()
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
H A D | cocos_worker_test.js | 9112 2200: "Design resolution not valid", 20583 get resolution() { 20679 get resolution() { 20680 return Lo.resolution; 27654 this.logoMat.setProperty("resolution", Sg.set(n, r), 0); [all...] |