Lines Matching refs:pItem

129     HashItem *pItem = &m_pData[lPos];  in GetObjectAt()  local
131 return pItem->IsUsed() ? pItem->GetObject() : NULL; in GetObjectAt()
228 HashItem *pItem = &m_pData[lPos]; in Insert() local
232 if (pItem->IsEmpty()) in Insert()
234 pItem->SetObject(Key, pObject); in Insert()
247 pItem = &m_pData[lPos]; in Insert()
249 if (pItem->IsEmpty()) in Insert()
251 pItem->SetObject(Key, pObject); in Insert()
270 pItem = &m_pData[lPos]; in Insert()
272 while(!pItem->IsEmpty()); in Insert()
274 pItem->SetObject(Key, pObject); in Insert()
289 HashItem *pItem = &m_pData[lPos]; in FindPos() local
291 if (pItem->IsUsed() in FindPos()
292 && pItem->GetKey() == Key) in FindPos()
294 return pItem; in FindPos()
299 if (pItem->IsDeleted() || pItem->IsUsed()) in FindPos()
302 pItem = &m_pData[lPos]; in FindPos()
304 if (pItem->IsUsed() in FindPos()
305 && pItem->GetKey() == Key) in FindPos()
307 return pItem; in FindPos()
312 if (pItem->IsDeleted() || pItem->IsUsed()) in FindPos()
322 pItem = &m_pData[lPos]; in FindPos()
324 bFound = pItem->IsUsed() in FindPos()
325 && pItem->GetKey() == Key; in FindPos()
327 bEnd = !(n<m_lSize || pItem->IsFree()); in FindPos()
331 return bFound ? pItem : NULL; in FindPos()
347 HashItem *pItem = FindPos(Key); in Find() local
349 if (pItem != NULL in Find()
350 && pItem->GetKey() == Key) in Find()
351 return pItem->GetObject(); in Find()
365 HashItem *pItem = FindPos(Key); in Delete() local
367 if (pItem != NULL in Delete()
368 && pItem->GetKey() == Key) in Delete()
370 void* pObject = pItem->GetObject(); in Delete()
375 pItem->Delete(); in Delete()
422 HashItem *pItem = &pOldData[i]; in SmartGrow() local
424 if (pItem->IsUsed()) in SmartGrow()
425 Insert(pItem->GetKey(),pItem->GetObject()); in SmartGrow()