/third_party/node/deps/npm/node_modules/cross-spawn/lib/ |
D | parse.js | 16 function parseNonShell(parsed) { argument 22 return parsed; 26 parsed.file = resolveCommand(parsed.command); 27 parsed.file = parsed.file || resolveCommand(parsed.command, true); 28 shebang = parsed.file && readShebang(parsed.file); 31 parsed.args.unshift(parsed.file); 32 parsed.command = shebang; 35 needsShell = hasEmptyArgumentBug || !skipShellRegExp.test(parsed.file); 41 …applyQuotes = (parsed.command !== 'echo'); // Do not quote arguments for the special "echo" comma… 42 parsed.command = escapeCommand(parsed.command); [all …]
|
D | enoent.js | 18 function hookChildProcess(cp, parsed) { argument 33 err = verifyENOENT(arg1, parsed, 'spawn'); 44 function verifyENOENT(status, parsed) { argument 45 if (isWin && status === 1 && !parsed.file) { 46 return notFoundError(parsed.original, 'spawn'); 52 function verifyENOENTSync(status, parsed) { argument 53 if (isWin && status === 1 && !parsed.file) { 54 return notFoundError(parsed.original, 'spawnSync'); 60 parsed.file = isWin ? parsed.file : resolveCommand(parsed.original); 62 if (!parsed.file) { [all …]
|
/third_party/benchmark/tools/ |
D | compare.py | 281 parsed = self.parser.parse_args( 283 self.assertFalse(parsed.display_aggregates_only) 284 self.assertTrue(parsed.utest) 285 self.assertEqual(parsed.mode, 'benchmarks') 286 self.assertEqual(parsed.test_baseline[0].name, self.testInput0) 287 self.assertEqual(parsed.test_contender[0].name, self.testInput1) 288 self.assertFalse(parsed.benchmark_options) 291 parsed = self.parser.parse_args( 293 self.assertFalse(parsed.display_aggregates_only) 294 self.assertFalse(parsed.utest) [all …]
|
/third_party/node/deps/npm/node_modules/libnpx/ |
D | parse-args.js | 47 const parsed = parser.parse(argv.slice(0, cmdIndex)) 49 parsed.command = parsed.package && parsedCmd.type !== 'directory' 52 parsed.isLocal = parsedCmd.type === 'directory' 53 parsed.cmdOpts = argv.slice(cmdIndex + 1) 54 if (typeof parsed.package === 'string') { 55 parsed.package = [parsed.package] 57 parsed.packageRequested = !!parsed.package 58 parsed.cmdHadVersion = parsed.package || parsedCmd.type === 'directory' 61 const pkg = parsed.package || [argv[cmdIndex]] 62 parsed.p = parsed.package = pkg.map(p => npa(p).toString()) [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | gen_angle_format_table.py | 285 parsed = { 291 parsed[k] = v 293 if "glInternalFormat" not in parsed: 294 parsed["glInternalFormat"] = angle_to_gl[format_id] 296 if "fboImplementationInternalFormat" not in parsed: 297 parsed["fboImplementationInternalFormat"] = parsed["glInternalFormat"] 299 if "componentType" not in parsed: 300 parsed["componentType"] = angle_format.get_component_type(format_id) 302 if "channels" not in parsed: 303 parsed["channels"] = angle_format.get_channels(format_id) [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | gen_angle_format_table.py | 267 parsed = { 273 parsed[k] = v 275 if "glInternalFormat" not in parsed: 276 parsed["glInternalFormat"] = angle_to_gl[format_id] 278 if "fboImplementationInternalFormat" not in parsed: 279 parsed["fboImplementationInternalFormat"] = parsed["glInternalFormat"] 281 if "componentType" not in parsed: 282 parsed["componentType"] = angle_format.get_component_type(format_id) 284 if "channels" not in parsed: 285 parsed["channels"] = angle_format.get_channels(format_id) [all …]
|
/third_party/node/deps/npm/node_modules/http-signature/lib/ |
D | parser.js | 137 var parsed = { variable 150 if (c !== ' ') parsed.scheme += c; 183 parsed.params[tmpName] = tmpValue; 210 if (!parsed.params.headers || parsed.params.headers === '') { 212 parsed.params.headers = ['x-date']; 214 parsed.params.headers = ['date']; 217 parsed.params.headers = parsed.params.headers.split(' '); 221 if (!parsed.scheme || parsed.scheme !== 'Signature') 224 if (!parsed.params.keyId) 227 if (!parsed.params.algorithm) [all …]
|
/third_party/node/deps/npm/node_modules/psl/ |
D | index.js | 168 var parsed = { variable 181 return parsed; 187 return parsed; 189 if (parsed.domain) { 190 parsed.domain = Punycode.toASCII(parsed.domain); 192 if (parsed.subdomain) { 193 parsed.subdomain = Punycode.toASCII(parsed.subdomain); 195 return parsed; 203 return parsed; 205 parsed.tld = domainParts.pop(); [all …]
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | tsconfigParsing.ts | 4 const parsed = parseConfigFileTextToJson("/apath/tsconfig.json", jsonText); constant 5 assert.equal(JSON.stringify(parsed), JSON.stringify(expectedConfigObject)); 10 const parsed = parseConfigFileTextToJson("/apath/tsconfig.json", jsonText); constant 11 … const parsedCommand = parseJsonConfigFileContent(parsed.config, sys, "tests/cases/unittests"); 16 const parsed = parseJsonText("/apath/tsconfig.json", jsonText); constant 17 … const parsedCommand = parseJsonSourceFileConfigFileContent(parsed, sys, "tests/cases/unittests"); 24 const parsed = parseConfigFileTextToJson(configFileName, jsonText); constant 27 …return parseJsonConfigFileContent(parsed.config, host, basePath, /*existingOptions*/ undefined, co… 31 const parsed = parseJsonText(configFileName, jsonText); constant 34 …return parseJsonSourceFileConfigFileContent(parsed, host, basePath, /*existingOptions*/ undefined,… [all …]
|
D | configurationExtension.ts | 225 … parsed: parseJsonSourceFileConfigFileContent(jsonSourceFile, host, basePath, {}, entry) 232 const parsed = getParseCommandLine(entry); constant 233 …assert(!parsed.errors.length, flattenDiagnosticMessageText(parsed.errors[0] && parsed.errors[0].me… 234 assert.deepEqual(parsed.options, expected); 235 assert.deepEqual(parsed.fileNames, expectedFiles); 239 const { parsed, jsonSourceFile } = getParseCommandLineJsonSourceFile(entry); constant 240 …assert(!parsed.errors.length, flattenDiagnosticMessageText(parsed.errors[0] && parsed.errors[0].me… 241 assert.deepEqual(parsed.options, expected); 242 assert.equal(parsed.options.configFile, jsonSourceFile); 243 assert.deepEqual(parsed.fileNames, expectedFiles); [all …]
|
/third_party/node/deps/npm/node_modules/execa/ |
D | index.js | 17 let parsed; 25 parsed = { variable 33 parsed = crossSpawn._parse(cmd, args, opts); 40 localDir: parsed.options.cwd || process.cwd(), 44 }, parsed.options); 53 cmd: parsed.command, 54 args: parsed.args, 56 parsed 133 const parsed = handleArgs(cmd, args, opts); constant 134 const encoding = parsed.opts.encoding; [all …]
|
/third_party/node/deps/npm/node_modules/hosted-git-info/ |
D | index.js | 43 var parsed = parseGitUrl(url) 49 if (parsed.auth && authProtocols[parsed.protocol]) { 50 auth = parsed.auth 52 var committish = parsed.hash ? decodeURIComponent(parsed.hash.substr(1)) : null 61 …if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gi… 62 if (!gitHostInfo.protocols_re.test(parsed.protocol)) return 63 if (!parsed.path) return 65 var matched = parsed.path.match(pathmatch) 72 defaultRepresentation = protocolToRepresentation(parsed.protocol) 99 var parsed = url.parse(giturl) [all …]
|
/third_party/node/test/known_issues/ |
D | test-url-parse-conformance.js | 19 let parsed; variable 23 parsed = url.parse(url.resolve(test.base, test.input)); 33 assert.strictEqual(test.href, parsed.href); 34 assert.strictEqual(test.protocol, parsed.protocol); 35 username = parsed.auth ? parsed.auth.split(':', 2)[0] : ''; 36 password = parsed.auth ? parsed.auth.split(':', 2)[1] : ''; 39 assert.strictEqual(test.host, parsed.host); 40 assert.strictEqual(test.hostname, parsed.hostname); 41 assert.strictEqual(+test.port, +parsed.port); 42 assert.strictEqual(test.pathname, parsed.pathname || '/'); [all …]
|
/third_party/node/deps/npm/node_modules/cross-spawn/ |
D | index.js | 10 var parsed; 14 parsed = parse(command, args, options); 17 spawned = cp.spawn(parsed.command, parsed.args, parsed.options); 21 enoent.hookChildProcess(spawned, parsed); 27 var parsed; 43 parsed = parse(command, args, options); 46 result = cpSpawnSync(parsed.command, parsed.args, parsed.options); 49 result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);
|
/third_party/node/deps/npm/node_modules/verror/lib/ |
D | verror.js | 134 var args, obj, parsed, cause, ctor, message, k; 153 parsed = parseConstructorArguments({ 161 if (parsed.options.name) { 162 mod_assertplus.string(parsed.options.name, 164 this.name = parsed.options.name; 172 this.jse_shortmsg = parsed.shortmessage; 173 message = parsed.shortmessage; 179 cause = parsed.options.cause; 184 if (!parsed.options.skipCauseMessage) { 196 if (parsed.options.info) { [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 133 var parsed = JsonParser.Default.Parse<TestWellKnownTypes>(json); in SingularWrappers_ExplicitNulls() 134 Assert.AreEqual(message, parsed); in SingularWrappers_ExplicitNulls() 150 IMessage parsed = (IMessage)Activator.CreateInstance(wrapperType); in Wrappers_Standalone() 152 JsonParser.Default.Merge(parsed, "null"); in Wrappers_Standalone() 153 Assert.AreEqual(expected, parsed); in Wrappers_Standalone() 155 JsonParser.Default.Merge(parsed, json); in Wrappers_Standalone() 157 Assert.AreEqual(expected, parsed); in Wrappers_Standalone() 173 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone() 175 Assert.AreEqual(expected, parsed); in BytesWrapper_Standalone() 239 var parsed = JsonParser.Default.Parse<T>(json); [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | WireFormatLiteTest.java | 769 TestAllTypes parsed = TestAllTypes.parseFrom(message.toByteArray()); in testParseVarintMinMax() local 770 assertEquals(Integer.MIN_VALUE, parsed.getOptionalInt32()); in testParseVarintMinMax() 771 assertEquals(Integer.MAX_VALUE, parsed.getRepeatedInt32(0)); in testParseVarintMinMax() 772 assertEquals(Long.MIN_VALUE, parsed.getOptionalInt64()); in testParseVarintMinMax() 773 assertEquals(Long.MAX_VALUE, parsed.getRepeatedInt64(0)); in testParseVarintMinMax() 780 TestAllTypes parsed = TestAllTypes.parseFrom(message.toByteArray()); in testParseAllVarintBits() local 781 assertEquals(value, parsed.getOptionalInt32()); in testParseAllVarintBits() 786 TestAllTypes parsed = TestAllTypes.parseFrom(message.toByteArray()); in testParseAllVarintBits() local 787 assertEquals(value, parsed.getOptionalInt64()); in testParseAllVarintBits() 794 TestAllTypes parsed = TestAllTypes.parseFrom(data); in testParseEmptyUnknownLengthDelimitedField() local [all …]
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 131 var parsed = JsonParser.Default.Parse<TestWellKnownTypes>(json); in SingularWrappers_ExplicitNulls() 132 Assert.AreEqual(message, parsed); in SingularWrappers_ExplicitNulls() 148 IMessage parsed = (IMessage)Activator.CreateInstance(wrapperType); in Wrappers_Standalone() 150 JsonParser.Default.Merge(parsed, "null"); in Wrappers_Standalone() 151 Assert.AreEqual(expected, parsed); in Wrappers_Standalone() 153 JsonParser.Default.Merge(parsed, json); in Wrappers_Standalone() 155 Assert.AreEqual(expected, parsed); in Wrappers_Standalone() 171 var parsed = JsonParser.Default.Parse<BytesValue>(WrapInQuotes(data.ToBase64())); in BytesWrapper_Standalone() 173 Assert.AreEqual(expected, parsed); in BytesWrapper_Standalone() 237 var parsed = JsonParser.Default.Parse<T>(json); [all …]
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
D | WrappersTest.cs | 75 var parsed = TestWellKnownTypes.Parser.ParseFrom(bytes); in NonDefaultSingleValues() 77 Assert.AreEqual("x", parsed.StringField); in NonDefaultSingleValues() 78 Assert.AreEqual(ByteString.CopyFrom(1, 2, 3), parsed.BytesField); in NonDefaultSingleValues() 79 Assert.AreEqual(true, parsed.BoolField); in NonDefaultSingleValues() 80 Assert.AreEqual(12.5f, parsed.FloatField); in NonDefaultSingleValues() 81 Assert.AreEqual(12.25d, parsed.DoubleField); in NonDefaultSingleValues() 82 Assert.AreEqual(1, parsed.Int32Field); in NonDefaultSingleValues() 83 Assert.AreEqual(2L, parsed.Int64Field); in NonDefaultSingleValues() 84 Assert.AreEqual(3U, parsed.Uint32Field); in NonDefaultSingleValues() 85 Assert.AreEqual(4UL, parsed.Uint64Field); in NonDefaultSingleValues() [all …]
|
/third_party/node/deps/npm/node_modules/psl/dist/ |
D | psl.js | 171 var parsed = { 184 return parsed; 190 return parsed; 192 if (parsed.domain) { 193 parsed.domain = Punycode.toASCII(parsed.domain); 195 if (parsed.subdomain) { 196 parsed.subdomain = Punycode.toASCII(parsed.subdomain); 198 return parsed; 206 return parsed; 208 parsed.tld = domainParts.pop(); [all …]
|
/third_party/node/test/common/ |
D | dns.js | 53 const parsed = { variable 67 parsed[sectionName] = []; 155 parsed[sectionName].push(rr); 162 return parsed; 192 function writeDNSPacket(parsed) { argument 197 parsed.id, 198 parsed.flags === undefined ? kStandardResponseFlags : parsed.flags, 199 parsed.questions && parsed.questions.length, 200 parsed.answers && parsed.answers.length, 201 parsed.authorityAnswers && parsed.authorityAnswers.length, [all …]
|
/third_party/node/lib/ |
D | inspector.js | 72 const parsed = JSONParse(message); 74 if (parsed.id) { 75 const callback = this[messageCallbacksSymbol].get(parsed.id); 76 this[messageCallbacksSymbol].delete(parsed.id); 78 if (parsed.error) { 79 return callback(new ERR_INSPECTOR_COMMAND(parsed.error.code, 80 parsed.error.message)); 83 callback(null, parsed.result); 86 this.emit(parsed.method, parsed); 87 this.emit('inspectorNotification', parsed);
|
/third_party/gn/src/gn/ |
D | functions_target_unittest.cc | 27 good_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 37 source_set_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 56 nonscoped_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 66 scoped_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 76 nonexistent_arg_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 87 exclusion_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 98 error_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 108 argcount_error_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 119 scope_error_input.parsed()->Execute(setup.scope(), &err); in TEST_F() 129 string_error_input.parsed()->Execute(setup.scope(), &err); in TEST_F() [all …]
|
D | parse_tree_unittest.cc | 72 values.parsed()->Execute(setup.scope(), &err); in TEST() 131 input_all_used.parsed()->Execute(setup.scope(), &err); in TEST() 143 input_unused.parsed()->Execute(setup.scope(), &err); in TEST() 161 input.parsed()->Execute(setup.scope(), &err); in TEST() 189 ASSERT_TRUE(input.parsed()->AsBlock()); in TEST() 190 ASSERT_TRUE(input.parsed()->AsBlock()->statements()[0]->AsBinaryOp()); in TEST() 192 input.parsed()->AsBlock()->statements()[0]->AsBinaryOp(); in TEST() 215 ASSERT_TRUE(input.parsed()->AsBlock()); in TEST() 216 ASSERT_TRUE(input.parsed()->AsBlock()->statements()[0]->AsBinaryOp()); in TEST() 218 input.parsed()->AsBlock()->statements()[0]->AsBinaryOp(); in TEST() [all …]
|
/third_party/node/deps/npm/node_modules/http-proxy-agent/ |
D | index.js | 65 var parsed = url.parse(req.path); 66 if (null == parsed.protocol) parsed.protocol = 'http:'; 67 if (null == parsed.hostname) parsed.hostname = opts.hostname || opts.host; 68 if (null == parsed.port) parsed.port = opts.port; 69 if (parsed.port == 80) { 72 delete parsed.port; 74 var absolute = url.format(parsed);
|