Lines Matching defs:thread
38 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
39 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv();
51 thread, displayNames, iculocaledisplaynames, JSDisplayNames::FreeIcuLocaleDisplayNames);
55 intl::LocaleHelper::ToLanguageTag(thread, resultIculocaledisplaynames->getLocale());
68 JSHandle<TaggedArray> displayLocale = JSDisplayNames::GetAvailableLocales(thread);
77 void SetOptionProperties(JSThread *thread, JSHandle<JSObject> &optionsObj,
80 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
81 auto globalConst = thread->GlobalConstants();
90 JSObject::SetProperty(thread, optionsObj, styleKey, styleValue);
91 JSObject::SetProperty(thread, optionsObj, typeKey, typeValue);
92 JSObject::SetProperty(thread, optionsObj, fallBackKey, fallBackValue);
104 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
105 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv();
114 JSDisplayNames::InitializeDisplayNames(thread, displayNames, localeStr, JSHandle<JSTaggedValue>(displayOptions));
119 EXPECT_TRUE(thread->HasPendingException());
120 thread->ClearException();
127 SetOptionProperties(thread, displayOptions, displayOptionsProperty);
129 JSDisplayNames::InitializeDisplayNames(thread, displayNames, localeStr, JSHandle<JSTaggedValue>(displayOptions));
130 JSHandle<EcmaString> setlocale(thread, displayNames->GetLocale());
147 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
148 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv();
162 SetOptionProperties(thread, displayOptions, displayOptionsProperty);
164 JSDisplayNames::InitializeDisplayNames(thread, displayNames, locale, JSHandle<JSTaggedValue>(displayOptions));
168 JSDisplayNames::CanonicalCodeForDisplayNames(thread, initDisplayNames, initDisplayNames->GetType(), code);
174 JSDisplayNames::CanonicalCodeForDisplayNames(thread, initDisplayNames, initDisplayNames->GetType(), code);
180 JSDisplayNames::CanonicalCodeForDisplayNames(thread, initDisplayNames, initDisplayNames->GetType(), code);
193 ObjectFactory *factory = thread->GetEcmaVM()->GetFactory();
194 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv();
195 auto globalConst = thread->GlobalConstants();
216 SetOptionProperties(thread, displayOptions, displayOptionsProperty);
218 JSDisplayNames::InitializeDisplayNames(thread, displayNames, locale, JSHandle<JSTaggedValue>(displayOptions));
220 JSDisplayNames::ResolvedOptions(thread, initDisplayNames, displayOptions);
222 JSObject::GetProperty(thread, displayOptions, styleKey).GetValue(), styleValue), true);
224 JSObject::GetProperty(thread, displayOptions, localeKey).GetValue(), locale), true);
226 JSObject::GetProperty(thread, displayOptions, fallBackKey).GetValue(), fallBackValue), true);
228 JSObject::GetProperty(thread, displayOptions, typeKey).GetValue(), typeValue), true);