Home
last modified time | relevance | path

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

12345678910>>...92

/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.js20 host: 'evil-phisher', property
31 host: 'evil-phisher', property
44 host: 'evil-phisher', property
56 host: 'evil-phisher', property
67 host: 'www.example.com', property
77 host: 'www.example.com', property
87 host: 'www.example.com', property
98 host: 'www.example.com', property
109 host: 'www.example.com', property
120 host: 'www.example.com', property
[all …]
/third_party/typescript/src/testRunner/unittests/tsserver/
DresolutionCache.ts2 function createHostModuleResolutionTrace(host: TestServerHost & ModuleResolutionHost) {
4 host.trace = resolutionTrace.push.bind(resolutionTrace);
18 const host: TestServerHost & ModuleResolutionHost = createServerHost([file1, lib]); constant
19 const resolutionTrace = createHostModuleResolutionTrace(host);
20 …ctService = createProjectService(host, { typingsInstaller: new TestTypingsInstaller("/a/cache", /*…
70 const host = createServerHost([f1, t1, tsconfig]); constant
71 const projectService = createProjectService(host);
78 host.deleteFile(t1.path);
80 host.runQueuedTimeoutCallbacks();
86 host.writeFile(t2.path, t2.content);
[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);
45 checkWatchedFiles(host, [libFile.path, configFile.path]);
46 checkWatchedDirectories(host, [], /*recursive*/ false);
48 … checkWatchedDirectories(host, typeRootLocations.concat(configFileLocation), /*recursive*/ true);
51 host.deleteFile(configFile.path);
52 host.runQueuedTimeoutCallbacks();
54 …checkWatchedFiles(host, [libFile.path, configFile.path, `${configFileLocation}/jsconfig.json`, `${…
[all …]
DwatchEnvironment.ts44 const host = createServerHost(files, { environmentVariables }); constant
45 const projectService = createProjectService(host);
59 host.writeFile(file2.path, file2.content);
60 host.runQueuedTimeoutCallbacks();
68 checkWatchedDirectories(host, emptyArray, /*recursive*/ true);
70 checkWatchedFilesDetailed(host, expectedWatchedFiles);
71 … checkWatchedDirectoriesDetailed(host, expectedWatchedDirectories, /*recursive*/ false);
105 const host = createServerHost(files, { windowsStyleRoot: "c:/" }); constant
106 const projectService = createProjectService(host);
112 …checkWatchedFiles(host, mapDefined(files, f => f === libFile ? winsowsStyleLibFilePath : f === fil…
[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 …]
DconfiguredProjects.ts27 const host = createServerHost([configFile, libFile, file1, file2, file3]); constant
28 const projectService = createProjectService(host);
40 checkWatchedFiles(host, [configFile.path, file2.path, libFile.path]);
42 …checkWatchedDirectories(host, [configFileDirectory, combinePaths(configFileDirectory, nodeModulesA…
67 const host = createServerHost([configFile, libFile, file1, file2, file3]); constant
68 const projectService = createProjectService(host);
80 checkWatchedFiles(host, [configFile.path, file2.path, libFile.path]);
81 checkWatchedDirectories(host, [getDirectoryPath(configFile.path)], /*recursive*/ false);
100 const host = createServerHost([libFile, commonFile1, commonFile2]); constant
102 const projectService = createProjectService(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.ts5 function createTestTypingsInstaller(host: server.ServerHost) {
6 return new TestTypingsInstaller("/a/data/", /*throttleLimit*/5, host);
30 …function createSession(host: server.ServerHost, typingsInstaller?: server.ITypingsInstaller): serv…
32 host,
114 …const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFil… constant
115 const typingsInstaller = createTestTypingsInstaller(host);
116 const session = createSession(host, typingsInstaller);
139 …const host = createServerHost([moduleFile1, file1Consumer1, file1Consumer2, globalFile3, moduleFil… constant
140 const typingsInstaller = createTestTypingsInstaller(host);
141 const session = createSession(host, typingsInstaller);
[all …]
DsymLinks.ts42 const host = createServerHost(files); constant
43 const session = createSession(host);
154 host: session.testhost,
164 …function verifyWatchedFilesAndDirectories(host: TestServerHost, files: string[], recursiveDirector…
165 … checkWatchedFilesDetailed(host, files.filter(f => f !== recognizersDateTimeSrcFile.path), 1);
166 … checkWatchedDirectoriesDetailed(host, nonRecursiveDirectories, 1, /*recursive*/ false);
167 checkWatchedDirectoriesDetailed(host, recursiveDirectories, /*recursive*/ true);
170 function createSessionAndOpenFile(host: TestServerHost) {
171 const session = createSession(host, { canUseEvents: true });
218 const host = createServerHost(filesWithSources); constant
[all …]
/third_party/typescript/src/testRunner/unittests/tsserver/events/
DprojectUpdatedInBackground.ts31 …function verifyProjectsUpdatedInBackgroundEvent(createSession: (host: TestServerHost) => ProjectsU…
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/typescript/src/testRunner/unittests/tscWatch/
DresolutionCache.ts15 const host = createWatchedSystem(files); constant
16 … const watch = createWatchOfFilesAndCompilerOptions([root.path], host, { module: ModuleKind.AMD });
22 checkOutputErrorsInitial(host, [f1IsNotModule, cannotFindFoo]);
24 const originalFileExists = host.fileExists;
29 host.writeFile(root.path, root.content);
32 host.fileExists = notImplemented;
35 host.runQueuedTimeoutCallbacks();
38 checkOutputErrorsIncremental(host, [
46 host.fileExists = (fileName): boolean => {
52 return originalFileExists.call(host, fileName);
[all …]
/third_party/node/deps/cares/src/lib/
Dares__addrinfo2hostent.c47 struct hostent **host) in ares__addrinfo2hostent() argument
55 if (ai == NULL || host == NULL) in ares__addrinfo2hostent()
58 *host = ares_malloc(sizeof(**host)); in ares__addrinfo2hostent()
59 if (!(*host)) in ares__addrinfo2hostent()
63 memset(*host, 0, sizeof(**host)); in ares__addrinfo2hostent()
94 (*host)->h_aliases = aliases; in ares__addrinfo2hostent()
114 (*host)->h_addr_list = ares_malloc((naddrs + 1) * sizeof(char *)); in ares__addrinfo2hostent()
115 if (!(*host)->h_addr_list) in ares__addrinfo2hostent()
120 memset((*host)->h_addr_list, 0, (naddrs + 1) * sizeof(char *)); in ares__addrinfo2hostent()
124 (*host)->h_name = ares_strdup(ai->cnames->name); in ares__addrinfo2hostent()
[all …]
/third_party/node/deps/npm/node_modules/forever-agent/
Dindex.js10 function getConnectionName(host, port) { argument
12 if (typeof host === 'string') {
13 name = host + ':' + port
16 name = host.host + ':' + host.port + ':' + (host.localAddress ? (host.localAddress + ':') : ':')
29 self.on('free', function(socket, host, port) { argument
30 var name = getConnectionName(host, port)
61 ForeverAgent.prototype.addRequest = function(req, host, port) { argument
62 var name = getConnectionName(host, port)
64 if (typeof host !== 'string') {
65 var options = host
[all …]
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/android/
DFlutterActivityAndFragmentDelegate.java74 private Host host; field in FlutterActivityAndFragmentDelegate
89 host.onFirstFrameRendered();
93 FlutterActivityAndFragmentDelegate(@NonNull Host host) { in FlutterActivityAndFragmentDelegate() argument
94 this.host = host; in FlutterActivityAndFragmentDelegate()
108 this.host = null; in release()
154 platformPlugin = host.providePlatformPlugin(host.getActivity(), flutterEngine); in onAttach()
156 if (host.shouldAttachEngineToActivity()) { in onAttach()
168 host.getActivity(), in onAttach()
169 host.getLifecycle() in onAttach()
173 host.configureFlutterEngine(flutterEngine); in onAttach()
[all …]
/third_party/typescript/src/compiler/
DmoduleNameResolver.ts4 …export function trace(host: ModuleResolutionHost, message: DiagnosticMessage, ...args: any[]): voi…
5 export function trace(host: ModuleResolutionHost): void {
6 host.trace!(formatMessage.apply(undefined, arguments));
10 …export function isTraceEnabled(compilerOptions: CompilerOptions, host: ModuleResolutionHost): bool…
11 return !!compilerOptions.traceResolution && host.trace !== undefined;
100 host: ModuleResolutionHost; property
127 trace(state.host, message, fieldName);
135 …trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, fieldName, t…
149 trace(state.host, Diagnostics.package_json_had_a_falsy_0_field, fieldName);
156 trace(state.host, message, fieldName, fileName, path);
[all …]
DmoduleSpecifiers.ts47 host: ModuleSpecifierResolutionHost,
50 …duleSpecifierWorker(compilerOptions, importingSourceFileName, toFileName, host, getPreferencesForU…
61 host: ModuleSpecifierResolutionHost,
64 …return getModuleSpecifierWorker(compilerOptions, importingSourceFileName, toFileName, host, getPre…
71 host: ModuleSpecifierResolutionHost,
73 const info = getInfo(importingSourceFileName, host);
74 …const modulePaths = getAllModulePaths(importingSourceFileName, nodeModulesFileName, host, compiler…
76 …modulePath => tryGetModuleNameAsExternalModule(modulePath, info, host, compilerOptions, /*packageN…
83 host: ModuleSpecifierResolutionHost,
86 const info = getInfo(importingSourceFileName, host);
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/
Dgetnameinfo.c33 char host[NI_MAXHOST]; in getnameinfo_0100() local
39 …ret = getnameinfo((const struct sockaddr *)(&sa), sizeof(sa), host, sizeof(host), server, sizeof(s… in getnameinfo_0100()
41 EXPECT_NE("getnameinfo_0100", strlen(host), 0); in getnameinfo_0100()
60 char host[NI_MAXHOST]; in getnameinfo_0200() local
63 …res = getnameinfo(result->ai_addr, result->ai_addrlen, host, sizeof(host), server, sizeof(server),… in getnameinfo_0200()
66 EXPECT_NE("getnameinfo_0200", strlen(host), 0); in getnameinfo_0200()
80 char host[NI_MAXHOST]; in getnameinfo_0300() local
99 char host[NI_MAXHOST]; in getnameinfo_0400() local
105 ret = getnameinfo((const struct sockaddr *)(&sa), sizeof(sa), host, sizeof(host), 0, 0, 0); in getnameinfo_0400()
107 EXPECT_NE("getnameinfo_0400", strlen(host), 0); in getnameinfo_0400()
[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 …]
/third_party/typescript/tests/baselines/reference/
DAPISample_WatchWithDefaults.js35 const host = ts.createWatchCompilerHost(configPath, {}, ts.sys);
39 const origCreateProgram = host.createProgram;
40 host.createProgram = (rootNames, options, host, oldProgram) => { argument
42 return origCreateProgram(rootNames, options, host, oldProgram);
44 const origPostProgramCreate = host.afterProgramCreate;
46 host.afterProgramCreate = program => {
52 ts.createWatchProgram(host);
81 var host = ts.createWatchCompilerHost(configPath, {}, ts.sys);
84 var origCreateProgram = host.createProgram;
85 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/typescript/src/testRunner/unittests/tsbuild/
DwatchMode.ts14 const host = createSolutionBuilderHost(system); constant
15 return ts.createSolutionBuilder(host, rootNames, defaultOptions || {});
18 export function ensureErrorFreeBuild(host: WatchedSystem, rootNames: readonly string[]) {
20 const solutionBuilder = createSolutionBuilder(host, rootNames, {});
22 …assert.equal(host.getOutput().length, 0, JSON.stringify(host.getOutput(), /*replacer*/ undefined, …
26 … function transformOutputToOutputFileStamp(f: string, host: TsBuildWatchSystem): OutputFileStamp {
27 … return [f, host.getModifiedTime(f), host.writtenFiles.has(host.toFullPath(f))] as OutputFileStamp;
78 …function getOutputStamps(host: TsBuildWatchSystem, subProject: SubProject, baseFileNameWithoutExte…
79 …ames(subProject, baseFileNameWithoutExtension).map(f => transformOutputToOutputFileStamp(f, host));
82 …function getOutputFileStamps(host: TsBuildWatchSystem, additionalFiles?: readonly [SubProject, str…
[all …]
/third_party/node/lib/
Durl.js63 this.host = null;
359 this.host = rest.slice(start);
362 this.host = rest.slice(start, nonHost);
405 this.host = h + p;
596 let host = '';
599 if (this.host) {
600 host = auth + this.host;
602 host = auth + (
608 host += ':' + this.port;
650 if (this.slashes || host) {
[all …]
/third_party/typescript/src/services/
Dsourcemaps.ts23 export function getSourceMapper(host: SourceMapperHost): SourceMapper {
24 const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());
25 const currentDirectory = host.getCurrentDirectory();
40 if (host.getDocumentPositionMapper) {
41 mapper = host.getDocumentPositionMapper(generatedFileName, sourceFileName);
43 else if (host.readFile) {
46 { getSourceFileLike, getCanonicalFileName, log: s => host.log(s) },
49 f => !host.fileExists || host.fileExists(f) ? host.readFile!(f) : undefined
72 const program = host.getProgram()!;
91 const program = host.getProgram();
[all …]

12345678910>>...92