Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 5 of 5) sorted by relevance

/build/soong/bazel/
Dproperties_test.go51 haystack []string
56 haystack: []string{
70 actualResult := SubtractStrings(tc.haystack, tc.needle)
79 haystack LabelList
84 haystack: LabelList{
119 actualResult := SubtractBazelLabelList(tc.haystack, tc.needle)
Dproperties.go116 func SubtractStrings(haystack []string, needle []string) []string {
120 for _, s := range haystack {
140 func SubtractBazelLabels(haystack []Label, needle []Label) []Label {
144 for _, label := range haystack {
164 func SubtractBazelLabelList(haystack LabelList, needle LabelList) LabelList {
166 result.Includes = SubtractBazelLabels(haystack.Includes, needle.Includes)
168 result.Excludes = haystack.Excludes
/build/bazel/tests/bionic/
Dverify_bionic_outputs.sh24 local haystack="$2"
25 local message="${3:-Expected regexp "$needle" not found in "$haystack"}"
26 echo "${haystack}" | grep "${needle}" && return 0
/build/make/tools/product_config/src/com/android/build/config/
DConvertMakeToGenericConfig.java220 private static ArrayList<String> split(String haystack, String needle) { in split() argument
228 while ((end = haystack.indexOf(needle, start)) >= 0) { in split()
229 result.add(haystack.substring(start, end).trim()); in split()
232 result.add(haystack.substring(start).trim()); in split()
/build/make/tools/
Dcompare_builds.py632 def RemoveItemsFromList(haystack, needles): argument
635 haystack.remove(needle)