/tools/repohooks/rh/ |
D | shell.py | 42 def quote(s): argument 70 if isinstance(s, bytes): 71 s = s.encode('utf-8') 72 elif isinstance(s, pathlib.PurePath): 73 return str(s) 74 elif not isinstance(s, str): 75 return repr(s) 78 for c in s: 82 return s if s else "''" 85 if "'" not in s: [all …]
|
/tools/tradefederation/core/javatests/res/testtype/ |
D | rust_output2.txt | 2 test default_tokenstream_is_empty ... ok <0.000s> 3 test fail ... ok <0.000s> 4 test ident_empty ... ok <0.000s> 5 test ident_invalid ... ok <0.000s> 6 test ident_number ... ok <0.000s> 7 test idents ... FAILED <0.000s> 8 test lifetime_empty ... ok <0.000s> 9 test lifetime_invalid ... ok <0.000s> 10 test lifetime_number ... ok <0.000s> 11 test literal_character ... ok <0.000s> [all …]
|
D | rust_output1.txt | 2 test Delimiter ... ok <0.000s> 3 test Group ... ok <0.000s> 4 test Ident ... ok <0.000s> 5 test LexError ... ok <0.000s> 6 test Literal ... ok <0.000s> 7 test Punct ... ok <0.000s> 8 test Spacing ... ok <0.000s> 9 test Span ... ok <0.000s> 10 test TokenStream ... ok <0.000s> 11 test TokenTree ... ok <0.000s>
|
D | rust_output5.txt | 2 test Delimiter ... ok <0.000s> 3 test Group ... ok <0.000s> 4 test Ident ... ok <0.000s> 5 test LexError ... ok <0.000s> 6 test Literal ... ok <0.000s> 7 test Punct ... ok <0.000s> 8 test Spacing ... ok <0.000s> 9 test Span ... ok <0.000s> 10 test TokenStream ... ok <0.000s>
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/rust/ |
D | RustTestResultParserTest.java | 86 for (String s : goodPatterns) { in testRegexTestCase() 87 assertTrue(s, RustTestResultParser.RUST_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase() 89 for (String s : wrongPatterns) { in testRegexTestCase() 90 assertFalse(s, RustTestResultParser.RUST_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase() 108 for (String s : goodPatterns) { in testRegexRunSummary() 109 assertTrue(s, RustTestResultParser.COMPLETE_PATTERN.matcher(s).matches()); in testRegexRunSummary() 111 for (String s : wrongPatterns) { in testRegexRunSummary() 112 assertFalse(s, RustTestResultParser.COMPLETE_PATTERN.matcher(s).matches()); in testRegexRunSummary() 124 for (String s : goodPatterns) { in testRegexRunning() 125 assertTrue(s, RustTestResultParser.RUNNING_PATTERN.matcher(s).matches()); in testRegexRunning() [all …]
|
D | RustTestBaseTest.java | 41 String[] s = {"test*filter1", "s1", "*s2", "s3*"}; in testIncludeFilters() local 43 Set<String> set1 = new HashSet<>(Arrays.asList(s[0])); in testIncludeFilters() 44 Set<String> set2 = new HashSet<>(Arrays.asList(s[1], s[2], s[3])); in testIncludeFilters() 46 runner.addIncludeFilter(s[0]); in testIncludeFilters() 50 runner.addIncludeFilter(s[2]); in testIncludeFilters() 62 String[] s = {"test*filter1", "s1", "*s2", "s3*"}; in testExcludeFilters() local 64 Set<String> set1 = new HashSet<>(Arrays.asList(s[0])); in testExcludeFilters() 65 Set<String> set2 = new HashSet<>(Arrays.asList(s[1], s[2], s[3])); in testExcludeFilters() 67 runner.addExcludeFilter(s[0]); in testExcludeFilters() 71 runner.addExcludeFilter(s[2]); in testExcludeFilters()
|
/tools/dexter/testdata/expected/ |
D | exit_hooks.code_coverage | 1 1: mi=0 s=0 e=2 2 2: mi=0 s=5 e=5 3 3: mi=1 s=0 e=1 4 4: mi=1 s=3 e=3 5 5: mi=1 s=5 e=5 6 6: mi=1 s=8 e=8 7 7: mi=1 s=11 e=11 8 8: mi=1 s=13 e=13 9 9: mi=1 s=15 e=15 10 10: mi=1 s=18 e=18 [all …]
|
D | hello_nodebug.code_coverage | 1 1: mi=0 s=0 e=4 2 2: mi=0 s=6 e=7 3 3: mi=0 s=10 e=10 4 4: mi=1 s=0 e=2 5 5: mi=1 s=5 e=5 6 6: mi=2 s=0 e=2 7 7: mi=2 s=5 e=5 8 8: mi=3 s=0 e=2 9 9: mi=3 s=5 e=5 10 10: mi=3 s=7 e=7 [all …]
|
D | hello.code_coverage | 1 1: mi=0 s=0 e=4 2 2: mi=0 s=6 e=7 3 3: mi=0 s=10 e=10 4 4: mi=1 s=0 e=2 5 5: mi=1 s=5 e=5 6 6: mi=2 s=0 e=2 7 7: mi=2 s=5 e=5 8 8: mi=3 s=0 e=2 9 9: mi=3 s=5 e=5 10 10: mi=3 s=7 e=7 [all …]
|
D | invoke-polymorphic.code_coverage | 1 1: mi=0 s=0 e=0 2 2: mi=0 s=3 e=4 3 3: mi=0 s=7 e=8 4 4: mi=1 s=0 e=0 5 5: mi=1 s=3 e=4 6 6: mi=1 s=7 e=8 7 7: mi=2 s=0 e=0 8 8: mi=2 s=2 e=7 9 9: mi=2 s=10 e=10 10 10: mi=2 s=13 e=14 [all …]
|
D | entry_hooks.code_coverage | 1 1: mi=0 s=0 e=2 2 2: mi=0 s=5 e=5 3 3: mi=1 s=0 e=3 4 4: mi=1 s=5 e=5 5 5: mi=1 s=7 e=8 6 6: mi=1 s=10 e=15 7 7: mi=1 s=18 e=19 8 8: mi=1 s=21 e=26 9 9: mi=1 s=28 e=28 10 10: mi=1 s=31 e=34 [all …]
|
D | try_catch.code_coverage | 1 1: mi=0 s=0 e=2 2 2: mi=0 s=5 e=5 3 3: mi=1 s=0 e=2 4 4: mi=1 s=5 e=5 5 5: mi=2 s=0 e=2 6 6: mi=2 s=5 e=5 7 7: mi=3 s=0 e=2 8 8: mi=3 s=4 e=5 9 9: mi=3 s=8 e=9 10 10: mi=3 s=10 e=10 [all …]
|
D | mi.code_coverage | 1 1: mi=0 s=0 e=0 2 2: mi=0 s=3 e=3 3 3: mi=1 s=0 e=1 4 4: mi=3 s=0 e=0 5 5: mi=3 s=3 e=3 6 6: mi=3 s=5 e=5 7 7: mi=3 s=7 e=7 8 8: mi=4 s=0 e=0 9 9: mi=4 s=2 e=2 10 10: mi=4 s=5 e=6 [all …]
|
/tools/netsim/src/util/ |
D | string_utils.cc | 32 std::string_view LTrim(const std::string_view s) { in LTrim() argument 33 auto start = s.find_first_not_of(WHITESPACE); in LTrim() 34 return (start == std::string::npos) ? "" : s.substr(start); in LTrim() 37 std::string_view RTrim(const std::string_view s) { in RTrim() argument 38 size_t end = s.find_last_not_of(WHITESPACE); in RTrim() 39 return (end == std::string::npos) ? "" : s.substr(0, end + 1); in RTrim() 42 std::string_view Trim(const std::string_view s) { return RTrim(LTrim(s)); } in Trim() argument 44 std::vector<std::string_view> Split(const std::string_view s, in Split() argument 48 while ((start = s.find_first_not_of(delimiters, end)) != std::string::npos) { in Split() 49 end = s.find(delimiters, start); in Split() [all …]
|
/tools/test/connectivity/acts/framework/tests/ |
D | acts_records_test.py | 84 s = signals.TestPass(self.details, self.float_extra) 85 record.test_pass(s) 95 s = signals.TestPass(self.details, self.json_extra) 96 record.test_pass(s) 116 s = signals.TestFailure(self.details, self.float_extra) 117 record.test_fail(s) 127 s = signals.TestFailure(self.details, self.json_extra) 128 record.test_fail(s) 148 s = signals.TestSkip(self.details, self.float_extra) 149 record.test_skip(s) [all …]
|
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/ |
D | Attestation.java | 149 StringBuilder s = new StringBuilder(); in toString() local 150 s.append("Attestation version: " + attestationVersion); in toString() 151 s.append("\nAttestation security: " + securityLevelToString(attestationSecurityLevel)); in toString() 152 s.append("\nKM version: " + keymasterVersion); in toString() 153 s.append("\nKM security: " + securityLevelToString(keymasterSecurityLevel)); in toString() 155 s.append("\nChallenge"); in toString() 158 s.append(": [" + stringChallenge + "]"); in toString() 160 s.append(" (base64): [" + BaseEncoding.base64().encode(attestationChallenge) + "]"); in toString() 163 s.append("\nUnique ID (base64): [" + BaseEncoding.base64().encode(uniqueId) + "]"); in toString() 166 s.append("\n\n-- SW enforced --"); in toString() [all …]
|
D | AuthorizationList.java | 517 StringBuilder s = new StringBuilder(); in toString() local 520 s.append("\nAlgorithm: ").append(algorithmToString(algorithm)); in toString() 524 s.append("\nKeySize: ").append(keySize); in toString() 528 s.append("\nPurposes: ").append(purposesToString(purposes)); in toString() 532 s.append("\nDigests: ").append(digestsToString(digests)); in toString() 536 s.append("\nPadding modes: ").append(paddingModesToString(paddingModes)); in toString() 540 s.append("\nEC Curve: ").append(ecCurveAsString()); in toString() 545 s.append(label).append(rsaPublicExponent); in toString() 549 s.append("\nActive: ").append(formatDate(activeDateTime)); in toString() 553 s.append("\nOrigination expire: ").append(formatDate(originationExpireDateTime)); in toString() [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/data/ |
D | sample_monsoon_data | 1 0s 3.67 2 1s 3.69 3 2s 0.95 4 3s 3.06 5 4s 2.17 6 5s 1.62 7 6s 3.95 8 7s 2.47 9 8s 1.11 10 9s 0.47
|
/tools/treble/hacksaw/bind/ |
D | remoteserver.go | 23 var s Server 24 s.priv = binder 25 return &s 40 func (s Server) BindReadOnly(args *BindReadOnlyArgs, reply *BindReadOnlyReply) error { 41 if err := s.priv.BindReadOnly(args.Source, args.Destination); err != nil { 59 func (s Server) BindReadWrite(args *BindReadWriteArgs, reply *BindReadWriteReply) error { 60 if err := s.priv.BindReadWrite(args.Source, args.Destination); err != nil { 77 func (s Server) Unbind(args *UnbindArgs, reply *UnbindReply) error { 78 if err := s.priv.Unbind(args.Destination); err != nil { 95 func (s Server) List(args *ListArgs, reply *ListReply) error { [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | PythonUnitTestResultParserTest.java | 70 String s = "a (b) ... ok"; in testRegexTestCase() local 71 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase() 72 assertFalse(PythonUnitTestResultParser.PATTERN_TWO_LINE_RESULT_FIRST.matcher(s).matches()); in testRegexTestCase() 73 s = "a (b) ... FAIL"; in testRegexTestCase() 74 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase() 75 s = "a (b) ... ERROR"; in testRegexTestCase() 76 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase() 77 s = "a (b) ... expected failure"; in testRegexTestCase() 78 assertTrue(PythonUnitTestResultParser.PATTERN_ONE_LINE_RESULT.matcher(s).matches()); in testRegexTestCase() 79 s = "a (b) ... skipped 'reason foo'"; in testRegexTestCase() [all …]
|
/tools/metalava/metalava-testing/src/main/java/com/android/tools/metalava/testing/ |
D | TemporaryFolderOwner.kt | 64 var s = string in cleanupString() variable 67 s = s.replace(project.path, "TESTROOT") in cleanupString() 68 s = s.replace(project.canonicalPath, "TESTROOT") in cleanupString() 71 s = s.replace(temporaryFolder.root.path, "TESTROOT") in cleanupString() 73 s = s.trim() in cleanupString() 75 return s in cleanupString()
|
/tools/treble/build/treble_build/local/ |
D | ninja.go | 53 func linesToArray(s *bufio.Scanner, arr *[]string) { 54 for s.Scan() { 55 line := strings.TrimSpace(s.Text()) 63 s := bufio.NewScanner(data) 69 s.Buffer(buf, capacity) 70 linesToArray(s, &out.Cmds) 77 s := bufio.NewScanner(data) 78 linesToArray(s, &out.Files) 91 s := bufio.NewScanner(data) 92 for s.Scan() { [all …]
|
D | git.go | 129 s := bufio.NewScanner(data) 131 if err = scanner.Parse(s); err != nil { 140 s := bufio.NewScanner(data) 142 if err = scanner.Parse(s); err != nil { 152 s := bufio.NewScanner(data) 153 for s.Scan() { 157 fmt.Sscanf(s.Text(), "%s %s %s %s", &obj.Permissions, &obj.Type, &obj.Sha, &obj.Filename) 166 s := bufio.NewScanner(data) 167 for s.Scan() { 170 _, err := fmt.Sscanf(s.Text(), "%s %s %s", &added, &deleted, &fname) [all …]
|
/tools/netsim/ui/dist/js/ |
D | device-dropzone.js | 1 …s;let l=s=class extends t{constructor(){super(),this.serial="",this.type="",this.addEventListener(… variable
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | TargetSetupErrorTest.java | 48 File s = SerializationUtil.serialize(exception); in testSerialization() local 50 assertTrue(s.exists()); in testSerialization() 51 assertTrue(s.isFile()); in testSerialization() 52 Object o = SerializationUtil.deserialize(s, true); in testSerialization() 56 FileUtil.deleteFile(s); in testSerialization() 78 File s = SerializationUtil.serialize(exception); in testSerialization_withIDevice() local 80 assertTrue(s.exists()); in testSerialization_withIDevice() 81 assertTrue(s.isFile()); in testSerialization_withIDevice() 82 Object o = SerializationUtil.deserialize(s, true); in testSerialization_withIDevice() 88 FileUtil.deleteFile(s); in testSerialization_withIDevice()
|