/external/icu4c/test/intltest/ |
regextst.cpp | 349 // REGEX_TESTLM("pattern", "input text", lookingAt expected, matches expected); 352 // The input text is unescaped. The pattern is not. 360 const UnicodeString pattern(pat, -1, US_INV); 421 UText pattern = UTEXT_INITIALIZER; local 431 regextst_openUTF8FromInvariant(&pattern, pat, -1, &status); 432 REPattern = RegexPattern::compile(&pattern, 0, pe, status); 493 utext_close(&pattern); 506 // REGEX_ERR("pattern", expected error line, column, expected status); 513 UnicodeString pattern(pat); 520 // Compile the caller's pattern 719 UText pattern = UTEXT_INITIALIZER; local 2821 UText pattern = UTEXT_INITIALIZER; local 2852 UText pattern = UTEXT_INITIALIZER; local 4021 UnicodeString pattern = flagMat->group(2, status); local 4390 UnicodeString pattern = flagMat->group(2, status); local 5135 UnicodeString pattern = "(a)"; local [all...] |
dcfmapts.cpp | 80 const UnicodeString pattern("#,##0.# FF"); 81 DecimalFormat pat(pattern, status); 83 errln((UnicodeString)"ERROR: Could not create DecimalFormat (pattern)"); 95 DecimalFormat cust1(pattern, symbols, status); 97 errln((UnicodeString)"ERROR: Could not create DecimalFormat (pattern, symbols*)"); 101 DecimalFormat cust2(pattern, *symbols, status); 103 errln((UnicodeString)"ERROR: Could not create DecimalFormat (pattern, symbols)"); 291 logln((UnicodeString)"Pattern is " + funkyPat); 295 logln((UnicodeString)"Localized pattern is " + locPat); 302 logln((UnicodeString)"Applying pattern " + p1) [all...] |
dtifmtts.cpp | 344 // first item is date pattern 989 const char* pattern = data[0]; local 1110 const char* pattern = data[0]; local [all...] |
/external/icu4c/tools/dumpce/ |
dumpce.cpp | 986 UChar* pattern = new UChar[length + destLength + 10]; local 989 pattern = u_strcpy(pattern, left); 990 pattern = u_strcat(pattern, exemplarChars); 991 pattern = u_strcat(pattern, upperChars); 992 pattern = u_strcat(pattern, right); 994 UnicodeSet * uniset = new UnicodeSet(UnicodeString(pattern), error) [all...] |
/external/icu4c/tools/toolutil/ |
package.cpp | 883 Package::findItems(const char *pattern) { 886 if(pattern==NULL || *pattern==0) { 891 findPrefix=pattern; 895 wild=strchr(pattern, '*'); 898 findPrefixLength=(int32_t)strlen(pattern); 901 findPrefixLength=(int32_t)(wild-pattern); 906 fprintf(stderr, "icupkg: syntax error (more than one '*') in item pattern \"%s\"\n", pattern); 1054 Package::removeItems(const char *pattern) { [all...] |
/external/stressapptest/src/ |
finelock_queue.cc | 32 // In this implementation, a free page is those page entries where pattern is 33 // null (pe->pattern == 0) 258 data.l32.l = pe.lastpattern->pattern(offset << 1); 259 data.l32.h = pe.lastpattern->pattern((offset << 1) + 1); 430 pages_[index].pattern = 0;
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
ImageCG.cpp | 325 // On Tiger this code runs all the time. This code is suboptimal because the pattern does not reference the image directly, and the 326 // pattern is destroyed before exiting the function. This means any decoding the pattern does doesn't end up cached anywhere, so we 333 RetainPtr<CGPatternRef> pattern(AdoptCF, CGPatternCreate(subImage.get(), CGRectMake(0, 0, tileRect.width(), tileRect.height()), 336 if (!pattern) { 344 RetainPtr<CGColorRef> color(AdoptCF, CGColorCreateWithPattern(patternSpace.get(), pattern.get(), &alpha));
|
/libcore/luni/src/main/java/java/net/ |
HttpCookie.java | 81 * Returns true if {@code host} matches the domain pattern {@code domain}. 84 * localhost}), or a pattern to match subdomains of a domain name (like 85 * {@code .android.com}). A special case pattern is {@code .local}, 109 * Not in the spec! If prefixing a hostname with "." causes it to equal the domain pattern, 110 * then it should match. This is necessary so that the pattern ".google.com" will match the 602 public void setDomain(String pattern) { 603 domain = pattern == null ? null : pattern.toLowerCase(Locale.US);
|
/system/core/sh/ |
nodes.c | 161 calcsize(n->nclist.pattern); 259 new->nclist.pattern = copynode(n->nclist.pattern);
|
/external/chromium/chrome/browser/content_settings/ |
host_content_settings_map.h | 113 // Sets the blocking setting for a particular pattern and content type. 115 // for that type to be used when loading pages matching this pattern. For 120 void SetContentSetting(const ContentSettingsPattern& pattern,
|
/external/chromium/chrome/browser/extensions/ |
crx_installer.cc | 272 URLPattern pattern(UserScript::kValidUserScriptSchemes); 273 pattern.set_host(original_url_.host()); 274 pattern.set_match_subdomains(true); 279 if (!pattern.MatchesHost(patterns[i].host())) {
|
/external/chromium/chrome/common/extensions/ |
url_pattern.h | 14 // A pattern that can be used to match URLs. A URLPattern is a very restricted 17 // <url-pattern> := <scheme>://<host><path> | '<all_urls>' 24 // * '<all_urls>' is a special pattern that matches any URL that contains a 26 // * The '*' scheme pattern excludes file URLs. 69 // more to the pattern) 74 // patterns to URLPattern, but the resulting pattern will be more restrictive 114 // The <all_urls> string pattern. 122 // to be a valid pattern. If the string is not known ahead of time, use 124 URLPattern(int valid_schemes, const std::string& pattern); 140 // Gets the host the pattern matches. This can be an empty string if th [all...] |
/external/elfutils/libasm/ |
libasmP.h | 116 /* Fill pattern. */ 121 } *pattern; member in struct:AsmScn 254 /* The default fill pattern: one zero byte. */
|
/external/icu4c/i18n/unicode/ |
dcfmtsym.h | 76 * If you supply a pattern with multiple grouping characters, the interval 95 /** The pattern separator */ 101 /** Character representing a digit in the pattern */ 272 * Get pattern string for 'CurrencySpacing' that can be applied to 274 * This API gets the CurrencySpacing data from ResourceBundle. The pattern can 278 * @param beforeCurrency : true if the pattern is for before currency symbol. 279 * false if the pattern is for after currency symbol. 282 * @return pattern string for currencyMatch, surroundingMatch or spaceInsert. 291 * Set pattern string for 'CurrencySpacing' that can be applied to 295 * @param beforeCurrency : true if the pattern is for before currency symbol [all...] |
/external/srec/srec/include/ |
duk_args.h | 105 int is_flag_assigned(char *pattern, int avc, arg_info *avlist);
|
/hardware/ti/wlan/wl1271/stad/Export_Inc/ |
STADExternalIf.h | 280 TI_UINT8 offset; /**< Pattern Start Offset (0-255) */ 284 TI_UINT8 pattern[RX_DATA_FILTER_MAX_PATTERN_SIZE];/**< Data Filter PAttern */ member in struct:__anon20732
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
SysinfoPanel.java | 49 import java.util.regex.Pattern; 347 Pattern p = Pattern.compile("([\\d\\.]+)\\s*([a-z]+)"); 379 Pattern lockPattern = Pattern.compile("Wake lock (\\S+): (.+) partial"); 380 Pattern totalPattern = Pattern.compile("Total: (.+) uptime"); 419 Pattern pattern = Pattern local 445 Pattern pattern = Pattern local [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testtreewizard.py | 148 tree = parser.pattern() 158 tree = parser.pattern() 168 tree = parser.pattern() 181 tree = parser.pattern() 191 tree = parser.pattern() 199 tree = parser.pattern() 208 tree = parser.pattern() 216 tree = parser.pattern() 224 tree = parser.pattern() 564 # C pattern has no text arg so despite [bar] in t, no nee [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MessageFormatTest.java | 185 assertEquals("Wrong pattern", "{0}", format.toPattern()); 190 assertEquals("Wrong time pattern", "{0,time}", format.toPattern()); 194 assertEquals("Wrong short time pattern", 199 assertEquals("Wrong medium time pattern", 204 assertEquals("Wrong long time pattern", 212 assertEquals("Wrong full time pattern", 219 assertEquals("Wrong date pattern", "{0,date}", format.toPattern()); 223 assertEquals("Wrong short date pattern", 228 assertEquals("Wrong medium date pattern", 233 assertEquals("Wrong long date pattern", 697 String pattern = "[{0}]"; local 714 String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#off|1#on} F {0, date}"; local [all...] |
/external/icu4c/i18n/ |
msgfmt.cpp | 15 * 06/11/97 helena Fixed addPattern to take the pattern correctly. 16 * 06/17/97 helena Fixed the getPattern to return the correct pattern. 215 // Creates a MessageFormat instance based on the pattern. 217 MessageFormat::MessageFormat(const UnicodeString& pattern, 234 applyPattern(pattern, success); 237 MessageFormat::MessageFormat(const UnicodeString& pattern, 255 applyPattern(pattern, success); 258 MessageFormat::MessageFormat(const UnicodeString& pattern, 277 applyPattern(pattern, parseError, success); 461 // Applies the new pattern and returns an error if the patter [all...] |
/bionic/libc/unistd/ |
sysconf.c | 122 static int __get_meminfo(const char* pattern) { 132 if (sscanf(buf, pattern, &total) == 1) {
|
/cts/tools/utils/ |
buildCts.py | 43 pattern = re.compile(r'^\s*([^:#=\s]+)\s*:=\s*(.*?[^\\])$', re.MULTILINE + re.DOTALL) 46 for match in pattern.finditer(content):
|
/dalvik/vm/jdwp/ |
JdwpEvent.cpp | 417 static bool patternMatch(const char* pattern, const char* target) 419 int patLen = strlen(pattern); 421 if (pattern[0] == '*') { 426 pattern+1, target + (targetLen-patLen)); 430 return strcmp(pattern+1, target + (targetLen-patLen)) == 0; 431 } else if (pattern[patLen-1] == '*') { 432 return strncmp(pattern, target, patLen-1) == 0; 434 return strcmp(pattern, target) == 0; [all...] |
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/ |
antlr3.jar | |
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/ |
options.js | 307 var pattern = /,/g; 310 if (val.match(pattern) == null) {
|