Home
last modified time | relevance | path

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

1234

/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.go34 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
38 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
60 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
64 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
86 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
90 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
112 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
116 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
138 t.Fatalf("unexpected inputs to libfoo shared: %#v", libfooShared.Inputs.Strings())
142 t.Fatalf("unexpected inputs to libfoo static: %#v", libfooStatic.Inputs.Strings())
[all …]
Dgenrule_test.go79 if !reflect.DeepEqual(expected, gen.Inputs.Strings()) {
80 t.Errorf(`want arm inputs %v, got %v`, expected, gen.Inputs.Strings())
85 if !reflect.DeepEqual(expected, gen.Inputs.Strings()) {
86 t.Errorf(`want arm64 inputs %v, got %v`, expected, gen.Inputs.Strings())
Dvndk.go212 sort.Strings(llndkLibraries)
217 sort.Strings(vndkPrivateLibraries)
231 sort.Strings(vndkUsingCoreVariantLibraries)
237 sort.Strings(vndkSpLibraries)
242 sort.Strings(vndkCoreLibraries)
248 sort.Strings(vndkPrivateLibraries)
Dmakevars.go50 sort.Strings(keys)
57 sort.Strings(allProjects)
114 sort.Strings(exportedVendorPublicLibraries)
117 sort.Strings(lsdumpPaths)
173 sort.Strings(ndkMigratedLibs)
Dutil.go29 return android.JoinWithPrefix(dirs.Strings(), "-I")
33 return android.JoinWithPrefix(files.Strings(), "-include ")
/build/soong/java/
Ddexpreopt_bootjars_test.go74 inputs := bootArt.Implicits.Strings()
75 sort.Strings(inputs)
76 sort.Strings(expectedInputs)
106 outputs := append(android.WritablePaths{bootArt.Output}, bootArt.ImplicitOutputs...).Strings()
107 sort.Strings(outputs)
108 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())
123 if !inList(kapt.Output.String(), kotlinc.Implicits.Strings()) {
124 t.Errorf("expected %q in kotlinc implicits %v", kapt.Output.String(), kotlinc.Implicits.Strings())
126 if !inList(kapt.Output.String(), javac.Implicits.Strings()) {
127 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.go60 sort.Strings(supportAars)
61 sort.Strings(supportJars)
Dapp_test.go90 if !reflect.DeepEqual(resourceFiles, compile.Inputs.Strings()) {
92 resourceFiles, compile.Inputs.Strings())
95 compiledResourceOutputs := compile.Outputs.Strings()
96 sort.Strings(compiledResourceOutputs)
105 if !reflect.DeepEqual(expectedLinkImplicits, res.Implicits.Strings()) {
107 expectedLinkImplicits, res.Implicits.Strings())
132 if g, w := foo.Module().(*AndroidApp).Srcs().Strings(), expectedOutputs; !reflect.DeepEqual(g, w) {
182 for _, compiledResource := range resourceList.Inputs.Strings() {
183 resources = append(resources, module.Output(compiledResource).Inputs.Strings()...)
395 files = append(files, res.Inputs.Strings()...)
[all …]
Ddevice_host_converter_test.go75 }.Strings(), ":")
157 }.Strings(), ":")
Dbuilder.go224 "srcJars": strings.Join(srcJars.Strings(), " "),
292 "srcJars": strings.Join(srcJars.Strings(), " "),
419 return optName + strings.Join(x.Strings(), ":")
457 func (x *classpath) Strings() []string { func
Dkotlin.go67 "srcJars": strings.Join(srcJars.Strings(), " "),
143 "srcJars": strings.Join(srcJars.Strings(), " "),
/build/soong/androidmk/cmd/androidmk/
Dvalues.go68 if ms.Strings[0] != "" {
69 val = stringToStringValue(ms.Strings[0])
72 for i, s := range ms.Strings[1:] {
137 if len(f.Variables) == 1 && f.Strings[0] == "" && f.Strings[1] == "" {
213 if len(ms.Variables) == 1 && ms.Strings[0] == "" && ms.Strings[1] == "" {
Dandroid.go339 sort.Strings(keys)
600 return variable.Name.Strings[0]
621 …es) == 1 && varLiteralName(val.Variables[0]) != "" && len(val.Strings) == 2 && val.Strings[0] == "…
622 fixed = val.Strings[1]
623 varname = val.Variables[0].Name.Strings[0]
625 len(val.Strings) == 3 && val.Strings[0] == "" && val.Strings[1] == "/" {
626 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.go369 sort.Strings(actErrStrs)
376 sort.Strings(expErrs)
420 if !reflect.DeepEqual(base.depsSrcsZips.Strings(), expectedDepsSrcsZips) {
/build/soong/android/
Dpaths_test.go552 if !reflect.DeepEqual(Paths(sortedPaths).Strings(), expected) {
553 t.Fatalf("sorted paths:\n %#v\n != \n %#v", paths.Strings(), expected)
556 if !reflect.DeepEqual(Paths(reverseSortedPaths).Strings(), expected) {
557 t.Fatalf("sorted reversed paths:\n %#v\n !=\n %#v", reversePaths.Strings(), expected)
568 if !reflect.DeepEqual(inA.Strings(), expectedA) {
569 t.Errorf("FilesInDirectory(a):\n %#v\n != \n %#v", inA.Strings(), expectedA)
578 if !reflect.DeepEqual(inA_B.Strings(), expectedA_B) {
579 t.Errorf("FilesInDirectory(a/b):\n %#v\n != \n %#v", inA_B.Strings(), expectedA_B)
587 if !reflect.DeepEqual(inB.Strings(), expectedB) {
588 t.Errorf("FilesInDirectory(b):\n %#v\n != \n %#v", inA.Strings(), expectedA)
[all …]
Dproto.go67 flags = append(flags, JoinWithPrefix(localProtoIncludeDirs.Strings(), "-I"))
71 flags = append(flags, JoinWithPrefix(rootProtoIncludeDirs.Strings(), "-I"))
Dfilegroup.go88 "value": strings.Join(fg.srcs.Strings(), " "),
/build/soong/cc/config/
Dclang.go228 sort.Strings(list)
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go78 sort.Strings(pkgs)

1234