/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
StringContainsInOrder.java | 10 private final Iterable<String> substrings; field in class:StringContainsInOrder 12 public StringContainsInOrder(Iterable<String> substrings) { 13 this.substrings = substrings; 20 for (String substring : substrings) { 38 .appendValueList("", ", ", "", substrings) 44 * the specified substrings, considering the order of their appearance. 49 * @param substrings 50 * the substrings that must be contained within matching strings 52 public static Matcher<String> stringContainsInOrder(Iterable<String> substrings) { [all...] |
/external/gflags/src/ |
gflags_reporting.cc | 238 // Test whether a filename contains at least one of the substrings. 240 const vector<string>& substrings) { 241 for (vector<string>::const_iterator target = substrings.begin(); 242 target != substrings.end(); 258 // Show help for every filename which matches any of the target substrings. 259 // If substrings is empty, shows help for every file. If a flag's help message 264 const vector<string> &substrings) { 276 if (substrings.empty() || 277 FileMatchesSubstring(flag->filename, substrings)) { 294 if (!found_match && !substrings.empty()) 300 vector<string> substrings; local 377 vector<string> substrings; local [all...] |
/external/guice/core/test/com/google/inject/ |
Asserts.java | 105 * Fails unless {@code text} includes all {@code substrings}, in order. 107 public static void assertContains(String text, String... substrings) { 116 for (String substring : substrings) { 123 String lastSubstring = substrings[substrings.length - 1];
|
/prebuilts/go/darwin-x86/src/strings/ |
strings.go | 262 // SplitN slices s into substrings separated by sep and returns a slice of 263 // the substrings between those separators. 265 // The count determines the number of substrings to return: 266 // n > 0: at most n substrings; the last substring will be the unsplit remainder. 267 // n == 0: the result is nil (zero substrings) 268 // n < 0: all substrings 274 // SplitAfterN slices s into substrings after each instance of sep and 275 // returns a slice of those substrings. 277 // The count determines the number of substrings to return: 278 // n > 0: at most n substrings; the last substring will be the unsplit remainder [all...] |
/prebuilts/go/linux-x86/src/strings/ |
strings.go | 262 // SplitN slices s into substrings separated by sep and returns a slice of 263 // the substrings between those separators. 265 // The count determines the number of substrings to return: 266 // n > 0: at most n substrings; the last substring will be the unsplit remainder. 267 // n == 0: the result is nil (zero substrings) 268 // n < 0: all substrings 274 // SplitAfterN slices s into substrings after each instance of sep and 275 // returns a slice of those substrings. 277 // The count determines the number of substrings to return: 278 // n > 0: at most n substrings; the last substring will be the unsplit remainder [all...] |
/prebuilts/go/darwin-x86/src/compress/flate/ |
example_test.go | 76 // the compressor will attempt to substitute substrings with matches found 77 // in the dictionary. As such, the dictionary should only contain substrings 82 // substrings that match those in the dictionary. 122 fmt.Println("Substrings matched by the dictionary are marked with #:") 146 // Substrings matched by the dictionary are marked with #:
|
/prebuilts/go/linux-x86/src/compress/flate/ |
example_test.go | 76 // the compressor will attempt to substitute substrings with matches found 77 // in the dictionary. As such, the dictionary should only contain substrings 82 // substrings that match those in the dictionary. 122 fmt.Println("Substrings matched by the dictionary are marked with #:") 146 // Substrings matched by the dictionary are marked with #:
|
/prebuilts/misc/common/robolectric/3.1.1/lib/ |
hamcrest-library-1.3.jar | |
/prebuilts/misc/common/robolectric/3.4.2/lib/ |
hamcrest-library-1.3.jar | |
/prebuilts/misc/common/robolectric/3.5.1/lib/ |
hamcrest-library-1.3.jar | |
/prebuilts/misc/common/robolectric/3.6.1/lib/ |
hamcrest-library-1.3.jar | |
/prebuilts/tools/common/m2/repository/org/hamcrest/hamcrest-library/1.3/ |
hamcrest-library-1.3.jar | |
/frameworks/base/core/java/android/hardware/ |
Camera.java | 4289 ArrayList<String> substrings = new ArrayList<String>(); local 4303 ArrayList<Integer> substrings = new ArrayList<Integer>(); local [all...] |
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
ext_test.go | 333 // contains reports whether the text s contains any of the given substrings. 334 func contains(s string, substrings ...string) bool { 335 for _, sub := range substrings {
|
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
ext_test.go | 309 // contains reports whether the text s contains any of the given substrings. 310 func contains(s string, substrings ...string) bool { 311 for _, sub := range substrings {
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/arm/armasm/ |
ext_test.go | 333 // contains reports whether the text s contains any of the given substrings. 334 func contains(s string, substrings ...string) bool { 335 for _, sub := range substrings {
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/ |
ext_test.go | 309 // contains reports whether the text s contains any of the given substrings. 310 func contains(s string, substrings ...string) bool { 311 for _, sub := range substrings {
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/ |
Matchers.java | [all...] |
/external/skia/tools/skdiff/ |
skdiff_main.cpp | 240 /// Returns true if string contains any of these substrings. 242 const StringArray& substrings) { 243 for (int i = 0; i < substrings.count(); i++) { 244 if (string.contains(substrings[i]->c_str())) { 304 /// - matches any of the substrings in matchSubstrings, but... 305 /// - DOES NOT match any of the substrings in nomatchSubstrings
|
/external/skqp/tools/skdiff/ |
skdiff_main.cpp | 240 /// Returns true if string contains any of these substrings. 242 const StringArray& substrings) { 243 for (int i = 0; i < substrings.count(); i++) { 244 if (string.contains(substrings[i]->c_str())) { 304 /// - matches any of the substrings in matchSubstrings, but... 305 /// - DOES NOT match any of the substrings in nomatchSubstrings
|
/prebuilts/go/darwin-x86/src/regexp/ |
regexp.go | [all...] |
/prebuilts/go/linux-x86/src/regexp/ |
regexp.go | [all...] |
/prebuilts/go/darwin-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
ext_test.go | 364 // contains reports whether the text s contains any of the given substrings. 365 func contains(s string, substrings ...string) bool { 366 for _, sub := range substrings {
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/arch/x86/x86asm/ |
ext_test.go | 364 // contains reports whether the text s contains any of the given substrings. 365 func contains(s string, substrings ...string) bool { 366 for _, sub := range substrings {
|
/prebuilts/go/darwin-x86/src/crypto/x509/ |
root_darwin.go | 218 // Rather than match on English substrings that are probably
|