Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_database.cc55 int GetListIdBit(const int encoded_chunk_id) { in GetListIdBit() argument
56 return encoded_chunk_id & 1; in GetListIdBit()
58 int DecodeChunkId(int encoded_chunk_id) { in DecodeChunkId() argument
59 return encoded_chunk_id >> 1; in DecodeChunkId()
737 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertAdd() local
744 store->WriteAddPrefix(encoded_chunk_id, host); in InsertAdd()
750 store->WriteAddPrefix(encoded_chunk_id, prefix); in InsertAdd()
760 store->WriteAddPrefix(encoded_chunk_id, prefix); in InsertAdd()
763 store->WriteAddHash(encoded_chunk_id, receive_time, full_hash); in InsertAdd()
783 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertAddChunks() local
[all …]