Lines Matching refs:locale
30 static JSTaggedValue JSSegmenterCreateWithLocaleTest(JSThread *thread, JSHandle<JSTaggedValue> &locale)
39 ecmaRuntimeCallInfo->SetCallArg(0, locale.GetTaggedValue());
48 static JSTaggedValue JSSegmenterCreateWithLocaleAndOptionsTest(JSThread *thread, JSHandle<JSTaggedValue> &locale,
64 ecmaRuntimeCallInfo->SetCallArg(0, locale.GetTaggedValue());
74 static JSTaggedValue JSSegmentsCreateTest(JSThread *thread, JSHandle<JSTaggedValue> &locale,
78 JSHandle<JSSegmenter>(thread, JSSegmenterCreateWithLocaleAndOptionsTest(thread, locale, granularity));
117 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("zh-cn"));
121 JSHandle<JSSegmenter>(thread, JSSegmenterCreateWithLocaleAndOptionsTest(thread, locale, granularity));
145 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("id-u-co-pinyin-de-ID"));
151 ecmaRuntimeCallInfo->SetCallArg(0, locale.GetTaggedValue());
170 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("de-DE"));
172 JSHandle<JSSegmenter>(thread, JSSegmenterCreateWithLocaleTest(thread, locale));
186 JSObject::GetProperty(thread, resultObj, localeKey).GetValue(), locale), true);
215 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("zh-cn"));
218 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue));
242 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("fr"));
245 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue));
269 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("fr"));
272 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue));
288 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("fr"));
291 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue));
308 JSHandle<JSTaggedValue> locale(factory->NewFromASCII("fr"));
311 JSHandle<JSTaggedValue> segments(thread, JSSegmentsCreateTest(thread, locale, granularity, stringValue));