Home
last modified time | relevance | path

Searched refs:GlobalConstants (Results 1 - 25 of 375) sorted by relevance

12345678910>>...15

/arkcompiler/ets_runtime/ecmascript/
H A Dobject_factory-inl.h43 object->SetClass(thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject())); in AllocLineStringObjectNoGC()
51 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocNonMovableLineStringObject()
58 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocLineStringObject()
65 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocOldSpaceLineStringObject()
72 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetLineStringClass().GetTaggedObject()), size)); in AllocReadOnlyLineStringObject()
80 JSHClass::Cast(thread_->GlobalConstants()->GetSlicedStringClass().GetTaggedObject()), type)); in AllocSlicedStringObject()
88 JSHClass::Cast(thread_->GlobalConstants()->GetConstantStringClass().GetTaggedObject()), type)); in AllocConstantStringObject()
95 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetTreeStringClass().GetTaggedObject()), in AllocTreeStringObject()
109 auto jsNativePointerClass = JSHClass::Cast(thread_->GlobalConstants()->GetJSNativePointerClass().GetTaggedObject()); in NewJSNativePointer()
139 JSHClass::Cast(thread_->GlobalConstants() in InlineNewLexicalEnv()
[all...]
H A Dshared_object_factory.cpp54 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateSFunctionClass()
92 return NewSEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), in NewSEcmaHClass()
101 newClass->Initialize(thread_, size, type, inlinedProps, thread_->GlobalConstants()->GetHandledEmptySLayoutInfo()); in NewSEcmaHClass()
112 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewSEcmaHClass()
130 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewSEcmaHClassDictMode()
131 newClass->Initialize(thread_, size, type, inlinedProps, thread_->GlobalConstants()->GetHandledEmptySLayoutInfo()); in NewSEcmaHClassDictMode()
148 newClass->Initialize(thread_, size, type, 0, thread_->GlobalConstants()->GetHandledEmptySLayoutInfo()); in NewSEcmaHClassClass()
159 newClass->Initialize(thread_, size, type, inlinedProps, thread_->GlobalConstants()->GetHandledEmptySLayoutInfo()); in NewSEcmaReadOnlyHClass()
175 thread_, JSHClass::Cast(thread_->GlobalConstants()->GetAccessorDataClass().GetTaggedObject())); in NewSAccessorData()
209 JSHClass::Cast(thread_->GlobalConstants() in NewSMethod()
[all...]
H A Djs_iterator.cpp57 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in GetIterator()
84 JSHandle<JSTaggedValue> nextStr = thread->GlobalConstants()->GetHandledNextString(); in GetAsyncIterator()
96 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in GetAsyncIterator()
112 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext()
134 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext()
157 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext()
178 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorNext()
199 JSHandle<JSTaggedValue> doneStr = thread->GlobalConstants()->GetHandledDoneString(); in IteratorComplete()
209 JSHandle<JSTaggedValue> valueStr = thread->GlobalConstants()->GetHandledValueString(); in IteratorValue()
239 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in IteratorClose()
[all...]
H A Dobject_factory.cpp171 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
197 return NewEcmaHClass(JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), in NewEcmaHClass()
474 JSHClass::Cast(thread_->GlobalConstants()->GetHClassClass().GetTaggedObject()), classSize)); in NewEcmaHClass()
812 auto accessor = thread_->GlobalConstants()->GetArrayLengthAccessor(); in NewJSArray()
852 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateJSRegExpInstanceClass()
875 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateJSArrayInstanceClass()
901 const GlobalEnvConstants *globalConst = thread_->GlobalConstants(); in CreateJSArguments()
936 thread_->GlobalConstants()->GetHandledCallerString().GetTaggedValue(), attributes); in CreateJSArguments()
947 thread_->GlobalConstants()->GetHandledCalleeString().GetTaggedValue(), attributes); in CreateJSArguments()
978 JSHandle<EcmaString> emptyString(thread_->GlobalConstants() in GetJSError()
[all...]
H A Djs_regexp_iterator.cpp40 JSHandle<JSTaggedValue> undefinedHandle(thread->GlobalConstants()->GetHandledUndefined()); in Next()
84 const GlobalEnvConstants *globalConstants = thread->GlobalConstants(); in Next()
112 JSHandle<JSTaggedValue> undefinedHandle(thread->GlobalConstants()->GetHandledUndefined()); in CreateRegExpStringIterator()
H A Djs_promise.cpp58 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in FulfillPromise()
95 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in NewPromiseCapability()
135 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in RejectPromise()
163 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in TriggerPromiseReactions()
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dprofile_type_info_cell.h44 return this == thread->GlobalConstants()->GetEmptyProfileTypeInfoCell().GetTaggedObject(); in IsEmptyProfileTypeInfoCell()
53 JSHClass::Cast(thread->GlobalConstants()->GetProfileTypeInfoCell1Class().GetTaggedObject())); in UpdateProfileTypeInfoCellType()
56 JSHClass::Cast(thread->GlobalConstants()->GetProfileTypeInfoCellNClass().GetTaggedObject())); in UpdateProfileTypeInfoCellType()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Dglue_regs_test.cpp35 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
52 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
65 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
79 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
93 const GlobalEnvConstants *globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
H A Djs_verification_test.cpp95 newArray->Set<false>(thread, 0, thread->GlobalConstants()->GetFunctionNameAccessor()); in HWTEST_F_L0()
96 newArray->Set<false>(thread, 1, thread->GlobalConstants()->GetFunctionPrototypeAccessor()); in HWTEST_F_L0()
97 newArray->Set<false>(thread, 2, thread->GlobalConstants()->GetFunctionLengthAccessor()); in HWTEST_F_L0()
98 newArray->Set<false>(thread, 3, thread->GlobalConstants()->GetArrayLengthAccessor()); in HWTEST_F_L0()
99 newArray->Set<false>(thread, 4, thread->GlobalConstants()->GetSharedArrayLengthAccessor()); in HWTEST_F_L0()
H A Djs_generator_object_test.cpp88 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0()
89 JSHandle<JSTaggedValue> doneKey = thread->GlobalConstants()->GetHandledDoneString(); in HWTEST_F_L0()
114 JSHandle<JSTaggedValue> valueKey = thread->GlobalConstants()->GetHandledValueString(); in HWTEST_F_L0()
115 JSHandle<JSTaggedValue> doneKey = thread->GlobalConstants()->GetHandledDoneString(); in HWTEST_F_L0()
H A Dhandle_leak_test.cpp86 JSHClass::Cast(thread->GlobalConstants()->GetProgramClass().GetTaggedObject()))); in HWTEST_F_L0()
115 JSHandle<JSHClass> arrayClass(thread->GlobalConstants()->GetHandledArrayClass()); in HWTEST_F_L0()
135 JSHandle<JSHClass> arrayClass(thread->GlobalConstants()->GetHandledArrayClass()); in HWTEST_F_L0()
H A Djs_locale_test.cpp141 auto globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
183 auto globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
221 JSHandle<JSTaggedValue> languageKey = thread->GlobalConstants()->GetHandledLanguageString(); in HWTEST_F_L0()
222 JSHandle<JSTaggedValue> regionKey = thread->GlobalConstants()->GetHandledRegionString(); in HWTEST_F_L0()
223 JSHandle<JSTaggedValue> scriptKey = thread->GlobalConstants()->GetHandledScriptString(); in HWTEST_F_L0()
271 JSHandle<JSTaggedValue> mnidKey = thread->GlobalConstants()->GetHandledMinimumIntegerDigitsString(); in HWTEST_F_L0()
272 JSHandle<JSTaggedValue> mnsdKey = thread->GlobalConstants()->GetHandledMinimumSignificantDigitsString(); in HWTEST_F_L0()
273 JSHandle<JSTaggedValue> mxsdKey = thread->GlobalConstants()->GetHandledMaximumSignificantDigitsString(); in HWTEST_F_L0()
300 JSHandle<JSTaggedValue> mnidKey = thread->GlobalConstants()->GetHandledMinimumIntegerDigitsString(); in HWTEST_F_L0()
452 JSHandle<JSTaggedValue> languageProperty = thread->GlobalConstants() in HWTEST_F_L0()
[all...]
H A Dobject_factory_test.cpp56 EXPECT_EQ(newObj->GetProperties(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0()
57 EXPECT_EQ(newObj->GetElements(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0()
91 EXPECT_EQ(newFun->GetProperties(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0()
92 EXPECT_EQ(newFun->GetElements(), thread->GlobalConstants()->GetEmptyArray()); in HWTEST_F_L0()
115 const JSHandle<TaggedArray> array(thread->GlobalConstants()->GetHandledEmptyArray()); in HWTEST_F_L0()
H A Dread_only_space_test.cpp97 JSHClass::Cast(thread->GlobalConstants()->GetBigIntClass().GetTaggedObject())); in HWTEST_F_L0()
108 JSHClass::Cast(thread->GlobalConstants()->GetBigIntClass().GetTaggedObject())); in HWTEST_F_L0()
134 JSHClass::Cast(thread->GlobalConstants()->GetBigIntClass().GetTaggedObject())); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_gc.cpp144 auto undefined = thread->GlobalConstants()->GetHandledUndefined(); in StartGC()
216 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetEdenGcCause(), cause)) { in StringToGcType()
219 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetYoungGcCause(), cause)) { in StringToGcType()
222 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetOldGcCause(), cause)) { in StringToGcType()
225 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetFullGcCause(), cause)) { in StringToGcType()
228 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetAppSpawnFullGcCause(), cause)) { in StringToGcType()
231 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetSharedGcCause(), cause)) { in StringToGcType()
234 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetSharedFullGcCause(), cause)) { in StringToGcType()
237 if (JSTaggedValue::StrictEqual(thread->GlobalConstants()->GetAppSpawnSharedFullGcCause(), cause)) { in StringToGcType()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_bitvector_iterator.cpp39 return thread->GlobalConstants()->GetUndefinedIterResult(); in Next()
52 JSHandle<JSTaggedValue> undefinedHandle = thread->GlobalConstants()->GetHandledUndefined(); in Next()
54 return thread->GlobalConstants()->GetUndefinedIterResult(); in Next()
H A Djs_api_vector_iterator.cpp39 return thread->GlobalConstants()->GetUndefinedIterResult(); in Next()
51 JSHandle<JSTaggedValue> undefinedHandle = thread->GlobalConstants()->GetHandledUndefined(); in Next()
53 return thread->GlobalConstants()->GetUndefinedIterResult(); in Next()
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_dynamic_import.cpp38 JSMutableHandle<JSTaggedValue> requiredModule(thread, thread->GlobalConstants()->GetUndefined()); in ExecuteNativeOrJsonModule()
47 JSHandle<SourceTextModule> moduleRecord(thread, thread->GlobalConstants()->GetUndefined()); in ExecuteNativeOrJsonModule()
71 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in ExecuteNativeOrJsonModule()
H A Dmodule_data_extractor.cpp103 JSHandle<JSTaggedValue> defaultName = thread->GlobalConstants()->GetHandledDefaultString(); in ParseCjsModule()
120 JSHandle<JSTaggedValue> defaultName = thread->GlobalConstants()->GetHandledDefaultString(); in ParseJsonModule()
145 JSHandle<JSTaggedValue> defaultName = thread->GlobalConstants()->GetHandledDefaultString(); in ParseNativeModule()
152 moduleRecord->StoreModuleValue(thread, 0, thread->GlobalConstants()->GetHandledUndefined()); in ParseNativeModule()
159 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined(); in JsonParse()
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dtyped_array_helper_test.cpp100 JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint32ArrayString(); in CreateArrayList()
116 JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledInt8ArrayString(); in HWTEST_F_L0()
135 JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint8ArrayString(); in HWTEST_F_L0()
156 JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint8ArrayString(); in HWTEST_F_L0()
176 JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledInt16ArrayString(); in HWTEST_F_L0()
197 JSHandle<JSTaggedValue> constructorName = thread->GlobalConstants()->GetHandledUint16ArrayString(); in HWTEST_F_L0()
225 JSHandle<JSTaggedValue> constructorName1 = thread->GlobalConstants()->GetHandledInt8ArrayString(); in HWTEST_F_L0()
226 JSHandle<JSTaggedValue> constructorName2 = thread->GlobalConstants()->GetHandledBigUint64ArrayString(); in HWTEST_F_L0()
227 JSHandle<JSTaggedValue> constructorName3 = thread->GlobalConstants()->GetHandledUint8ClampedArrayString(); in HWTEST_F_L0()
274 JSHandle<JSTaggedValue> constructorName1 = thread->GlobalConstants() in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/shared_objects/
H A Djs_shared_array_iterator.cpp53 JSHandle<JSTaggedValue> undefinedHandle = thread->GlobalConstants()->GetHandledUndefined(); in Next()
74 JSHandle<JSTaggedValue> lengthKey = thread->GlobalConstants()->GetHandledLengthString(); in NextInternal()
81 JSHandle<JSTaggedValue> undefinedHandle = thread->GlobalConstants()->GetHandledUndefined(); in NextInternal()
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_locale_test.cpp37 JSHandle<JSTaggedValue> languageKey = thread->GlobalConstants()->GetHandledLanguageString(); in HWTEST_F_L0()
38 JSHandle<JSTaggedValue> regionKey = thread->GlobalConstants()->GetHandledRegionString(); in HWTEST_F_L0()
39 JSHandle<JSTaggedValue> numericKey = thread->GlobalConstants()->GetHandledNumericString(); in HWTEST_F_L0()
40 JSHandle<JSTaggedValue> scriptKey = thread->GlobalConstants()->GetHandledScriptString(); in HWTEST_F_L0()
73 JSHandle<JSTaggedValue> languageKey = thread->GlobalConstants()->GetHandledLanguageString(); in JSLocaleCreateWithOptionTest()
74 JSHandle<JSTaggedValue> regionKey = thread->GlobalConstants()->GetHandledRegionString(); in JSLocaleCreateWithOptionTest()
75 JSHandle<JSTaggedValue> scriptKey = thread->GlobalConstants()->GetHandledScriptString(); in JSLocaleCreateWithOptionTest()
87 JSHandle<JSTaggedValue> calendarKey = thread->GlobalConstants()->GetHandledCalendarString(); in JSLocaleCreateWithOptionTest()
90 JSHandle<JSTaggedValue> hourCycleKey = thread->GlobalConstants()->GetHandledHourCycleString(); in JSLocaleCreateWithOptionTest()
94 JSHandle<JSTaggedValue> numericKey = thread->GlobalConstants() in JSLocaleCreateWithOptionTest()
[all...]
H A Dbuiltins_collator_test.cpp100 JSHandle<JSTaggedValue> usageKey = thread->GlobalConstants()->GetHandledUsageString(); in HWTEST_F_L0()
101 JSHandle<JSTaggedValue> localeMatcherKey = thread->GlobalConstants()->GetHandledLocaleMatcherString(); in HWTEST_F_L0()
102 JSHandle<JSTaggedValue> numericKey = thread->GlobalConstants()->GetHandledNumericString(); in HWTEST_F_L0()
103 JSHandle<JSTaggedValue> caseFirstKey = thread->GlobalConstants()->GetHandledCaseFirstString(); in HWTEST_F_L0()
104 JSHandle<JSTaggedValue> sensitivityKey = thread->GlobalConstants()->GetHandledSensitivityString(); in HWTEST_F_L0()
105 JSHandle<JSTaggedValue> ignorePunctuationKey = thread->GlobalConstants()->GetHandledIgnorePunctuationString(); in HWTEST_F_L0()
150 JSHandle<JSTaggedValue> usageKey = thread->GlobalConstants()->GetHandledUsageString(); in JSCollatorCreateWithLocaleAndOptionsTest()
151 JSHandle<JSTaggedValue> sensitivityKey = thread->GlobalConstants()->GetHandledSensitivityString(); in JSCollatorCreateWithLocaleAndOptionsTest()
276 auto globalConst = thread->GlobalConstants(); in HWTEST_F_L0()
307 JSHandle<JSTaggedValue> localeMatcherKey = thread->GlobalConstants() in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/tests/
H A Dheap_tracker_second_test.cpp133 JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefined(); in HWTEST_F_L0()
169 JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefined(); in HWTEST_F_L0()
205 JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefined(); in HWTEST_F_L0()
241 JSHandle<JSTaggedValue> undefined = instance->GetJSThread()->GlobalConstants()->GetHandledUndefined(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_env.cpp24 auto globalConst = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in AddGlobalConstToMap()
35 auto globalConst = const_cast<GlobalEnvConstants *>(vm_->GetJSThread()->GlobalConstants()); in RelocateRootObjectAddr()

Completed in 17 milliseconds

12345678910>>...15