Home
last modified time | relevance | path

Searched refs:m_cache (Results 1 – 19 of 19) sorted by relevance

/external/webkit/Source/WebCore/platform/text/
DAtomicStringKeyedMRUCache.h43 for (size_t i = 0; i < m_cache.size(); ++i) { in get()
44 if (m_cache[i].first == key) { in get()
46 if (foundIndex + 1 < m_cache.size()) { in get()
47 Entry entry = m_cache[foundIndex]; in get()
48 m_cache.remove(foundIndex); in get()
49 foundIndex = m_cache.size(); in get()
50 m_cache.append(entry); in get()
52 return m_cache[foundIndex].second; in get()
55 if (m_cache.size() == capacity) in get()
56 m_cache.remove(0); in get()
[all …]
/external/webkit/Source/JavaScriptCore/runtime/
DCachedTranscendentalFunction.h49 : m_cache(0) in CachedTranscendentalFunction()
55 if (m_cache) in ~CachedTranscendentalFunction()
56 fastFree(m_cache); in ~CachedTranscendentalFunction()
61 if (UNLIKELY(!m_cache)) in operator()
63 CacheEntry* entry = &m_cache[hash(operand)]; in operator()
77 m_cache = static_cast<CacheEntry*>(fastMalloc(s_cacheSize * sizeof(CacheEntry))); in initialize()
79 m_cache[x].operand = NaN; in initialize()
80 m_cache[x].result = NaN; in initialize()
98 CacheEntry* m_cache; variable
DDateInstanceCache.h65 m_cache[i].key = NaN; in reset()
87 …CacheEntry& lookup(double d) { return m_cache[WTF::FloatHash<double>::hash(d) & (cacheSize - 1)]; } in lookup()
89 FixedArray<CacheEntry, cacheSize> m_cache; variable
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DNodeSequence.java59 private IteratorCache m_cache; field in NodeSequence
66 NodeVector nv = (m_cache != null) ? m_cache.getVector() : null; in getVector()
77 return m_cache; in getCache()
106 if (m_cache != null) { in cacheComplete()
107 complete = m_cache.isComplete(); in cacheComplete()
121 m_cache.setCacheComplete(true); in markCacheComplete()
544 if (oldNode != node && m_cache.useCount() > 1) { in setItem()
564 m_cache = newCache; in setItem()
631 if (m_cache != null) { in cloneWithReset()
637 m_cache.increaseUseCount(); in cloneWithReset()
[all …]
/external/webkit/Source/WebCore/rendering/svg/
DSVGResourcesCache.cpp37 deleteAllValues(m_cache); in ~SVGResourcesCache()
44 ASSERT(!m_cache.contains(object)); in addResourcesFromRenderObject()
57 m_cache.set(object, resources); in addResourcesFromRenderObject()
74 if (!m_cache.contains(object)) in removeResourcesFromRenderObject()
77 SVGResources* resources = m_cache.get(object); in removeResourcesFromRenderObject()
87 delete m_cache.take(object); in removeResourcesFromRenderObject()
108 if (!cache->m_cache.contains(renderer)) in cachedResourcesForRenderObject()
111 return cache->m_cache.get(renderer); in cachedResourcesForRenderObject()
162 HashMap<RenderObject*, SVGResources*>::iterator end = cache->m_cache.end(); in resourceDestroyed()
163 … for (HashMap<RenderObject*, SVGResources*>::iterator it = cache->m_cache.begin(); it != end; ++it) in resourceDestroyed()
DSVGResourcesCache.h60 HashMap<RenderObject*, SVGResources*> m_cache;
/external/webkit/Source/WebCore/page/
DGeolocation.h137 : m_cache(GeolocationPositionCache::instance()) in PositionCacheWrapper()
139 m_cache->addUser(); in PositionCacheWrapper()
143 m_cache->removeUser(); in ~PositionCacheWrapper()
145 …void setCachedPosition(Geoposition* cachedPosition) { m_cache->setCachedPosition(cachedPosition); } in setCachedPosition()
146 Geoposition* cachedPosition() { return m_cache->cachedPosition(); } in cachedPosition()
148 GeolocationPositionCache* m_cache;
/external/webkit/Source/JavaScriptCore/parser/
DSourceProvider.h46 , m_cache(cache ? cache : new SourceProviderCache) in m_url()
53 delete m_cache; in ~SourceProvider() local
67 SourceProviderCache* cache() const { return m_cache; } in cache()
75 SourceProviderCache* m_cache; variable
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebCache.cpp115 m_cache = new net::HttpCache(m_hostResolver.get(), in WebCache()
143 net::HttpNetworkSession* session = m_cache->GetSession(); in certTrustChangedImpl()
146 m_cache->CloseAllConnections(); in certTrustChangedImpl()
158 m_cache->CloseIdleConnections(); in closeIdleImpl()
168 int code = m_cache->GetBackend(&m_cacheBackend, &m_doomAllEntriesCallback); in clearImpl()
231 int code = m_cache->GetBackend(&m_cacheBackend, &m_openEntryCallback); in getEntryImpl()
DWebCache.h48 net::HttpCache* cache() { return m_cache.get(); } in cache()
71 OwnPtr<net::HttpCache> m_cache; variable
/external/emma/core/java12/com/vladium/emma/rt/
DClassPathProcessorST.java156 if (cacheClassDef && (m_cache != null)) in handleArchiveEntry()
161 m_cache.put (className, new ClassPathCacheEntry (bytes, srcURL)); in handleArchiveEntry()
256 if (cacheClassDef && (m_cache != null)) in handleFile()
261 m_cache.put (className, new ClassPathCacheEntry (bytes, srcURL)); in handleFile()
298 m_cache = cache; // can be null in ClassPathProcessorST()
382 private final Map /* classJavaName:String -> ClassPathCacheEntry */ m_cache; // can be null field in ClassPathProcessorST
DInstrClassLoader.java60 m_cache = cache; // can be null in InstrClassLoader()
181 final boolean useClassCache = (m_cache != null); in findClass()
182 …final ClassPathCacheEntry entry = useClassCache ? (ClassPathCacheEntry) m_cache.remove (name) : nu… in findClass()
447 private final Map /* classJavaName:String -> ClassPathCacheEntry */ m_cache; // can be null field in InstrClassLoader
DAppRunner.java741 … generator.process (mdataSnashot, cdataSnapshot, m_cache, m_properties); in run()
765 m_cache = null; in run()
796 m_cache = cache; in AppRunnerExitHook()
820 private SourcePathCache m_cache; field in AppRunner.AppRunnerExitHook
/external/emma/core/java12/com/vladium/emma/report/
DAbstractReportGenerator.java66 m_cache = cache; in initialize()
228 m_cache = null; in reset()
241 protected SourcePathCache m_cache; field in AbstractReportGenerator
/external/webkit/Source/WebCore/platform/graphics/texmap/
DTextureMapperNode.cpp135 if (!root->m_cache) in cache()
136 root->m_cache = new TextureMapperCache; in cache()
137 return root->m_cache; in cache()
285 , m_cache(0) in TextureMapperNode()
479 opt.cache = m_cache; in paint()
486 m_cache->purge(); in paint()
694 if (m_cache) in ~TextureMapperNode()
695 delete m_cache; in ~TextureMapperNode()
DTextureMapperNode.h248 TextureMapperCache* m_cache; variable
/external/emma/core/java12/com/vladium/emma/report/html/
DReportGenerator.java506 final boolean embedSrcFile = deeper && srcFileAvailable (item, m_cache); in visit()
594 embedSrcFile (item, page, lineAnchorIDMap, m_cache); in visit()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1625394 Fix for Bug 52427 - Inconsistent use of m_cache in CachedResourceLoader
25397 In constructor/destructor of CachedResourceLoader, m_cache has been
/external/webkit/Source/JavaScriptCore/
DChangeLog-2010-05-2415900 * runtime/DateInstance.h: Renamed m_cache to m_data, to avoid the confusion