/third_party/typescript/tests/baselines/reference/ |
D | mergedClassInterface.symbols | 1 === tests/cases/conformance/classes/classDeclarations/file1.ts === 3 >C1 : Symbol(C1, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 20)) 6 >C1 : Symbol(C1, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 20)) 9 >C2 : Symbol(C2, Decl(file1.ts, 2, 16), Decl(file1.ts, 4, 16)) 12 >C2 : Symbol(C2, Decl(file1.ts, 2, 16), Decl(file1.ts, 4, 16)) 15 >C3 : Symbol(C3, Decl(file1.ts, 6, 20), Decl(file1.ts, 8, 12)) 18 >C3 : Symbol(C3, Decl(file1.ts, 6, 20), Decl(file1.ts, 8, 12)) 21 >C4 : Symbol(C4, Decl(file1.ts, 10, 16), Decl(file1.ts, 12, 16)) 24 >C4 : Symbol(C4, Decl(file1.ts, 10, 16), Decl(file1.ts, 12, 16)) 27 >C5 : Symbol(C5, Decl(file1.ts, 14, 12), Decl(file1.ts, 18, 1), Decl(file1.ts, 22, 1), Decl(file1.t… [all …]
|
D | augmentExportEquals6_1.symbols | 1 === tests/cases/compiler/file1.d.ts === 2 declare module "file1" { 3 >"file1" : Symbol("file1", Decl(file1.d.ts, 0, 0)) 6 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 16), Decl(file2.ts, 1, 28)) 9 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 16), Decl(file2.ts, 1, 28)) 12 >A : Symbol(A, Decl(file1.d.ts, 2, 19), Decl(file2.ts, 4, 24)) 15 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 16), Decl(file2.ts, 1, 28)) 20 /// <reference path="file1.d.ts"/> 21 import x = require("file1"); 24 // OK - './file1' is a namespace [all …]
|
D | requireOfJsonFileTypes.symbols | 1 === tests/cases/compiler/file1.ts === 3 >b : Symbol(b, Decl(file1.ts, 0, 0)) 6 >c : Symbol(c, Decl(file1.ts, 0, 31)) 9 >d : Symbol(d, Decl(file1.ts, 1, 31)) 12 >e : Symbol(e, Decl(file1.ts, 2, 31)) 15 >f : Symbol(f, Decl(file1.ts, 3, 31)) 18 >g : Symbol(g, Decl(file1.ts, 4, 31)) 21 >booleanLiteral : Symbol(booleanLiteral, Decl(file1.ts, 7, 3)) 22 >nullLiteral : Symbol(nullLiteral, Decl(file1.ts, 7, 28)) 25 >stringLiteral : Symbol(stringLiteral, Decl(file1.ts, 8, 3)) [all …]
|
D | augmentExportEquals6.symbols | 1 === tests/cases/compiler/file1.ts === 3 >foo : Symbol(foo, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 12), Decl(file2.ts, 1, 10)) 6 >foo : Symbol(foo, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 12), Decl(file2.ts, 1, 10)) 9 >A : Symbol(A, Decl(file1.ts, 1, 15), Decl(file2.ts, 4, 26)) 12 >B : Symbol(B, Decl(file1.ts, 2, 21), Decl(file2.ts, 5, 29)) 13 >a : Symbol(a, Decl(file1.ts, 3, 35)) 16 >foo : Symbol(foo, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 12), Decl(file2.ts, 1, 10)) 19 import x = require("./file1"); 24 >x.B : Symbol(x.B, Decl(file1.ts, 2, 21), Decl(file2.ts, 5, 29)) 26 >B : Symbol(x.B, Decl(file1.ts, 2, 21), Decl(file2.ts, 5, 29)) [all …]
|
D | augmentExportEquals3_1.symbols | 1 === tests/cases/compiler/file1.d.ts === 2 declare module "file1" { 3 >"file1" : Symbol("file1", Decl(file1.d.ts, 0, 0)) 6 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 25), Decl(file2.ts, 2, 8)) 9 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 25), Decl(file2.ts, 2, 8)) 12 >v : Symbol(v, Decl(file1.d.ts, 3, 18)) 15 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 25), Decl(file2.ts, 2, 8)) 20 /// <reference path="file1.d.ts"/> 21 import x = require("file1"); 29 // OK - './file1' is a namespace [all …]
|
D | augmentExportEquals4_1.symbols | 1 === tests/cases/compiler/file1.d.ts === 2 declare module "file1" { 3 >"file1" : Symbol("file1", Decl(file1.d.ts, 0, 0)) 6 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 16), Decl(file2.ts, 2, 8)) 9 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 16), Decl(file2.ts, 2, 8)) 12 >v : Symbol(v, Decl(file1.d.ts, 3, 18)) 15 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24), Decl(file1.d.ts, 1, 16), Decl(file2.ts, 2, 8)) 20 /// <reference path="file1.d.ts"/> 21 import x = require("file1"); 29 // OK - './file1' is a namespace [all …]
|
D | inferenceLimit.symbols | 1 === tests/cases/compiler/file1.ts === 4 >MyModule : Symbol(MyModule, Decl(file1.ts, 1, 6)) 7 >BrokenClass : Symbol(BrokenClass, Decl(file1.ts, 1, 39)) 12 >brokenMethod : Symbol(BrokenClass.brokenMethod, Decl(file1.ts, 5, 18)) 13 >field : Symbol(field, Decl(file1.ts, 7, 22)) 14 >value : Symbol(value, Decl(file1.ts, 7, 36)) 19 >MyModule : Symbol(MyModule, Decl(file1.ts, 1, 6)) 21 >resolve : Symbol(resolve, Decl(file1.ts, 8, 47)) 22 >reject : Symbol(reject, Decl(file1.ts, 8, 55)) 25 >result : Symbol(result, Decl(file1.ts, 10, 7)) [all …]
|
D | augmentExportEquals1_1.symbols | 2 import x = require("file1"); 9 === tests/cases/compiler/file1.d.ts === 10 declare module "file1" { 11 >"file1" : Symbol("file1", Decl(file1.d.ts, 0, 0)) 14 >x : Symbol(x, Decl(file1.d.ts, 1, 7)) 17 >x : Symbol(x, Decl(file1.d.ts, 1, 7)) 21 /// <reference path="file1.d.ts"/> 22 import x = require("file1"); 25 // augmentation for 'file1' 26 // should error since 'file1' does not have namespace meaning [all …]
|
D | duplicateIdentifiersAcrossFileBoundaries.symbols | 1 === tests/cases/compiler/file1.ts === 3 >I : Symbol(I, Decl(file1.ts, 0, 0), Decl(file2.ts, 0, 0)) 6 >C1 : Symbol(C1, Decl(file1.ts, 0, 15), Decl(file2.ts, 0, 11)) 9 >C2 : Symbol(C2, Decl(file1.ts, 1, 12), Decl(file2.ts, 1, 16)) 12 >f : Symbol(f, Decl(file1.ts, 2, 12), Decl(file2.ts, 2, 17)) 15 >v : Symbol(v, Decl(file1.ts, 4, 3), Decl(file2.ts, 4, 3)) 18 >Foo : Symbol(Foo, Decl(file1.ts, 4, 10), Decl(file2.ts, 4, 10)) 21 >x : Symbol(Foo.x, Decl(file1.ts, 6, 11)) 25 >N : Symbol(N, Decl(file1.ts, 8, 1), Decl(file2.ts, 8, 1)) 28 >F : Symbol(F, Decl(file1.ts, 10, 10), Decl(file2.ts, 10, 18)) [all …]
|
D | externalModuleRefernceResolutionOrderInImportDeclaration.types | 3 import file1 = require('./externalModuleRefernceResolutionOrderInImportDeclaration_file1'); 4 >file1 : typeof file1 6 file1.foo(); 7 >file1.foo() : void 8 >file1.foo : () => void 9 >file1 : typeof file1 12 file1.bar(); 13 >file1.bar() : any 14 >file1.bar : any 15 >file1 : typeof file1
|
D | crashInResolveInterface.symbols | 2 ///<reference path='file1.ts'/> 23 === tests/cases/compiler/file1.ts === 25 >Q : Symbol(Q, Decl(file1.ts, 0, 0)) 26 >T : Symbol(T, Decl(file1.ts, 0, 12)) 29 >each : Symbol(Q.each, Decl(file1.ts, 0, 16)) 30 >action : Symbol(action, Decl(file1.ts, 1, 9)) 31 >item : Symbol(item, Decl(file1.ts, 1, 18)) 32 >T : Symbol(T, Decl(file1.ts, 0, 12)) 33 >index : Symbol(index, Decl(file1.ts, 1, 26)) 36 >q1 : Symbol(q1, Decl(file1.ts, 3, 3)) [all …]
|
D | augmentExportEquals2_1.symbols | 2 import x = require("file1"); 9 === tests/cases/compiler/file1.d.ts === 10 declare module "file1" { 11 >"file1" : Symbol("file1", Decl(file1.d.ts, 0, 0)) 14 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24)) 17 >foo : Symbol(foo, Decl(file1.d.ts, 0, 24)) 21 /// <reference path="file1.d.ts"/> 22 import x = require("file1"); 25 // should error since './file1' does not have namespace meaning 26 declare module "file1" { [all …]
|
D | moduleExportsElementAccessAssignment2.symbols | 1 === tests/cases/conformance/jsdoc/file1.js === 4 >GlobalThing : Symbol(GlobalThing, Decl(file1.js, 1, 3)) 5 >x : Symbol(x, Decl(file1.js, 1, 19)) 13 >f : Symbol(f, Decl(file1.js, 1, 28)) 14 >type : Symbol(type, Decl(file1.js, 8, 11)) 15 >ctor : Symbol(ctor, Decl(file1.js, 8, 16)) 16 >exports : Symbol(exports, Decl(file1.js, 8, 22)) 19 >exports : Symbol(exports, Decl(file1.js, 8, 22)) 22 >exports : Symbol(exports, Decl(file1.js, 8, 22)) 23 >type : Symbol(type, Decl(file1.js, 8, 11)) [all …]
|
D | pathMappingBasedModuleResolution5_classic.symbols | 1 === c:/root/folder1/file1.ts === 2 import {x} from "folder2/file1" 3 >x : Symbol(x, Decl(file1.ts, 0, 8)) 6 >y : Symbol(y, Decl(file1.ts, 1, 8)) 9 >z : Symbol(z, Decl(file1.ts, 2, 8)) 12 >z1 : Symbol(z1, Decl(file1.ts, 3, 8)) 15 >use : Symbol(use, Decl(file1.ts, 3, 24)) 16 >a : Symbol(a, Decl(file1.ts, 5, 21)) 19 >use : Symbol(use, Decl(file1.ts, 3, 24)) 21 >x : Symbol(x, Decl(file1.ts, 0, 8)) [all …]
|
D | pathMappingBasedModuleResolution5_node.symbols | 1 === c:/root/folder1/file1.ts === 2 import {x} from "folder2/file1" 3 >x : Symbol(x, Decl(file1.ts, 0, 8)) 6 >y : Symbol(y, Decl(file1.ts, 1, 8)) 9 >z : Symbol(z, Decl(file1.ts, 2, 8)) 12 >z1 : Symbol(z1, Decl(file1.ts, 3, 8)) 15 >use : Symbol(use, Decl(file1.ts, 3, 24)) 16 >a : Symbol(a, Decl(file1.ts, 5, 21)) 19 >use : Symbol(use, Decl(file1.ts, 3, 24)) 21 >x : Symbol(x, Decl(file1.ts, 0, 8)) [all …]
|
D | isolatedModulesImportExportElision.symbols | 1 === tests/cases/compiler/file1.ts === 3 >c : Symbol(c, Decl(file1.ts, 0, 8)) 6 >c2 : Symbol(c2, Decl(file1.ts, 1, 8)) 9 >ns : Symbol(ns, Decl(file1.ts, 2, 6)) 12 >C : Symbol(C, Decl(file1.ts, 2, 28)) 14 >c2 : Symbol(c2, Decl(file1.ts, 1, 8)) 19 >x : Symbol(x, Decl(file1.ts, 7, 3)) 20 >c : Symbol(c, Decl(file1.ts, 0, 8)) 23 >y : Symbol(y, Decl(file1.ts, 8, 3)) 24 >ns : Symbol(ns, Decl(file1.ts, 2, 6)) [all …]
|
D | externalModuleRefernceResolutionOrderInImportDeclaration.symbols | 3 import file1 = require('./externalModuleRefernceResolutionOrderInImportDeclaration_file1'); 4 >file1 : Symbol(file1, Decl(externalModuleRefernceResolutionOrderInImportDeclaration_file3.ts, 0, 0… 6 file1.foo(); 7 >file1.foo : Symbol(file1.foo, Decl(externalModuleRefernceResolutionOrderInImportDeclaration_file1.… 8 >file1 : Symbol(file1, Decl(externalModuleRefernceResolutionOrderInImportDeclaration_file3.ts, 0, 0… 9 >foo : Symbol(file1.foo, Decl(externalModuleRefernceResolutionOrderInImportDeclaration_file1.ts, 0,… 11 file1.bar(); 12 >file1 : Symbol(file1, Decl(externalModuleRefernceResolutionOrderInImportDeclaration_file3.ts, 0, 0…
|
D | augmentExportEquals6_1.types | 1 === tests/cases/compiler/file1.d.ts === 2 declare module "file1" { 3 >"file1" : typeof import("file1") 6 >foo : import("tests/cases/compiler/file1.d.ts") 9 >foo : typeof import("tests/cases/compiler/file1.d.ts") 15 >foo : import("tests/cases/compiler/file1.d.ts") 20 /// <reference path="file1.d.ts"/> 21 import x = require("file1"); 24 // OK - './file1' is a namespace 25 declare module "file1" { [all …]
|
D | typeFromPropertyAssignment34.symbols | 1 === tests/cases/conformance/salsa/file1.js === 3 >N : Symbol(N, Decl(file1.js, 0, 3), Decl(file1.js, 0, 11), Decl(file2.js, 0, 0), Decl(file2.js, 0,… 6 >N.commands : Symbol(N.commands, Decl(file1.js, 0, 11), Decl(file2.js, 0, 2), Decl(file2.js, 1, 2)) 7 >N : Symbol(N, Decl(file1.js, 0, 3), Decl(file1.js, 0, 11), Decl(file2.js, 0, 0), Decl(file2.js, 0,… 8 >commands : Symbol(N.commands, Decl(file1.js, 0, 11), Decl(file2.js, 0, 2), Decl(file2.js, 1, 2)) 13 >N.commands : Symbol(N.commands, Decl(file1.js, 0, 11), Decl(file2.js, 0, 2), Decl(file2.js, 1, 2)) 14 >N : Symbol(N, Decl(file1.js, 0, 3), Decl(file1.js, 0, 11), Decl(file2.js, 0, 0), Decl(file2.js, 0,… 15 >commands : Symbol(N.commands, Decl(file1.js, 0, 11), Decl(file2.js, 0, 2), Decl(file2.js, 1, 2)) 20 >N.commands : Symbol(N.commands, Decl(file1.js, 0, 11), Decl(file2.js, 0, 2), Decl(file2.js, 1, 2)) 21 >N : Symbol(N, Decl(file1.js, 0, 3), Decl(file1.js, 0, 11), Decl(file2.js, 0, 0), Decl(file2.js, 0,… [all …]
|
D | augmentExportEquals3.symbols | 1 === tests/cases/compiler/file1.ts === 3 >foo : Symbol(foo, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 17), Decl(file2.ts, 1, 8)) 6 >foo : Symbol(foo, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 17), Decl(file2.ts, 1, 8)) 9 >v : Symbol(v, Decl(file1.ts, 2, 14)) 12 >foo : Symbol(foo, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 17), Decl(file2.ts, 1, 8)) 15 import x = require("./file1"); 23 // OK - './file1' is a namespace 24 declare module "./file1" { 25 >"./file1" : Symbol(x, Decl(file1.ts, 0, 0), Decl(file1.ts, 0, 17), Decl(file2.ts, 1, 8)) 36 import * as x from "./file1";
|
/third_party/toybox/tests/ |
D | mv.test | 35 touch file1 file2 dir1/file3 36 ln -s file1 link1 45 dd if=/dev/zero of=file1 seek=10k count=1 >/dev/null 2>&1 51 touch file1 52 ln -s file1 link1 59 touch file1 60 ln file1 link1 67 touch file1 68 chmod a-r file1 74 touch file1 [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | resolutionCache.ts | 10 const file1 = { constant 18 const host: TestServerHost & ModuleResolutionHost = createServerHost([file1, lib]); 23 projectService.openClientFile(file1.path); 45 checkProjectActualFiles(proj, [file1.path, lib.path]); 101 const file1 = { constant 105 const host = createServerHost([file1]); 107 openFilesForSession([file1], session); 110 { file: file1.path } 123 … { file: file1.path, line: 1, offset: 44, endLine: 1, endOffset: 44, insertString: "\n" } 134 const file1: File = { constant [all …]
|
D | projects.ts | 4 const file1: File = { constant 9 const host = createServerHost([file1, libFile]); 11 openFilesForSession([file1], session); 16 checkProjectRootFiles(project, [file1.path]); 17 checkProjectActualFiles(project, [file1.path, libFile.path]); 20 { file: file1.path } 34 checkProjectRootFiles(project, [file1.path]); 35 checkProjectActualFiles(project, [file1.path, libFile.path, commonFile2.path]); 72 const file1 = { constant 90 const host = createServerHost([file1, file2, file3]); [all …]
|
D | partialSemanticServer.ts | 4 const file1: File = { constant 28 const host = createServerHost([file1, file2, file3, something, libFile, configFile]); 30 return { host, session, file1, file2, file3, something, configFile }; 34 const { host, session, file1, file2 } = setup(); constant 36 openFilesForSession([file1], session); 39 checkProjectActualFiles(project, [libFile.path, file1.path]); // no imports are resolved 44 checkProjectActualFiles(project, [libFile.path, file1.path, file2.path]); 54 arguments: protocolFileLocationFromSubstring(file1, "prop", { index: 1 }) 153 const { session, file1 } = setup(); constant 155 openFilesForSession([file1], session); [all …]
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
D | open07.c | 162 char file1[100], file2[100]; in setupfunc_test1() local 164 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1() 166 fd1 = SAFE_CREAT(cleanup, file1, 00700); in setupfunc_test1() 168 SAFE_SYMLINK(cleanup, file1, file2); in setupfunc_test1() 175 char file1[100], file2[100]; in setupfunc_test2() local 177 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2() 179 SAFE_MKDIR(cleanup, file1, 00700); in setupfunc_test2() 181 SAFE_SYMLINK(cleanup, file1, file2); in setupfunc_test2() 188 char file1[100], file2[100], file3[100]; in setupfunc_test3() local 190 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3() [all …]
|