/external/icu/icu4c/source/test/intltest/ |
H A D | dcfmtest.cpp | 219 "(\\S+)\\s+" // Capture group 1: pattern 253 // Separate out the three main fields - pattern, flags, target. 324 UnicodeString pattern = UNICODE_STRING_SIMPLE("####"); local 325 DecimalFormat format(pattern, symbols, status); 380 const UnicodeString &pattern, // Pattern 391 // printf("Pattern = %s\n", UnicodeStringPiece(pattern).data()); 392 DecimalFormat fmtr(pattern, symbols, status); 379 execFormatTest(int32_t lineNum, const UnicodeString &pattern, const UnicodeString &round, const UnicodeString &input, const UnicodeString &expected, EFormatInputType inType, UErrorCode &status) argument
|
H A D | dtfmtrtts.cpp | 91 UnicodeString pattern = "MM/dd/yy hh:mm:ss a z"; local 92 SimpleDateFormat fmt(pattern, locale, status); 301 // This indexOf check into the pattern needs to be refined to ignore 315 // of incompleteness in patterns. For example, a time-only pattern won't 341 failure(status, "fmt->parse", s[loop-1]+" in locale: " + origLocale.getName() + " with pattern: " + pat); 388 // Time-only pattern with zone information and a starting date in PST. 407 // Starts in BC, with no era in pattern 410 // Starts in DST, no year in pattern
|
H A D | msfmrgts.cpp | 73 * Null exception when formatting pattern with MessageFormat 77 UnicodeString pattern [] = { local 93 //Apply pattern with param and print the result 94 messageFormatter->applyPattern(pattern[1], status); 108 //Apply pattern without param and print the result 109 messageFormatter->applyPattern(pattern[0], status); 133 //If we use pattern[1] for the message with param, 135 //If we use pattern[2] for the message with param, 138 //in applyPattern() when the pattern does not 151 * the original pattern strin 485 UnicodeString pattern = patterns[i]; local [all...] |
H A D | plurfmts.cpp | 201 // ======= Test PluralRules pattern syntax. 202 logln("Testing PluralRules pattern syntax."); 213 errln("ERROR: PluralFormat failed to detect syntax error with pattern: "+checkSyntaxtData[i]); 219 // ======= Test applying various pattern 225 UnicodeString message=UnicodeString("ERROR: PluralFormat tests various pattern ..."); 238 errln("ERROR: PluralFormat failed to apply pattern- "+patternTestData[i]); 263 message = UNICODE_STRING_SIMPLE("Error set locale: pattern is not reset!"); 265 // Check that pattern gets deleted. 529 dataerrln("Failed to apply pattern to fr locale - %s", u_errorName(status)); 570 dataerrln("Failed to apply pattern 630 PluralFormat pf(Locale::getEnglish(), UPLURAL_TYPE_ORDINAL, pattern, errorCode); local [all...] |
H A D | tchcfmt.cpp | 460 // intervals. Do this both using arrays and using a pattern. 477 // 'fmt2' is created using a pattern; it should be equivalent 564 void TestChoiceFormat::_testPattern(const char* pattern, argument 570 ChoiceFormat fmt(pattern, ec); 573 logln((UnicodeString)"Ok: " + pattern + " failed"); 575 logln((UnicodeString)"FAIL: " + pattern + " accepted"); 580 errln((UnicodeString)"FAIL: ChoiceFormat(" + pattern + ") failed"); 583 logln((UnicodeString)"Ok: Pattern: " + pattern); 606 // Try a pattern that isolates a single value. Create 613 #if 0 // ICU 4.8 only checks the pattern synta [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | MessagePatternUtil.java | 35 * Factory method, builds and returns a MessageNode from a MessageFormat pattern string. 36 * @param patternString a MessageFormat pattern string 39 * or does not represent a MessageFormat pattern 48 * @param pattern a parsed MessageFormat pattern string 51 * or does not represent a MessageFormat pattern 54 public static MessageNode buildMessageNode(MessagePattern pattern) { argument 55 int limit = pattern.countParts() - 1; 58 } else if (pattern.getPartType(0) != MessagePattern.Part.Type.MSG_START) { 60 "The MessagePattern does not represent a MessageFormat pattern"); 458 buildMessageNode(MessagePattern pattern, int start, int limit) argument 487 buildArgNode(MessagePattern pattern, int start, int limit) argument 529 buildChoiceStyleNode(MessagePattern pattern, int start, int limit) argument 548 buildPluralStyleNode(MessagePattern pattern, int start, int limit, MessagePattern.ArgType argType) argument 577 buildSelectStyleNode(MessagePattern pattern, int start, int limit) argument [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | ChineseCalendar.java | 474 protected DateFormat handleGetDateFormat(String pattern, String override, ULocale locale) { argument 480 //return new ChineseDateFormat(pattern, override, locale); 481 return super.handleGetDateFormat(pattern, override, locale);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
H A D | DecimalFormatICU.java | 48 public void applyLocalizedPattern(String pattern) { argument 49 fIcuDecfmt.applyLocalizedPattern(pattern); 53 public void applyPattern(String pattern) { argument 54 fIcuDecfmt.applyPattern(pattern);
|
/external/mesa3d/src/mesa/program/ |
H A D | nvvertparse.c | 243 * Try to match 'pattern' as the next token after any whitespace/comments. 244 * Advance the current parsing position only if we match the pattern. 245 * \return GL_TRUE if pattern is matched, GL_FALSE otherwise. 248 Parse_String(struct parse_state *parseState, const char *pattern) argument 270 /* Try to match the pattern */ 272 for (i = 0; pattern[i]; i++) { 273 if (*m != (GLubyte) pattern[i])
|
/external/regex-re2/re2/testing/ |
H A D | re2_test.cc | 369 static void TestRecursion(int size, const char *pattern) { argument 370 // Fill up a string repeating the pattern given 373 int patlen = strlen(pattern); 375 domain[i] = pattern[i % patlen]; 382 // A meta-quoted string, interpreted as a pattern, should always match 392 // A meta-quoted string, interpreted as a pattern, should always match 971 // Check the pattern() accessor 975 CHECK_EQ(kPattern, re.pattern()); 1025 // Check that pattern matches string only in UTF8 mode 1037 const char* pattern local 1046 const char* pattern = "(?U)\\\\w+X"; local [all...] |
/external/selinux/policycoreutils/mcstrans/src/ |
H A D | mcscolor.c | 29 char *pattern; member in struct:setab 58 free(cur->pattern); 78 static int check_dominance(const char *pattern, const char *raw) { argument 100 if (context_range_set(my_tmp, pattern)) 137 if (fnmatch(ptr->pattern, component, 0) == 0) { 139 if (check_dominance(ptr->pattern, raw) == 0) 150 static int add_secolor(int idx, char *pattern, uint32_t fg, uint32_t bg) { argument 156 cptr->pattern = strdup(pattern); 157 if (!cptr->pattern) { [all...] |
/external/skia/src/ports/ |
H A D | SkFontMgr_android.cpp | 197 /** Find the typeface in this style set that most closely matches the given pattern. 201 SkTypeface_AndroidSystem* matchStyle(const SkFontStyle& pattern) override { 209 int score = match_score(pattern, style); 222 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { argument 224 score += abs((pattern.width() - candidate.width()) * 100); 225 score += abs((pattern.isItalic() == candidate.isItalic()) ? 0 : 1000); 226 score += abs(pattern.weight() - candidate.weight());
|
/external/toybox/kconfig/ |
H A D | symbol.c | 721 struct symbol **sym_re_search(const char *pattern) argument 729 if (strlen(pattern) == 0) 731 if (regcomp(&re, pattern, REG_EXTENDED|REG_NOSUB|REG_ICASE))
|
/external/v8/src/ |
H A D | i18n.cc | 103 icu::UnicodeString pattern; local 105 pattern = generator->getBestPattern(skeleton, status); 109 date_format = new icu::SimpleDateFormat(pattern, icu_locale, status); 131 icu::UnicodeString pattern; local 132 date_format->toPattern(pattern); 134 resolved, factory->NewStringFromStaticChars("pattern"), 137 reinterpret_cast<const uint16_t*>(pattern.getBuffer()), 138 pattern.length())).ToHandleChecked(), 336 icu::UnicodeString pattern; local 337 number_format->toPattern(pattern); [all...] |
H A D | string-search.h | 17 // independently of subject and pattern char size. 56 StringSearch(Isolate* isolate, Vector<const PatternChar> pattern) argument 58 pattern_(pattern), 59 start_(Max(0, pattern.length() - kBMMaxShift)) { 149 // Both pattern and subject are UC16. Reduce character to equivalence class. 155 // TODO(lrn): Introduce a way for a pattern to keep its tables 160 // pattern. 181 // The pattern to search for. 230 inline bool CharCompare(const PatternChar* pattern, argument 236 if (pattern[po 251 Vector<const PatternChar> pattern = search->pattern_; local 288 Vector<const PatternChar> pattern = search->pattern_; local 339 const PatternChar* pattern = pattern_.start(); local 411 Vector<const PatternChar> pattern = search->pattern_; local 496 Vector<const PatternChar> pattern = search->pattern_; local 547 SearchString(Isolate* isolate, Vector<const SubjectChar> subject, Vector<const PatternChar> pattern, int start_index) argument [all...] |
/external/v8/src/ic/ |
H A D | ic-compiler.cc | 231 Code::FindAndReplacePattern pattern; local 232 pattern.Add(isolate->factory()->meta_map(), receiver_map); 233 Handle<Code> ic = stub->GetCodeCopy(pattern);
|
/external/valgrind/callgrind/ |
H A D | fn.c | 38 // a code pattern is a list of tuples (start offset, length) 40 struct pattern struct 47 /* Scan for a pattern in the code of an ELF object. 52 UChar code[], struct pattern* pat) 58 /* first chunk of pattern should always start at offset 0 and 62 CLG_DEBUG(1, "check_code: %s, pattern %s, check %d bytes of [%x %x %x...]\n", 130 static struct pattern pat = { 139 static struct pattern pat_28 = { 167 static struct pattern pat = { 188 static struct pattern pa [all...] |
/external/slf4j/log4j-over-slf4j/compatibility/lib/ |
H A D | logback-classic-0.9.8-SNAPSHOT.jar | ... action/ ch/qos/logback/classic/net/ ch/qos/logback/classic/pattern/ ch/qos/logback/classic/selector/ ch/qos/logback/classic/selector ... |
H A D | logback-core-0.9.8-SNAPSHOT.jar | ... layout/ ch/qos/logback/core/net/ ch/qos/logback/core/pattern/ ch/qos/logback/core/pattern/parser/ ch/qos/logback/core ... |
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/ |
H A D | ANTLR3.java | 748 private String[] splitRightHandSide(String fileNames, String pattern) { argument 749 String[] names = fileNames.split(pattern);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
H A D | MathUtils.java | 131 * @param pattern the pattern to use for any thrown exception. 137 private static long addAndCheck(long a, long b, Localizable pattern) { argument 141 ret = addAndCheck(b, a, pattern); 151 throw MathRuntimeException.createArithmeticException(pattern, a, b); 165 throw MathRuntimeException.createArithmeticException(pattern, a, b);
|
/external/guava/guava-testlib/test/com/google/common/testing/anotherpackage/ |
H A D | ForwardingWrapperTesterTest.java | 354 Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, 369 Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, 372 r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, 351 foo(String s, Runnable r, Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) argument 365 foo( String s, Runnable r, Number n, Iterable<?> it, boolean b, Equivalence<String> eq, Exception e, InputStream in, Comparable<?> c, Ordering<Integer> ord, Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) argument
|
/external/icu/icu4c/source/common/ |
H A D | locdispnames.cpp | 289 static const char _kPattern[] = "pattern"; 456 * things if they futz with the pattern data. But since we don't give them a way to 457 * specify a pattern for arbitrary combinations of components, there's not much use in 483 const UChar *pattern; local 516 pattern=ures_getStringByKeyWithFallback(dspbundle, _kPattern, &patLen, &status); 526 /* #10244: Even though separator is now a pattern, it is awkward to handle it as such 528 * and to handle it as a pattern would entail having separate storage for the 532 * that is before {0} or after {1} (no existing separator pattern has any such thing). 533 * This is similar to how pattern is handled below. 546 if(patLen==0 || (patLen==defaultPatLen && !u_strncmp(pattern, defaultPatter [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | dtitvinf.cpp | 265 UnicodeString pattern = UnicodeString(TRUE, resStr, resStrLen); local 266 setFallbackIntervalPattern(pattern, status); 298 UnicodeString pattern = local 325 setIntervalPatternInternally(skeletonUniStr, calendarField, pattern,status);
|
/external/icu/icu4c/source/test/cintltst/ |
H A D | cdtrgtst.c | 79 log_verbose("pattern: %s\n", austrdup(pat)); 95 log_verbose("After the 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_PATTERN,UDAT_PATTERN,NULL,tzID,-1,pattern, u_strlen(pattern),&status); 226 u_uastrcpy(pattern, "yyyyMMd 280 UChar dateString[30], pattern[20], tzID[4]; local 327 UChar pattern[21], dateString[11]; local 541 const UChar * pattern; member in struct:__anon5779 [all...] |