Home
last modified time | relevance | path

Searched refs:encoded_chunk_id (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_database.cc104 int GetListIdBit(const int encoded_chunk_id) { in GetListIdBit() argument
105 return encoded_chunk_id & 1; in GetListIdBit()
107 int DecodeChunkId(int encoded_chunk_id) { in DecodeChunkId() argument
108 return encoded_chunk_id >> 1; in DecodeChunkId()
821 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertAddChunk() local
822 if (store->CheckAddChunk(encoded_chunk_id)) in InsertAddChunk()
825 store->SetAddChunk(encoded_chunk_id); in InsertAddChunk()
830 store->WriteAddPrefix(encoded_chunk_id, chunk_data.PrefixAt(i)); in InsertAddChunk()
836 store->WriteAddHash(encoded_chunk_id, chunk_data.FullHashAt(i)); in InsertAddChunk()
852 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertSubChunk() local
[all …]