/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
decoder.py | 6 from scanner import Scanner, pattern namespace 48 pattern('(-?Infinity|NaN|true|false|null)')(JSONConstant) 58 pattern(r'(-?(?:0|[1-9]\d*))(\.\d+)?([eE][-+]?\d+)?')(JSONNumber) 114 pattern(r'"')(JSONString) 158 pattern(r'{')(JSONObject) 184 pattern(r'\[')(JSONArray)
|
/external/webkit/Source/WebCore/platform/network/ |
MIMESniffing.cpp | 157 const char* pattern; member in struct:__anon16244::MagicNumbers 164 #define MAGIC_NUMBERS_MASKED(pattern, mask, mimeType, flags) {(pattern), (mask), (mimeType), sizeof(pattern) - 1, (flags)} 165 #define MAGIC_NUMBERS_SIMPLE(pattern, mimeType) {(pattern), 0, (mimeType), sizeof(pattern) - 1, 0} 238 const uint32_t* pattern32 = reinterpret_cast<const uint32_t*>(info.pattern); 282 result = dataSize >= info.size && !memcmp(data, info.pattern, info.size); 302 if (dataSize >= types[i].size && !memcmp(data, types[i].pattern, types[i].size) [all...] |
/system/core/toolbox/grep/ |
grep.c | 72 /* 5*/ "\t[-e pattern] [-f file] [--binary-files=value] [--color=when]\n", 74 /* 7*/ "\t[pattern] [file ...]\n", 85 char **pattern; variable 114 bool wflag; /* -w: pattern must start and end on word boundaries */ 115 bool xflag; /* -x: pattern must match entire line */ 223 * Adds a searching pattern to the internal array. 234 pattern = grep_realloc(pattern, ++pattern_sz * 235 sizeof(*pattern)); 240 pattern[patterns] = grep_malloc(len + 1) [all...] |
/external/libxml2/ |
triostr.c | 718 @param pattern Pattern, including wildcards, to search for. 729 TRIO_ARGS2((string, pattern), 731 TRIO_CONST char *pattern) 734 assert(pattern); 736 for (; ('*' != *pattern); ++pattern, ++string) 740 return (NIL == *pattern); 742 if ((trio_to_upper((int)*string) != trio_to_upper((int)*pattern)) 743 && ('?' != *pattern)) [all...] |
/external/webkit/Source/WebCore/page/mac/ |
FrameMac.mm | 90 String pattern("("); 104 pattern.append("|"); 109 pattern.append("\\b"); 110 pattern.append(label); 112 pattern.append("\\b"); 114 pattern.append(")"); 115 result = new RegularExpression(pattern, TextCaseInsensitive);
|
/external/icu4c/i18n/ |
decimfmt.cpp | 75 * every currency format pattern, 76 * including the pattern of default currecny style 80 // negative prefix pattern 82 // negative suffix pattern 84 // positive prefix pattern 86 // positive suffix pattern 103 /* affix for currency formatting when the currency sign in the pattern 104 * equals to 3, such as the pattern contains 3 currency sign or 217 * CURRENCY_SIGN is seen in a pattern, then the decimal separator is 254 // pattern in the default locale [all...] |
dtptngen_impl.h | 127 UnicodeString pattern; member in class:PtnElem 131 PtnElem(const UnicodeString &basePattern, const UnicodeString &pattern); 160 virtual TokenStatus setTokens(const UnicodeString& pattern, int32_t startPos, int32_t *len); 182 void set(const UnicodeString& pattern, FormatParser* fp); 183 void set(const UnicodeString& pattern, FormatParser* fp, PtnSkeleton& skeleton); 250 void add(const UnicodeString &pattern, UErrorCode& status);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
PatternUnlockScreen.java | 47 // how long before we clear the wrong pattern 68 * whether there is a fallback option available when the pattern is forgotten. 78 * poke it when the user starts drawing the pattern. 84 * Useful for clearing out the wrong pattern after a delay 134 * @param lockPatternUtils Used to lookup lock pattern settings. 139 * their pattern (e.g they have a google account so we can show them the account based 183 // lock pattern view. 209 // as long as the user is entering a pattern (i.e sending a touch 225 Log.v(TAG, "***** PATTERN ATTACHED TO WINDOW"); 240 Log.v(TAG, "***** PATTERN CONFIGURATION CHANGED") [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldStringTest.java | 221 assertTrue("Returned incorrect string array for pattern: " + 235 String pattern = "[!.1]"; local 241 Arrays.equals(results[0], str.split(pattern, 4))); 243 Arrays.equals(results[1], str.split(pattern, 9))); 245 Arrays.equals(results[1], str.split(pattern, 0))); 247 Arrays.equals(results[1], str.split(pattern, -1))); 249 Arrays.equals(results[1], str.split(pattern, 10))); 251 Arrays.equals(results[1], str.split(pattern, Integer.MAX_VALUE)));
|
/ndk/sources/host-tools/make-3.81/glob/ |
fnmatch.c | 151 /* Match STRING against the filename pattern PATTERN, returning zero if 153 static int internal_fnmatch __P ((const char *pattern, const char *string, 158 internal_fnmatch (pattern, string, no_leading_period, flags) 159 const char *pattern; 164 register const char *p = pattern, *n = string; 230 /* The wildcard(s) is/are the last element of the pattern. 345 /* The name is too long and therefore the pattern 480 fnmatch (pattern, string, flags) 481 const char *pattern; [all...] |
/external/icu4c/common/unicode/ |
uniset.h | 66 * string pattern. 68 * <p><b>Pattern syntax</b></p> 179 * <td nowrap valign="top" align="right"><code>pattern := </code></td> 185 * <td valign="top"><code>char | (char '-' char) | pattern-expr<br> 189 * <td nowrap valign="top" align="right"><code>pattern-expr := </code></td> 190 * <td valign="top"><code>pattern | pattern-expr pattern | 191 * pattern-expr op pattern<br [all...] |
/external/icu4c/test/cintltst/ |
udatpg_test.c | 159 /* Test pattern == NULL */ 163 log_err("udatpg_getSkeleton failed in illegal argument - pattern is NULL.\n"); 178 /* Test pattern == NULL */ 182 log_err("udatpg_getBaseSkeleton failed in illegal argument - pattern is NULL.\n"); 228 UChar pattern[40], formatted[40]; local 241 /* Add a pattern */ 248 /* Add a redundant pattern */ 252 log_err("udatpg_addPattern() failed to find the duplicate pattern.\n"); 255 /* Test pattern == NULL */ 260 log_err("udatpg_addPattern failed in illegal argument - pattern is NULL.\n") 396 UChar pattern[kTestOptionsPatLenMax]; local [all...] |
cdtrgtst.c | 79 log_verbose("pattern: %s\n", austrdup(pat)); 95 log_verbose("After teh pattern is applied\n today: %s\n", austrdup(todayS) ); 207 UChar pattern[11]; local 210 log_verbose("Testing apply pattern and to pattern regressively\n"); 212 u_uastrcpy(pattern, "yyyy/MM/dd"); 213 log_verbose("%s\n", austrdup(pattern) ); 214 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 226 u_uastrcpy(pattern, "yyyyMMdd") 280 UChar dateString[30], pattern[20], tzID[4]; local 326 UChar pattern[21], dateString[11]; local 538 const UChar * pattern; member in struct:__anon7539 [all...] |
usettest.c | 484 /* use a pattern that generates both BMP and supplementary code points */ 485 U_STRING_DECL(pattern, "[:Cf:]", 6); 486 U_STRING_INIT(pattern, "[:Cf:]", 6); 489 set=uset_openPattern(pattern, -1, &errorCode); 521 /* The critical part of this test is that the following pattern 523 static const char *pattern = "[:ccc!=0:]"; local 525 int32_t len = u_unescape(pattern, buf, 256); 536 U_STRING_DECL(pattern, "[", 1); 537 U_STRING_INIT(pattern, "[", 1); 538 pat = uset_openPatternOptions(pattern, u_strlen(pattern), 0, &status) [all...] |
/external/chromium/chrome/browser/ui/gtk/infobars/ |
infobar_gtk.cc | 257 cairo_pattern_t* pattern = cairo_pattern_create_linear(0, 0, 0, height); local 261 cairo_pattern_add_color_stop_rgb(pattern, 0.0, top_r, top_g, top_b); 266 pattern, 1.0, bottom_r, bottom_g, bottom_b); 267 cairo_set_source(cr, pattern); 269 cairo_pattern_destroy(pattern);
|
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_vms.cc | 89 std::string pattern("RWED"); 91 while (!match.empty() && !pattern.empty()) { 92 if (match[0] == pattern[0]) 94 pattern = pattern.substr(1);
|
/external/e2fsprogs/misc/ |
badblocks.c | 285 static void pattern_fill(unsigned char *buffer, unsigned int pattern, 289 unsigned char bpattern[sizeof(pattern)], *ptr; 291 if (pattern == (unsigned int) ~0) { 296 fputs(_("Testing with random pattern: "), stderr); 300 if (pattern == 0) 302 bpattern[i] = pattern & 0xFF; 303 pattern = pattern >> 8; 314 fputs(_("Testing with pattern 0x"), stderr); 555 const unsigned int *pattern; local 698 const unsigned int *pattern; local 992 unsigned int pattern; local [all...] |
/external/icu4c/test/intltest/ |
selfmts.cpp | 103 // ======= Test SelectFormat pattern syntax. 104 logln("SelectFormat Unit Test : Testing SelectFormat pattern syntax."); 111 errln("\nERROR: Unexpected result - SelectFormat Unit Test failed to detect syntax error with pattern: "+checkSyntaxData[i]); 139 // ======= Test applying and formatting with various pattern 148 errln("ERROR: SelectFormat Unit Test failed to apply pattern- "+patternTestData[i] ); 217 errln("ERROR: SelectFormat API test constructor with pattern and status failed! with %s\n", u_errorName(status[0])); 281 UnicodeString pattern = UnicodeString("masculine{masculineVerbValue} other{otherVerbValue}"); local 283 selFmt1->applyPattern( pattern, status1); 285 errln("ERROR: SelectFormat API test failed in applyPattern() with pattern: "+ pattern); [all...] |
itutil.cpp | 379 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z"); local 381 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode)); 445 UnicodeString pattern=UNICODE_STRING_SIMPLE("abc|xy+z"); local 448 uregex_open(pattern.getBuffer(), pattern.length(), 0, NULL, errorCode));
|
/frameworks/base/core/java/com/android/internal/widget/ |
LockPatternView.java | 49 * Is also capable of displaying a static pattern in "in progress", "wrong" or 69 * How many milliseconds we spend animating each circle of a lock pattern 71 * constant * the length of the pattern to complete. 79 * Lookup table for the circles of the pattern we are currently drawing. 80 * This will be the cells of the complete pattern unless we are animating, 130 * Represents a cell in the 3 X 3 matrix of the unlock pattern view. 188 * How to display the current pattern. 193 * The pattern drawn is correct (i.e draw it in a friendly color) 198 * Animate the pattern (for demo, and help). 203 * The pattern is wrong (i.e draw a foreboding color 519 final ArrayList<Cell> pattern = mPattern; local [all...] |
/ndk/sources/host-tools/make-3.81/ |
ar.c | 204 char *pattern; 211 element against the pattern in STATE. */ 219 if (fnmatch (state->pattern, mem, FNM_PATHNAME|FNM_PERIOD) == 0) 232 /* Return nonzero if PATTERN contains any metacharacters. 235 glob_pattern_p (const char *pattern, int quote) 240 for (p = pattern; *p != '\0'; ++p) 286 state.pattern = member_pattern; 201 char *pattern; member in struct:ar_glob_state
|
/packages/apps/Settings/src/com/android/settings/ |
ConfirmLockPattern.java | 39 * Launch this when you want the user to confirm their lock pattern. 42 * successfully confirmed their pattern. 81 // how long we wait to clear a wrong pattern 120 // lock pattern view. 140 // on first launch, if no lock pattern is set, then finish with 234 // clear the wrong pattern unless they have started a new one 242 * The pattern listener that responds according to a user confirming 243 * an existing lock pattern. 256 public void onPatternCellAdded(List<Cell> pattern) { 260 public void onPatternDetected(List<LockPatternView.Cell> pattern) { [all...] |
/libcore/luni/src/main/java/java/text/ |
SimpleDateFormat.java | 40 * <h4>Time Pattern Syntax</h4> 41 * <p>You can supply a pattern describing what strings are produced/accepted, but almost all 51 * The most useful non-localized pattern is {@code "yyyy-MM-dd HH:mm:ss.SSSZ"}, which corresponds 54 * <p>To specify the time format, use a <i>time pattern</i> string. In this 88 * <p>The number of consecutive copies (the "count") of a pattern character further influences 110 * <p>The two pattern characters {@code L} and {@code c} are ICU-compatible extensions, not 208 // The index of 'Z' in the PATTERN_CHARS string. This pattern character is supported by the RI, 219 private String pattern; field in class:SimpleDateFormat 234 this.pattern = defaultPattern(); 240 * non-localized pattern and the {@code DateFormatSymbols} and {@cod [all...] |
/external/icu4c/i18n/unicode/ |
usearch.h | 43 * A pattern string P matches a text string S at the offsets <start, end> 57 * a given pattern. This search iterator allows changing of direction by 78 * <li> If a following pattern match is to be found, any position within a 80 * preceding pattern match is to be found, a invalid starting point 86 * boundaries given by the breakiterator. For instance the pattern "e" will 91 * for the pattern "abab" in the text "ababab", where else mutually 113 * UChar pattern[16]; 116 * u_uastrcpy(pattern, patstr); 118 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US", 195 * elements in the pattern that have the base weight for the specifie [all...] |
/external/webkit/Source/WebCore/icu/unicode/ |
usearch.h | 42 * A pattern string P matches a text string S at the offsets <start, end> 56 * a given pattern. This search iterator allows changing of direction by 77 * <li> If a following pattern match is to be found, any position within a 79 * preceding pattern match is to be found, a invalid starting point 85 * boundaries given by the breakiterator. For instance the pattern "e" will 90 * for the pattern "abab" in the text "ababab", where else mutually 112 * UChar pattern[16]; 115 * u_uastrcpy(pattern, patstr); 117 * UStringSearch *search = usearch_open(pattern, -1, target, -1, "en_US", 182 * @param pattern for matchin [all...] |