| /frameworks/base/core/java/android/os/ |
| Vibrator.java | 177 * Vibrate with a given pattern. 186 * To cause the pattern to repeat, pass the index into the pattern array at which 190 * @param pattern an array of longs of times for which to turn the vibrator on or off. 191 * @param repeat the index into pattern at which to repeat, or -1 if 198 public void vibrate(long[] pattern, int repeat) { 199 vibrate(pattern, repeat, null); 203 * Vibrate with a given pattern. 212 * To cause the pattern to repeat, pass the index into the pattern array at whic [all...] |
| /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
| ViewNode.java | 24 import java.util.regex.Pattern; 118 public void filter(Pattern pattern) { 119 if (pattern == null || pattern.pattern().length() == 0) { 122 filtered = pattern.matcher(shortName).find() || pattern.matcher(id).find();
|
| /development/vndk/tools/sourcedr/sourcedr/static/prism/js/ |
| prism.js | 275 var pattern = patterns[j], 276 inside = pattern.inside, 277 lookbehind = !!pattern.lookbehind, 278 greedy = !!pattern.greedy, 280 alias = pattern.alias; 282 if (greedy && !pattern.pattern.global) { 284 var flags = pattern.pattern.toString().match(/[imuy]*$/)[0]; 285 pattern.pattern = RegExp(pattern.pattern.source, flags + "g") [all...] |
| /external/icu/icu4c/source/i18n/ |
| currpinf.cpp | 140 std::cout << "same pattern\n"; 203 const UnicodeString& pattern, 206 fPluralCountToCurrencyUnitPattern->put(pluralCount, new UnicodeString(pattern), status); 254 // Fall back to "latn" if num sys specific pattern isn't there. 271 // split the number style pattern into positive and negative 303 UnicodeString* pattern = new UnicodeString(patternChars, ptnLen); local 306 pattern->extract(0, pattern->length(), result_1, "UTF-8"); 307 std::cout << "pluralCount: " << pluralCount << "; pattern: " << result_1 << "\n"; 309 pattern->findAndReplace(UnicodeString(TRUE, gPart0, 3), 326 fPluralCountToCurrencyUnitPattern->put(UnicodeString(pluralCount, -1, US_INV), pattern, status); local [all...] |
| /external/icu/icu4c/source/i18n/unicode/ |
| smpdtfmt.h | 63 * is guaranteed to get an appropriate formatting pattern for whatever locale the 66 * and give it an appropriate pattern (or use one of the factory methods on DateFormat 67 * and modify the pattern after the fact with toPattern() and applyPattern(). 71 * <p>Date and time formats are specified by <em>date and time pattern</em> strings. 72 * Within date and time pattern strings, all unquoted ASCII letters [A-Za-z] are reserved 73 * as pattern letters representing calendar fields. <code>SimpleDateFormat</code> supports 74 * the date and time formatting algorithm and pattern letters defined by 78 * User Guide</a>. The following pattern letters are currently available (note that the actual 398 * <td>Hour [1-12]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern 406 * <td>Hour [0-23]. When used in skeleton data or in a skeleton passed in an API for flexible data pattern [all...] |
| dtptngen.h | 27 * \brief C++ API: Date/Time Pattern Generator 43 * is done, a query can be made using a "skeleton", which is a pattern which just 45 * pattern corresponding to that skeleton. 50 * fields in a pattern, in order, since we have that internally. 124 * Utility to return a unique skeleton from a given pattern. For example, 127 * @param pattern Input pattern, such as "dd/MMM" 133 static UnicodeString staticGetSkeleton(const UnicodeString& pattern, UErrorCode& status); 136 * Utility to return a unique skeleton from a given pattern. For example, 141 * @param pattern Input pattern, such as "dd/MMM [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| numbertest_patternstring.cpp | 35 // ignore a negative prefix pattern of '-' since that is the default: 72 for (auto pattern : invalidPatterns) { 75 PatternParser::parseToPatternInfo(pattern, patternInfo, status); 76 assertTrue(pattern, U_FAILURE(status));
|
| dcfmtest.h | 54 const UnicodeString &pattern,
|
| /external/libtextclassifier/util/utf8/ |
| unilib-icu.h | 55 // Checks whether the input text matches the pattern exactly. 64 // Finds occurrences of the pattern in the input text. 105 explicit RegexMatcher(icu::RegexPattern* pattern, icu::UnicodeString text); 123 explicit RegexPattern(std::unique_ptr<icu::RegexPattern> pattern) 124 : pattern_(std::move(pattern)) {}
|
| /external/libxml2/ |
| testRegexp.c | 60 char *pattern = &expression[2]; local 66 printf("Regexp: %s\n", pattern) ; 67 comp = xmlRegexpCompile((const xmlChar *) pattern); 260 fprintf(stderr, "Testing tool for libxml2 string and pattern regexps\n"); 277 const char *pattern = NULL; local 337 if (pattern == NULL) { 338 pattern = argv[i]; 339 printf("Testing expr %s:\n", pattern); 340 expr = xmlExpParse(ctxt, pattern); 365 if (pattern == NULL) [all...] |
| /external/parameter-framework/upstream/test/functional-tests/include/ |
| StoreLogger.hpp | 78 Logs match(const std::string &pattern) const 81 [&pattern](const Log &log) { return log.msg.find(pattern) == std::string::npos; });
|
| /external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/ |
| NameScope.java | 20 import java.util.regex.Pattern; 123 private static void checkPattern(Pattern pattern, String name) { 127 if (!pattern.matcher(name).matches()) { 131 name, NAME_REGEX.pattern())); 141 // This pattern is used to ensure fully qualified names always start with a LETTER_DIGIT_DOT, 145 private static final Pattern NAME_REGEX = Pattern.compile("[A-Za-z0-9.][A-Za-z0-9_.\\-]*");
|
| /prebuilts/tools/common/m2/repository/com/android/tools/external/ant-glob/1.0/ |
| ant-glob-1.0.jar | |
| /cts/tests/tests/security/src/android/security/cts/ |
| BannedFilesTest.java | 103 private static void assertFileDoesNotContain(String filename, byte[] pattern) { 112 for (int i = 0; i < (fileData.length - pattern.length); i++) { 113 for (int j = 0; j < pattern.length; j++) { 114 if (fileData[i+j] != pattern[j]) { 118 fail("Found banned pattern in " + filename);
|
| /dalvik/dx/src/com/android/dx/command/grep/ |
| Grep.java | 29 import java.util.regex.Pattern; 42 public Grep(final Dex dex, Pattern pattern, final PrintWriter out) { 46 stringIds = getStringIds(dex, pattern); 120 private Set<Integer> getStringIds(Dex dex, Pattern pattern) { 124 if (pattern.matcher(s).find()) {
|
| /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
| ANTLRTreePatternParser.h | 53 - (id<ANTLRTree>) pattern;
|
| /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
| ANTLRTreePatternParser.h | 53 - (id<ANTLRTree>) pattern;
|
| /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
| ANTLRTreePatternParser.h | 53 - (id<ANTLRTree>) pattern;
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
| EventBuilder.java | 79 * @param pattern the required class pattern 82 public EventBuilder setClassMatch(String pattern) { 84 mod.classPattern = pattern; 92 * @param pattern the required class pattern 95 public EventBuilder setClassExclude(String pattern) { 97 mod.classPattern = pattern; 181 * @param sourceNamePattern the source name pattern to match
|
| /external/autotest/client/cros/faft/utils/ |
| tpm_handler.py | 24 pattern: optional, a tuple of two elements, the first element is the 25 offset of the pattern expected to be present in the NvRam, and the 26 second element is an array of bytes the pattern must match. 35 self.pattern = data_pattern 43 if self.pattern: 44 pattern_offset = self.pattern[0] 45 pattern_data = self.pattern[1] 49 raise TpmError('Nvram pattern does not match')
|
| /external/curl/src/ |
| tool_urlglob.h | 62 URLPattern pattern[GLOB_PATTERN_NUM]; member in struct:__anon17422
|
| /external/icu/android_icu4j/src/main/java/android/icu/impl/ |
| PatternTokenizer.java | 27 // settings used in the interpretation of the pattern 38 // data about the current pattern being parsed. start gets moved as we go along. 41 private String pattern; field in class:PatternTokenizer 134 public PatternTokenizer setPattern(CharSequence pattern) { 135 return setPattern(pattern.toString()); 138 public PatternTokenizer setPattern(String pattern) { 139 if (pattern == null) { 143 this.limit = pattern.length(); 144 this.pattern = pattern; [all...] |
| /external/icu/icu4c/source/test/perf/unisetperf/draft/ |
| contperf.bat | 9 rem --pattern [:White_Space:] 20 %PERF% Contains --type %%t -f \temp\udhr\%%f --pattern [:White_Space:] -v -e UTF-8 --passes 3 --iterations 10000
|
| span16perf.bat | 9 rem --pattern [:White_Space:] 20 %PERF% SpanUTF16 --type %%t -f \temp\udhr\%%f --pattern [:White_Space:] -v -e UTF-8 --passes 3 --iterations 10000
|
| span8perf.bat | 9 rem --pattern [:White_Space:] 20 %PERF% SpanUTF8 --type %%t -f \temp\udhr\%%f --pattern [:White_Space:] -v -e UTF-8 --passes 3 --iterations 10000
|