/external/webkit/Source/JavaScriptCore/runtime/ |
RegExpCache.cpp | 34 PassRefPtr<RegExp> RegExpCache::lookupOrCreate(const UString& patternString, RegExpFlags flags) 36 if (patternString.length() < maxCacheablePatternLength) { 37 pair<RegExpCacheMap::iterator, bool> result = m_cacheMap.add(RegExpKey(flags, patternString), 0); 41 return create(patternString, flags, result.first); 43 return create(patternString, flags, m_cacheMap.end()); 46 PassRefPtr<RegExp> RegExpCache::create(const UString& patternString, RegExpFlags flags, RegExpCacheMap::iterator iterator) 48 RefPtr<RegExp> regExp = RegExp::create(m_globalData, patternString, flags); 50 if (patternString.length() >= maxCacheablePatternLength) 53 RegExpKey key = RegExpKey(flags, patternString); 66 patternKeyArray[m_nextKeyToEvict].pattern = patternString.impl() [all...] |
RegExpCache.h | 44 PassRefPtr<RegExp> lookupOrCreate(const UString& patternString, RegExpFlags); 45 PassRefPtr<RegExp> create(const UString& patternString, RegExpFlags, RegExpCacheMap::iterator);
|
RegExp.cpp | 76 inline RegExp::RegExp(JSGlobalData* globalData, const UString& patternString, RegExpFlags flags) 77 : m_patternString(patternString) 94 PassRefPtr<RegExp> RegExp::create(JSGlobalData* globalData, const UString& patternString, RegExpFlags flags) 96 RefPtr<RegExp> res = adoptRef(new RegExp(globalData, patternString, flags));
|
/external/webkit/Source/WebKit/mac/Misc/ |
WebUserContentURLPattern.h | 31 - (id)initWithPatternString:(NSString *)patternString;
|
WebUserContentURLPattern.mm | 44 - (id)initWithPatternString:(NSString *)patternString 51 _private->pattern = UserContentURLPattern(patternString);
|
/external/webkit/Source/WebKit/win/ |
WebUserContentURLPattern.cpp | 86 HRESULT WebUserContentURLPattern::parse(BSTR patternString) 88 m_pattern = UserContentURLPattern(String(patternString, SysStringLen(patternString)));
|
WebUserContentURLPattern.h | 49 virtual HRESULT STDMETHODCALLTYPE parse(BSTR patternString);
|
/external/webkit/Source/WebKit2/Shared/ |
WebUserContentURLPattern.h | 48 const String& patternString() const { return m_patternString; }
|
UserMessageCoders.h | 125 encoder->encode(urlPattern->patternString());
|
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebUserContentURLPattern.idl | 38 HRESULT parse([in] BSTR patternString);
|
/packages/apps/Mms/src/com/android/mms/util/ |
SmileyParser.java | 161 StringBuilder patternString = new StringBuilder(mSmileyTexts.length * 3); 165 patternString.append('('); 167 patternString.append(Pattern.quote(s)); 168 patternString.append('|'); 171 patternString.replace(patternString.length() - 1, patternString.length(), ")"); 173 return Pattern.compile(patternString.toString());
|
/external/icu4c/i18n/unicode/ |
bmsearch.h | 54 * BoyerMooreSearch *search = new BoyerMooreSearch(collData, *patternString, target, status); 114 * @param patternString - the string for which to search 125 BoyerMooreSearch(CollData *theData, const UnicodeString &patternString, const UnicodeString *targetString, UErrorCode &status);
|
/external/icu4c/i18n/ |
udatpg.cpp | 96 UnicodeString patternString((UBool)(length<0), pattern, length); 97 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getSkeleton(patternString, *pErrorCode); 113 UnicodeString patternString((UBool)(length<0), pattern, length); 114 UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBaseSkeleton(patternString, *pErrorCode); 131 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); 134 addPattern(patternString, override, conflictingPatternString, *pErrorCode); 239 UnicodeString patternString((UBool)(patternLength<0), pattern, patternLength); 241 UnicodeString result=((DateTimePatternGenerator *)dtpg)->replaceFieldTypes(patternString, skeletonString, options, *pErrorCode);
|
bms.cpp | 82 UnicodeString patternString(pattern, patternLength); 96 bms->bms = new BoyerMooreSearch(data, patternString, bms->targetString, *status);
|
bmsearch.cpp | 601 BoyerMooreSearch::BoyerMooreSearch(CollData *theData, const UnicodeString &patternString, const UnicodeString *targetString, 603 : data(theData), patCEs(NULL), badCharacterTable(NULL), goodSuffixTable(NULL), pattern(patternString), target(NULL) 612 patCEs = new CEList(collator, patternString, status);
|
dtptngen_impl.h | 143 void set(const UnicodeString& patternString);
|
/external/icu4c/test/perf/strsrchperf/ |
strsrchperf.cpp | 69 UnicodeString patternString(pttrn, pttrnLen); 74 bms = new BoyerMooreSearch(data, patternString, targetString, status);
|
/external/webkit/Source/WebCore/platform/text/ |
RegularExpression.cpp | 57 PassOwnPtr<JSC::Yarr::BytecodePattern> compile(const String& patternString, TextCaseSensitivity caseSensitivity) 59 JSC::Yarr::YarrPattern pattern(JSC::UString(patternString.impl()), (caseSensitivity == TextCaseInsensitive), false, &m_constructionError);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
ChoiceFormatTest.java | 93 String patternString = "-2#Inverted Orange| 0#No Orange| 0<Almost No Orange| 1#Normal Orange| 2#Expensive Orange"; 94 ChoiceFormat cf = new ChoiceFormat(patternString); 211 String patternString = "-2#Inverted Orange| 0#No Orange| 0<Almost No Orange| 1#Normal Orange| 2#Expensive Orange"; 223 ChoiceFormat orangeChoiceFormat2 = new ChoiceFormat(patternString);
|
/external/icu4c/tools/genrb/ |
prscmnts.cpp | 77 UnicodeString patternString, 93 RegexMatcher matcher(patternString, UREGEX_DOTALL, *status);
|
/packages/apps/Settings/src/com/android/settings/ |
ChooseLockPattern.java | 353 final String patternString = savedInstanceState.getString(KEY_PATTERN_CHOICE); 354 if (patternString != null) { 355 mChosenPattern = LockPatternUtils.stringToPattern(patternString);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SearchActivity.java | 183 String patternString = "\\b" + Pattern.quote(target); 184 mPattern = Pattern.compile(patternString, Pattern.CASE_INSENSITIVE);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebSettingsTest.java | 93 final String patternString = "Mozilla/5\\.0 \\(Linux; U; Android (.+); (\\w+)-(\\w+);\\s?" + 96 Log.i(LOG_TAG, String.format("Trying to match pattern %s", patternString)); 97 final Pattern userAgentExpr = Pattern.compile(patternString); 100 "pattern:\n%s\nActual:\n%s", patternString, actualUserAgentString), [all...] |
/external/webkit/Source/JavaScriptCore/yarr/ |
YarrPattern.h | 409 const char* compile(const UString& patternString);
|
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
MatcherTest.java | 335 String patternString = "(d{1,3})((a|c)*)(d{1,3})((a|c)*)(d{1,3})"; 338 Pattern pat = Pattern.compile(patternString);
|