Home
last modified time | relevance | path

Searched refs:getInstance (Results 1 – 25 of 1047) sorted by relevance

12345678910>>...42

/third_party/typescript/tests/baselines/reference/
DprivateNameFieldUnaryMutation.types83 this.getInstance().#test++;
84 >this.getInstance().#test++ : number
85 >this.getInstance().#test : number
86 >this.getInstance() : C
87 >this.getInstance : () => C
89 >getInstance : () => C
91 this.getInstance().#test--;
92 >this.getInstance().#test-- : number
93 >this.getInstance().#test : number
94 >this.getInstance() : C
[all …]
DprivateNameFieldAssignment.types88 A.getInstance().#field = 1;
89 >A.getInstance().#field = 1 : 1
90 >A.getInstance().#field : number
91 >A.getInstance() : A
92 >A.getInstance : () => A
94 >getInstance : () => A
97 A.getInstance().#field += 2;
98 >A.getInstance().#field += 2 : number
99 >A.getInstance().#field : number
100 >A.getInstance() : A
[all …]
DprivateNameFieldAssignment.symbols61 A.getInstance().#field = 1;
62 >A.getInstance().#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
63 >A.getInstance : Symbol(A.getInstance, Decl(privateNameFieldAssignment.ts, 29, 5))
65 >getInstance : Symbol(A.getInstance, Decl(privateNameFieldAssignment.ts, 29, 5))
67 A.getInstance().#field += 2;
68 >A.getInstance().#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
69 >A.getInstance : Symbol(A.getInstance, Decl(privateNameFieldAssignment.ts, 29, 5))
71 >getInstance : Symbol(A.getInstance, Decl(privateNameFieldAssignment.ts, 29, 5))
73 A.getInstance().#field -= 3;
74 >A.getInstance().#field : Symbol(A.#field, Decl(privateNameFieldAssignment.ts, 0, 9))
[all …]
DprivateNameFieldUnaryMutation.symbols64 this.getInstance().#test++;
65 >this.getInstance().#test : Symbol(C.#test, Decl(privateNameFieldUnaryMutation.ts, 0, 9))
66 >this.getInstance : Symbol(C.getInstance, Decl(privateNameFieldUnaryMutation.ts, 25, 5))
68 >getInstance : Symbol(C.getInstance, Decl(privateNameFieldUnaryMutation.ts, 25, 5))
70 this.getInstance().#test--;
71 >this.getInstance().#test : Symbol(C.#test, Decl(privateNameFieldUnaryMutation.ts, 0, 9))
72 >this.getInstance : Symbol(C.getInstance, Decl(privateNameFieldUnaryMutation.ts, 25, 5))
74 >getInstance : Symbol(C.getInstance, Decl(privateNameFieldUnaryMutation.ts, 25, 5))
76 ++this.getInstance().#test;
77 >this.getInstance().#test : Symbol(C.#test, Decl(privateNameFieldUnaryMutation.ts, 0, 9))
[all …]
DprivateNameFieldUnaryMutation.js17 this.getInstance().#test++;
18 this.getInstance().#test--;
19 ++this.getInstance().#test;
20 --this.getInstance().#test;
21 const a = this.getInstance().#test++;
22 const b = this.getInstance().#test--;
23 const c = ++this.getInstance().#test;
24 const d = --this.getInstance().#test;
25 … for (this.getInstance().#test = 0; this.getInstance().#test < 10; ++this.getInstance().#test) {}
26 … for (this.getInstance().#test = 0; this.getInstance().#test < 10; this.getInstance().#test++) {}
[all …]
DprivateNameFieldAssignment.js18 A.getInstance().#field = 1;
19 A.getInstance().#field += 2;
20 A.getInstance().#field -= 3;
21 A.getInstance().#field /= 4;
22 A.getInstance().#field *= 5;
23 A.getInstance().#field **= 6;
24 A.getInstance().#field %= 7;
25 A.getInstance().#field <<= 8;
26 A.getInstance().#field >>= 9;
27 A.getInstance().#field >>>= 10;
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java171 {new CurrencyAmount(1f, Currency.getInstance("CNY")), "¥1"},
172 {new CurrencyAmount(12f, Currency.getInstance("CNY")), "¥12"},
173 {new CurrencyAmount(123f, Currency.getInstance("CNY")), "¥120"},
174 {new CurrencyAmount(1234f, Currency.getInstance("CNY")), "¥1200"},
175 {new CurrencyAmount(12345f, Currency.getInstance("CNY")), "¥1.2万"},
176 {new CurrencyAmount(123456f, Currency.getInstance("CNY")), "¥12万"},
177 {new CurrencyAmount(1234567f, Currency.getInstance("CNY")), "¥120万"},
178 {new CurrencyAmount(12345678f, Currency.getInstance("CNY")), "¥1200万"},
179 {new CurrencyAmount(123456789f, Currency.getInstance("CNY")), "¥1.2亿"},
180 {new CurrencyAmount(1234567890f, Currency.getInstance("CNY")), "¥12亿"},
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVersionInfo.java267 public static VersionInfo getInstance(String version) in getInstance() method in VersionInfo
299 return getInstance(array[0], array[1], array[2], array[3]); in getInstance()
311 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() method in VersionInfo
343 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() method in VersionInfo
345 return getInstance(major, minor, milli, 0); in getInstance()
357 public static VersionInfo getInstance(int major, int minor) in getInstance() method in VersionInfo
359 return getInstance(major, minor, 0, 0); in getInstance()
370 public static VersionInfo getInstance(int major) in getInstance() method in VersionInfo
372 return getInstance(major, 0, 0, 0); in getInstance()
523 UNICODE_1_0 = getInstance(1, 0, 0, 0);
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DCompactDecimalFormatTest.java174 {new CurrencyAmount(1f, Currency.getInstance("CNY")), "¥1"},
175 {new CurrencyAmount(12f, Currency.getInstance("CNY")), "¥12"},
176 {new CurrencyAmount(123f, Currency.getInstance("CNY")), "¥120"},
177 {new CurrencyAmount(1234f, Currency.getInstance("CNY")), "¥1200"},
178 {new CurrencyAmount(12345f, Currency.getInstance("CNY")), "¥1.2万"},
179 {new CurrencyAmount(123456f, Currency.getInstance("CNY")), "¥12万"},
180 {new CurrencyAmount(1234567f, Currency.getInstance("CNY")), "¥120万"},
181 {new CurrencyAmount(12345678f, Currency.getInstance("CNY")), "¥1200万"},
182 {new CurrencyAmount(123456789f, Currency.getInstance("CNY")), "¥1.2亿"},
183 {new CurrencyAmount(1234567890f, Currency.getInstance("CNY")), "¥12亿"},
[all …]
DDateIntervalFormatTest.java737 Calendar defCal = Calendar.getInstance(loc); in expect()
755 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance( in expect()
850 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance( in expectUserDII()
920 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("yyyyMMMdd", loc); in expectUserCLDR()
1087 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance(oneSkeleton, loc); in stress()
1312 DateIntervalFormat dtitvfmt = DateIntervalFormat.getInstance("MMMdHHmm", Locale.ENGLISH); in TestGetSetTimeZone()
1404 DateIntervalFormat dateIntervalFormat = DateIntervalFormat.getInstance( in testGetInstance_String_DateIntervalInfo()
1406 Calendar from = Calendar.getInstance(); in testGetInstance_String_DateIntervalInfo()
1408 Calendar to = Calendar.getInstance(); in testGetInstance_String_DateIntervalInfo()
1420 DateIntervalFormat dateIntervalFormat = DateIntervalFormat.getInstance( in testGetInstance_String_Locale_DateIntervalInfo()
[all …]
DListFormatterTest.java58 checkData(ListFormatter.getInstance(ULocale.ENGLISH), EnglishTestData); in TestEnglish()
59 checkData(ListFormatter.getInstance(ULocale.US), EnglishTestData); in TestEnglish()
61 checkData(ListFormatter.getInstance(Locale.ENGLISH), EnglishTestData); in TestEnglish()
63 checkData(ListFormatter.getInstance(), EnglishTestData); in TestEnglish()
81 checkData(ListFormatter.getInstance(new ULocale("en_GB")), EnglishGBTestData); in TestEnglishGB()
98 checkData(ListFormatter.getInstance(new ULocale("zh_Hant_HK")), ChineseTradHKTestData); in TestChineseTradHK()
112 checkData(ListFormatter.getInstance(ULocale.JAPANESE), JapaneseTestData); in TestJapanese()
141 checkData(ListFormatter.getInstance(ULocale.ROOT), RootTestData); in TestSpecial()
143 checkData(ListFormatter.getInstance(new ULocale("xxx")), EnglishTestData); in TestSpecial()
158 ListFormatter listFormatter = ListFormatter.getInstance(ULocale.ENGLISH); in TestFromList()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DVersionInfo.java234 public static VersionInfo getInstance(String version) in getInstance() method in VersionInfo
266 return getInstance(array[0], array[1], array[2], array[3]); in getInstance()
277 public static VersionInfo getInstance(int major, int minor, int milli, in getInstance() method in VersionInfo
308 public static VersionInfo getInstance(int major, int minor, int milli) in getInstance() method in VersionInfo
310 return getInstance(major, minor, milli, 0); in getInstance()
321 public static VersionInfo getInstance(int major, int minor) in getInstance() method in VersionInfo
323 return getInstance(major, minor, 0, 0); in getInstance()
333 public static VersionInfo getInstance(int major) in getInstance() method in VersionInfo
335 return getInstance(major, 0, 0, 0); in getInstance()
382 javaVersion = VersionInfo.getInstance(vs); in javaVersion()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DVersionInfoTest.java51 VersionInfo.getInstance(INSTANCE_INVALID_STRING_[i]); in TestInstance()
61 VersionInfo.getInstance(INSTANCE_VALID_STRING_[i]); in TestInstance()
69 getInstance(INSTANCE_INVALID_INT_[i]); in TestInstance()
78 getInstance(INSTANCE_VALID_INT_[i]); in TestInstance()
93 VersionInfo.getInstance(COMPARE_NOT_EQUAL_STRING_[i]); in TestCompare()
95 VersionInfo.getInstance(COMPARE_NOT_EQUAL_STRING_[i + 1]); in TestCompare()
102 VersionInfo v1 = getInstance(COMPARE_NOT_EQUAL_INT_[i]); in TestCompare()
103 VersionInfo v2 = getInstance(COMPARE_NOT_EQUAL_INT_[i + 1]); in TestCompare()
111 VersionInfo.getInstance(COMPARE_EQUAL_STRING_[i]); in TestCompare()
113 VersionInfo.getInstance(COMPARE_EQUAL_STRING_[i + 1]); in TestCompare()
[all …]
DRegionTest.java344 Region r = Region.getInstance(rd[0]); in TestKnownRegions()
355 Region ncRegion = Region.getInstance(nc); in TestKnownRegions()
381 Region.getInstance(null); in TestGetInstanceString()
388 Region.getInstance("BOGUS"); in TestGetInstanceString()
398 Region r = Region.getInstance(inputID); in TestGetInstanceString()
420 Region.getInstance(-123); in TestGetInstanceInt()
429 Region r = Region.getInstance(Integer.valueOf(inputID)); in TestGetInstanceInt()
444 Region r = Region.getInstance(rd[0]); in TestGetContainedRegions()
465 Region r = Region.getInstance(rd[0]); in TestGetContainedRegionsWithType()
486 Region r = Region.getInstance(rd[0]); in TestGetContainingRegionWithType()
[all …]
/third_party/typescript/tests/cases/conformance/classes/members/privateNames/
DprivateNameFieldUnaryMutation.ts18 this.getInstance().#test++;
19 this.getInstance().#test--;
20 ++this.getInstance().#test;
21 --this.getInstance().#test;
22 const a = this.getInstance().#test++;
23 const b = this.getInstance().#test--;
24 const c = ++this.getInstance().#test;
25 const d = --this.getInstance().#test;
26 … for (this.getInstance().#test = 0; this.getInstance().#test < 10; ++this.getInstance().#test) {}
27 … for (this.getInstance().#test = 0; this.getInstance().#test < 10; this.getInstance().#test++) {}
[all …]
DprivateNameFieldAssignment.ts19 A.getInstance().#field = 1;
20 A.getInstance().#field += 2;
21 A.getInstance().#field -= 3;
22 A.getInstance().#field /= 4;
23 A.getInstance().#field *= 5;
24 A.getInstance().#field **= 6;
25 A.getInstance().#field %= 7;
26 A.getInstance().#field <<= 8;
27 A.getInstance().#field >>= 9;
28 A.getInstance().#field >>>= 10;
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DVersionInfoTest.java54 VersionInfo.getInstance(INSTANCE_INVALID_STRING_[i]); in TestInstance()
64 VersionInfo.getInstance(INSTANCE_VALID_STRING_[i]); in TestInstance()
72 getInstance(INSTANCE_INVALID_INT_[i]); in TestInstance()
81 getInstance(INSTANCE_VALID_INT_[i]); in TestInstance()
96 VersionInfo.getInstance(COMPARE_NOT_EQUAL_STRING_[i]); in TestCompare()
98 VersionInfo.getInstance(COMPARE_NOT_EQUAL_STRING_[i + 1]); in TestCompare()
105 VersionInfo v1 = getInstance(COMPARE_NOT_EQUAL_INT_[i]); in TestCompare()
106 VersionInfo v2 = getInstance(COMPARE_NOT_EQUAL_INT_[i + 1]); in TestCompare()
114 VersionInfo.getInstance(COMPARE_EQUAL_STRING_[i]); in TestCompare()
116 VersionInfo.getInstance(COMPARE_EQUAL_STRING_[i + 1]); in TestCompare()
[all …]
DRegionTest.java347 Region r = Region.getInstance(rd[0]); in TestKnownRegions()
358 Region ncRegion = Region.getInstance(nc); in TestKnownRegions()
384 Region.getInstance(null); in TestGetInstanceString()
391 Region.getInstance("BOGUS"); in TestGetInstanceString()
401 Region r = Region.getInstance(inputID); in TestGetInstanceString()
423 Region.getInstance(-123); in TestGetInstanceInt()
432 Region r = Region.getInstance(Integer.valueOf(inputID)); in TestGetInstanceInt()
447 Region r = Region.getInstance(rd[0]); in TestGetContainedRegions()
468 Region r = Region.getInstance(rd[0]); in TestGetContainedRegionsWithType()
489 Region r = Region.getInstance(rd[0]); in TestGetContainingRegionWithType()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DNumberParserImpl.java44 Currency currency = Currency.getInstance("USD"); in createSimpleParser()
45 DecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance(locale); in createSimpleParser()
46 IgnorablesMatcher ignorables = IgnorablesMatcher.getInstance(parseFlags); in createSimpleParser()
61 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
62 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
63 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
64 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
65 parser.addMatcher(PermilleMatcher.getInstance(symbols)); in createSimpleParser()
66 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser()
67 parser.addMatcher(InfinityMatcher.getInstance(symbols)); in createSimpleParser()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DNumberParserImpl.java42 Currency currency = Currency.getInstance("USD"); in createSimpleParser()
43 DecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance(locale); in createSimpleParser()
44 IgnorablesMatcher ignorables = IgnorablesMatcher.getInstance(parseFlags); in createSimpleParser()
59 parser.addMatcher(DecimalMatcher.getInstance(symbols, grouper, parseFlags)); in createSimpleParser()
60 parser.addMatcher(MinusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
61 parser.addMatcher(PlusSignMatcher.getInstance(symbols, false)); in createSimpleParser()
62 parser.addMatcher(PercentMatcher.getInstance(symbols)); in createSimpleParser()
63 parser.addMatcher(PermilleMatcher.getInstance(symbols)); in createSimpleParser()
64 parser.addMatcher(NanMatcher.getInstance(symbols, parseFlags)); in createSimpleParser()
65 parser.addMatcher(InfinityMatcher.getInstance(symbols)); in createSimpleParser()
[all …]
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java95 Transliterator lh = Transliterator.getInstance("Latin-Hangul"); in TestHangul()
131 Transliterator hanLatin = Transliterator.getInstance("Han-Latin"); in TestChinese()
158 Transliterator fie = Transliterator.getInstance(id); in checkRegistry()
161 Transliterator foe = Transliterator.getInstance(id); in checkRegistry()
172 Transliterator t = Transliterator.getInstance(ID); in TestInstantiationError()
421 Transliterator t = Transliterator.getInstance("Latin-Katakana;Katakana-Latin"); in TestCompoundKana()
430 Transliterator a = Transliterator.getInstance("Any-Hex"); in TestCompoundHex()
431 Transliterator b = Transliterator.getInstance("Hex-Any"); in TestCompoundHex()
434 Transliterator ab = Transliterator.getInstance("Any-Hex;Hex-Any"); in TestCompoundHex()
444 Transliterator ba = Transliterator.getInstance("Hex-Any;Any-Hex"); in TestCompoundHex()
[all …]
DJamoTest.java30 Transliterator latinJamo = Transliterator.getInstance("Latin-Jamo"); in TestJamo()
104 Transliterator latinJamo = Transliterator.getInstance("Latin-Jamo"); in TestRoundTrip()
106 Transliterator jamoHangul = Transliterator.getInstance("NFC"); in TestRoundTrip()
107 Transliterator hangulJamo = Transliterator.getInstance("NFD"); in TestRoundTrip()
143 t = Transliterator.getInstance("NFD"); // was Hangul-Jamo in TestPiecemeal()
146 t = Transliterator.getInstance("NFC"); // was Jamo-Hangul in TestPiecemeal()
149 t = Transliterator.getInstance("Latin-Jamo"); in TestPiecemeal()
152 t = Transliterator.getInstance("Jamo-Latin"); in TestPiecemeal()
155 t = Transliterator.getInstance("Hangul-Latin"); in TestPiecemeal()
158 t = Transliterator.getInstance("Latin-Hangul"); in TestPiecemeal()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DTransliteratorTest.java98 Transliterator lh = Transliterator.getInstance("Latin-Hangul"); in TestHangul()
134 Transliterator hanLatin = Transliterator.getInstance("Han-Latin"); in TestChinese()
161 Transliterator fie = Transliterator.getInstance(id); in checkRegistry()
164 Transliterator foe = Transliterator.getInstance(id); in checkRegistry()
175 Transliterator t = Transliterator.getInstance(ID); in TestInstantiationError()
424 Transliterator t = Transliterator.getInstance("Latin-Katakana;Katakana-Latin"); in TestCompoundKana()
433 Transliterator a = Transliterator.getInstance("Any-Hex"); in TestCompoundHex()
434 Transliterator b = Transliterator.getInstance("Hex-Any"); in TestCompoundHex()
437 Transliterator ab = Transliterator.getInstance("Any-Hex;Hex-Any"); in TestCompoundHex()
447 Transliterator ba = Transliterator.getInstance("Hex-Any;Any-Hex"); in TestCompoundHex()
[all …]
DJamoTest.java33 Transliterator latinJamo = Transliterator.getInstance("Latin-Jamo"); in TestJamo()
107 Transliterator latinJamo = Transliterator.getInstance("Latin-Jamo"); in TestRoundTrip()
109 Transliterator jamoHangul = Transliterator.getInstance("NFC"); in TestRoundTrip()
110 Transliterator hangulJamo = Transliterator.getInstance("NFD"); in TestRoundTrip()
146 t = Transliterator.getInstance("NFD"); // was Hangul-Jamo in TestPiecemeal()
149 t = Transliterator.getInstance("NFC"); // was Jamo-Hangul in TestPiecemeal()
152 t = Transliterator.getInstance("Latin-Jamo"); in TestPiecemeal()
155 t = Transliterator.getInstance("Jamo-Latin"); in TestPiecemeal()
158 t = Transliterator.getInstance("Hangul-Latin"); in TestPiecemeal()
161 t = Transliterator.getInstance("Latin-Hangul"); in TestPiecemeal()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyDisplayNames.java37 public static CurrencyDisplayNames getInstance(ULocale locale) { in getInstance() method in CurrencyDisplayNames
38 return CurrencyData.provider.getInstance(locale, true); in getInstance()
53 public static CurrencyDisplayNames getInstance(Locale locale) { in getInstance() method in CurrencyDisplayNames
54 return getInstance(locale, false); in getInstance()
71 public static CurrencyDisplayNames getInstance(ULocale locale, boolean noSubstitute) { in getInstance() method in CurrencyDisplayNames
72 return CurrencyData.provider.getInstance(locale, !noSubstitute); in getInstance()
89 public static CurrencyDisplayNames getInstance(Locale locale, boolean noSubstitute) { in getInstance() method in CurrencyDisplayNames
90 return getInstance(ULocale.forLocale(locale), noSubstitute); in getInstance()

12345678910>>...42