/build/soong/android/ |
D | sdk_version_test.go | 23 input string 27 input: "", 31 input: "none", 35 input: "core_platform", 39 input: "_", 43 input: "_31", 47 input: "system_R", 51 input: "test_31", 55 input: "module_current", 59 input: "31", [all …]
|
D | util_test.go | 140 input []string 145 input: []string{}, 150 input: []string{"a"}, 155 input: []string{"a", "b"}, 164 out := JoinWithPrefix(testCase.input, prefix) 167 t.Errorf(" input: %#v", testCase.input) 177 input := []string{"a", "b", "c"} 203 out := IndexList(testCase.key, input) 207 t.Errorf(" input: %#v", input) 216 input := []string{"a"} [all …]
|
/build/blueprint/parser/ |
D | printer_test.go | 24 input string 28 input: ` 36 input: ` 47 input: ` 66 input: ` 79 input: ` 96 input: ` 109 input: ` 129 input: ` 145 input: ` [all …]
|
/build/blueprint/proptools/ |
D | proptools_test.go | 25 input string 30 input: "S", 35 input: "String", 40 input: "STRING", 45 input: "StRiNg", 50 input: "Under_score", 55 input: "UNDER_SCORE", 60 input: "X86", 65 input: "X86_64", 71 if got := PropertyNameForField(tt.input); got != tt.want { [all …]
|
D | unpack_test.go | 27 input string 34 input: ` 55 input: ` 71 input: ` 87 input: ` 108 input: ` 132 input: ` 160 input: ` 182 input: ` 202 input: ` [all …]
|
/build/soong/bazel/cquery/ |
D | request_type_test.go | 14 input string 19 input: "", 24 input: "test", 29 input: "foo, bar", 35 actualOutput := GetOutputFiles.ParseResult(tc.input) 100 input string 105 input: ``, 110 input: `{ 119 _, err := GetCcInfo.ParseResult(tc.input) 131 input string [all …]
|
/build/soong/android_sdk/ |
D | sdk_repo_host_test.go | 53 input []string 60 input: []string{"a", "c"}, 68 input: []string{"a"}, 76 input: []string{"bin/d", "liba.so", "libb.so", "lib/c.so"}, 84 input: []string{"a"}, 92 input: []string{"a/b/c"}, 103 for _, input := range test.input { 105 spec.SetRelPathInPackage(input) 106 specs[input] = spec
|
/build/blueprint/ |
D | ninja_writer_test.go | 30 input func(w *ninjaWriter) 34 input: func(w *ninjaWriter) { 40 input: func(w *ninjaWriter) { 46 input: func(w *ninjaWriter) { 52 input: func(w *ninjaWriter) { 64 input: func(w *ninjaWriter) { 74 input: func(w *ninjaWriter) { 80 input: func(w *ninjaWriter) { 86 input: func(w *ninjaWriter) { 92 input: func(w *ninjaWriter) { [all …]
|
D | ninja_strings_test.go | 33 input string 40 input: "abc def $ghi jkl", 46 input: "abc def $ghi$jkl", 52 input: "foo $012_-345xyz_! bar", 58 input: "foo ${012_-345xyz_} bar", 64 input: "foo ${012_-345xyz_} bar", 70 input: "foo $$ bar", 76 input: "$foo${bar}", 82 input: "$foo$$", 88 input: "foo bar", [all …]
|
/build/blueprint/bpmodify/ |
D | bpmodify_test.go | 26 input string 41 input: ` 57 input: ` 74 input: ` 96 input: ` 125 input: ` 156 input: ` 187 input: ` 202 input: ` 219 input: ` [all …]
|
/build/soong/xml/ |
D | xml_test.go | 67 rule, input, schemaType, schema string 69 {rule: "xmllint-dtd", input: "foo.xml", schemaType: "dtd", schema: "foo.dtd"}, 70 {rule: "xmllint-xsd", input: "bar.xml", schemaType: "xsd", schema: "bar.xsd"}, 71 {rule: "xmllint-minimal", input: "baz.xml"}, 74 rule := result.ModuleForTests(tc.input, "android_arm64_armv8-a").Rule(tc.rule) 75 android.AssertStringEquals(t, "input", tc.input, rule.Input.String())
|
/build/soong/ui/terminal/ |
D | util_test.go | 23 input string 56 got := string(stripAnsiEscapes([]byte(tc.input))) 61 " got: %#v", tc.input, tc.output, got)
|
D | util.go | 58 func stripAnsiEscapes(input []byte) []byte { 60 read := input 64 write := input 104 input = input[:len(input)-i] 107 return input
|
/build/soong/cmd/multiproduct_kati/ |
D | main_test.go | 80 input := []string{} 82 input = append(input, fmt.Sprintf("%d", i)) 85 got := splitList(input, tc.shardCount)
|
/build/soong/cc/config/ |
D | tidy_test.go | 23 input string 34 t.Run(testCase.input, func(t *testing.T) { 35 output := TidyChecksForDir(testCase.input)
|
/build/make/tools/aconfig/printflags/src/ |
D | main.rs | 119 let input = r#" in test_parse_device_config() localVariable 137 let actual = parse_device_config(input); in test_parse_device_config() 143 let input = [0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9]; in test_xxd() localVariable 144 assert_eq!("[]", &xxd(&input[0..0])); in test_xxd() 145 assert_eq!("[00]", &xxd(&input[0..1])); in test_xxd() 146 assert_eq!("[00 01]", &xxd(&input[0..2])); in test_xxd() 147 assert_eq!("[00 01 02 03 04 05 06]", &xxd(&input[0..7])); in test_xxd() 148 assert_eq!("[00 01 02 03 04 05 06 07]", &xxd(&input[0..8])); in test_xxd() 149 assert_eq!("[00 01 02 03 04 05 06 07 ..]", &xxd(&input[0..9])); in test_xxd() 150 assert_eq!("[00 01 02 03 04 05 06 07 ..]", &xxd(&input)); in test_xxd()
|
/build/make/tools/aconfig/aconfig/src/codegen/ |
D | java.rs | 1230 let input = "____some_snake___name____"; in test_format_java_method_name() localVariable 1231 let formatted_name = format_java_method_name(input); in test_format_java_method_name() 1234 let input = "someSnakeName"; in test_format_java_method_name() localVariable 1235 let formatted_name = format_java_method_name(input); in test_format_java_method_name() 1238 let input = "SomeSnakeName"; in test_format_java_method_name() localVariable 1239 let formatted_name = format_java_method_name(input); in test_format_java_method_name() 1242 let input = "SomeSnakeName_"; in test_format_java_method_name() localVariable 1243 let formatted_name = format_java_method_name(input); in test_format_java_method_name() 1246 let input = "_SomeSnakeName"; in test_format_java_method_name() localVariable 1247 let formatted_name = format_java_method_name(input); in test_format_java_method_name() [all …]
|
/build/make/tools/aconfig/aconfig/src/ |
D | commands.rs | 73 for mut input in declarations { in parse_flags() 75 input in parse_flags() 78 .with_context(|| format!("failed to read {}", input.source))?; in parse_flags() 81 .with_context(|| input.error_context())?; in parse_flags() 85 input.source, in parse_flags() 93 input.source, in parse_flags() 100 .with_context(|| input.error_context())?; in parse_flags() 122 tracepoint.set_source(input.source.clone()); in parse_flags() 140 input.source in parse_flags() 148 for mut input in values { in parse_flags() [all …]
|
/build/soong/makedeps/ |
D | deps.go | 70 for _, input := range x.Prerequisites.Words() { 71 ret.Inputs = append(ret.Inputs, input.Value(nil)) 92 for _, input := range d.Inputs { 93 fmt.Fprintf(b, " %s", replacer.Replace(input))
|
/build/soong/cmd/dep_fixer/ |
D | main.go | 48 input, err := ioutil.ReadFile(arg) 53 deps, err := makedeps.Parse(arg, bytes.NewBuffer(append([]byte(nil), input...))) 60 firstInput = input
|
/build/soong/third_party/zip/ |
D | android.go | 102 func stripExtras(input []byte) []byte { 105 for len(input) >= 4 { 106 r := readBuf(input) 113 ret = append(ret, input[:4+size]...) 115 input = input[4+size:] 119 ret = append(ret, input...)
|
/build/make/tools/ |
D | extract_kernel.py | 120 o, _ = sp.communicate(input=input_bytes[idx:]) 133 o, _ = sp.communicate(input=input_bytes) 244 input_bytes = args.input.read() 248 "configs in {}".format(args.input.name)): 251 "version in {}".format(args.input.name)): 254 "kernel release in {}".format(args.input.name)): 258 "kernel compiler in {}".format(args.input.name)):
|
/build/make/tools/signtos/ |
D | SignTos.java | 126 DataInputStream input = new DataInputStream(new FileInputStream(file)); in readPrivateKey() local 129 input.read(bytes); in readPrivateKey() 147 input.close(); in readPrivateKey() 223 private static void signWholeFile(InputStream input, OutputStream output, PrivateKey signingKey) in signWholeFile() argument 233 int bytesRead = input.read(buffer, 0, HEADER_SIZE - skippedBytes); in signWholeFile() 240 int bytesRead = input.read(buffer); in signWholeFile() 303 InputStream input = new BufferedInputStream(new FileInputStream(inputFilename)); in main() local 306 SignTos.signWholeFile(input, output, privateKey); in main() 308 input.close(); in main()
|
/build/make/tools/finalization/ |
D | frameworks_base.revert_hack.diff | 54 return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 63 - return input.success(Build.VERSION.SDK_INT); 68 return input.error(PackageManager.INSTALL_FAILED_OLDER_SDK, 70 return input.success(targetVers); 76 - return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 85 - return input.success(Build.VERSION.SDK_INT); 90 return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 93 - return input.error(PackageManager.INSTALL_FAILED_OLDER_SDK, "Bad package SDK"); 95 + return input.error(PackageManager.INSTALL_FAILED_OLDER_SDK, e.getMessage()); 101 + return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT);
|
D | frameworks_base.apply_hack.diff | 58 return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 67 + return input.success(Build.VERSION.SDK_INT); 72 return input.error(PackageManager.INSTALL_FAILED_OLDER_SDK, 74 return input.success(targetVers); 80 + return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 89 + return input.success(Build.VERSION.SDK_INT); 94 return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 98 - return input.error(PackageManager.INSTALL_FAILED_OLDER_SDK, e.getMessage()); 104 - return input.success(Build.VERSION_CODES.CUR_DEVELOPMENT); 105 + return input.error(PackageManager.INSTALL_FAILED_OLDER_SDK, "Bad package SDK");
|