Home
last modified time | relevance | path

Searched refs:changes (Results 1 – 25 of 3697) sorted by relevance

12345678910>>...148

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DPluralFormatTest.java35 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument
62 String expected = changes.get(new Integer(0)); in helperTestRules()
64 String value = changes.get(n); in helperTestRules()
81 Map changes = new HashMap(); in TestOneFormLocales() local
82 changes.put(new Integer(0), "other"); in TestOneFormLocales()
83 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales()
91 Map changes = new HashMap(); in TestSingular1Locales() local
92 changes.put(new Integer(0), "other"); in TestSingular1Locales()
93 changes.put(new Integer(1), "one"); in TestSingular1Locales()
94 changes.put(new Integer(2), "other"); in TestSingular1Locales()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatTest.java32 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument
59 String expected = changes.get(new Integer(0)); in helperTestRules()
61 String value = changes.get(n); in helperTestRules()
78 Map changes = new HashMap(); in TestOneFormLocales() local
79 changes.put(new Integer(0), "other"); in TestOneFormLocales()
80 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales()
88 Map changes = new HashMap(); in TestSingular1Locales() local
89 changes.put(new Integer(0), "other"); in TestSingular1Locales()
90 changes.put(new Integer(1), "one"); in TestSingular1Locales()
91 changes.put(new Integer(2), "other"); in TestSingular1Locales()
[all …]
/third_party/typescript/src/services/codefixes/
DfixUnusedIdentifier.ts30 …const changes = textChanges.ChangeTracker.with(context, t => deleteTypeParameters(t, sourceFile, t… constant
31 return [createDeleteFix(changes, Diagnostics.Remove_type_parameters)];
35 … const changes = textChanges.ChangeTracker.with(context, t => t.delete(sourceFile, importDecl)); constant
36 …return [createCodeFixAction(fixName, changes, [Diagnostics.Remove_import_from_0, showModuleSpecifi…
72 …const changes = textChanges.ChangeTracker.with(context, t => changeInferToUnknown(t, sourceFile, t… constant
74 …result.push(createCodeFixAction(fixName, changes, [Diagnostics.Replace_infer_0_with_unknown, name]…
97 return codeFixAll(context, errorCodes, (changes, diag) => {
101 tryPrefixDeclaration(changes, diag.code, sourceFile, token);
106 changes.delete(sourceFile, importDecl);
109 …tryDeleteDeclaration(sourceFile, token, changes, checker, sourceFiles, program, cancellationToken,…
[all …]
DfixImplicitThis.ts10 const changes = textChanges.ChangeTracker.with(context, t => { constant
13 …return diagnostic ? [createCodeFixAction(fixId, changes, diagnostic, fixId, Diagnostics.Fix_all_im…
16 getAllCodeActions: context => codeFixAll(context, errorCodes, (changes, diag) => {
17 doChange(changes, diag.file, diag.start, context.program.getTypeChecker());
21 …function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, pos: number, checker…
39 changes.delete(sourceFile, fnKeyword);
41 changes.delete(sourceFile, name);
43 changes.insertText(sourceFile, body.pos, " =>");
49changes.replaceNode(sourceFile, fnKeyword, factory.createToken(SyntaxKind.ConstKeyword));
50 changes.insertText(sourceFile, name!.end, " = ");
[all …]
DconvertToTypeOnlyImport.ts8 const changes = textChanges.ChangeTracker.with(context, t => { constant
12 if (changes.length) {
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Convert_to_type_only_import, fixId, Diagno…
18 return codeFixAll(context, errorCodes, (changes, diag) => {
20 fixSingleImportDeclaration(changes, importDeclaration, context);
29 …function fixSingleImportDeclaration(changes: textChanges.ChangeTracker, importDeclaration: ImportD…
36changes.insertText(context.sourceFile, importDeclaration.getStart() + "import".length, " type");
40changes.deleteNodeRangeExcludingEnd(context.sourceFile, importClause.name, importDeclaration.impor…
41changes.insertNodeBefore(context.sourceFile, importDeclaration, factory.updateImportDeclaration(
DfixAddVoidToPromise.ts12 …const changes = textChanges.ChangeTracker.with(context, t => makeChange(t, context.sourceFile, con… constant
13 if (changes.length > 0) {
14 …return [createCodeFixAction(fixName, changes, Diagnostics.Add_void_to_Promise_resolved_without_a_v…
18 …return codeFixAll(context, errorCodes, (changes, diag) => makeChange(changes, diag.file, diag, con…
22 …function makeChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, span: TextSpan, pr…
44 changes.insertText(sourceFile, typeArgument.pos, "(");
46 changes.insertText(sourceFile, typeArgument.end, needsParens ? ") | void" : " | void");
56 changes.insertText(sourceFile, decl.parent.parent.end, `)`);
57changes.insertText(sourceFile, skipTrivia(sourceFile.text, decl.parent.parent.pos), `/** @type {Pr…
63 changes.insertText(sourceFile, decl.parent.parent.expression.end, "<void>");
DsplitTypeOnlyImport.ts9 const changes = textChanges.ChangeTracker.with(context, t => { constant
12 if (changes.length) {
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Split_into_two_separate_import_declaration…
16 getAllCodeActions: context => codeFixAll(context, errorCodes, (changes, error) => {
17 splitTypeOnlyImport(changes, getImportDeclaration(context.sourceFile, error), context);
25 …function splitTypeOnlyImport(changes: textChanges.ChangeTracker, importDeclaration: ImportDeclarat…
30 changes.replaceNode(context.sourceFile, importDeclaration, factory.updateImportDeclaration(
37changes.insertNodeAfter(context.sourceFile, importDeclaration, factory.createImportDeclaration(
DfixUnreachableCode.ts8 …const changes = textChanges.ChangeTracker.with(context, t => doChange(t, context.sourceFile, conte… constant
9 …return [createCodeFixAction(fixId, changes, Diagnostics.Remove_unreachable_code, fixId, Diagnostic…
12 …llCodeActions: context => codeFixAll(context, errorCodes, (changes, diag) => doChange(changes, dia…
15 …function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, start: number, lengt…
38changes.replaceNode(sourceFile, statement, factory.createBlock(emptyArray));
45 changes.delete(sourceFile, container);
53 changes.deleteNodeRange(sourceFile, statement, lastStatement);
56 changes.delete(sourceFile, statement);
DconvertToEs6Module.ts7 const changes = textChanges.ChangeTracker.with(context, changes => { constant
8 …ToDefault = convertFileToEs6Module(sourceFile, program.getTypeChecker(), changes, program.getCompi…
11 …fixImportOfModuleExports(importingFile, sourceFile, changes, getQuotePreference(importingFile, pre…
16 …return [createCodeFixActionWithoutFixAll("convertToEs6Module", changes, Diagnostics.Convert_to_ES6…
20 …function fixImportOfModuleExports(importingFile: SourceFile, exportingFile: SourceFile, changes: t…
30changes.replaceNode(importingFile, importNode, makeImport(importNode.name, /*namedImports*/ undefi…
34changes.replaceNode(importingFile, importNode, factory.createPropertyAccessExpression(getSynthesiz…
42 …function convertFileToEs6Module(sourceFile: SourceFile, checker: TypeChecker, changes: textChanges…
45 convertExportsAccesses(sourceFile, exports, changes);
50 …const newUseSites = convertVariableStatement(sourceFile, statement, changes, checker, identifiers,…
[all …]
DconvertToTypeOnlyExport.ts8 …const changes = textChanges.ChangeTracker.with(context, t => fixSingleExportDeclaration(t, getExpo… constant
9 if (changes.length) {
10 …return [createCodeFixAction(fixId, changes, Diagnostics.Convert_to_type_only_export, fixId, Diagno…
16 return codeFixAll(context, errorCodes, (changes, diag) => {
19 fixSingleExportDeclaration(changes, exportSpecifier, context);
29 …function fixSingleExportDeclaration(changes: textChanges.ChangeTracker, exportSpecifier: ExportSpe…
38 changes.insertModifierBefore(context.sourceFile, SyntaxKind.TypeKeyword, exportClause);
55 changes.replaceNode(context.sourceFile, exportDeclaration, valueExportDeclaration, {
59 changes.insertNodeAfter(context.sourceFile, exportDeclaration, typeExportDeclaration);
DfixExtendsInterfaceBecomesImplements.ts12 …const changes = textChanges.ChangeTracker.with(context, t => doChanges(t, sourceFile, extendsToken… constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Change_extends_to_implements, fixId, Diagn…
16 getAllCodeActions: context => codeFixAll(context, errorCodes, (changes, diag) => {
18 if (nodes) doChanges(changes, diag.file, nodes.extendsToken, nodes.heritageClauses);
29 …function doChanges(changes: textChanges.ChangeTracker, sourceFile: SourceFile, extendsToken: Node,…
30changes.replaceNode(sourceFile, extendsToken, factory.createToken(SyntaxKind.ImplementsKeyword));
39changes.replaceRange(sourceFile, { pos: implementsFullStart, end: implementsFullStart }, factory.c…
49 changes.deleteRange(sourceFile, { pos: implementsToken.getStart(), end });
DfixClassSuperMustPrecedeThisAccess.ts12 …const changes = textChanges.ChangeTracker.with(context, t => doChange(t, sourceFile, constructor, … constant
13 …return [createCodeFixAction(fixId, changes, Diagnostics.Make_super_call_the_first_statement_in_the…
19 return codeFixAll(context, errorCodes, (changes, diag) => {
24 doChange(changes, sourceFile, constructor, superCall);
30 …function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, constructor: Constru…
31 changes.insertNodeAtConstructorStart(sourceFile, constructor, superCall);
32 changes.delete(sourceFile, superCall);
DfixPropertyAssignment.ts14 …const changes = textChanges.ChangeTracker.with(context, t => doChange(t, context.sourceFile, prope… constant
15 …return [createCodeFixAction(fixId, changes, [Diagnostics.Change_0_to_1, "=", ":"], fixId, [Diagnos…
18 …codeFixAll(context, errorCodes, (changes, diag) => doChange(changes, diag.file, getProperty(diag.f…
21 …function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, node: ShorthandPrope…
22changes.replaceNode(sourceFile, node, factory.createPropertyAssignment(node.name, node.objectAssig…
DfixConstructorForDerivedNeedSuperCall.ts10 … const changes = textChanges.ChangeTracker.with(context, t => doChange(t, sourceFile, ctr)); constant
11 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_missing_super_call, fixId, Diagnostics…
14 getAllCodeActions: context => codeFixAll(context, errorCodes, (changes, diag) =>
15 doChange(changes, context.sourceFile, getNode(diag.file, diag.start))),
24 …function doChange(changes: textChanges.ChangeTracker, sourceFile: SourceFile, ctr: ConstructorDecl…
26 changes.insertNodeAtConstructorStart(sourceFile, ctr, superCall);
DfixAddMissingNewOperator.ts9 …const changes = textChanges.ChangeTracker.with(context, t => addMissingNewOperator(t, sourceFile, … constant
10 …return [createCodeFixAction(fixId, changes, Diagnostics.Add_missing_new_operator_to_call, fixId, D…
13 getAllCodeActions: context => codeFixAll(context, errorCodes, (changes, diag) =>
14 addMissingNewOperator(changes, context.sourceFile, diag)),
17 …function addMissingNewOperator(changes: textChanges.ChangeTracker, sourceFile: SourceFile, span: T…
21 changes.replaceNode(sourceFile, call, newExpression);
/third_party/typescript/src/services/refactors/
DconvertExport.ts103 …function doChange(exportingSourceFile: SourceFile, program: Program, info: ExportInfo, changes: te…
104 changeExport(exportingSourceFile, info, changes, program.getTypeChecker());
105 changeImports(program, info, changes, cancellationToken);
108 …rceFile: SourceFile, { wasDefault, exportNode, exportName }: ExportInfo, changes: textChanges.Chan…
110changes.delete(exportingSourceFile, Debug.checkDefined(findModifier(exportNode, SyntaxKind.Default…
118changes.insertNodeAfter(exportingSourceFile, exportKeyword, factory.createToken(SyntaxKind.Default…
125changes.replaceNode(exportingSourceFile, exportNode, factory.createExportDefault(Debug.checkDefine…
133 changes.deleteModifier(exportingSourceFile, exportKeyword);
134changes.insertNodeAfter(exportingSourceFile, exportNode, factory.createExportDefault(factory.creat…
142 … Program, { wasDefault, exportName, exportingModuleSymbol }: ExportInfo, changes: textChanges.Chan…
[all …]
/third_party/gettext/
DAUTHORS7 Assigns program and future changes.
10 Assigns past and future changes.
13 Assigns past and future changes.
16 Disclaims changes to manual.
19 Assigns past and future changes.
22 Assigns past and future changes.
25 Assigns changes. (changed: xgettext.c, configure.in; added: x-java.[lh])
28 Assigns past and future changes.
33 Assigns past and future changes.
36 Assigns past and future changes.
[all …]
/third_party/typescript/src/testRunner/unittests/tscWatch/
Demit.ts24 changes: [
70 changes: emptyArray
92 changes: TscWatchCompileChange[] property
99 changes
141 changes
156 changes: [
168 changes: [
200 changes: [
214 changes: [
229 changes: [
[all …]
DprogramUpdates.ts28 changes: emptyArray
48 changes: emptyArray
80 changes: emptyArray
88 changes: [
114 changes: emptyArray
124 changes: [
150 changes: [
173 changes: [
199 changes: [
228 changes: [
[all …]
/third_party/typescript/src/services/
DcodeFixProvider.ts13 …export function createCodeFixActionWithoutFixAll(fixName: string, changes: FileTextChanges[], desc…
14 …return createCodeFixActionWorker(fixName, diagnosticToString(description), changes, /*fixId*/ unde…
17 …export function createCodeFixAction(fixName: string, changes: FileTextChanges[], description: Diag…
18 …return createCodeFixActionWorker(fixName, diagnosticToString(description), changes, fixId, diagnos…
21 …function createCodeFixActionWorker(fixName: string, description: string, changes: FileTextChanges[…
22 …return { fixName, description, changes, fixId, fixAllDescription, commands: command ? [command] : …
66 …export function createCombinedCodeActions(changes: FileTextChanges[], commands?: CodeActionCommand…
67 return { changes, commands };
77 …use: (changes: textChanges.ChangeTracker, error: DiagnosticWithLocation, commands: Push<CodeAction…
80 …const changes = textChanges.ChangeTracker.with(context, t => eachDiagnostic(context, errorCodes, d… constant
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/
DNEWS1 Overview of changes leading to 2.5.1
12 Overview of changes leading to 2.5.0
15 - This release does not include much functional changes, but includes major internal
16 code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
26 Overview of changes leading to 2.4.0
37 Overview of changes leading to 2.3.1
44 Overview of changes leading to 2.3.0
59 Overview of changes leading to 2.2.0
94 Overview of changes leading to 2.1.3
100 Overview of changes leading to 2.1.2
[all …]
/third_party/harfbuzz/
DNEWS1 Overview of changes leading to 2.8.1
10 Overview of changes leading to 2.8.0
25 Overview of changes leading to 2.7.4
32 Overview of changes leading to 2.7.3
55 Overview of changes leading to 2.7.2
62 Overview of changes leading to 2.7.1
70 Overview of changes leading to 2.7.0
91 Overview of changes leading to 2.6.8
104 Overview of changes leading to 2.6.7
116 Overview of changes leading to 2.6.6
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_config.py705 changes = self.changes
706 changes.add_option('main', 'Msec', 'mitem', 'mval')
707 changes.add_option('highlight', 'Hsec', 'hitem', 'hval')
708 changes.add_option('keys', 'Ksec', 'kitem', 'kval')
709 return changes
717 self.changes = config.ConfigChanges()
720 self.assertEqual(self.changes, self.empty)
723 changes = self.load()
724 self.assertEqual(changes, self.loaded)
725 changes.add_option('main', 'Msec', 'mitem', 'mval')
[all …]
/third_party/skia/third_party/externals/harfbuzz/
DNEWS1 Overview of changes leading to 3.1.1
8 Overview of changes leading to 3.1.0
29 Overview of changes leading to 3.0.0
80 Overview of changes leading to 2.9.1
96 Overview of changes leading to 2.9.0
117 Overview of changes leading to 2.8.2
134 Overview of changes leading to 2.8.1
143 Overview of changes leading to 2.8.0
158 Overview of changes leading to 2.7.4
166 Overview of changes leading to 2.7.3
[all …]
/third_party/libphonenumber/
Drelease_notes.txt2 Metadata changes:
13 Metadata changes:
21 Metadata changes:
28 Metadata changes:
37 Metadata changes:
47 Metadata changes:
56 Metadata changes:
68 Metadata changes:
76 Metadata changes:
82 Metadata changes:
[all …]

12345678910>>...148