Searched refs:hash_count (Results 1 – 5 of 5) sorted by relevance
134 bool ParseGetHashMetadata(size_t hash_count, in ParseGetHashMetadata() argument137 for (size_t i = 0; i < hash_count; ++i) { in ParseGetHashMetadata()151 (*full_hashes)[full_hashes->size() - hash_count + i].metadata.assign( in ParseGetHashMetadata()223 size_t hash_count; in ParseGetHash() local224 if (!base::StringToSizeT(hash_count_string, &hash_count)) in ParseGetHash()227 if (hash_len * hash_count > reader.length()) in ParseGetHash()232 reader.Advance(hash_len * hash_count); in ParseGetHash()233 if (has_metadata && !ParseGetHashMetadata(hash_count, &reader, NULL)) in ParseGetHash()238 for (size_t i = 0; i < hash_count; ++i) { in ParseGetHash()244 if (has_metadata && !ParseGetHashMetadata(hash_count, &reader, full_hashes)) in ParseGetHash()
78 const size_t hash_count = chunk->hashes().size() / hash_size; in ParseFrom() local79 if (hash_count * hash_size != chunk->hashes().size()) in ParseFrom()83 static_cast<size_t>(chunk->add_numbers_size()) != hash_count) { in ParseFrom()
36 size_t hash_count = size / base::kSHA1Length; in ReadFromBinaryFileOnFileThread() local37 host_hashes->resize(hash_count); in ReadFromBinaryFileOnFileThread()39 for (size_t i = 0; i < hash_count; i++) { in ReadFromBinaryFileOnFileThread()
294 uint32_t hash_count = 0; in Save() local300 ++hash_count; in Save()435 const uint32_t hash_count = m_header.hashes_count; in Find() local439 if (hash_idx < hash_count) in Find()441 for (; hash_idx < hash_count; ++hash_idx) in Find()
782 const uint32_t hash_count = m_header.hashes_count; in AppendAllDIEsThatMatchingRegex() local784 for (uint32_t offset_idx=0; offset_idx<hash_count; ++offset_idx) in AppendAllDIEsThatMatchingRegex()819 const uint32_t hash_count = m_header.hashes_count; in AppendAllDIEsInRange() local820 for (uint32_t offset_idx=0; offset_idx<hash_count; ++offset_idx) in AppendAllDIEsInRange()