/external/webkit/WebCore/plugins/win/ |
PluginDatabaseWin.cpp | 130 String pattern = *it + "\\*"; local 132 hFind = FindFirstFileW(pattern.charactersWithNullTermination(), &findFileData);
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 333 * Formats the specified object as a string using the pattern of this date 381 * Formats the specified date as a string using the pattern of this date 515 String pattern = localeData.getDateFormat(dateStyle) + " " + localeData.getTimeFormat(timeStyle); local 516 return new SimpleDateFormat(pattern, locale); [all...] |
NumberFormat.java | 182 * of {@code NumberFormat} with the same pattern and properties. 220 * Formats the specified double value as a string using the pattern of this 253 * Formats the specified long value as a string using the pattern of this 407 private static NumberFormat getInstance(String pattern, Locale locale) { 408 return new DecimalFormat(pattern, locale); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
AaptParser.java | 30 import java.util.regex.Pattern; 34 // TODO: rename the pattern to something that makes sense + javadoc comments. 39 private final static Pattern sPattern0Line1 = Pattern.compile( 47 private final static Pattern sPattern1Line1 = Pattern.compile( 55 private final static Pattern sPattern1Line2 = Pattern.compile( 62 private final static Pattern sPattern2Line1 = Pattern.compile [all...] |
/external/chromium/third_party/icu/source/i18n/ |
numfmt.cpp | 63 // If no number pattern can be located for a locale, this is the last 878 UnicodeString pattern; local 891 pattern.setTo(TRUE, gLastResortNumberPatterns[style], -1); 907 * the pattern is the same as the pattern of CURRENCYSTYLE 918 pattern.setTo(TRUE, patResStr, patLen); 926 pattern.setTo(currPattern, u_strlen(currPattern)); 973 // replace single currency sign in the pattern with double currency sign 976 pattern.findAndReplace(gSingleCurrencySign, gDoubleCurrencySign); 979 f = new DecimalFormat(pattern, symbolsToAdopt, style, status) [all...] |
ucol_res.cpp | 942 UnicodeString pattern; local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
tmsgfmt.cpp | 164 // {sfb} use double format in pattern, so result will match (not strictly necessary) 165 const UnicodeString pattern = "There {0,choice,0#are no files|1#is one file|1<are {0, number} files} on disk {1}. "; local 166 logln("The input pattern : " + pattern); 167 MessageFormat *fmt = new MessageFormat(pattern, status); 169 errln("MessageFormat pattern creation failed."); 172 logln("The output pattern is : " + fmt->toPattern(result)); 173 if (pattern != result) { 326 logln("MSG pattern for parse: " + buffer); 405 /* When the default locale is tr, make sure that the pattern can still be parsed. * 1202 const UnicodeString pattern = local [all...] |
tstnorm.cpp | 1720 UnicodeString s, pattern; local [all...] |
usettest.cpp | 133 dataerrln((UnicodeString)"FAIL: bad pattern " + OTHER_TOPATTERN_TESTS[j] + " - " + UnicodeString(u_errorName(ec))); 156 // Test pattern behavior of multicharacter strings. 197 if (U_FAILURE(ec)) errln("FAIL: pattern parse error"); 225 // What we want to make sure of is that a pattern generated 320 // UCharCategory values; replaced with pattern constructors 852 // Pattern, Chars IN, Chars NOT in 1338 const char pattern[] = local 3711 static const char *pattern="[x{xy}{xya}{axy}{ax}]"; local [all...] |
regextst.cpp | 110 // REGEX_TESTLM("pattern", "input text", lookingAt expected, matches expected); 113 // The input text is unescaped. The pattern is not. 121 const UnicodeString pattern(pat, -1, US_INV); 190 // REGEX_ERR("pattern", expected error line, column, expected status); 197 UnicodeString pattern(pat); 204 // Compile the caller's pattern 209 dataerrln("Line %d: unexpected error %s compiling pattern.", line, u_errorName(status)); 226 // Basic Check for basic functionality of regex pattern matching. 251 // Pattern with parentheses 297 // UnicodeSets in the pattern 2148 UnicodeString pattern = flagMat->group(2, status); local [all...] |
/external/icu4c/i18n/ |
numfmt.cpp | 65 // If no number pattern can be located for a locale, this is the last 1086 UnicodeString pattern; local [all...] |
ucol_res.cpp | 952 UnicodeString pattern; local [all...] |
/external/icu4c/test/intltest/ |
usettest.cpp | 133 dataerrln((UnicodeString)"FAIL: bad pattern " + OTHER_TOPATTERN_TESTS[j] + " - " + UnicodeString(u_errorName(ec))); 156 // Test pattern behavior of multicharacter strings. 197 if (U_FAILURE(ec)) errln("FAIL: pattern parse error"); 225 // What we want to make sure of is that a pattern generated 320 // UCharCategory values; replaced with pattern constructors 883 // Pattern, Chars IN, Chars NOT in 1375 const char pattern[] = local 3748 static const char *pattern="[x{xy}{xya}{axy}{ax}]"; local [all...] |
tstnorm.cpp | 1730 UnicodeString s, pattern; local [all...] |
/frameworks/base/core/jni/ |
android_server_BluetoothService.cpp | 404 jstring pattern, jint attr_id) { 412 const char *c_pattern = env->GetStringUTFChars(pattern, NULL); 414 LOGV("... pattern = %s", c_pattern); 422 env->ReleaseStringUTFChars(pattern, c_pattern); 895 jstring path, jstring pattern) { 905 const char *c_pattern = env->GetStringUTFChars(pattern, NULL); 911 LOGV("... Pattern = %s, strlen = %d", c_pattern, strlen(c_pattern)); [all...] |
/dalvik/vm/jdwp/ |
JdwpHandler.c | 1650 char* pattern; local 1663 char* pattern; local [all...] |
/device/samsung/crespo/alsa-utils/alsactl/ |
init_parse.c | 1163 static int ctl_match(snd_ctl_elem_id_t *pattern, snd_ctl_elem_id_t *id) 1165 if (snd_ctl_elem_id_get_interface(pattern) != -1 && 1166 snd_ctl_elem_id_get_interface(pattern) != snd_ctl_elem_id_get_interface(id)) 1168 if (snd_ctl_elem_id_get_device(pattern) != -1 && 1169 snd_ctl_elem_id_get_device(pattern) != snd_ctl_elem_id_get_device(id)) 1171 if (snd_ctl_elem_id_get_subdevice(pattern) != -1 && 1172 snd_ctl_elem_id_get_subdevice(pattern) != snd_ctl_elem_id_get_subdevice(id)) 1174 if (snd_ctl_elem_id_get_index(pattern) != -1 && 1175 snd_ctl_elem_id_get_index(pattern) != snd_ctl_elem_id_get_index(id)) 1177 if (fnmatch(snd_ctl_elem_id_get_name(pattern), snd_ctl_elem_id_get_name(id), 0) != 0 [all...] |
/external/bluetooth/bluez/input/ |
device.c | 114 static struct input_conn *find_connection(GSList *list, const char *pattern) 121 if (!strcasecmp(iconn->uuid, pattern)) 124 if (!strcasecmp(iconn->alias, pattern)) 488 unsigned char pattern[] = { 0x05, 0x07, 0x19, 0x00, 0x2a, 0x00, 0xff, local 495 for (i = 0; i < size - sizeof(pattern); i++) { 496 if (!memcmp(data + i, pattern, sizeof(pattern))) {
|
/external/webkit/JavaScriptCore/yarr/ |
RegexJIT.cpp | 45 friend void jitCompileRegex(JSGlobalData* globalData, RegexCodeBlock& jitObject, const UString& pattern, unsigned& numSubpatterns, const char*& error, bool ignoreCase, bool multiline); [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
OpenWnnDictionaryImplJni.c | 654 /* If the approx pattern registration area was full, return an error code */ 683 const PREDEF_APPROX_PATTERN* pattern; local 685 pattern = predefinedApproxPatterns[ approxPattern ]; 686 if( work->approxSet.charset_count + pattern->size <= NJ_MAX_CHARSET ) { 689 for( i = 0 ; i < pattern->size ; i++ ) { 699 /* Set approximate pattern */ 700 from[ 0 ] = convertUTFCharToNjChar( pattern->from + i * 2 ); /* "2" means the size of UTF-16BE */ 703 to[ 0 ] = convertUTFCharToNjChar( pattern->to + i * 2 ); /* "2" means the size of UTF-16BE */ 706 work->approxSet.charset_count += pattern->size; 713 /* If the approx pattern registration area was full, return an error code * [all...] |
/external/v8/src/ |
runtime.cc | 639 CONVERT_ARG_CHECKED(String, pattern, 1); 641 Handle<Object> result = RegExpImpl::Compile(re, pattern, flags); 1238 Handle<String> pattern = args.at<String>(2); local [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
DatabaseMetaDataTest.java | 242 @KnownFailure("Not supported : pattern with %") [all...] |
/external/chromium/base/ |
file_util_posix.cc | 552 const FilePath::StringType& pattern) 557 pattern_(root_path.Append(pattern).value()), 561 // The Windows version of this code appends the pattern to the root_path, 564 if (pattern.size() == 0)
|
/external/iproute2/lib/ |
utils.c | 443 int matches(const char *cmd, const char *pattern) 446 if (len > strlen(pattern)) 448 return memcmp(pattern, cmd, len);
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
TemplateList.java | 340 * @param pattern 343 private void insertPatternInTable(StepPattern pattern, ElemTemplate template) 346 String target = pattern.getTargetString(); 352 new TemplateSubPatternAssociation(template, pattern, pstring); 375 * Given a match pattern and template association, return the 379 * @param matchPat The match pattern to template association. 427 * @return The head of a linked list that contains all possible match pattern to 721 * @param head Template pattern 723 * @param targetNode Node matching the pattern 828 * @return The head of a linked list that contains all possible match pattern to [all...] |