Home
last modified time | relevance | path

Searched refs:host (Results 1 – 25 of 2580) sorted by relevance

12345678910>>...104

/third_party/typescript/src/testRunner/unittests/tsserver/
DprojectReferencesSourcemap.ts60 function changeDtsFile(host: TestServerHost) {
61 host.writeFile(
63 host.readFile(dtsLocation)!.replace(
71 function changeDtsMapFile(host: TestServerHost) {
72 host.writeFile(
192 type OnHostCreate = (host: TestServerHost) => void;
193 …type CreateSessionFn = (onHostCreate?: OnHostCreate) => { host: TestServerHost; session: TestSessi…
213 const host = createHostWithSolutionBuild(files, [mainConfig.path]); constant
215 host.writeFile(mainConfig.path, JSON.stringify({
218 onHostCreate?.(host);
[all …]
DprojectsWithReferences.ts12 …const host = createServerHost([libFile, coreConfig, coreIndex, coreAnotherModule, coreSomeDecl, lo… constant
13 const logger = createLoggerWithInMemoryLogs(host);
14 const service = createProjectService(host, { logger });
18 host.appendFile(logicIndex.path, `function foo() {}`);
19 host.checkTimeoutQueueLengthAndRun(2);
22 host.appendFile(logicIndex.path, `export function gfoo() {}`);
23 host.checkTimeoutQueueLengthAndRun(2);
26 host.writeFile(logicConfig.path, JSON.stringify({
30 host.checkTimeoutQueueLengthAndRun(2);
80 … const host = createServerHost([libFile, aConfig, bConfig, cConfig, aTs, bTs, cTs, refsTs]); constant
[all …]
DresolutionCache.ts12 const host: TestServerHost & ModuleResolutionHost = createServerHost([file1, lib]); constant
13 const projectService = createProjectService(host, {
14 typingsInstaller: new TestTypingsInstaller("/a/cache", /*throttleLimit*/5, host),
15 logger: createLoggerWithInMemoryLogs(host)
45 const host = createServerHost([f1, t1, tsconfig]); constant
46 const projectService = createProjectService(host);
53 host.deleteFile(t1.path);
55 host.runQueuedTimeoutCallbacks();
61 host.writeFile(t2.path, t2.content);
63 host.runQueuedTimeoutCallbacks();
[all …]
DmoduleResolution.ts34 …const host = createServerHost([configFile, fileA, fileB, packageFile, { ...libFile, path: "/a/lib/… constant
35 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
38 host, session, packageFile,
39 verifyErr: () => verifyGetErrRequest({ files: [fileA], session, host }),
43 …const { host, session, packageFile, verifyErr } = setup(JSON.stringify({ name: "app", version: "1.… constant
46 host.writeFile(packageFile.path, JSON.stringify({
49 host.runQueuedTimeoutCallbacks(); // Failed lookup updates
50 host.runQueuedTimeoutCallbacks(); // Actual update
54 host.writeFile(packageFile.path, packageFile.content);
55 host.runQueuedTimeoutCallbacks(); // Failed lookup updates
[all …]
DsymLinks.ts42 const host = createServerHost(files); constant
43 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
108 function createSessionAndOpenFile(host: TestServerHost) {
109 …const session = createSession(host, { canUseEvents: true, logger: createLoggerWithInMemoryLogs(hos…
124 const host = createServerHost(filesWithSources); constant
125 const session = createSessionAndOpenFile(host);
126 verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] });
128 host.ensureFileOrFolder(nodeModulesRecorgnizersText);
129host.writeFile(recongnizerTextDistTypingFile.path, recongnizerTextDistTypingFile.content);
130 host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions
[all …]
DconfigFileSearch.ts12 const host = createServerHost([f1, configFile]); constant
13 const service = createProjectService(host);
40 const host = createServerHost([f1, libFile, configFile, configFile2]); constant
41 … const service = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) });
45 host.deleteFile(configFile.path);
46 host.runQueuedTimeoutCallbacks();
66 const host = createServerHost([f1, libFile, configFile, configFile2]); constant
67 const service = createProjectService(host, {
70 logger: createLoggerWithInMemoryLogs(host),
75 host.deleteFile(configFile.path);
[all …]
DconfiguredProjects.ts27 const host = createServerHost([configFile, libFile, file1, file2, file3]); constant
28 … const projectService = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) });
59 const host = createServerHost([configFile, libFile, file1, file2, file3]); constant
60 … const projectService = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) });
85 const host = createServerHost([libFile, commonFile1, commonFile2]); constant
87 … const projectService = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) });
92 host.writeFile(configFile.path, configFile.content);
93host.checkTimeoutQueueLengthAndRun(2); // load configured project from disk + ensureProjectsForOpe…
96 host.deleteFile(configFile.path);
97 host.checkTimeoutQueueLengthAndRun(1); // Refresh inferred projects
[all …]
DprojectErrors.ts37 const host = createServerHost([file1, libFile]); constant
38 const session = createSession(host);
60 host.renameFile(file1.path, file2.path);
68 host.writeFile(file1.path, file1.content);
90 const host = createServerHost([file1, config, libFile]); constant
91 const session = createSession(host);
105 host.writeFile(file2.path, file2.content);
129 const host = createServerHost([file1, file2, corruptedConfig]); constant
130 const projectService = createProjectService(host);
146 host.writeFile(correctConfig.path, correctConfig.content);
[all …]
DwatchEnvironment.ts28 const host = createServerHost(files, { environmentVariables }); constant
29 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
41 host.writeFile(file2.path, file2.content);
42 host.runQueuedTimeoutCallbacks();
82 const host = createServerHost(files, { windowsStyleRoot: "c:/" }); constant
83 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
116 …const host = createServerHost([index, file1, configFile, libFile, nodeModulesExistingUnusedFile], … constant
117 const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) });
151 host.ensureFileOrFolder(ignoredEntity);
152 host.checkTimeoutQueueLength(0);
[all …]
DtypingsInstaller.ts12 constructor(host: server.ServerHost, p?: InstallerParams, log?: TI.Log) {
16 host,
27 …function executeCommand(self: Installer, host: TestServerHost, installedTypings: string[] | string…
30 host.ensureFileOrFolder(file);
72 const host = createServerHost([f1, f2, config, typesConfig]); constant
75 …super(host, { typesRegistry: createTypesRegistry("config"), globalTypingsCacheLocation: typesCache…
81 const service = createProjectService(host, { typingsInstaller: installer });
120 const host = createServerHost([file1, tsconfig, packageJson]); constant
123 super(host, { typesRegistry: createTypesRegistry("jquery") });
128 executeCommand(this, host, installedTypings, typingFiles, cb);
[all …]
DcachingFileSystemInformation.ts14 function createLoggerTrackingHostCalls(host: TestServerHost) {
27 const cb = (host as any)[prop].bind(host);
28 (host as any)[prop] = (f: string) => {
37 const cb = (host as any)[prop].bind(host);
38 (host as any)[prop] = (f: string, arg1?: U, arg2?: V, arg3?: W, arg4?: X) => {
78 const host = createServerHost([root, imported]); constant
79 … const projectService = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) });
89 const logCacheAndClear = createLoggerTrackingHostCalls(host);
136 const host = createServerHost([root]); constant
137 … const projectService = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) });
[all …]
DcancellationToken.ts19 const host = createServerHost([f1]); constant
32 const session = createSession(host, { cancellationToken });
53 host.runQueuedImmediateCallbacks();
55 host.runQueuedImmediateCallbacks();
71 const host = createServerHost([f1, config]); constant
72 const session = createSession(host, {
88 assert.equal(host.getOutput().length, 0, "expected 0 message");
89 host.checkTimeoutQueueLengthAndRun(1);
91 assert.equal(host.getOutput().length, 1, "expect 1 message");
102 assert.equal(host.getOutput().length, 0, "expect 0 messages");
[all …]
DreloadProjects.ts25 …function verifyFileUpdates(host: TestServerHost, service: TestProjectService, project: server.Proj…
29 host.writeFile(file2.path, updatedText);
30 host.checkTimeoutQueueLength(0);
35 host.deleteFile(file2.path);
36 host.checkTimeoutQueueLength(0);
43 const host = createServerHost([configFile, libFile, file1, file2]); constant
44 const service = createProjectService(host);
52 host.ensureFileOrFolder(moduleFile);
53 host.checkTimeoutQueueLength(0);
60 verifyFileUpdates(host, service, project);
[all …]
DcompileOnSave.ts3 function createTestTypingsInstaller(host: server.ServerHost) {
4 return new TestTypingsInstaller("/a/data/", /*throttleLimit*/5, host);
97 …const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFil… constant
98 const typingsInstaller = createTestTypingsInstaller(host);
99 const session = createSession(host, { typingsInstaller });
122 …const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFil… constant
123 const typingsInstaller = createTestTypingsInstaller(host);
124 const session = createSession(host, { typingsInstaller });
169 …const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFil… constant
170 const typingsInstaller = createTestTypingsInstaller(host);
[all …]
/third_party/node/test/parallel/
Dtest-tls-check-server-identity.js36 host: false, property
41 host: null, property
46 host: undefined, property
52 { host: 'a.com', cert: { subject: { CN: 'a.com' } } }, property
53 { host: 'a.com', cert: { subject: { CN: 'A.COM' } } }, property
55 host: 'a.com', property
59 { host: 'a.com', cert: { subject: { CN: 'a.com.' } } }, property
61 host: 'a.com', property
71 host: '8.8.8.8', property
79 host: '8.8.8.8', property
[all …]
Dtest-url-parse-format.js24 host: 'evil-phisher', property
35 host: 'evil-phisher', property
48 host: 'evil-phisher', property
60 host: 'evil-phisher', property
71 host: 'www.example.com', property
81 host: 'www.example.com', property
91 host: 'www.example.com', property
102 host: 'www.example.com', property
113 host: 'www.example.com', property
124 host: 'www.example.com', property
[all …]
/third_party/typescript/src/testRunner/unittests/tsserver/events/
DprojectUpdatedInBackground.ts31 …function verifyProjectsUpdatedInBackgroundEvent(scenario: string, createSession: (host: TestServer…
50 const host = createServerHost([commonFile1, libFile, configFile]); constant
51 … const { verifyProjectsUpdatedInBackgroundEventHandler, verifyInitialOpen } = createSession(host);
54 host.writeFile(commonFile2.path, commonFile2.content);
55 host.runQueuedTimeoutCallbacks();
63 host.writeFile(commonFile3.path, commonFile3.content);
64 host.runQueuedTimeoutCallbacks();
93 const host = createServerHost(files); constant
94 … const { verifyInitialOpen, verifyProjectsUpdatedInBackgroundEventHandler } = createSession(host);
97 host.writeFile(f2.path, f2.content);
[all …]
/third_party/node/deps/v8/src/objects/
Dtagged-field-inl.h17 Address TaggedField<T, kFieldOffset>::address(HeapObject host, int offset) { in address() argument
18 return host.address() + kFieldOffset + offset; in address()
23 Tagged_t* TaggedField<T, kFieldOffset>::location(HeapObject host, int offset) { in location() argument
24 return reinterpret_cast<Tagged_t*>(address(host, offset)); in location()
57 T TaggedField<T, kFieldOffset>::load(HeapObject host, int offset) { in load() argument
58 Tagged_t value = *location(host, offset); in load()
60 return T(tagged_to_full(host.ptr(), value)); in load()
66 HeapObject host, int offset) { in load() argument
67 Tagged_t value = *location(host, offset); in load()
74 void TaggedField<T, kFieldOffset>::store(HeapObject host, T value) { in store() argument
[all …]
Dtagged-field.h38 static inline Address address(HeapObject host, int offset = 0);
40 static inline T load(HeapObject host, int offset = 0);
41 static inline T load(PtrComprCageBase cage_base, HeapObject host,
44 static inline void store(HeapObject host, T value);
45 static inline void store(HeapObject host, int offset, T value);
47 static inline T Relaxed_Load(HeapObject host, int offset = 0);
48 static inline T Relaxed_Load(PtrComprCageBase cage_base, HeapObject host,
51 static inline void Relaxed_Store(HeapObject host, T value);
52 static void Relaxed_Store(HeapObject host, int offset, T value);
54 static inline T Acquire_Load(HeapObject host, int offset = 0);
[all …]
/third_party/typescript/src/testRunner/unittests/tscWatch/
DmoduleResolution.ts164 timeouts: host => {
165 host.runQueuedTimeoutCallbacks(); // Failed lookup updates
166 host.runQueuedTimeoutCallbacks(); // Actual update
172 timeouts: host => {
173 host.runQueuedTimeoutCallbacks(); // Failed lookup updates
174 host.runQueuedTimeoutCallbacks(); // Actual update
180 timeouts: host => {
181 host.runQueuedTimeoutCallbacks(); // Failed lookup updates
182 host.runQueuedTimeoutCallbacks(); // Actual update
190 timeouts: host => {
[all …]
/third_party/node/deps/cares/src/lib/
Dares__addrinfo2hostent.c58 struct hostent **host) in ares__addrinfo2hostent() argument
69 if (ai == NULL || host == NULL) { in ares__addrinfo2hostent()
84 *host = ares_malloc(sizeof(**host)); in ares__addrinfo2hostent()
85 if (!(*host)) { in ares__addrinfo2hostent()
88 memset(*host, 0, sizeof(**host)); in ares__addrinfo2hostent()
110 (*host)->h_aliases = aliases; in ares__addrinfo2hostent()
128 (*host)->h_addr_list = ares_malloc((naddrs + 1) * sizeof(char *)); in ares__addrinfo2hostent()
129 if (!(*host)->h_addr_list) { in ares__addrinfo2hostent()
133 memset((*host)->h_addr_list, 0, (naddrs + 1) * sizeof(char *)); in ares__addrinfo2hostent()
136 (*host)->h_name = ares_strdup(ai->cnames->name); in ares__addrinfo2hostent()
[all …]
/third_party/typescript/src/compiler/
DmoduleSpecifiers.ts14 …function getPreferences(host: ModuleSpecifierResolutionHost, { importModuleSpecifierPreference, im…
28 …|| isFormatRequiringExtensions(compilerOptions, importingSourceFile.path, host) ? Ending.JsExtensi…
34 …mpilerOptions, oldImportSpecifier: string, importingSourceFileName: Path, host: ModuleSpecifierRes…
37 …ldImportSpecifier) || isFormatRequiringExtensions(compilerOptions, importingSourceFileName, host) ?
43 …tensions(compilerOptions: CompilerOptions, importingSourceFileName: Path, host: ModuleSpecifierRes…
48 …edNodeFormatForFile(importingSourceFileName, host.getPackageJsonInfoCache?.(), getModuleResolution…
51 function getModuleResolutionHost(host: ModuleSpecifierResolutionHost): ModuleResolutionHost {
53 fileExists: host.fileExists,
54 readFile: Debug.checkDefined(host.readFile),
55 directoryExists: host.directoryExists,
[all …]
/third_party/typescript/tests/baselines/reference/
DAPISample_WatchWithDefaults.js36 const host = ts.createWatchCompilerHost(configPath, {}, ts.sys);
40 const origCreateProgram = host.createProgram;
41 host.createProgram = (rootNames, options, host, oldProgram) => { argument
43 return origCreateProgram(rootNames, options, host, oldProgram);
45 const origPostProgramCreate = host.afterProgramCreate;
47 host.afterProgramCreate = program => {
53 ts.createWatchProgram(host);
82 var host = ts.createWatchCompilerHost(configPath, {}, ts.sys);
85 var origCreateProgram = host.createProgram;
86 host.createProgram = function (rootNames, options, host, oldProgram) {
[all …]
Dimport_var-referencing-an-imported-module-alias.types2 import host = require("host");
3 >host : typeof host
5 var hostVar = host;
6 >hostVar : typeof host
7 >host : typeof host
10 >v : host.Host
11 >new hostVar.Host() : host.Host
12 >hostVar.Host : typeof host.Host
13 >hostVar : typeof host
14 >Host : typeof host.Host
[all …]
/third_party/openssl/doc/man3/
DBIO_parse_hostserv.pod7 - utility routines to parse a standard host and service string
16 int BIO_parse_hostserv(const char *hostserv, char **host, char **service,
23 back via B<host> and B<service>. Those will need to be freed after
30 host + ':' + service
31 host + ':' + '*'
32 host + ':'
35 host
38 The host part can be a name or an IP address. If it's a IPv6
47 host + ':' + service => *host = "host", *service = "service"
48 host + ':' + '*' => *host = "host", *service = NULL
[all …]

12345678910>>...104