Lines Matching refs:entry
159 void destroy (Entry * entry);
211 void EntryCache::destroy (Entry * entry) in destroy() argument
213 if (entry != 0) in destroy()
216 entry->~Entry(); in destroy()
219 rtl_cache_free (m_entry_cache, entry); in destroy()
288 Entry * lookup_Impl (Entry * entry, sal_uInt32 nOffset);
352 Entry * entry = m_hash_table[i]; in ~PageCache_Impl() local
353 while (entry != 0) in ~PageCache_Impl()
355 m_hash_table[i] = entry->m_pNext, entry->m_pNext = 0; in ~PageCache_Impl()
356 EntryCache::get().destroy (entry); in ~PageCache_Impl()
357 entry = m_hash_table[i]; in ~PageCache_Impl()
427 Entry * PageCache_Impl::lookup_Impl (Entry * entry, sal_uInt32 nOffset) in lookup_Impl() argument
430 while (entry != 0) in lookup_Impl()
432 if (entry->m_nOffset == nOffset) in lookup_Impl()
436 entry = entry->m_pNext; in lookup_Impl()
446 return entry; in lookup_Impl()
454 Entry const * entry = lookup_Impl (m_hash_table[index], nOffset); in lookupPageAt_Impl() local
455 if (entry != 0) in lookupPageAt_Impl()
458 rxPage = entry->m_xPage; in lookupPageAt_Impl()
474 Entry * entry = EntryCache::get().create (rxPage, nOffset); in insertPageAt_Impl() local
475 if (entry != 0) in insertPageAt_Impl()
479 entry->m_pNext = m_hash_table[index], m_hash_table[index] = entry; in insertPageAt_Impl()
493 Entry * entry = lookup_Impl (m_hash_table[index], nOffset); in updatePageAt_Impl() local
494 if (entry != 0) in updatePageAt_Impl()
497 entry->m_xPage = rxPage; in updatePageAt_Impl()
514 Entry * entry = (*ppEntry); in removePageAt_Impl() local
517 (*ppEntry) = entry->m_pNext, entry->m_pNext = 0; in removePageAt_Impl()
518 EntryCache::get().destroy (entry); in removePageAt_Impl()