Home
last modified time | relevance | path

Searched refs:Strings (Results 1 – 25 of 104) sorted by relevance

12345

/build/soong/androidmk/parser/
Dmake_strings.go35 Strings []string member
42 Strings: []string{s},
57 if len(ms.Strings) > 1 {
60 return Pos(int(pos) + len(ms.Strings[len(ms.Strings)-1]))
64 if len(ms.Strings) == 0 {
65 ms.Strings = []string{s}
68 ms.Strings[len(ms.Strings)-1] += s
73 if len(ms.Strings) == 0 {
74 ms.Strings = []string{"", ""}
77 ms.Strings = append(ms.Strings, "")
[all …]
Dmake_strings_test.go30 Strings: []string{
46 Strings: []string{"c", "d"},
53 Strings: []string{"f", ""},
65 Strings: []string{
81 Strings: []string{"c", "d e f", " h i j"},
Dscope.go113 if len(ms.Variables) == 1 && ms.Strings[0] == "" && ms.Strings[1] == "" {
/build/soong/cc/
Dlibrary_test.go36 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
40 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
65 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
69 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
91 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
95 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
117 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
121 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
143 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
147 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
[all …]
Dgenrule_test.go69 if !reflect.DeepEqual(expected, gen.Inputs.Strings()) {
70 t.Errorf(`want arm inputs %v, got %v`, expected, gen.Inputs.Strings())
75 if !reflect.DeepEqual(expected, gen.Inputs.Strings()) {
76 t.Errorf(`want arm64 inputs %v, got %v`, expected, gen.Inputs.Strings())
Dcflag_artifacts.go165 sort.Strings(modulesWithCFlag[flag])
167 sort.Strings(modulesWithCFlag["!"+flag])
182 ctx.Strict("SOONG_MODULES_CFLAG_ARTIFACTS", strings.Join(s.outputs.Strings(), " "))
Dmakevars.go50 sort.Strings(keys)
57 sort.Strings(allProjects)
115 sort.Strings(exportedVendorPublicLibraries)
118 sort.Strings(lsdumpPaths)
176 sort.Strings(ndkKnownLibs)
Dbuilder.go657 "arObjs": strings.Join(objFiles.Strings(), " "),
659 "arLibs": strings.Join(wholeStaticLibs.Strings(), " "),
681 …libFlagsList = append(libFlagsList, android.JoinWithPrefix(wholeStaticLibs.Strings(), "-force_load…
684 libFlagsList = append(libFlagsList, wholeStaticLibs.Strings()...)
692 libFlagsList = append(libFlagsList, staticLibs.Strings()...)
700 libFlagsList = append(libFlagsList, lateStaticLibs.Strings()...)
731 args["implicitOutputs"] = strings.Join(implicitOutputs.Strings(), ",")
774 rbeImplicits := implicits.Strings()
897 args["inCommaList"] = strings.Join(objFiles.Strings(), ",")
/build/soong/rust/
Drust_test.go270 if !android.SuffixInList(libfoo.Implicits.Strings(), "/out/bindings.rs") {
271 …rated source not included as implicit input for libfoo; Implicits %#v", libfoo.Implicits.Strings())
273 if !android.SuffixInList(libfoo.Implicits.Strings(), "/out/any.rs") {
274 …rated source not included as implicit input for libfoo; Implicits %#v", libfoo.Implicits.Strings())
278 if !android.SuffixInList(fizzBuzz.Implicits.Strings(), "/out/bindings.rs") {
279 …ource not included as implicit input for fizz-buzz-dep; Implicits %#v", libfoo.Implicits.Strings())
281 if !android.SuffixInList(fizzBuzz.Implicits.Strings(), "/out/any.rs") {
282 …ource not included as implicit input for fizz-buzz-dep; Implicits %#v", libfoo.Implicits.Strings())
286 if !android.SuffixInList(libprocmacro.Implicits.Strings(), "/out/bindings.rs") {
287 …source not included as implicit input for libprocmacro; Implicits %#v", libfoo.Implicits.Strings())
[all …]
Dcoverage_test.go137 …zzZipInputs := ctx.ModuleForTests("fizz", "android_arm64_armv8-a_cov").Rule("zip").Inputs.Strings()
138 …uts := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib_cov").Rule("zip").Inputs.Strings()
139 …zzZipInputs := ctx.ModuleForTests("buzz", "android_arm64_armv8-a_cov").Rule("zip").Inputs.Strings()
140 …ts := ctx.ModuleForTests("libbar", "android_arm64_armv8-a_shared_cov").Rule("zip").Inputs.Strings()
/build/soong/java/
Ddexpreopt_bootjars_test.go69 inputs := rule.Implicits.Strings()
70 sort.Strings(inputs)
71 sort.Strings(expectedInputs)
73 outputs := append(android.WritablePaths{rule.Output}, rule.ImplicitOutputs...).Strings()
74 sort.Strings(outputs)
75 sort.Strings(expectedOutputs)
Dkotlin_test.go62 if !inList(fooKotlinc.Output.String(), fooJar.Inputs.Strings()) {
64 fooJar.Inputs.Strings(), fooKotlinc.Output.String())
75 if !inList(fooHeaderJar.Output.String(), barKotlinc.Implicits.Strings()) {
77 fooHeaderJar.Output.String(), barKotlinc.Implicits.Strings())
80 if !inList(bazHeaderJar.Output.String(), barKotlinc.Implicits.Strings()) {
82 bazHeaderJar.Output.String(), barKotlinc.Implicits.Strings())
130 if !inList(kapt.Output.String(), kotlinc.Implicits.Strings()) {
131 t.Errorf("expected %q in kotlinc implicits %v", kapt.Output.String(), kotlinc.Implicits.Strings())
133 if !inList(kapt.Output.String(), javac.Implicits.Strings()) {
134 t.Errorf("expected %q in javac implicits %v", kapt.Output.String(), javac.Implicits.Strings())
Dplugin_test.go72 if !inList(bar, javac.Implicits.Strings()) {
73 t.Errorf("foo implicits %v does not contain %q", javac.Implicits.Strings(), bar)
112 if !inList(bar, javac.Implicits.Strings()) {
113 t.Errorf("foo implicits %v does not contain %q", javac.Implicits.Strings(), bar)
Dsupport_libraries.go58 sort.Strings(supportAars)
59 sort.Strings(supportJars)
Ddevice_host_converter_test.go73 }.Strings(), ":")
153 }.Strings(), ":")
Dapp_builder.go102 args["implicits"] = strings.Join(deps.Strings(), ",")
103 args["outCommaList"] = strings.Join(outputFiles.Strings(), ",")
241 args["implicits"] = strings.Join(deps.Strings(), ",")
/build/soong/finder/fs/
Dtest.go108 sort.Strings(actual)
109 sort.Strings(expected)
118 sort.Strings(actual)
119 sort.Strings(expected)
134 sort.Strings(actual)
135 sort.Strings(expected)
/build/soong/androidmk/androidmk/
Dvalues.go67 if ms.Strings[0] != "" {
68 val = stringToStringValue(ms.Strings[0])
71 for i, s := range ms.Strings[1:] {
135 if len(f.Variables) == 1 && f.Strings[0] == "" && f.Strings[1] == "" {
211 if len(ms.Variables) == 1 && ms.Strings[0] == "" && ms.Strings[1] == "" {
Dandroid.go363 sort.Strings(classifications)
609 return variable.Name.Strings[0]
630 …es) == 1 && varLiteralName(val.Variables[0]) != "" && len(val.Strings) == 2 && val.Strings[0] == "…
631 fixed = val.Strings[1]
632 varname = val.Variables[0].Name.Strings[0]
634 len(val.Strings) == 3 && val.Strings[0] == "" && val.Strings[1] == "/" {
635 fixed = val.Strings[2]
/build/soong/python/
Dbuilder.go110 "srcsZips": strings.Join(srcsZips.Strings(), " "),
124 "srcsZips": strings.Join(srcsZips.Strings(), " "),
136 "srcsZips": strings.Join(srcsZips.Strings(), " "),
Dpython_test.go364 sort.Strings(actErrStrs)
371 sort.Strings(expErrs)
415 if !reflect.DeepEqual(base.depsSrcsZips.Strings(), expectedDepsSrcsZips) {
/build/soong/android/
Ddepset_test.go30 fmt.Println(d.ToList().Strings())
40 fmt.Println(d.ToList().Strings())
50 fmt.Println(d.ToList().Strings())
60 fmt.Println(d.ToSortedList().Strings())
256 if g, w := depSet.ToList().Strings(), tt.postorder; !reflect.DeepEqual(g, w) {
262 if g, w := depSet.ToList().Strings(), tt.preorder; !reflect.DeepEqual(g, w) {
268 if g, w := depSet.ToList().Strings(), tt.topological; !reflect.DeepEqual(g, w) {
Dpaths_test.go699 if !reflect.DeepEqual(Paths(sortedPaths).Strings(), expected) {
700 t.Fatalf("sorted paths:\n %#v\n != \n %#v", paths.Strings(), expected)
703 if !reflect.DeepEqual(Paths(reverseSortedPaths).Strings(), expected) {
704 t.Fatalf("sorted reversed paths:\n %#v\n !=\n %#v", reversePaths.Strings(), expected)
715 if !reflect.DeepEqual(inA.Strings(), expectedA) {
716 t.Errorf("FilesInDirectory(a):\n %#v\n != \n %#v", inA.Strings(), expectedA)
725 if !reflect.DeepEqual(inA_B.Strings(), expectedA_B) {
726 t.Errorf("FilesInDirectory(a/b):\n %#v\n != \n %#v", inA_B.Strings(), expectedA_B)
734 if !reflect.DeepEqual(inB.Strings(), expectedB) {
735 t.Errorf("FilesInDirectory(b):\n %#v\n != \n %#v", inA.Strings(), expectedA)
[all …]
Dproto.go66 flags = append(flags, JoinWithPrefix(localProtoIncludeDirs.Strings(), "-I"))
70 flags = append(flags, JoinWithPrefix(rootProtoIncludeDirs.Strings(), "-I"))
/build/soong/remoteexec/
Dremoteexec.go121 sort.Strings(kvs)
135 sort.Strings(platform)

12345