/external/jarjar/src/test/com/tonicsystems/jarjar/ |
H A D | WildcardTest.java | 35 private void wildcard(String pattern, String result, String value, String expect) { argument 36 Wildcard wc = new Wildcard(pattern, result);
|
/external/oprofile/libregex/ |
H A D | op_regex.cpp | 36 void op_regcomp(regex_t & regexp, string const & pattern) argument 38 int err = regcomp(®exp, pattern.c_str(), REG_EXTENDED); 41 + " for pattern : " + pattern); 74 bad_regex::bad_regex(string const & pattern) argument 75 : op_exception(pattern) 103 void regular_expression_replace::add_pattern(string const & pattern, argument 106 string expanded_pattern = expand_string(pattern); 133 string regular_expression_replace::substitute_definition(string const & pattern) argument 138 for (size_t i = 0 ; i < pattern [all...] |
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/i18n/ |
H A D | messageformat.js | 73 * @param {string} pattern The pattern we parse and apply positional parameters 78 goog.i18n.MessageFormat = function(pattern) { 88 * Input pattern gets parsed into objects for faster formatting. 94 this.parsePattern_(pattern); 248 var pattern = parsedPattern[i].value; 249 this.formatSimplePlaceholder_(pattern, namedParameters, result); 252 var pattern = parsedPattern[i].value; 253 this.formatSelectBlock_(pattern, namedParameters, ignorePound, result); 256 var pattern [all...] |
/external/chromium_org/base/ |
H A D | vlog.cc | 23 explicit VmodulePattern(const std::string& pattern); 27 std::string pattern; member in struct:logging::VlogInfo::VmodulePattern 32 VlogInfo::VmodulePattern::VmodulePattern(const std::string& pattern) argument 33 : pattern(pattern), 36 // If the pattern contains a {forward,back} slash, we assume that 38 std::string::size_type first_slash = pattern.find_first_of("\\/"); 71 VmodulePattern pattern(it->first); 72 if (!base::StringToInt(it->second, &pattern.vlog_level)) { 75 << "\" as " << pattern [all...] |
/external/chromium_org/content/browser/renderer_host/ |
H A D | font_utils_linux.cc | 126 FcPattern* pattern = FcPatternCreate(); local 128 pattern, FC_FAMILY, reinterpret_cast<const FcChar8*>(face.c_str())); 149 FcPatternAddString(pattern, FC_FAMILY, fc_generic_font_name); 153 FcPatternAddInteger(pattern, FC_WEIGHT, FC_WEIGHT_BOLD); 155 FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC); 156 FcPatternAddLangSet(pattern, FC_LANG, langset); 157 FcPatternAddBool(pattern, FC_SCALABLE, FcTrue); 158 FcConfigSubstitute(NULL, pattern, FcMatchPattern); 159 FcDefaultSubstitute(pattern); 162 FcFontSet* font_set = FcFontSort(0, pattern, [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
H A D | umsg.h | 42 * a C++ MessageFormat. It is constructed from a <em>pattern</em> string 47 * <p>For details about the pattern syntax and behavior, 57 * UChar pattern[100]; 71 * u_uastrcpy(pattern, "On {0, date, long}, there was a {1} on planet {2,number,integer}"); 73 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7); 78 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7); 93 * UChar pattern[100]; 99 * u_uastrcpy(pattern, "Th [all...] |
/external/chromium_org/third_party/icu/source/samples/dtptngsample/ |
H A D | dtptngsample.cpp | 20 u_printf(" Use DateTimePatternGenerator to create customized date/time pattern:\n"); 53 // use getBestPattern method to get the best pattern for the given skeleton 54 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); local 55 // Constructs a SimpleDateFormat with the best pattern generated above and the given locale 56 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); 93 u_printf(" Use addPattern API to add new '. von' to existing pattern\n"); 97 UnicodeString conflictingPattern,dateReturned, pattern; local 105 // Add '. von' to the existing pattern 107 // Apply the new pattern 110 pattern 138 UnicodeString pattern,dateReturned; local [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
H A D | umsg.h | 42 * a C++ MessageFormat. It is constructed from a <em>pattern</em> string 47 * <p>For details about the pattern syntax and behavior, 57 * UChar pattern[100]; 71 * u_uastrcpy(pattern, "On {0, date, long}, there was a {1} on planet {2,number,integer}"); 73 * resultLengthOut=u_formatMessage( "en_US", pattern, u_strlen(pattern), NULL, resultlength, &status, d1, str, 7); 78 * u_formatMessage( "en_US", pattern, u_strlen(pattern), result, resultlength, &status, d1, str, 7); 93 * UChar pattern[100]; 99 * u_uastrcpy(pattern, "Th [all...] |
/external/icu/icu4c/source/samples/dtptngsample/ |
H A D | dtptngsample.cpp | 20 u_printf(" Use DateTimePatternGenerator to create customized date/time pattern:\n"); 53 // use getBestPattern method to get the best pattern for the given skeleton 54 UnicodeString pattern = dtfg->getBestPattern(skeletons[i],status); local 55 // Constructs a SimpleDateFormat with the best pattern generated above and the given locale 56 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); 78 u_printf(" Use addPattern API to add new '. von' to existing pattern\n"); 82 UnicodeString conflictingPattern,dateReturned, pattern; local 90 // Add '. von' to the existing pattern 92 // Apply the new pattern 95 pattern 123 UnicodeString pattern,dateReturned; local [all...] |
/external/skia/src/fonts/ |
H A D | SkFontMgr_indirect.cpp | 44 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRIDE { 46 SkFontIdentity id = fOwner->fProxy->matchIndexStyle(fFamilyIndex, pattern); 51 // fOwner->fProxy->matchNameStyle(fFamilyName, pattern); 61 // If the value of pattern.width is 5 (normal) or less, 63 // If the value of pattern.width is greater than 5 (normal), 73 // If pattern.weight < 400, weights below pattern.weight are checked 74 // in descending order followed by weights above pattern.weight 76 // If pattern.weight > 500, weights above pattern [all...] |
H A D | SkFontMgr_fontconfig.cpp | 75 static int get_int(FcPattern* pattern, const char field[]) { argument 78 if (FcPatternGetInteger(pattern, field, 0, &value) != FcResultMatch) { 84 static const char* get_name(FcPattern* pattern, const char field[]) { argument 87 if (FcPatternGetString(pattern, field, 0, (FcChar8**)&name) != FcResultMatch) { 93 static bool valid_pattern(FcPattern* pattern) { argument 96 if (FcPatternGetBool(pattern, FC_SCALABLE, 0, &is_scalable) != FcResultMatch || !is_scalable) { 101 const char* c_filename = get_name(pattern, FC_FILE); 111 static bool match_name(FcPattern* pattern, const char family_name[]) { argument 112 return !strcasecmp(family_name, get_name(pattern, FC_FAMILY)); 153 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRID 249 FcPattern* pattern = FcPatternCreate(); variable 256 FcDefaultSubstitute(pattern); variable 263 FcPatternDestroy(pattern); variable 270 FcPatternDestroy(pattern); variable 275 FcPatternDestroy(pattern); variable [all...] |
/external/chromium_org/v8/src/ |
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...] |
H A D | regexp.js | 16 function DoConstructRegExp(object, pattern, flags) { 18 if (IS_REGEXP(pattern)) { 22 flags = (pattern.global ? 'g' : '') 23 + (pattern.ignoreCase ? 'i' : '') 24 + (pattern.multiline ? 'm' : ''); 26 flags += (pattern.sticky ? 'y' : ''); 27 pattern = pattern.source; 30 pattern = IS_UNDEFINED(pattern) [all...] |
/external/chromium_org/third_party/skia/src/fonts/ |
H A D | SkFontMgr_fontconfig.cpp | 70 static int get_int(FcPattern* pattern, const char field[]) { argument 73 if (FcPatternGetInteger(pattern, field, 0, &value) != FcResultMatch) { 79 static const char* get_name(FcPattern* pattern, const char field[]) { argument 82 if (FcPatternGetString(pattern, field, 0, (FcChar8**)&name) != FcResultMatch) { 88 static bool valid_pattern(FcPattern* pattern) { argument 91 if (FcPatternGetBool(pattern, FC_SCALABLE, 0, &is_scalable) != FcResultMatch || !is_scalable) { 96 const char* c_filename = get_name(pattern, FC_FILE); 106 static bool match_name(FcPattern* pattern, const char family_name[]) { argument 107 return !strcasecmp(family_name, get_name(pattern, FC_FAMILY)); 148 virtual SkTypeface* matchStyle(const SkFontStyle& pattern) SK_OVERRID 244 FcPattern* pattern = FcPatternCreate(); variable 251 FcDefaultSubstitute(pattern); variable 258 FcPatternDestroy(pattern); variable 265 FcPatternDestroy(pattern); variable 270 FcPatternDestroy(pattern); variable [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/css/ |
H A D | rule_list.css | 7 .rule-pattern { 27 .pattern-column-header {
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/ |
H A D | plugin_settings.js | 71 var pattern = keyArray[1]; 75 'primaryPattern': pattern, 96 didSetContentSetting_: function(plugin, pattern, key, counter, callback) { 113 * @param {string} pattern The content setting pattern for the rule. 118 set: function(pattern, setting, callback) { 122 'primaryPattern': pattern, 129 window.localStorage.setItem(JSON.stringify([plugin, pattern]), 138 * Removes the content setting rule with a given pattern, and calls the 140 * @param {string} pattern Th [all...] |
/external/chromium_org/components/autofill/core/browser/ |
H A D | form_field.h | 58 // Attempts to parse a form field with the given pattern. Returns true on 61 const base::string16& pattern, 64 // Parses the stream of fields in |scanner| with regular expression |pattern| 66 // is non-NULL and the pattern matches, the matched field is returned. 70 const base::string16& pattern, 96 // Matches |pattern| to the contents of the field at the head of the 101 const base::string16& pattern, 105 // Matches the regular expression |pattern| against the components of |field| 108 const base::string16& pattern,
|
/external/chromium_org/components/url_matcher/ |
H A D | string_pattern_unittest.cc | 15 EXPECT_EQ("Test", r1.pattern());
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
H A D | HostInfo.java | 48 String pattern = jsonPatterns.getString(i); 49 if (pattern != null && !pattern.isEmpty()) { 50 tokenUrlPatterns.add(pattern);
|
/external/chromium_org/third_party/WebKit/Source/modules/vibration/testing/ |
H A D | InternalsVibration.cpp | 49 return NavigatorVibration::from(*document->page()).pattern();
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | tchcfmt.h | 45 void _testPattern(const char* pattern,
|
H A D | tsdcfmsy.h | 31 void Verify(double value, const UnicodeString& pattern,
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_pstipple.h | 41 const uint32_t pattern[32]);
|
/external/chromium_org/third_party/skia/gm/rebaseline_server/ |
H A D | test_all.py | 18 pattern='*_test.py')
|
/external/chromium_org/third_party/skia/gm/ |
H A D | test_all.py | 18 pattern='*_test.py')
|