Searched refs:hiter (Results 1 – 2 of 2) sorted by relevance
138 std::vector<SBAddFullHash>::const_iterator hiter = full_hashes.begin(); in GetCachedFullHashesForBrowse() local140 while (piter != prefix_hits.end() && hiter != full_hashes.end()) { in GetCachedFullHashesForBrowse()141 if (*piter < hiter->full_hash.prefix) { in GetCachedFullHashesForBrowse()143 } else if (hiter->full_hash.prefix < *piter) { in GetCachedFullHashesForBrowse()144 ++hiter; in GetCachedFullHashesForBrowse()147 expire_time.ToTimeT() < hiter->received) { in GetCachedFullHashesForBrowse()149 const int list_bit = GetListIdBit(hiter->chunk_id); in GetCachedFullHashesForBrowse()154 result.add_chunk_id = DecodeChunkId(hiter->chunk_id); in GetCachedFullHashesForBrowse()155 result.hash = hiter->full_hash; in GetCachedFullHashesForBrowse()160 ++hiter; in GetCachedFullHashesForBrowse()[all …]
51 for (std::deque<SBChunkHost>::iterator hiter = citer->hosts.begin(); in clear() local52 hiter != citer->hosts.end(); ++hiter) { in clear()53 if (hiter->entry) { in clear()54 hiter->entry->Destroy(); in clear()55 hiter->entry = NULL; in clear()