Home
last modified time | relevance | path

Searched refs:ranges (Results 1 – 25 of 1502) sorted by relevance

12345678910>>...61

/third_party/typescript/tests/cases/fourslash/
DjsdocDeprecated_suggestion1.ts81 const ranges = test.ranges(); constant
87 "range": ranges[0]
93 "range": ranges[1]
99 "range": ranges[2]
105 "range": ranges[3]
111 "range": ranges[4]
117 "range": ranges[5]
123 "range": ranges[6]
129 "range": ranges[7]
135 "range": ranges[8]
[all …]
DreferencesForOverrides.ts78 const ranges = test.rangesByText(); constant
80 const fooRanges = ranges.get("foo");
83 { definition: "(method) SimpleClassTest.Foo.foo(): void", ranges: [foo0] },
84 { definition: "(method) SimpleClassTest.Bar.foo(): void", ranges: [foo1, foo2] },
87 const ifooRanges = ranges.get("ifoo");
90 { definition: "(method) SimpleInterfaceTest.IFoo.ifoo(): void", ranges: [ifoo0] },
91 { definition: "(method) SimpleInterfaceTest.IBar.ifoo(): void", ranges: [ifoo1, ifoo2] }
94 const icfooRanges = ranges.get("icfoo");
97 { definition: "(method) SimpleClassInterfaceTest.IFoo.icfoo(): void", ranges: [icfoo0] },
98 { definition: "(method) SimpleClassInterfaceTest.Bar.icfoo(): void", ranges: [icfoo1, icfoo2] }
[all …]
DcompletionsWithStringReplacementMode1.ts27 { name: "login.title", replacementSpan: test.ranges()[0] },
28 { name: "login.description", replacementSpan: test.ranges()[0] },
29 { name: "login.sendEmailAgree", replacementSpan: test.ranges()[0] },
30 { name: "login.termsOfUse", replacementSpan: test.ranges()[0] },
31 { name: "login.privacyPolicy", replacementSpan: test.ranges()[0] },
32 { name: "login.sendEmailButton", replacementSpan: test.ranges()[0] },
33 { name: "login.emailInputPlaceholder", replacementSpan: test.ranges()[0] },
34 { name: "login.errorWrongEmailTitle", replacementSpan: test.ranges()[0] },
35 { name: "login.errorWrongEmailDescription", replacementSpan: test.ranges()[0] },
36 { name: "login.errorGeneralEmailTitle", replacementSpan: test.ranges()[0] },
[all …]
DreferencesForStatementKeywords.ts199 ] = test.ranges();
203 …EqualsDecl1_importKeyword, [{ definition: "import A = require(\"./a\")", ranges: [importEqualsDecl…
204 verify.referenceGroups(importEqualsDecl1_requireKeyword, [{ definition: "module \"/a\"", ranges: [i…
207 …cl2_importKeyword, [{ definition: "(alias) namespace N2\nimport N2 = N", ranges: [importEqualsDecl…
211 { definition: "(alias) class B\nimport B", ranges: [importDecl1_name] },
212 { definition: "class B", ranges: [classDecl1_name] }
214 verify.referenceGroups(importDecl1_fromKeyword, [{ definition: "module \"/b\"", ranges: [importDecl…
217 …ortDecl2_typeKeyword, importDecl2_asKeyword], [{ definition: "import C", ranges: [importDecl2_name…
218 verify.referenceGroups([importDecl2_fromKeyword], [{ definition: "module \"/c\"", ranges: [importDe…
222 { definition: "(alias) class D\nimport D", ranges: [importDecl3_name] },
[all …]
DfindAllRefsInheritedProperties3.ts20 const [r0Def, r0, r1Def, r1, r2Def, r2, r3Def, r3, r4Def, r4, r5Def, r5, r6, r7] = test.ranges();
22 { definition: "(method) class1.doStuff(): void", ranges: [r0] },
23 { definition: "(method) class2.doStuff(): void", ranges: [r4, r6] },
26 { definition: "(property) class1.propName: string", ranges: [r1] },
27 { definition: "(property) class2.propName: string", ranges: [r5, r7] },
30 { definition: "(method) interface1.doStuff(): void", ranges: [r2] },
31 { definition: "(method) class2.doStuff(): void", ranges: [r4, r6] },
34 { definition: "(property) interface1.propName: string", ranges: [r3] },
35 { definition: "(property) class2.propName: string", ranges: [r5, r7] },
38 { definition: "(method) class1.doStuff(): void", ranges: [r0] },
[all …]
DjsdocDeprecated_suggestion3.ts56 const ranges = test.ranges(); constant
61 range: ranges[0],
67 range: ranges[1],
73 range: ranges[2],
79 range: ranges[3],
85 range: ranges[4],
91 range: ranges[5],
97 range: ranges[6],
103 range: ranges[7],
109 range: ranges[8],
[all …]
DcompletionsStringsWithTriggerCharacter.ts25 { name: "a/b", replacementSpan: test.ranges()[0] },
26 { name: "b/a", replacementSpan: test.ranges()[0] }
29 { name: "a@b", replacementSpan: test.ranges()[1] },
30 { name: "b@a", replacementSpan: test.ranges()[1] }
33 { name: "a.b", replacementSpan: test.ranges()[2] },
34 { name: "b.a", replacementSpan: test.ranges()[2] }
37 { name: "a'b", replacementSpan: test.ranges()[3] },
38 { name: "b'a", replacementSpan: test.ranges()[3] }
41 { name: "a`b", replacementSpan: test.ranges()[4] },
42 { name: "b`a", replacementSpan: test.ranges()[4] }
[all …]
DjsdocDeprecated_suggestion2.ts69 const ranges = test.ranges(); constant
74 range: ranges[0],
80 range: ranges[1],
86 range: ranges[2],
92 range: ranges[3],
98 range: ranges[4],
104 range: ranges[5],
110 range: ranges[6],
116 range: ranges[7],
122 range: ranges[8],
[all …]
DreferencesForDeclarationKeywords.ts71 ] = test.ranges();
72 verify.referenceGroups(classDecl1_classKeyword, [{ definition: "class C1", ranges: [classDecl1_name…
73 verify.referenceGroups(classDecl1_extendsKeyword, [{ definition: "class Base", ranges: [baseDecl_na…
74 …s(classDecl1_implementsKeyword, [{ definition: "interface Implemented1", ranges: [implemented1Decl…
76 …verify.referenceGroups(keyword, [{ definition: "(property) C1.e: number", ranges: [getDecl_name, s…
78 verify.referenceGroups(interfaceDecl1_interfaceKeyword, [{ definition: "interface I1", ranges: [int…
79 verify.referenceGroups(interfaceDecl1_extendsKeyword, [{ definition: "class Base", ranges: [baseDec…
80 verify.referenceGroups(typeDecl_typeKeyword, [{ definition: "type T = {}", ranges: [typeDecl_name] …
81 verify.referenceGroups(enumDecl_enumKeyword, [{ definition: "enum E", ranges: [enumDecl_name] }]);
82 verify.referenceGroups(namespaceDecl_namespaceKeyword, [{ definition: "namespace N", ranges: [names…
[all …]
DfindAllRefsParameterPropertyDeclaration_inheritance.ts14 const [r0Def, r0, r1, r2Def, r2, r3] = test.ranges();
16 { definition: "(property) C.x: string", ranges: [r0] },
17 { definition: "(parameter) x: string", ranges: [r1] },
18 { definition: "(property) D.x: string", ranges: [r2, r3] },
21 { definition: "(property) C.x: string", ranges: [r0] },
22 { definition: "(parameter) x: string", ranges: [r1] },
25 { definition: "(property) C.x: string", ranges: [r0, r1] },
26 { definition: "(property) D.x: string", ranges: [r2] },
27 { definition: "(parameter) x: string", ranges: [r3] },
30 { definition: "(property) D.x: string", ranges: [r2] },
[all …]
DreferencesForModifiers.ts15 …ef,, cDef,, dDef,, eDef,, enumDef,, functionDef,, classDef2Default, classDef2Name] = test.ranges();
17 verify.referenceGroups(modifier, [{ definition: "class C1", ranges: [classDef1] }]);
19 verify.referenceGroups("staticModifier", [{ definition: "(property) C1.a: any", ranges: [aDef] }]);
20 verify.referenceGroups("readonlyModifier", [{ definition: "(property) C1.b: any", ranges: [bDef] }]…
21 verify.referenceGroups("publicModifier", [{ definition: "(property) C1.c: any", ranges: [cDef] }]);
22 verify.referenceGroups("protectedModifier", [{ definition: "(property) C1.d: any", ranges: [dDef] }…
23 verify.referenceGroups("privateModifier", [{ definition: "(property) C1.e: any", ranges: [eDef] }]);
24 verify.referenceGroups("constModifier", [{ definition: "const enum E", ranges: [enumDef] }]);
25 verify.referenceGroups("asyncModifier", [{ definition: "function fn(): Promise<void>", ranges: [fun…
26 verify.referenceGroups("exportModifier", [{ definition: "class C2", ranges: [classDef2Name] }]);
[all …]
DreferencesForUnionProperties.ts25 const [oneDef, one, baseDef, base, hasAOrBDef, hasAOrB, x] = test.ranges();
27 { definition: "(property) a: number", ranges: [one] },
28 { definition: "(property) a: string | number", ranges: [x] },
31 { definition: "(property) Base.a: string", ranges: [base] },
32 { definition: "(property) HasAOrB.a: string", ranges: [hasAOrB] },
33 { definition: "(property) a: string | number", ranges: [x] },
36 { definition: "(property) a: number", ranges: [one] },
37 { definition: "(property) Base.a: string", ranges: [base] },
38 { definition: "(property) HasAOrB.a: string", ranges: [hasAOrB] },
39 { definition: "(property) a: string | number", ranges: [x] },
DfindAllRefsForDefaultExport_reExport.ts13 const [r0Def, r0, r1Def, r1, r2Def, r2, r3Def, r3] = test.ranges();
15 { definition: "const foo: 1", ranges: [r0, r1] },
16 { definition: "(alias) const foo: 1\nexport default", ranges: [r2], },
17 { definition: "(alias) const fooDefault: 1\nimport fooDefault", ranges: [r3] },
20 { definition: "(alias) const foo: 1\nexport default", ranges: [r2] },
21 { definition: "(alias) const fooDefault: 1\nimport fooDefault", ranges: [r3] },
22 { definition: "const foo: 1", ranges: [r0, r1] },
25 { definition: "(alias) const fooDefault: 1\nimport fooDefault", ranges: [r3] },
26 { definition: "(alias) const foo: 1\nexport default", ranges: [r2] },
27 { definition: "const foo: 1", ranges: [r0, r1] },
DfindAllRefsOfConstructor_multipleFiles.ts25 …ort, a1New, reExportDef, bReExport, b1Export, bDefaultDef, bDefault, bNew, b1New ] = test.ranges();
27 { definition: "class A", ranges: [aCtr, aExport] },
28 { definition: "class B", ranges: [bExport]},
29 { definition: "(alias) class B\nexport B", ranges: [bReExport]},
30 { definition: "(alias) class B1\nexport B1", ranges: [b1Export]},
31 { definition: "(alias) class B1\nimport B1", ranges: [b1New]},
32 { definition: "(alias) class A\nexport A", ranges: [aImport]},
33 { definition: "(alias) class A1\nimport A1", ranges: [a1New]},
34 { definition: "class default", ranges: []},
35 { definition: { text: "import B", range: bDefault }, ranges: [bNew]}]);
DfindAllRefsForDefaultExport_reExport_allowSyntheticDefaultImports.ts17 const [r0Def, r0, r1Def, r1, r2Def, r2, r3Def, r3] = test.ranges();
19 { definition: "const foo: 1", ranges: [r0, r1] },
20 { definition: "(alias) const foo: 1\nexport default", ranges: [r2], },
21 { definition: "(alias) const fooDefault: 1\nimport fooDefault", ranges: [r3] },
24 { definition: "(alias) const foo: 1\nexport default", ranges: [r2] },
25 { definition: "(alias) const fooDefault: 1\nimport fooDefault", ranges: [r3] },
26 { definition: "const foo: 1", ranges: [r0, r1] },
29 { definition: "(alias) const fooDefault: 1\nimport fooDefault", ranges: [r3] },
30 { definition: "(alias) const foo: 1\nexport default", ranges: [r2] },
31 { definition: "const foo: 1", ranges: [r0, r1] },
DfindAllRefsReExports.ts33 ] = test.ranges();
34 const a = { definition: "function foo(): void", ranges: [foo0, foo1, foo2] };
35 const b = { definition: "(alias) function bar(): void\nexport bar", ranges: [bar0] };
36 const c = { definition: "(alias) function foo(): void\nexport default", ranges: [defaultC, defaultE…
37 const d = { definition: "(alias) function foo(): void\nexport default", ranges: [defaultD] };
38 const eBar = { definition: "(alias) function bar(): void\nimport bar", ranges: [bar1, bar2] };
39 const eBaz = { definition: "(alias) function baz(): void\nimport baz", ranges: [baz0, baz1] };
40 const eBang = { definition: "(alias) function bang(): void\nimport bang", ranges: [bang0, bang1] };
41 const eBoom = { definition: "(alias) function boom(): void\nimport boom", ranges: [boom0, boom1] };
55 test.rangesByText().forEach((ranges, text) => {
[all …]
DfindAllRefsPrefixSuffixPreference.ts20 const [q0Def, q0, q1Def, q1, z0Def, z0, z1Def, z1, z2, q2Def, q2, q3] = test.ranges();
25 ranges: qFile1Ranges
29 ranges: qFile2Ranges
34 verify.renameLocations(q0, { ranges: [q0, { range: q1, suffixText: " as q" }], providePrefixAndSuff…
35 verify.renameLocations(q1, { ranges: [{ range: q1, prefixText: "q as " }, q2, q3], providePrefixAnd…
36 verify.renameLocations([q2, q3], { ranges: [{ range: q2, prefixText: "q as " }, q3], providePrefixA…
38 verify.renameLocations([q0, q1, q2, q3], { ranges: [q0, q1, q2, q3], providePrefixAndSuffixTextForR…
42 ranges: [z0]
46 ranges: [z1, z2]
49 verify.referenceGroups([z0], [{ ...zReferenceGroup1, ranges: [z0, z1] }]);
[all …]
DrenameImportOfExportEquals2.ts20 const ranges = test.rangesByText(); constant
21 const nRanges = ranges.get("N");// [N0, N1];
22 const oRanges = ranges.get("O");// [O0, O1];
23 const pRanges = ranges.get("P");//[P0, P1];
24 const qRanges = ranges.get("Q");//[Q0, Q1];
26 const ns = { definition: "namespace N", ranges: nRanges };
27 const os = { definition: "(alias) namespace O\nimport O", ranges: oRanges };
28 const ps = { definition: "(alias) namespace P\nexport P", ranges: pRanges };
29 const qs = { definition: "(alias) namespace Q\nimport Q", ranges: qRanges };
/third_party/gn/src/gn/
Dsubstitution_pattern_unittest.cc16 ASSERT_EQ(1u, pattern.ranges().size()); in TEST()
17 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST()
18 EXPECT_EQ("This is a literal", pattern.ranges()[0].literal); in TEST()
27 ASSERT_EQ(5u, pattern.ranges().size()); in TEST()
29 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[0].type); in TEST()
30 EXPECT_EQ("AA", pattern.ranges()[0].literal); in TEST()
31 EXPECT_EQ(&SubstitutionSource, pattern.ranges()[1].type); in TEST()
32 EXPECT_EQ(&SubstitutionSourceNamePart, pattern.ranges()[2].type); in TEST()
33 EXPECT_EQ(&SubstitutionLiteral, pattern.ranges()[3].type); in TEST()
34 EXPECT_EQ("BB", pattern.ranges()[3].literal); in TEST()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationWeights.java101 int minLength=ranges[0].length; in allocWeights()
115 for (int i = 0; i < rangeCount && ranges[i].length == minLength; ++i) { in allocWeights()
116 lengthenRange(ranges[i]); in allocWeights()
127 if(rangeCount < ranges.length) { in allocWeights()
128 ranges[rangeCount] = null; // force a crash when going out of bounds in allocWeights()
145 WeightRange range = ranges[rangeIndex]; in nextWeight()
446 ranges[0] = middle; in getWeightRanges()
452 ranges[rangeCount++]=upper[length]; in getWeightRanges()
455 ranges[rangeCount++]=lower[length]; in getWeightRanges()
463 for(int i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { in allocWeightsInShortRanges()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DStringRange.java105 for (Ranges ranges : compacted) { in compact()
106 adder.add(ranges.start(), ranges.end(shorterPairs)); in compact()
123 LinkedList<Ranges> ranges = new LinkedList<Ranges>(inputRanges); in compact() local
126 for (Iterator<Ranges> it = ranges.iterator(); it.hasNext();) { in compact()
137 return ranges; in compact()
171 private final Range[] ranges; field in StringRange.Ranges
174 ranges = new Range[array.length]; in Ranges()
176 ranges[i] = new Range(array[i], array[i]); in Ranges()
181 for (int i = ranges.length-1; i >= 0; --i) { in merge()
183 if (ranges[i].max != other.ranges[i].min-1) { // not adjacent in merge()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/dts/
Dstm32f429-pinctrl.dtsi15 gpio-ranges = <&pinctrl 0 0 16>;
19 gpio-ranges = <&pinctrl 0 16 16>;
23 gpio-ranges = <&pinctrl 0 32 16>;
27 gpio-ranges = <&pinctrl 0 48 16>;
31 gpio-ranges = <&pinctrl 0 64 16>;
35 gpio-ranges = <&pinctrl 0 80 16>;
39 gpio-ranges = <&pinctrl 0 96 16>;
43 gpio-ranges = <&pinctrl 0 112 16>;
47 gpio-ranges = <&pinctrl 0 128 16>;
51 gpio-ranges = <&pinctrl 0 144 16>;
[all …]
Dstm32f469-pinctrl.dtsi14 gpio-ranges = <&pinctrl 0 0 16>;
18 gpio-ranges = <&pinctrl 0 16 16>;
22 gpio-ranges = <&pinctrl 0 32 16>;
26 gpio-ranges = <&pinctrl 0 48 16>;
30 gpio-ranges = <&pinctrl 0 64 16>;
34 gpio-ranges = <&pinctrl 0 80 16>;
38 gpio-ranges = <&pinctrl 0 96 16>;
42 gpio-ranges = <&pinctrl 0 112 16>;
46 gpio-ranges = <&pinctrl 0 128 16>;
50 gpio-ranges = <&pinctrl 0 144 6>,
[all …]
Dstm32mp157xaa-pinctrl.dtsi16 gpio-ranges = <&pinctrl 0 0 16>;
22 gpio-ranges = <&pinctrl 0 16 16>;
28 gpio-ranges = <&pinctrl 0 32 16>;
34 gpio-ranges = <&pinctrl 0 48 16>;
40 gpio-ranges = <&pinctrl 0 64 16>;
46 gpio-ranges = <&pinctrl 0 80 16>;
52 gpio-ranges = <&pinctrl 0 96 16>;
58 gpio-ranges = <&pinctrl 0 112 16>;
64 gpio-ranges = <&pinctrl 0 128 16>;
70 gpio-ranges = <&pinctrl 0 144 16>;
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationweights.cpp374 uprv_memcpy(ranges, &middle, sizeof(WeightRange)); in getWeightRanges()
380 uprv_memcpy(ranges+rangeCount, upper+length, sizeof(WeightRange)); in getWeightRanges()
384 uprv_memcpy(ranges+rangeCount, lower+length, sizeof(WeightRange)); in getWeightRanges()
394 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { in allocWeightsInShortRanges()
395 if(n <= ranges[i].count) { in allocWeightsInShortRanges()
397 if(ranges[i].length > minLength) { in allocWeightsInShortRanges()
401 ranges[i].count = n; in allocWeightsInShortRanges()
411 uprv_sortArray(ranges, rangeCount, sizeof(WeightRange), in allocWeightsInShortRanges()
417 n -= ranges[i].count; // still >0 in allocWeightsInShortRanges()
430 ranges[minLengthRangeCount].length == minLength; in allocWeightsInMinLengthRanges()
[all …]

12345678910>>...61