Home
last modified time | relevance | path

Searched refs:tagElements (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_locale.cpp768 TagElements &tagElements) in ApplyOptionsToTag()
781 tagElements.language = in ApplyOptionsToTag()
788 if (!tagElements.language->IsUndefined()) { in ApplyOptionsToTag()
790 intl::LocaleHelper::ConvertToStdString(JSHandle<EcmaString>::Cast(tagElements.language)); in ApplyOptionsToTag()
798 tagElements.script = in ApplyOptionsToTag()
805 if (!tagElements.script->IsUndefined()) { in ApplyOptionsToTag()
807 intl::LocaleHelper::ConvertToStdString((JSHandle<EcmaString>::Cast(tagElements.script))); in ApplyOptionsToTag()
816 tagElements.region = in ApplyOptionsToTag()
821 if (!tagElements.region->IsUndefined()) { in ApplyOptionsToTag()
822 std::string regionStr = intl::LocaleHelper::ConvertToStdString(JSHandle<EcmaString>::Cast(tagElements in ApplyOptionsToTag()
767 ApplyOptionsToTag(JSThread *thread, const JSHandle<EcmaString> &tag, const JSHandle<JSObject> &options, TagElements &tagElements) ApplyOptionsToTag() argument
954 TagElements tagElements; InitializeLocale() local
[all...]
H A Djs_locale.h503 TagElements &tagElements);
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_locale_test.cpp217 TagElements tagElements; in HWTEST_F_L0() local
232 bool result = JSLocale::ApplyOptionsToTag(thread, languageTag, optionsObj, tagElements); in HWTEST_F_L0()
234 EXPECT_EQ(tagElements.language, languageValue); in HWTEST_F_L0()
235 EXPECT_EQ(tagElements.script, scriptValue); in HWTEST_F_L0()
236 EXPECT_EQ(tagElements.region, regionValue); in HWTEST_F_L0()
240 result = JSLocale::ApplyOptionsToTag(thread, languageTag, optionsObj, tagElements); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/libpandafile/
H A Dfile_reader.cpp472 std::vector<AnnotationItem::Tag> tagElements; in CreateAnnotationItem() local
481 tagElements.emplace_back(AnnotationItem::Tag(static_cast<char>(annTag.GetItem()))); in CreateAnnotationItem()
489 annItem->SetTags(std::move(tagElements)); in CreateAnnotationItem()
/arkcompiler/runtime_core/static_core/assembler/
H A Dassembly-emitter.cpp601 std::vector<AnnotationItem::Tag> tagElements; in CreateAnnotationItem() local
638 tagElements.emplace_back(tagType); in CreateAnnotationItem()
642 return container->CreateItem<AnnotationItem>(cls, std::move(itemElements), std::move(tagElements)); in CreateAnnotationItem()

Completed in 10 milliseconds