| /external/apache-commons-math/src/main/java/org/apache/commons/math/ |
| MathConfigurationException.java | 43 * @param pattern format specifier 47 public MathConfigurationException(String pattern, Object ... arguments) { 48 this(new DummyLocalizable(pattern), arguments); 54 * @param pattern format specifier 58 public MathConfigurationException(Localizable pattern, Object ... arguments) { 59 super(pattern, arguments); 74 * @param pattern format specifier 78 public MathConfigurationException(Throwable cause, String pattern, Object ... arguments) { 79 this(cause, new DummyLocalizable(pattern), arguments); 86 * @param pattern format specifie [all...] |
| FunctionEvaluationException.java | 67 * @param pattern format specifier 72 String pattern, Object ... arguments) { 73 this(argument, new DummyLocalizable(pattern), arguments); 80 * @param pattern format specifier 85 Localizable pattern, Object ... arguments) { 86 super(pattern, arguments); 94 * @param pattern format specifier 99 String pattern, Object ... arguments) { 100 this(argument, new DummyLocalizable(pattern), arguments); 107 * @param pattern format specifie [all...] |
| /external/autotest/client/cros/cellular/ |
| run_all_unittests.sh | 6 python -m unittest discover -v --pattern=*test_noautorun.py > /dev/null
|
| /external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
| MatchesPattern.java | 7 import java.util.regex.Pattern; 10 private final Pattern pattern; field in class:MatchesPattern 12 public MatchesPattern(Pattern pattern) { 13 this.pattern = pattern; 18 return pattern.matcher(item).matches(); 23 description.appendText("a string matching the pattern '" + pattern + "'") [all...] |
| /external/libchrome/base/strings/ |
| pattern.h | 13 // Returns true if the string passed in matches the pattern. The pattern 20 const StringPiece& pattern); 22 const StringPiece16& pattern);
|
| pattern.cc | 5 #include "base/strings/pattern.h" 19 static void EatSameChars(const CHAR** pattern, const CHAR* pattern_end, 23 while (*pattern != pattern_end && *string != string_end) { 24 if (!escape && IsWildcard(**pattern)) { 31 if (!escape && **pattern == '\\') { 32 escape = *pattern; 33 next(pattern, pattern_end); 38 const CHAR* pattern_next = *pattern; 43 *pattern = pattern_next; 52 *pattern = escape [all...] |
| /external/python/cpython3/Lib/test/subprocessdata/ |
| qgrep.py | 7 pattern = sys.argv[1] variable 9 if pattern in line:
|
| /external/curl/lib/ |
| curl_fnmatch.h | 29 /* default pattern matching function 42 int Curl_fnmatch(void *ptr, const char *pattern, const char *string);
|
| /external/slf4j/log4j-over-slf4j/src/main/java/org/apache/log4j/ |
| PatternLayout.java | 31 public PatternLayout(String pattern) {
|
| /external/tensorflow/tensorflow/compiler/xla/tests/ |
| filecheck.h | 26 // Runs FileCheck with the given pattern over given input string. Provided that 29 StatusOr<bool> RunFileCheck(const string& input, const string& pattern);
|
| /system/core/base/include/android-base/ |
| test_utils.h | 74 #define ASSERT_MATCH(str, pattern) \ 76 if (!std::regex_search((str), std::regex((pattern)))) { \ 77 FAIL() << "regex mismatch: expected " << (pattern) << " in:\n" << (str); \ 81 #define ASSERT_NOT_MATCH(str, pattern) \ 83 if (std::regex_search((str), std::regex((pattern)))) { \ 84 FAIL() << "regex mismatch: expected to not find " << (pattern) << " in:\n" << (str); \ 88 #define EXPECT_MATCH(str, pattern) \ 90 if (!std::regex_search((str), std::regex((pattern)))) { \ 91 ADD_FAILURE() << "regex mismatch: expected " << (pattern) << " in:\n" << (str); \ 95 #define EXPECT_NOT_MATCH(str, pattern) \ [all...] |
| /toolchain/binutils/binutils-2.27/gold/testsuite/ |
| memory_test.sh | 37 pattern=$2 38 found=`grep "$pattern" $file` 40 echo "pattern \"$pattern\" not found in file $file."
|
| /external/python/cpython3/Lib/unittest/test/testmock/ |
| __main__.py | 5 def load_tests(loader, standard_tests, pattern): 8 pattern = pattern or "test*.py" 11 package_tests = loader.discover(start_dir=this_dir, pattern=pattern,
|
| /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
| ShadowVibrator.java | 13 private long[] pattern; field in class:ShadowVibrator 23 public void vibrate(long[] pattern, int repeat) { 25 this.pattern = pattern; 48 return pattern;
|
| /packages/apps/Contacts/src/com/android/contacts/datepicker/ |
| ICU.java | 9 public static char[] getDateFormatOrder(String pattern) { 16 for (int i = 0; i < pattern.length(); ++i) { 17 char ch = pattern.charAt(i); 32 throw new IllegalArgumentException("Bad pattern character '" 33 + ch + "' in " + pattern); 35 if (i < pattern.length() - 1 && pattern.charAt(i + 1) == '\'') { 38 i = pattern.indexOf('\'', i + 1); 40 throw new IllegalArgumentException("Bad quoting in " + pattern);
|
| /external/pdfium/xfa/fxgraphics/ |
| cxfa_gecolor.cpp | 12 m_pointer.pattern = nullptr; 15 CXFA_GEColor::CXFA_GEColor(CXFA_GEPattern* pattern, const FX_ARGB argb) 16 : m_type(Pattern), m_argb(argb) { 17 m_pointer.pattern = pattern; 33 m_pointer.pattern = nullptr; 35 case Pattern: 37 m_pointer.pattern = that.m_pointer.pattern;
|
| /external/python/cpython3/Modules/ |
| sre_lib.h | 190 LOCAL(Py_ssize_t) SRE(match)(SRE_STATE* state, SRE_CODE* pattern, int match_all); 193 SRE(count)(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) 205 switch (pattern[0]) { 209 TRACE(("|%p|%p|COUNT IN\n", pattern, ptr)); 210 while (ptr < end && SRE(charset)(state, pattern + 2, *ptr)) 216 TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr)); 224 TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr)); 230 chr = pattern[1]; 231 TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr)); 244 chr = pattern[1] 491 SRE_CODE* pattern; member in struct:__anon33504 [all...] |
| /external/python/cpython3/Lib/ |
| re.py | 21 the pattern and the strings being processed can contain null bytes and 56 (?(id/name)yes|no) Matches yes pattern if the group with id/name matched, 57 the (optional) no pattern otherwise. 88 match Match a regular expression pattern to the beginning of a string. 89 fullmatch Match a regular expression pattern to all of a string. 90 search Search a string for the presence of a pattern. 91 sub Substitute occurrences of a pattern found in a string. 93 split Split a string by the occurrences of a pattern. 94 findall Find all occurrences of a pattern in a string. 96 compile Compile a pattern into a RegexObject [all...] |
| /external/strace/tests/ |
| memfd_create.c | 66 char *pattern = tail_alloc(size); local 67 fill_memory_ex(pattern, size, '0', 10); 69 k_memfd_create((uintptr_t) pattern, 0); 71 (int) size - 1, pattern, errstr); 74 k_memfd_create((uintptr_t) pattern, flags); 76 (int) size - 1, pattern, 80 pattern[size - 1] = '\0'; 82 k_memfd_create((uintptr_t) pattern, flags); 84 pattern, errstr); 86 pattern += size - 1 [all...] |
| /external/strace/tests-m32/ |
| memfd_create.c | 66 char *pattern = tail_alloc(size); local 67 fill_memory_ex(pattern, size, '0', 10); 69 k_memfd_create((uintptr_t) pattern, 0); 71 (int) size - 1, pattern, errstr); 74 k_memfd_create((uintptr_t) pattern, flags); 76 (int) size - 1, pattern, 80 pattern[size - 1] = '\0'; 82 k_memfd_create((uintptr_t) pattern, flags); 84 pattern, errstr); 86 pattern += size - 1 [all...] |
| /external/strace/tests-mx32/ |
| memfd_create.c | 66 char *pattern = tail_alloc(size); local 67 fill_memory_ex(pattern, size, '0', 10); 69 k_memfd_create((uintptr_t) pattern, 0); 71 (int) size - 1, pattern, errstr); 74 k_memfd_create((uintptr_t) pattern, flags); 76 (int) size - 1, pattern, 80 pattern[size - 1] = '\0'; 82 k_memfd_create((uintptr_t) pattern, flags); 84 pattern, errstr); 86 pattern += size - 1 [all...] |
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
| ReplaceTest.java | 20 import java.util.regex.Pattern; 29 String target, pattern, repl; local 32 pattern = "fo[^o]"; 35 Pattern p = Pattern.compile(pattern); 43 String target, pattern, repl, s; local 44 Pattern p = null; 48 pattern = "\\[([0-9]+)\\]([a-z]+)"; 51 p = Pattern.compile(pattern) 76 String target, pattern, repl, s; local [all...] |
| /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
| ReplaceTest.java | 20 import java.util.regex.Pattern; 26 String target, pattern, repl; local 29 pattern = "fo[^o]"; 32 Pattern p = Pattern.compile(pattern); 40 String target, pattern, repl, s; local 41 Pattern p = null; 45 pattern = "\\[([0-9]+)\\]([a-z]+)"; 48 p = Pattern.compile(pattern) 71 String target, pattern, repl, s; local [all...] |
| /external/icu/android_icu4j/src/main/java/android/icu/text/ |
| SelectFormat.java | 23 * messages by selecting phrases based on keywords. The pattern specifies 93 * The sentence pattern for English, where the gender of the person has 103 * <p>The sentence pattern for French, where the gender of the person affects 111 * pattern can be used (with argument 0 the list of people's names, 122 * <p>The <code>SelectFormat</code> pattern string defines the phrase output 124 * The pattern is a sequence of (keyword, message) pairs. 125 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 127 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}. 133 * If a pattern does not provide a phrase for <code>other</code>, the method 156 * The applied pattern string 158 private String pattern = null; field in class:SelectFormat [all...] |
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| SelectFormat.java | 22 * messages by selecting phrases based on keywords. The pattern specifies 92 * The sentence pattern for English, where the gender of the person has 102 * <p>The sentence pattern for French, where the gender of the person affects 110 * pattern can be used (with argument 0 the list of people's names, 121 * <p>The <code>SelectFormat</code> pattern string defines the phrase output 123 * The pattern is a sequence of (keyword, message) pairs. 124 * A keyword is a "pattern identifier": [^[[:Pattern_Syntax:][:Pattern_White_Space:]]]+ 126 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}. 132 * If a pattern does not provide a phrase for <code>other</code>, the method 157 * The applied pattern string 159 private String pattern = null; field in class:SelectFormat [all...] |