Home
last modified time | relevance | path

Searched refs:numeric (Results 1 – 25 of 840) sorted by relevance

12345678910>>...34

/third_party/typescript/tests/baselines/reference/
DpropertiesAndIndexersForNumericNames.errors.txt1 …,12): error TS2412: Property '"1"' of type 'string' is not assignable to numeric index type 'numbe…
2 …12): error TS2412: Property '"-1"' of type 'string' is not assignable to numeric index type 'numbe…
3 …): error TS2412: Property '"-2.5"' of type 'string' is not assignable to numeric index type 'numbe…
4 …rror TS2412: Property '"3.141592"' of type 'string' is not assignable to numeric index type 'numbe…
5 …error TS2412: Property '"1.2e-20"' of type 'string' is not assignable to numeric index type 'numbe…
6 …rror TS2412: Property '"Infinity"' of type 'string' is not assignable to numeric index type 'numbe…
7 …ror TS2412: Property '"-Infinity"' of type 'string' is not assignable to numeric index type 'numbe…
8 …2): error TS2412: Property '"NaN"' of type 'string' is not assignable to numeric index type 'numbe…
15 // These all have numeric names; they should error
16 // because their types are not compatible with the numeric indexer.
[all …]
DidentifierStartAfterNumericLiteral.errors.txt1 …teral.ts(1,16): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
2 …iteral.ts(3,2): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
4 …iteral.ts(4,4): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
10 …iteral.ts(7,2): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
11 …iteral.ts(8,4): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
18 …teral.ts(11,2): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
20 …teral.ts(12,4): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
22 …teral.ts(13,4): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
32 …teral.ts(24,3): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
34 …teral.ts(25,5): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
[all …]
DenumIdentifierLiterals.errors.txt1 …s/compiler/enumIdentifierLiterals.ts(2,5): error TS2452: An enum member cannot have a numeric name.
2 …s/compiler/enumIdentifierLiterals.ts(3,5): error TS2452: An enum member cannot have a numeric name.
3 …s/compiler/enumIdentifierLiterals.ts(4,5): error TS2452: An enum member cannot have a numeric name.
4 …s/compiler/enumIdentifierLiterals.ts(6,5): error TS2452: An enum member cannot have a numeric name.
11 !!! error TS2452: An enum member cannot have a numeric name.
14 !!! error TS2452: An enum member cannot have a numeric name.
17 !!! error TS2452: An enum member cannot have a numeric name.
21 !!! error TS2452: An enum member cannot have a numeric name.
DpropertyAccess.errors.txt70 …// Bracket notation property access using numeric string literal value on type with property of th…
74 …// Bracket notation property access using numeric string literal value on type without property of…
78 // Bracket notation property access using numeric value on type with numeric index signature
82 // Bracket notation property access using enum value on type with numeric index signature
86 … // Bracket notation property access using value of type 'any' on type with numeric index signature
90 // Bracket notation property access using string value on type with numeric index signature
94 …// Bracket notation property access using value of other type on type with numeric index signature…
99 …operty access using string value on type with string index signature and no numeric index signature
105 …// Bracket notation property access using numeric value on type with string index signature and no…
109 …property access using enum value on type with string index signature and no numeric index signature
[all …]
DliteralsInComputedProperties1.errors.txt1 …er/literalsInComputedProperties1.ts(39,5): error TS2452: An enum member cannot have a numeric name.
2 …er/literalsInComputedProperties1.ts(40,5): error TS2452: An enum member cannot have a numeric name.
3 …er/literalsInComputedProperties1.ts(41,5): error TS2452: An enum member cannot have a numeric name.
4 …er/literalsInComputedProperties1.ts(42,5): error TS2452: An enum member cannot have a numeric name.
48 !!! error TS2452: An enum member cannot have a numeric name.
51 !!! error TS2452: An enum member cannot have a numeric name.
54 !!! error TS2452: An enum member cannot have a numeric name.
57 !!! error TS2452: An enum member cannot have a numeric name.
Dparser.numericSeparators.decmialNegative.errors.txt3 …iptnext/numericSeparators/11.ts(1,5): error TS6189: Multiple consecutive numeric separators are no…
11 …iptnext/numericSeparators/18.ts(1,3): error TS6189: Multiple consecutive numeric separators are no…
12 …iptnext/numericSeparators/19.ts(1,5): error TS6189: Multiple consecutive numeric separators are no…
14 …iptnext/numericSeparators/20.ts(1,8): error TS6189: Multiple consecutive numeric separators are no…
18 …iptnext/numericSeparators/24.ts(1,6): error TS6189: Multiple consecutive numeric separators are no…
25 …riptnext/numericSeparators/3.ts(1,3): error TS6189: Multiple consecutive numeric separators are no…
27 …iptnext/numericSeparators/31.ts(1,3): error TS6189: Multiple consecutive numeric separators are no…
28 …iptnext/numericSeparators/32.ts(1,5): error TS6189: Multiple consecutive numeric separators are no…
29 …iptnext/numericSeparators/33.ts(1,9): error TS6189: Multiple consecutive numeric separators are no…
33 …iptnext/numericSeparators/37.ts(1,6): error TS6189: Multiple consecutive numeric separators are no…
[all …]
DparserEnum7.errors.txt1 …ipt5/EnumDeclarations/parserEnum7.ts(2,3): error TS2452: An enum member cannot have a numeric name.
2 …ipt5/EnumDeclarations/parserEnum7.ts(2,6): error TS2452: An enum member cannot have a numeric name.
3 …ipt5/EnumDeclarations/parserEnum7.ts(2,9): error TS2452: An enum member cannot have a numeric name.
10 !!! error TS2452: An enum member cannot have a numeric name.
12 !!! error TS2452: An enum member cannot have a numeric name.
14 !!! error TS2452: An enum member cannot have a numeric name.
DpropertiesAndIndexers.errors.txt1 …rs.ts(16,5): error TS2412: Property '1' of type 'Z' is not assignable to numeric index type 'strin…
2 …18,5): error TS2412: Property '3' of type 'boolean' is not assignable to numeric index type 'strin…
3 …: error TS2412: Property '6' of type '() => string' is not assignable to numeric index type 'strin…
4 …23,5): error TS2412: Property '4' of type 'boolean' is not assignable to numeric index type 'strin…
15 …rs.ts(34,5): error TS2412: Property '2' of type 'Z' is not assignable to numeric index type 'strin…
16 … error TS2412: Property 'Infinity' of type 'number' is not assignable to numeric index type 'strin…
19 …50,5): error TS2412: Property '3' of type 'boolean' is not assignable to numeric index type 'strin…
40 !!! error TS2412: Property '1' of type 'Z' is not assignable to numeric index type 'string'.
44 !!! error TS2412: Property '3' of type 'boolean' is not assignable to numeric index type 'string'.
47 !!! error TS2412: Property '6' of type '() => string' is not assignable to numeric index type 'stri…
[all …]
DenumErrors.errors.txt5 tests/cases/conformance/enums/enumErrors.ts(9,9): error TS18033: Only numeric enums can have comput…
6 tests/cases/conformance/enums/enumErrors.ts(26,9): error TS18033: Only numeric enums can have compu…
7 tests/cases/conformance/enums/enumErrors.ts(27,9): error TS18033: Only numeric enums can have compu…
8 tests/cases/conformance/enums/enumErrors.ts(28,9): error TS18033: Only numeric enums can have compu…
9 tests/cases/conformance/enums/enumErrors.ts(29,9): error TS18033: Only numeric enums can have compu…
10 tests/cases/conformance/enums/enumErrors.ts(30,9): error TS18033: Only numeric enums can have compu…
18 …es/conformance/enums/enumErrors.ts(49,26): error TS2452: An enum member cannot have a numeric name.
20 …es/conformance/enums/enumErrors.ts(50,30): error TS2452: An enum member cannot have a numeric name.
25 …es/conformance/enums/enumErrors.ts(53,33): error TS2452: An enum member cannot have a numeric name.
47 !!! error TS18033: Only numeric enums can have computed members, but this expression has type 'Numb…
[all …]
DpropertyAccess.types171 // Bracket notation property access using numeric string literal value on type with property of tha…
181 // Bracket notation property access using numeric string literal value on type without property of …
191 // Bracket notation property access using numeric value on type with numeric index signature
201 // Bracket notation property access using enum value on type with numeric index signature
213 // Bracket notation property access using value of type 'any' on type with numeric index signature
223 // Bracket notation property access using string value on type with numeric index signature
233 // Bracket notation property access using value of other type on type with numeric index signature …
240 …operty access using string value on type with string index signature and no numeric index signature
259 // Bracket notation property access using numeric value on type with string index signature and no
269 …property access using enum value on type with string index signature and no numeric index signature
[all …]
DparserEnum5.errors.txt2 …pt5/EnumDeclarations/parserEnum5.ts(2,14): error TS2452: An enum member cannot have a numeric name.
4 …pt5/EnumDeclarations/parserEnum5.ts(3,17): error TS2452: An enum member cannot have a numeric name.
6 …pt5/EnumDeclarations/parserEnum5.ts(3,26): error TS2452: An enum member cannot have a numeric name.
15 !!! error TS2452: An enum member cannot have a numeric name.
20 !!! error TS2452: An enum member cannot have a numeric name.
24 !!! error TS2452: An enum member cannot have a numeric name.
DnumericIndexerConstrainsPropertyDeclarations2.errors.txt1 …s(16,5): error TS2412: Property '3.0' of type 'number' is not assignable to numeric index type 'A'.
2 …s(25,5): error TS2412: Property '3.0' of type 'number' is not assignable to numeric index type 'A'.
3 …s(34,5): error TS2412: Property '3.0' of type 'number' is not assignable to numeric index type 'A'.
25 !!! error TS2412: Property '3.0' of type 'number' is not assignable to numeric index type 'A'.
36 !!! error TS2412: Property '3.0' of type 'number' is not assignable to numeric index type 'A'.
47 !!! error TS2412: Property '3.0' of type 'number' is not assignable to numeric index type 'A'.
DderivedInterfaceIncompatibleWithBaseIndexer.errors.txt2 …error TS2412: Property '1' of type '{ y: number; }' is not assignable to numeric index type '{ x: …
4 …ror TS2412: Property ''1'' of type '{ y: number; }' is not assignable to numeric index type '{ x: …
7 …error TS2412: Property '1' of type '{ x: number; }' is not assignable to numeric index type '{ x: …
21 !!! error TS2412: Property '1' of type '{ y: number; }' is not assignable to numeric index type '{ …
29 !!! error TS2412: Property ''1'' of type '{ y: number; }' is not assignable to numeric index type '…
44 // satisifies string indexer but not numeric indexer
48 !!! error TS2412: Property '1' of type '{ x: number; }' is not assignable to numeric index type '{ …
Dparser.numericSeparators.binaryNegative.errors.txt4 …tors/3.ts(1,3): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
6 …riptnext/numericSeparators/4.ts(1,6): error TS6189: Multiple consecutive numeric separators are no…
7 …iptnext/numericSeparators/5.ts(1,13): error TS6189: Multiple consecutive numeric separators are no…
28 !!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
35 !!! error TS6189: Multiple consecutive numeric separators are not permitted.
40 !!! error TS6189: Multiple consecutive numeric separators are not permitted.
Dparser.numericSeparators.hexNegative.errors.txt4 …tors/3.ts(1,3): error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
6 …riptnext/numericSeparators/4.ts(1,6): error TS6189: Multiple consecutive numeric separators are no…
7 …iptnext/numericSeparators/5.ts(1,13): error TS6189: Multiple consecutive numeric separators are no…
28 !!! error TS1351: An identifier or keyword cannot immediately follow a numeric literal.
35 !!! error TS6189: Multiple consecutive numeric separators are not permitted.
40 !!! error TS6189: Multiple consecutive numeric separators are not permitted.
/third_party/jerryscript/tests/jerry/es2015/
Dsymbol-isconcatspreadable.js17 var numeric = [1, 2, 3]; variable
19 var alphaNumeric = alpha.concat(numeric);
23 numeric[Symbol.isConcatSpreadable] = false;
24 alphaNumeric = alpha.concat(numeric);
28 numeric[Symbol.isConcatSpreadable] = true;
38 var numericArray = numeric.concat(fakeArray);
43 numericArray = numeric.concat(fakeArray);
61 var numericBool = numeric.concat(bool);
66 numericBool = numeric.concat(bool);
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUDebug.java43 boolean numeric = false; in getInstanceLenient()
48 if (numeric) { in getInstanceLenient()
53 numeric = false; in getInstanceLenient()
57 if (numeric) { in getInstanceLenient()
67 numeric = true; in getInstanceLenient()
/third_party/icu/icu4c/source/i18n/
Drulebasedcollator.cpp579 UBool numeric = settings->isNumeric(); in setVariableTop() local
582 UTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
586 FCDUTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
1003 UBool numeric = settings->isNumeric(); in doCompare() local
1006 data->isUnsafeBackward(left[equalPrefixLength], numeric)) || in doCompare()
1008 data->isUnsafeBackward(right[equalPrefixLength], numeric))) { in doCompare()
1011 data->isUnsafeBackward(left[equalPrefixLength], numeric)) {} in doCompare()
1050 UTF16CollationIterator leftIter(data, numeric, in doCompare()
1052 UTF16CollationIterator rightIter(data, numeric, in doCompare()
1056 FCDUTF16CollationIterator leftIter(data, numeric, in doCompare()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Drulebasedcollator.cpp579 UBool numeric = settings->isNumeric(); in setVariableTop() local
582 UTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
586 FCDUTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
1003 UBool numeric = settings->isNumeric(); in doCompare() local
1006 data->isUnsafeBackward(left[equalPrefixLength], numeric)) || in doCompare()
1008 data->isUnsafeBackward(right[equalPrefixLength], numeric))) { in doCompare()
1011 data->isUnsafeBackward(left[equalPrefixLength], numeric)) {} in doCompare()
1050 UTF16CollationIterator leftIter(data, numeric, in doCompare()
1052 UTF16CollationIterator rightIter(data, numeric, in doCompare()
1056 FCDUTF16CollationIterator leftIter(data, numeric, in doCompare()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Drulebasedcollator.cpp579 UBool numeric = settings->isNumeric(); in setVariableTop() local
582 UTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
586 FCDUTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
1003 UBool numeric = settings->isNumeric(); in doCompare() local
1006 data->isUnsafeBackward(left[equalPrefixLength], numeric)) || in doCompare()
1008 data->isUnsafeBackward(right[equalPrefixLength], numeric))) { in doCompare()
1011 data->isUnsafeBackward(left[equalPrefixLength], numeric)) {} in doCompare()
1050 UTF16CollationIterator leftIter(data, numeric, in doCompare()
1052 UTF16CollationIterator rightIter(data, numeric, in doCompare()
1056 FCDUTF16CollationIterator leftIter(data, numeric, in doCompare()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drulebasedcollator.cpp579 UBool numeric = settings->isNumeric(); in setVariableTop() local
582 UTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
586 FCDUTF16CollationIterator ci(data, numeric, varTop, varTop, varTop + len); in setVariableTop()
1003 UBool numeric = settings->isNumeric(); in doCompare() local
1006 data->isUnsafeBackward(left[equalPrefixLength], numeric)) || in doCompare()
1008 data->isUnsafeBackward(right[equalPrefixLength], numeric))) { in doCompare()
1011 data->isUnsafeBackward(left[equalPrefixLength], numeric)) {} in doCompare()
1050 UTF16CollationIterator leftIter(data, numeric, in doCompare()
1052 UTF16CollationIterator rightIter(data, numeric, in doCompare()
1056 FCDUTF16CollationIterator leftIter(data, numeric, in doCompare()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollationElementIterator.java495 boolean numeric = rbc_.settings.readOnly().isNumeric(); in setText()
497 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
499 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
532 boolean numeric = rbc_.settings.readOnly().isNumeric(); in setText()
534 newIter = new IterCollationIterator(rbc_.data, numeric, src); in setText()
536 newIter = new FCDIterCollationIterator(rbc_.data, numeric, src, 0); in setText()
559 boolean numeric = rbc_.settings.readOnly().isNumeric(); in setText()
561 newIter = new IterCollationIterator(rbc_.data, numeric, src); in setText()
563 newIter = new FCDIterCollationIterator(rbc_.data, numeric, src, 0); in setText()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java510 boolean numeric = rbc_.settings.readOnly().isNumeric(); in setText()
512 newIter = new UTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
514 newIter = new FCDUTF16CollationIterator(rbc_.data, numeric, string_, 0); in setText()
548 boolean numeric = rbc_.settings.readOnly().isNumeric(); in setText()
550 newIter = new IterCollationIterator(rbc_.data, numeric, src); in setText()
552 newIter = new FCDIterCollationIterator(rbc_.data, numeric, src, 0); in setText()
576 boolean numeric = rbc_.settings.readOnly().isNumeric(); in setText()
578 newIter = new IterCollationIterator(rbc_.data, numeric, src); in setText()
580 newIter = new FCDIterCollationIterator(rbc_.data, numeric, src, 0); in setText()
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp42 template<class numeric>
44 mCallback = std::make_unique<DuplexCallback<numeric>>( in createCallback()
45 *inStream, [&functionStack = this->functionList](numeric *beg, numeric *end) { in createCallback()
46 std::get<FunctionList<numeric *>>(functionStack)(beg, end); in createCallback()
/third_party/python/Lib/test/
Dtest_unicodedata.py86 format(self.db.numeric(char, -1), '.12g'),
111 self.assertEqual(self.db.numeric('A',None), None)
112 self.assertEqual(self.db.numeric('9'), 9)
113 self.assertEqual(self.db.numeric('\u215b'), 0.125)
114 self.assertEqual(self.db.numeric('\u2468'), 9.0)
115 self.assertEqual(self.db.numeric('\ua627'), 7.0)
116 self.assertEqual(self.db.numeric('\U00020000', None), None)
117 self.assertEqual(self.db.numeric('\U0001012A'), 9000)
119 self.assertRaises(TypeError, self.db.numeric)
120 self.assertRaises(TypeError, self.db.numeric, 'xx')
[all …]

12345678910>>...34