Searched refs:RegExpKey (Results 1 - 4 of 4) sorted by relevance

/external/webkit/Source/JavaScriptCore/runtime/
H A DRegExpKey.h45 struct RegExpKey { struct in namespace:JSC
49 RegExpKey() function in struct:JSC::RegExpKey
54 RegExpKey(RegExpFlags flags) function in struct:JSC::RegExpKey
59 RegExpKey(RegExpFlags flags, const UString& pattern) function in struct:JSC::RegExpKey
65 RegExpKey(RegExpFlags flags, const PassRefPtr<StringImpl> pattern) function in struct:JSC::RegExpKey
71 RegExpKey(RegExpFlags flags, const RefPtr<StringImpl>& pattern) function in struct:JSC::RegExpKey
78 inline bool operator==(const RegExpKey& a, const RegExpKey& b)
95 template<> struct RegExpHash<JSC::RegExpKey> {
96 static unsigned hash(const JSC::RegExpKey
[all...]
H A DRegExpCache.h29 #include "RegExpKey.h"
41 typedef HashMap<RegExpKey, RefPtr<RegExp> > RegExpCacheMap;
59 FixedArray<RegExpKey, maxCacheableEntries> patternKeyArray;
H A DRegExpCache.cpp37 pair<RegExpCacheMap::iterator, bool> result = m_cacheMap.add(RegExpKey(flags, patternString), 0);
53 RegExpKey key = RegExpKey(flags, patternString);
63 m_cacheMap.remove(RegExpKey(patternKeyArray[m_nextKeyToEvict].flagsValue, patternKeyArray[m_nextKeyToEvict].pattern));
/external/v8/src/
H A Dobjects.cc10585 // RegExpKey carries the source and flags of a regular expression as key.
10586 class RegExpKey : public HashTableKey { class in namespace:v8::internal
10588 RegExpKey(String* string, JSRegExp::Flags flags) function in class:v8::internal::RegExpKey
11803 RegExpKey key(src, flags);
11859 RegExpKey key(src, flags);

Completed in 121 milliseconds