Home
last modified time | relevance | path

Searched refs:substrings (Results 1 – 25 of 46) sorted by relevance

12

/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/
DStringContainsInOrder.java10 private final Iterable<String> substrings; field in StringContainsInOrder
12 public StringContainsInOrder(Iterable<String> substrings) { in StringContainsInOrder() argument
13 this.substrings = substrings; in StringContainsInOrder()
20 for (String substring : substrings) { in matchesSafely()
38 .appendValueList("", ", ", "", substrings) in describeTo()
52 public static Matcher<String> stringContainsInOrder(Iterable<String> substrings) { in stringContainsInOrder() argument
53 return new StringContainsInOrder(substrings); in stringContainsInOrder()
66 public static Matcher<String> stringContainsInOrder(String... substrings) { in stringContainsInOrder() argument
67 return new StringContainsInOrder(Arrays.asList(substrings)); in stringContainsInOrder()
/external/gflags/src/
Dgflags_reporting.cc240 const vector<string>& substrings) { in FileMatchesSubstring() argument
241 for (vector<string>::const_iterator target = substrings.begin(); in FileMatchesSubstring()
242 target != substrings.end(); in FileMatchesSubstring()
264 const vector<string> &substrings) { in ShowUsageWithFlagsMatching() argument
276 if (substrings.empty() || in ShowUsageWithFlagsMatching()
277 FileMatchesSubstring(flag->filename, substrings)) { in ShowUsageWithFlagsMatching()
294 if (!found_match && !substrings.empty()) { in ShowUsageWithFlagsMatching()
300 vector<string> substrings; in ShowUsageWithFlagsRestrict() local
302 substrings.push_back(restrict_); in ShowUsageWithFlagsRestrict()
304 ShowUsageWithFlagsMatching(argv0, substrings); in ShowUsageWithFlagsRestrict()
[all …]
/external/icing/icing/absl_ports/
Dstr_join.cc23 std::vector<std::string_view> substrings; in StrSplit() local
28 substrings.push_back( in StrSplit()
35 substrings.push_back(text.substr(current_start, current_end - current_start)); in StrSplit()
36 return substrings; in StrSplit()
/external/guice/core/test/com/google/inject/
DAsserts.java112 public static void assertContains(String text, String... substrings) {
113 assertContains(text, false, substrings);
120 public static void assertContains(String text, boolean allowDuplicates, String... substrings) {
129 for (String substring : substrings) {
138 String lastSubstring = substrings[substrings.length - 1];
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Substr.pbtxt34 Tensor of substrings
37 summary: "Return substrings from `Tensor` of strings."
/external/starlark-go/starlark/testdata/
Dbytes.star118 # elems() returns an iterable value over 1-byte substrings.
146 # - string.codepoint() iterates over 1-codepoint substrings.
148 # - string.elems() iterates over 1-element (UTF-k code) substrings.
/external/curl/tests/
Dobjnames.inc45 # are conformed with underscore '_' separated substrings, or separated by
58 # 6) Five leftmost substrings which end in an underscore character are
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRFilePseudolocalizer.java305 private boolean containsOneOf(String string, String[] substrings) { in containsOneOf() argument
306 for (String substring : substrings) { in containsOneOf()
/external/rust/crates/aho-corasick/src/packed/teddy/
DREADME.md17 to substrings of length 16 bytes or fewer, but this restriction is fine in a
37 then a verification step follows to confirm that one of the substrings with the
51 algorithm to work effectively on substrings as short as 7 bytes with 4 byte
60 instructions that are faster. While this approach works for short substrings,
71 completely blows away the competition for short substrings, which is exactly
234 verification procedure that tries to match all substrings containing that
/external/skqp/tools/skdiff/
Dskdiff_main.cpp242 const StringArray& substrings) { in string_contains_any_of() argument
243 for (int i = 0; i < substrings.count(); i++) { in string_contains_any_of()
244 if (string.contains(substrings[i]->c_str())) { in string_contains_any_of()
/external/skia/tools/skdiff/
Dskdiff_main.cpp242 const StringArray& substrings) { in string_contains_any_of() argument
243 for (int i = 0; i < substrings.count(); i++) { in string_contains_any_of()
244 if (string.contains(substrings[i]->c_str())) { in string_contains_any_of()
/external/jarjar/res/com/tonicsystems/jarjar/
Dhelp.txt63 substrings matched by the wildcards. A numbered reference is available
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java1439 ….Matcher<java.lang.String> stringContainsInOrder(java.lang.Iterable<java.lang.String> substrings) { in stringContainsInOrder() argument
1440 return org.hamcrest.text.StringContainsInOrder.stringContainsInOrder(substrings); in stringContainsInOrder()
1453 …atic org.hamcrest.Matcher<java.lang.String> stringContainsInOrder(java.lang.String... substrings) { in stringContainsInOrder() argument
1454 return org.hamcrest.text.StringContainsInOrder.stringContainsInOrder(substrings); in stringContainsInOrder()
/external/okhttp/okio/
DCHANGELOG.md34 * New: `BufferedSink` can now write substrings directly, potentially saving an
/external/pcre/dist2/doc/
Dpcre2grep.txt77 matching substrings, or if --only-matching, --file-offsets, or --line-
95 matching with "super|man" when only the matching substrings are being
653 captured substrings into the text.
658 turing substrings, or if the capture is unset, the replace-
712 If this option is given multiple times, multiple substrings
715 the substrings matched by capturing parentheses 3 and 1 and
941 ter, it is parsed into a list of substrings separated by pipe charac-
943 ing substrings specifying arguments:
968 substrings, and therefore should not be present. Any syntax errors in
Dpcre2.txt577 turn captured substrings. A description of the two matching algorithms
582 convenience functions for extracting captured substrings from a subject
1555 matches, which are necessarily substrings of the first one, must obvi-
2467 subject and any substrings that were captured. This is known as the
2477 three captured substrings. A minimum of at least 1 pair is imposed by
2488 right size to hold all the substrings a pattern might capture. The sec-
2809 addition, further substrings from the subject may be picked out by
2814 of parenthesized group that do not cause substrings to be captured. The
2818 You can use auxiliary functions for accessing captured substrings by
2844 numbered pair that has been set. For example, if two substrings have
[all …]
Dpcre2test.txt714 for substrings enclosed in single or double quotes, are to be inter-
1107 getall extract all captured substrings
1261 all captured substrings.
1263 If the subject line is successfully matched, the substrings extracted
1552 Unset capturing substrings that are not followed by one that is set are
1554 the following example, there are two capturing substrings, but when the
1639 so the modifiers that are concerned with captured substrings are not
/external/gflags/test/
DCMakeLists.txt103 # helpmatch is like helpon but takes substrings
/external/pcre/dist2/testdata/
Dtestoutput2252 Matched, but too many substrings
255 Matched, but too many substrings
259 Matched, but too many substrings
281 Matched, but too many substrings
297 Matched, but too many substrings
300 Matched, but too many substrings
304 Matched, but too many substrings
5690 Matched, but too many substrings
5713 Matched, but too many substrings
6514 Matched, but too many substrings
[all …]
/external/python/cpython3/Doc/library/
Dconfigparser.rst528 Delimiters are substrings that delimit keys from values within a section.
881 When *delimiters* is given, it is used as the set of substrings that
883 as the set of substrings that prefix comments in otherwise empty lines.
885 be used as the set of substrings that prefix comments in non-empty lines.
/external/python/cpython3/Lib/test/
Dtest_statistics.py654 substrings = [
661 substrings.append('differ at index %d' % idx)
662 return substrings
/external/pcre/dist2/
DNEWS169 all possible captured substrings in the pattern.
/external/python/cpython2/Doc/howto/
Dregex.rst356 | ``findall()`` | Find all substrings where the RE matches, and |
359 | ``finditer()`` | Find all substrings where the RE matches, and |
855 Elaborate REs may use many groups, both to capture substrings of interest, and
1047 | ``sub()`` | Find all substrings where the RE matches, and |
/external/python/cpython3/Doc/howto/
Dregex.rst368 | ``findall()`` | Find all substrings where the RE matches, and |
371 | ``finditer()`` | Find all substrings where the RE matches, and |
877 Elaborate REs may use many groups, both to capture substrings of interest, and
1069 | ``sub()`` | Find all substrings where the RE matches, and |
/external/libiio/src/bindings/matlab/
Dlibiio_if_daq2.m576 % search for all the substrings in the attribute name

12