HomeSort by relevance Sort by last modified time
    Searched defs:chunk_id (Results 1 - 9 of 9) sorted by null

  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_store.h 25 // List of SBAddPrefix (chunk_id and SBPrefix).
26 // List of SBSubPrefix (chunk_id and the target SBAddPrefix).
28 // List of SBSubFullHash (chunk_id, target SBAddPrefix, and an SBFullHash).
45 int32 chunk_id; member in struct:SBAddPrefix
48 SBAddPrefix(int32 id, SBPrefix p) : chunk_id(id), prefix(p) {}
49 SBAddPrefix() : chunk_id(), prefix() {}
51 int32 GetAddChunkId() const { return chunk_id; }
56 int32 chunk_id; member in struct:SBSubPrefix
61 : chunk_id(id), add_chunk_id(add_id), add_prefix(prefix) {}
62 SBSubPrefix() : chunk_id(), add_chunk_id(), add_prefix() {
69 int32 chunk_id; member in struct:SBAddFullHash
91 int32 chunk_id; member in struct:SBSubFullHash
    [all...]
safe_browsing_util.h 160 void set_chunk_id(int chunk_id) { data_.chunk_id = chunk_id; }
161 int chunk_id() const { return data_.chunk_id; } function in class:SBEntry
189 void SetChunkIdAtPrefix(int index, int chunk_id);
222 int chunk_id; member in struct:SBEntry::Data
safe_browsing_service_browsertest.cc 385 int chunk_id = 0; local
386 GenUrlFullhashResult(url, safe_browsing_util::kMalwareList, chunk_id,
419 int chunk_id = 0; local
421 chunk_id, &malware_full_hash);
516 int chunk_id = 0; local
518 chunk_id, &full_hash_result);
543 int chunk_id = 0; local
545 chunk_id, &full_hash_result);
564 int chunk_id = 0; local
566 chunk_id, &full_hash_result)
581 int chunk_id = 0; local
614 int chunk_id = 0; local
    [all...]
safe_browsing_database.cc 49 // To save space, the incoming |chunk_id| and |list_id| are combined
53 // there should be better ways to save chunk_id and list_id after we use
149 const int list_bit = GetListIdBit(hiter->chunk_id);
154 result.add_chunk_id = DecodeChunkId(hiter->chunk_id);
670 GetListIdBit(add_prefixes[i].chunk_id) == list_bit) {
729 void SafeBrowsingDatabaseNew::InsertAdd(int chunk_id, SBPrefix host,
737 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id);
779 const int chunk_id = citer->chunk_number; local
783 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id);
792 InsertAdd(chunk_id, hiter->host, hiter->entry, list_id)
853 const int chunk_id = citer->chunk_number; local
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_store.h 25 // List of SBAddPrefix (chunk_id and SBPrefix).
26 // List of SBSubPrefix (chunk_id and the target SBAddPrefix).
28 // List of SBSubFullHash (chunk_id, target SBAddPrefix, and an SBFullHash).
45 int32 chunk_id; member in struct:SBAddPrefix
48 SBAddPrefix(int32 id, SBPrefix p) : chunk_id(id), prefix(p) {}
49 SBAddPrefix() : chunk_id(), prefix() {}
51 int32 GetAddChunkId() const { return chunk_id; }
58 int32 chunk_id; member in struct:SBSubPrefix
63 : chunk_id(id), add_chunk_id(add_id), add_prefix(prefix) {}
64 SBSubPrefix() : chunk_id(), add_chunk_id(), add_prefix() {
73 int32 chunk_id; member in struct:SBAddFullHash
95 int32 chunk_id; member in struct:SBSubFullHash
    [all...]
protocol_parser.cc 341 int chunk_id; local
342 if (!ReadChunkId(&chunk_data, &remaining, &chunk_id))
345 chunk_host.entry->set_chunk_id(chunk_id);
375 const char** data, int* remaining, int* chunk_id) {
378 DCHECK_EQ(sizeof(*chunk_id), 4u);
379 if (static_cast<size_t>(*remaining) < sizeof(*chunk_id))
381 memcpy(chunk_id, *data, sizeof(*chunk_id));
382 *data += sizeof(*chunk_id);
383 *remaining -= sizeof(*chunk_id);
394 int chunk_id; local
    [all...]
safe_browsing_util.h 183 void set_chunk_id(int chunk_id) { data_.chunk_id = chunk_id; }
184 int chunk_id() const { return data_.chunk_id; } function in class:SBEntry
212 void SetChunkIdAtPrefix(int index, int chunk_id);
245 int chunk_id; member in struct:SBEntry::Data
safe_browsing_database.cc 80 // To save space, the incoming |chunk_id| and |list_id| are combined
84 // there should be better ways to save chunk_id and list_id after we use
172 GetListIdBit(iter->chunk_id) == list_bit) {
208 const int list_bit = GetListIdBit(hiter->chunk_id);
215 result.add_chunk_id = DecodeChunkId(hiter->chunk_id);
791 void SafeBrowsingDatabaseNew::InsertAdd(int chunk_id, SBPrefix host,
799 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id);
842 const int chunk_id = citer->chunk_number; local
846 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id);
855 InsertAdd(chunk_id, hiter->host, hiter->entry, list_id)
917 const int chunk_id = citer->chunk_number; local
    [all...]
safe_browsing_service_browsertest.cc 478 int chunk_id = 0; local
479 GenUrlFullhashResult(url, safe_browsing_util::kMalwareList, chunk_id,
522 int chunk_id = 0; local
524 chunk_id, &malware_full_hash);
627 int chunk_id = 0; local
629 chunk_id, &full_hash_result);
654 int chunk_id = 0; local
656 chunk_id, &full_hash_result);
675 int chunk_id = 0; local
677 chunk_id, &full_hash_result)
692 int chunk_id = 0; local
723 int chunk_id = 0; local
    [all...]

Completed in 299 milliseconds