Searched refs:strs (Results 1 – 4 of 4) sorted by relevance
/build/soong/common/ |
D | util.go | 19 func JoinWithPrefix(strs []string, prefix string) string { 20 if len(strs) == 0 { 24 if len(strs) == 1 { 25 return prefix + strs[0] 28 n := len(" ") * (len(strs) - 1) 29 for _, s := range strs { 34 for i, s := range strs { 44 func JoinWithPrefixAndQuote(strs []string, prefix string) string { 45 if len(strs) == 0 { 49 if len(strs) == 1 { [all …]
|
/build/blueprint/ |
D | ninja_strings_test.go | 25 strs []string 31 strs: []string{"abc def ", " jkl"}, 36 strs: []string{"abc def ", "", ""}, 41 strs: []string{"foo ", "! bar"}, 46 strs: []string{"foo ", " bar"}, 51 strs: []string{"foo ", " bar"}, 56 strs: []string{"foo $$ bar"}, 61 strs: []string{"", "", ""}, 66 strs: []string{"", "$$"}, 71 strs: []string{"foo bar"}, [all …]
|
D | ninja_strings.go | 244 func parseNinjaStrings(scope scope, strs []string) ([]*ninjaString, 247 if len(strs) == 0 { 250 result := make([]*ninjaString, len(strs)) 251 for i, str := range strs {
|
/build/kati/ |
D | symtab.cc | 167 vector<string> strs; in JoinSymbols() local 169 strs.push_back(s.str()); in JoinSymbols() 171 return JoinStrings(strs, sep); in JoinSymbols()
|