/arkcompiler/ets_runtime/ecmascript/ |
D | object_factory-inl.h | 33 JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocNonMovableLineStringObject() 40 JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocLineStringObject() 47 JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocOldSpaceLineStringObject() 54 … JSHClass::Cast(thread_->GlobalConstants()->GetConstantStringClass().GetTaggedObject()), type)); in AllocConstantStringObject() 61 …JSHClass::Cast(thread_->GlobalConstants()->GetTreeStringClass().GetTaggedObject()), TreeEcmaString… in AllocTreeStringObject() 72 …auto jsNativePointerClass = JSHClass::Cast(thread_->GlobalConstants()->GetJSNativePointerClass().G… in NewJSNativePointer() 96 JSHClass::Cast(thread_->GlobalConstants()->GetEnvClass().GetTaggedObject()), size); in InlineNewLexicalEnv()
|
D | js_iterator.cpp | 63 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in GetIterator() 90 JSHandle<JSTaggedValue> nextStr = thread->GlobalConstants()->GetHandledNextString(); in GetAsyncIterator() 101 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in GetAsyncIterator() 117 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext() 139 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext() 162 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext() 183 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext() 204 JSHandle<JSTaggedValue> doneStr = thread->GlobalConstants()->GetHandledDoneString(); in IteratorComplete() 214 JSHandle<JSTaggedValue> valueStr = thread->GlobalConstants()->GetHandledValueString(); in IteratorValue() 244 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorClose() [all …]
|
D | object_factory.cpp | 210 …return NewEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()… in NewEcmaHClass() 394 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass() 662 it->SetVisitedObjs(thread_, thread_->GlobalConstants()->GetEmptyTaggedQueue()); in NewJSForinIterator() 663 it->SetRemainingKeys(thread_, thread_->GlobalConstants()->GetEmptyTaggedQueue()); in NewJSForinIterator() 670 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateJSRegExpInstanceClass() 693 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateJSArrayInstanceClass() 719 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateJSArguments() 754 … thread_->GlobalConstants()->GetHandledCallerString().GetTaggedValue(), attributes); in CreateJSArguments() 765 … thread_->GlobalConstants()->GetHandledCalleeString().GetTaggedValue(), attributes); in CreateJSArguments() 795 JSHandle<EcmaString> emptyString(thread_->GlobalConstants()->GetHandledEmptyString()); in GetJSError() [all …]
|
D | js_regexp_iterator.cpp | 43 JSHandle<JSTaggedValue> undefinedHandle(thread->GlobalConstants()->GetHandledUndefined()); in Next() 76 const GlobalEnvConstants *globalConstants = thread->GlobalConstants(); in Next() 116 JSHandle<JSTaggedValue> undefinedHandle(thread->GlobalConstants()->GetHandledUndefined()); in CreateRegExpStringIterator()
|
D | js_promise.cpp | 65 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in FulfillPromise() 102 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in NewPromiseCapability() 142 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in RejectPromise() 170 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in TriggerPromiseReactions()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_vector_iterator.cpp | 42 return thread->GlobalConstants()->GetUndefinedIterResult(); in Next() 54 JSHandle<JSTaggedValue> undefinedHandle = thread->GlobalConstants()->GetHandledUndefined(); in Next() 56 return thread->GlobalConstants()->GetUndefinedIterResult(); in Next()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | glue_regs_test.cpp | 59 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0() 71 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0() 84 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0() 98 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
|
D | handle_leak_test.cpp | 104 JSHClass::Cast(thread->GlobalConstants()->GetProgramClass().GetTaggedObject()))); in HWTEST_F_L0() 127 JSHClass::Cast(thread->GlobalConstants()->GetProgramClass().GetTaggedObject()))); in HWTEST_F_L0() 141 JSHandle<JSHClass> arrayClass(thread->GlobalConstants()->GetHandledArrayClass()); in HWTEST_F_L0() 167 JSHandle<JSHClass> arrayClass(thread->GlobalConstants()->GetHandledArrayClass()); in HWTEST_F_L0() 197 JSHandle<JSHClass> arrayClass(thread->GlobalConstants()->GetHandledArrayClass()); in HWTEST_F_L0()
|
D | js_generator_object_test.cpp | 108 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0() 109 JSHandle<JSTaggedValue> doneKey = thread->GlobalConstants()->GetHandledDoneString(); in HWTEST_F_L0() 134 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0() 135 JSHandle<JSTaggedValue> doneKey = thread->GlobalConstants()->GetHandledDoneString(); in HWTEST_F_L0()
|
D | js_locale_test.cpp | 174 auto globalConst = thread->GlobalConstants(); in HWTEST_F_L0() 216 auto globalConst = thread->GlobalConstants(); in HWTEST_F_L0() 254 JSHandle<JSTaggedValue> languageKey = thread->GlobalConstants()->GetHandledLanguageString(); in HWTEST_F_L0() 255 JSHandle<JSTaggedValue> regionKey = thread->GlobalConstants()->GetHandledRegionString(); in HWTEST_F_L0() 256 JSHandle<JSTaggedValue> scriptKey = thread->GlobalConstants()->GetHandledScriptString(); in HWTEST_F_L0() 304 …JSHandle<JSTaggedValue> mnidKey = thread->GlobalConstants()->GetHandledMinimumIntegerDigitsString(… in HWTEST_F_L0() 305 …JSHandle<JSTaggedValue> mnsdKey = thread->GlobalConstants()->GetHandledMinimumSignificantDigitsStr… in HWTEST_F_L0() 306 …JSHandle<JSTaggedValue> mxsdKey = thread->GlobalConstants()->GetHandledMaximumSignificantDigitsStr… in HWTEST_F_L0() 333 …JSHandle<JSTaggedValue> mnidKey = thread->GlobalConstants()->GetHandledMinimumIntegerDigitsString(… in HWTEST_F_L0() 477 … JSHandle<JSTaggedValue> languageProperty = thread->GlobalConstants()->GetHandledLanguageString(); in HWTEST_F_L0() [all …]
|
D | object_factory_test.cpp | 80 EXPECT_EQ(newObj->GetProperties(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0() 81 EXPECT_EQ(newObj->GetElements(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0() 115 EXPECT_EQ(newFun->GetProperties(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0() 116 EXPECT_EQ(newFun->GetElements(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0() 139 const JSHandle<TaggedArray> array(thread->GlobalConstants()->GetHandledEmptyArray()); in HWTEST_F_L0()
|
D | read_only_space_test.cpp | 104 JSHClass::Cast(thread->GlobalConstants()->GetBigIntClass().GetTaggedObject())); in HWTEST_F_L0() 115 JSHClass::Cast(thread->GlobalConstants()->GetBigIntClass().GetTaggedObject())); in HWTEST_F_L0() 141 JSHClass::Cast(thread->GlobalConstants()->GetBigIntClass().GetTaggedObject())); in HWTEST_F_L0()
|
D | js_proxy_test.cpp | 123 JSHandle<JSTaggedValue> getKey = thread->GlobalConstants()->GetHandledGetString(); in HWTEST_F_L0() 166 …JSHandle<JSTaggedValue> defineKey = thread->GlobalConstants()->GetHandledGetOwnPropertyDescriptorS… in HWTEST_F_L0() 208 JSHandle<JSTaggedValue> setKey = thread->GlobalConstants()->GetHandledSetString(); in HWTEST_F_L0() 250 JSHandle<JSTaggedValue> setKey = thread->GlobalConstants()->GetHandledDefinePropertyString(); in HWTEST_F_L0() 296 JSHandle<JSTaggedValue> funcKey = thread->GlobalConstants()->GetHandledDeletePropertyString(); in HWTEST_F_L0() 337 JSHandle<JSTaggedValue> funcKey = thread->GlobalConstants()->GetHandledGetPrototypeOfString(); in HWTEST_F_L0() 374 JSHandle<JSTaggedValue> funcKey = thread->GlobalConstants()->GetHandledSetPrototypeOfString(); in HWTEST_F_L0() 410 JSHandle<JSTaggedValue> funcKey = thread->GlobalConstants()->GetHandledIsExtensibleString(); in HWTEST_F_L0() 447 … JSHandle<JSTaggedValue> funcKey = thread->GlobalConstants()->GetHandledPreventExtensionsString(); in HWTEST_F_L0() 486 JSHandle<JSTaggedValue> funcKey = thread->GlobalConstants()->GetHandledHasString(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | typed_array_helper_test.cpp | 126 … JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledInt8ArrayString(); in HWTEST_F_L0() 145 … JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint8ArrayString(); in HWTEST_F_L0() 166 … JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint8ArrayString(); in HWTEST_F_L0() 186 … JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledInt16ArrayString(); in HWTEST_F_L0() 207 …JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint16ArrayString(); in HWTEST_F_L0() 224 …JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint32ArrayString(); in HWTEST_F_L0() 241 … JSHandle<JSTaggedValue> constructorName1 = thread->GlobalConstants()->GetHandledInt8ArrayString(); in HWTEST_F_L0() 242 …JSHandle<JSTaggedValue> constructorName2 = thread->GlobalConstants()->GetHandledBigUint64ArrayStri… in HWTEST_F_L0() 243 …JSHandle<JSTaggedValue> constructorName3 = thread->GlobalConstants()->GetHandledUint8ClampedArrayS… in HWTEST_F_L0() 290 … JSHandle<JSTaggedValue> constructorName1 = thread->GlobalConstants()->GetHandledInt8ArrayString(); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type_table_generator.cpp | 112 JSHandle<JSTaggedValue> valueString = thread_->GlobalConstants()->GetHandledValueString(); in InitRuntimeTypeTable() 113 JSHandle<JSTaggedValue> doneString = thread_->GlobalConstants()->GetHandledDoneString(); in InitRuntimeTypeTable() 136 JSHandle<JSTaggedValue> nextString = thread_->GlobalConstants()->GetHandledNextString(); in InitRuntimeTypeTable() 137 JSHandle<JSTaggedValue> throwString = thread_->GlobalConstants()->GetHandledThrowString(); in InitRuntimeTypeTable() 138 JSHandle<JSTaggedValue> returnString = thread_->GlobalConstants()->GetHandledReturnString(); in InitRuntimeTypeTable()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | array_helper.cpp | 87 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in SortCompare() 135 JSHandle<JSTaggedValue> lengthKey = thread->GlobalConstants()->GetHandledLengthString(); in GetLength() 148 JSHandle<JSTaggedValue> lengthKey = thread->GlobalConstants()->GetHandledLengthString(); in GetArrayLength() 209 … JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in FlattenIntoArray() 228 … thread->GlobalConstants()->GetHandledUndefined(), in FlattenIntoArray() 229 … thread->GlobalConstants()->GetHandledUndefined()); in FlattenIntoArray()
|
D | error_helper.cpp | 46 auto globalConst = thread->GlobalConstants(); in ErrorCommonToString() 93 auto globalConst = thread->GlobalConstants(); in GetErrorName() 159 auto globalConst = thread->GlobalConstants(); in ErrorCommonConstructor() 222 return thread->GlobalConstants()->GetHandledUndefined(); in GetErrorJSFunction()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
D | module_data_extractor.cpp | 96 JSHandle<JSTaggedValue> defaultName = thread->GlobalConstants()->GetHandledDefaultString(); in ParseCjsModule() 113 JSHandle<JSTaggedValue> defaultName = thread->GlobalConstants()->GetHandledDefaultString(); in ParseJsonModule() 139 JSHandle<JSTaggedValue> defaultName = thread->GlobalConstants()->GetHandledDefaultString(); in ParseNativeModule() 146 moduleRecord->StoreModuleValue(thread, 0, thread->GlobalConstants()->GetHandledUndefined()); in ParseNativeModule() 153 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in JsonParse()
|
D | js_module_source_text.cpp | 61 auto globalConstants = thread->GlobalConstants(); in GetExportedNames() 115 THROW_SYNTAX_ERROR_AND_RETURN(thread, "", thread->GlobalConstants()->GetHandledUndefined()); in HostResolveImportedModuleWithMerge() 163 auto globalConstants = thread->GlobalConstants(); in ResolveExportObject() 201 auto globalConstants = thread->GlobalConstants(); in ResolveExport() 308 auto globalConstants = vm->GetJSThread()->GlobalConstants(); in GetRequireNativeModuleFunc() 397 auto globalConstants = thread->GlobalConstants(); in InitializeEnvironment() 531 JSMutableHandle<JSTaggedValue> required(thread, thread->GlobalConstants()->GetUndefined()); in InnerModuleInstantiation() 535 …JSMutableHandle<SourceTextModule> requiredModule(thread, thread->GlobalConstants()->GetUndefined()… in InnerModuleInstantiation() 630 auto globalConstants = thread->GlobalConstants(); in ModuleDeclarationEnvironmentSetup() 641 …JSMutableHandle<SourceTextModule> importedModule(thread, thread->GlobalConstants()->GetUndefined()… in ModuleDeclarationEnvironmentSetup() [all …]
|
D | js_dynamic_import.cpp | 31 … JSMutableHandle<JSTaggedValue> requiredModule(thread, thread->GlobalConstants()->GetUndefined()); in ExecuteNativeModule() 59 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in ExecuteNativeModule()
|
D | js_module_deregister.cpp | 107 JSMutableHandle<JSTaggedValue> required(thread, thread->GlobalConstants()->GetUndefined()); in IncreaseRegisterCounts() 110 …JSMutableHandle<SourceTextModule> requiredModule(thread, thread->GlobalConstants()->GetUndefined()… in IncreaseRegisterCounts() 157 JSMutableHandle<JSTaggedValue> required(thread, thread->GlobalConstants()->GetUndefined()); in DecreaseRegisterCounts() 160 …JSMutableHandle<SourceTextModule> requiredModule(thread, thread->GlobalConstants()->GetUndefined()… in DecreaseRegisterCounts()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_locale_test.cpp | 71 JSHandle<JSTaggedValue> languageKey = thread->GlobalConstants()->GetHandledLanguageString(); in HWTEST_F_L0() 72 JSHandle<JSTaggedValue> regionKey = thread->GlobalConstants()->GetHandledRegionString(); in HWTEST_F_L0() 73 JSHandle<JSTaggedValue> numericKey = thread->GlobalConstants()->GetHandledNumericString(); in HWTEST_F_L0() 74 JSHandle<JSTaggedValue> scriptKey = thread->GlobalConstants()->GetHandledScriptString(); in HWTEST_F_L0() 107 JSHandle<JSTaggedValue> languageKey = thread->GlobalConstants()->GetHandledLanguageString(); in JSLocaleCreateWithOptionTest() 108 JSHandle<JSTaggedValue> regionKey = thread->GlobalConstants()->GetHandledRegionString(); in JSLocaleCreateWithOptionTest() 109 JSHandle<JSTaggedValue> scriptKey = thread->GlobalConstants()->GetHandledScriptString(); in JSLocaleCreateWithOptionTest() 121 JSHandle<JSTaggedValue> calendarKey = thread->GlobalConstants()->GetHandledCalendarString(); in JSLocaleCreateWithOptionTest() 124 JSHandle<JSTaggedValue> hourCycleKey = thread->GlobalConstants()->GetHandledHourCycleString(); in JSLocaleCreateWithOptionTest() 128 JSHandle<JSTaggedValue> numericKey = thread->GlobalConstants()->GetHandledNumericString(); in JSLocaleCreateWithOptionTest() [all …]
|
D | builtins_collator_test.cpp | 72 JSHandle<JSTaggedValue> usageKey = thread->GlobalConstants()->GetHandledUsageString(); in HWTEST_F_L0() 73 …JSHandle<JSTaggedValue> localeMatcherKey = thread->GlobalConstants()->GetHandledLocaleMatcherStrin… in HWTEST_F_L0() 74 JSHandle<JSTaggedValue> numericKey = thread->GlobalConstants()->GetHandledNumericString(); in HWTEST_F_L0() 75 JSHandle<JSTaggedValue> caseFirstKey = thread->GlobalConstants()->GetHandledCaseFirstString(); in HWTEST_F_L0() 76 … JSHandle<JSTaggedValue> sensitivityKey = thread->GlobalConstants()->GetHandledSensitivityString(); in HWTEST_F_L0() 77 …JSHandle<JSTaggedValue> ignorePunctuationKey = thread->GlobalConstants()->GetHandledIgnorePunctuat… in HWTEST_F_L0() 136 JSHandle<JSTaggedValue> usageKey = thread->GlobalConstants()->GetHandledUsageString(); in JSCollatorCreateWithLocaleAndOptionsTest() 137 … JSHandle<JSTaggedValue> sensitivityKey = thread->GlobalConstants()->GetHandledSensitivityString(); in JSCollatorCreateWithLocaleAndOptionsTest() 305 auto globalConst = thread->GlobalConstants(); in HWTEST_F_L0() 338 …JSHandle<JSTaggedValue> localeMatcherKey = thread->GlobalConstants()->GetHandledLocaleMatcherStrin… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_job.cpp | 50 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in PromiseReactionJob() 109 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in PromiseResolveThenableJob() 152 JSMutableHandle<JSTaggedValue> moduleName(thread, thread->GlobalConstants()->GetUndefined()); in DynamicImportJob() 224 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in DynamicImportJob() 238 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in CatchException()
|
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/ |
D | heap_tracker_test.cpp | 129 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 183 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 238 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 325 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 356 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 387 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 418 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0() 458 …JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefine… in HWTEST_F_L0()
|