/third_party/typescript/src/testRunner/ |
D | rwcRunner.ts | 71 … tsconfigFiles.push({ unitName: tsconfigFile.path, content: tsconfigFileContents.content }); 99 … const unitName = ts.normalizeSlashes(Harness.IO.resolvePath(fileRead.path)!); constant 100 … if (!uniqueNames.has(unitName) && !Harness.isDefaultLibraryFile(fileRead.path)) { 101 uniqueNames.set(unitName, true); 104 …oLib && Harness.isDefaultLibraryFile(fileRead.path) && !uniqueNames.has(unitName) && useCustomLibr… 110 uniqueNames.set(unitName, true); 135 const unitName = ts.normalizeSlashes(Harness.IO.resolvePath(fileName)!); constant 138 content = Harness.IO.readFile(unitName)!; 143 return { unitName, content }; 181 …sconfigFiles.concat(inputFiles, otherFiles).filter(f => !Harness.isDefaultLibraryFile(f.unitName));
|
D | test262Runner.ts | 7 unitName: Test262BaselineRunner.helpersFilePath, 41 const unitName = Test262BaselineRunner.getTestFilePath(unit.name); 42 return { unitName, content: unit.content };
|
D | compilerRunner.ts | 328 …mpiled.concat(this.otherFiles).filter(file => !!this.result.program!.getSourceFile(file.unitName)), 343 …HarnessTestFile(lastUnit: TestCaseParser.TestUnitData, rootDir: string, unitName?: string): Compil… 344 …return { unitName: unitName || this.makeUnitName(lastUnit.name, rootDir), content: lastUnit.conten…
|
D | projectsRunner.ts | 418 unitName: ts.isRootedDiskPath(sourceFile.fileName) ?
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | hostNewLineSupport.ts | 8 const result = find(files, f => f.unitName === path); 13 getScriptFileNames: () => map(files, f => f.unitName), 32 unitName: "input.ts" 51 unitName: "input.ts"
|
D | transpile.ts | 30 let unitName = transpileOptions.fileName; 31 if (!unitName) { 32 unitName = transpileOptions.compilerOptions.jsx ? "file.tsx" : "file.ts"; 34 transpileOptions.fileName = unitName; 42 unitName,
|
/third_party/typescript/src/harness/ |
D | harnessIO.ts | 390 unitName: string; property 423 …const programFileNames = inputFiles.map(file => file.unitName).filter(fileName => !ts.fileExtensio… 487 if (vpath.isDeclaration(file.unitName) || vpath.isJson(file.unitName)) { 490 …else if (vpath.isTypeScript(file.unitName) || (vpath.isJavaScript(file.unitName) && ts.getAllowJSC… 491 const declFile = findResultCodeFile(file.unitName); 493 … dtsFiles.push({ unitName: declFile.file, content: Utils.removeByteOrderMark(declFile.text) }); 524 return ts.forEach(units, unit => unit.unitName === fileName ? unit : undefined); 621 …estPathPrefixes(errFn.fileName), Utils.removeTestPathPrefixes(inputFile.unitName), options && opti… 626 …outputLines += (newLine() + "==== " + inputFile.unitName + " (" + fileErrors.length + " errors) ==… 683 … assert.equal(markedErrorCount, fileErrors.length, "count of errors in " + inputFile.unitName); [all …]
|
D | documentsUtil.ts | 25 file.unitName, 33 unitName: this.file,
|
D | fourslashImpl.ts | 1920 content, unitName: fileName 1925 … const files = ts.filter(this.getCompilerTestFiles(), f => !ts.endsWith(f.unitName, ".json")); 1935 file => this.languageService.getSyntacticDiagnostics(file.unitName) 1945 file => this.languageService.getSemanticDiagnostics(file.unitName)
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/ |
D | parserharness.ts | 1108 …export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compi… 1119 addUnit(code, unitName, false, false, references); 1164 var uName = unitName || '0.ts'; 1257 …export function addUnit(code: string, unitName?: string, isResident?: boolean, isDeclareFile?: boo… 1259 var uName = unitName || '0' + (isDeclareFile ? '.d.ts' : '.ts'); 1279 export function updateUnit(code: string, unitName: string, setRecovery?: boolean) { 1281 … compiler.pullUpdateUnit(new TypeScript.StringSourceText(code), unitName, setRecovery); 1283 compiler.updateUnit(code, unitName, setRecovery); 1329 var unitName = switchToForwardSlashes(lastUnit.name).match(/[^\/]*$/)[0]; 1332 … var compilationContext = Harness.Compiler.defineCompilationContextForTest(unitName, dependencies); [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | parserharness.js | 1108 …export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compi… 1119 addUnit(code, unitName, false, false, references); 1164 var uName = unitName || '0.ts'; 1257 …export function addUnit(code: string, unitName?: string, isResident?: boolean, isDeclareFile?: boo… 1259 var uName = unitName || '0' + (isDeclareFile ? '.d.ts' : '.ts'); 1279 export function updateUnit(code: string, unitName: string, setRecovery?: boolean) { 1281 … compiler.pullUpdateUnit(new TypeScript.StringSourceText(code), unitName, setRecovery); 1283 compiler.updateUnit(code, unitName, setRecovery); 1329 var unitName = switchToForwardSlashes(lastUnit.name).match(/[^\/]*$/)[0]; variable 1332 … var compilationContext = Harness.Compiler.defineCompilationContextForTest(unitName, dependencies); [all …]
|
D | parserharness.types | 3101 >compileString : (code: string, unitName: string, callback: (res: CompilerResult) => void, context?… 3719 >compileString : (code: string, unitName: string, callback: (res: CompilerResult) => void, context?… 4469 * @param unitName add the given code under thie name, else use '0.ts' 4473 …export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compi… 4474 >generateDeclFile : (code: string, verifyNoDeclFile: boolean, unitName?: string, compilationContext… 4477 >unitName : string 4528 addUnit(code, unitName, false, false, references); 4529 >addUnit(code, unitName, false, false, references) : TypeScript.Script 4530 >addUnit : (code: string, unitName?: string, isResident?: boolean, isDeclareFile?: boolean, referen… 4532 >unitName : string [all …]
|
D | parserharness.errors.txt | 1336 * @param unitName add the given code under thie name, else use '0.ts' 1340 …export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compi… 1353 addUnit(code, unitName, false, false, references); 1398 var uName = unitName || '0.ts'; 1495 …export function addUnit(code: string, unitName?: string, isResident?: boolean, isDeclareFile?: boo… 1501 var uName = unitName || '0' + (isDeclareFile ? '.d.ts' : '.ts'); 1523 export function updateUnit(code: string, unitName: string, setRecovery?: boolean) { 1525 … compiler.pullUpdateUnit(new TypeScript.StringSourceText(code), unitName, setRecovery); 1529 compiler.updateUnit(code, unitName, setRecovery); 1593 var unitName = switchToForwardSlashes(lastUnit.name).match(/[^\/]*$/)[0]; [all …]
|
D | parserharness.symbols | 3229 * @param unitName add the given code under thie name, else use '0.ts' 3233 …export function generateDeclFile(code: string, verifyNoDeclFile: boolean, unitName?: string, compi… 3237 >unitName : Symbol(unitName, Decl(parserharness.ts, 1106, 81)) 3273 addUnit(code, unitName, false, false, references); 3276 >unitName : Symbol(unitName, Decl(parserharness.ts, 1106, 81)) 3407 var uName = unitName || '0.ts'; 3409 >unitName : Symbol(unitName, Decl(parserharness.ts, 1106, 81)) 3693 …export function addUnit(code: string, unitName?: string, isResident?: boolean, isDeclareFile?: boo… 3696 >unitName : Symbol(unitName, Decl(parserharness.ts, 1255, 45)) 3708 var uName = unitName || '0' + (isDeclareFile ? '.d.ts' : '.ts'); [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | MeasureUnit.java | 312 String unitName = key.toString(); in put() local 313 internalGetInstance(unitType, unitName); in put() 382 … protected synchronized static MeasureUnit addUnit(String type, String unitName, Factory factory) { in addUnit() argument 390 MeasureUnit unit = tmp.get(unitName); in addUnit() 392 tmp.put(unitName, unit = factory.create(type, unitName)); in addUnit()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | MeasureUnit.java | 799 String unitName = key.toString(); in put() local 800 internalGetInstance(unitType, unitName); in put() 866 … protected synchronized static MeasureUnit addUnit(String type, String unitName, Factory factory) { in addUnit() argument 874 MeasureUnit unit = tmp.get(unitName); in addUnit() 876 tmp.put(unitName, unit = factory.create(type, unitName)); in addUnit()
|
/third_party/typescript/src/testRunner/unittests/ |
D | jsonParserRecovery.ts | 11 unitName: name
|
/third_party/typescript/src/testRunner/unittests/services/extract/ |
D | symbolWalker.ts | 6 unitName: "main.ts",
|