Lines Matching refs:pItem

125     HashItem *pItem = &m_pData[lPos];  in GetObjectAt()  local
127 return pItem->IsUsed() ? pItem->GetObject() : NULL; in GetObjectAt()
224 HashItem *pItem = &m_pData[lPos]; in Insert() local
228 if (pItem->IsEmpty()) in Insert()
230 pItem->SetObject(Key, pObject); in Insert()
243 pItem = &m_pData[lPos]; in Insert()
245 if (pItem->IsEmpty()) in Insert()
247 pItem->SetObject(Key, pObject); in Insert()
266 pItem = &m_pData[lPos]; in Insert()
268 while(!pItem->IsEmpty()); in Insert()
270 pItem->SetObject(Key, pObject); in Insert()
285 HashItem *pItem = &m_pData[lPos]; in FindPos() local
287 if (pItem->IsUsed() in FindPos()
288 && pItem->GetKey() == Key) in FindPos()
290 return pItem; in FindPos()
295 if (pItem->IsDeleted() || pItem->IsUsed()) in FindPos()
298 pItem = &m_pData[lPos]; in FindPos()
300 if (pItem->IsUsed() in FindPos()
301 && pItem->GetKey() == Key) in FindPos()
303 return pItem; in FindPos()
308 if (pItem->IsDeleted() || pItem->IsUsed()) in FindPos()
318 pItem = &m_pData[lPos]; in FindPos()
320 bFound = pItem->IsUsed() in FindPos()
321 && pItem->GetKey() == Key; in FindPos()
323 bEnd = !(n<m_lSize || pItem->IsFree()); in FindPos()
327 return bFound ? pItem : NULL; in FindPos()
343 HashItem *pItem = FindPos(Key); in Find() local
345 if (pItem != NULL in Find()
346 && pItem->GetKey() == Key) in Find()
347 return pItem->GetObject(); in Find()
361 HashItem *pItem = FindPos(Key); in Delete() local
363 if (pItem != NULL in Delete()
364 && pItem->GetKey() == Key) in Delete()
366 void* pObject = pItem->GetObject(); in Delete()
371 pItem->Delete(); in Delete()
418 HashItem *pItem = &pOldData[i]; in SmartGrow() local
420 if (pItem->IsUsed()) in SmartGrow()
421 Insert(pItem->GetKey(),pItem->GetObject()); in SmartGrow()