HomeSort by relevance Sort by last modified time
    Searched full:chunk_id (Results 1 - 25 of 31) sorted by null

1 2

  /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_store_file.h 32 // int32 chunk_id;
35 // int32 chunk_id;
38 // int32 chunk_id;
42 // int32 chunk_id;
47 // int32 chunk_id;
51 // int32 chunk_id;
69 // int32 chunk_id;
73 // int32 chunk_id;
78 // int32 chunk_id;
83 // int32 chunk_id;
    [all...]
safe_browsing_store_unittest_helper.cc 102 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
104 EXPECT_EQ(kAddChunk1, add_prefixes_result[1].chunk_id);
108 EXPECT_EQ(kAddChunk1, add_full_hashes_result[0].chunk_id);
137 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
139 EXPECT_EQ(kAddChunk1, add_prefixes_result[1].chunk_id);
143 EXPECT_EQ(kAddChunk1, add_full_hashes_result[0].chunk_id);
176 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
195 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
214 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
216 EXPECT_EQ(kAddChunk3, add_prefixes_result[1].chunk_id);
    [all...]
safe_browsing_store_file.cc 282 bool SafeBrowsingStoreFile::WriteAddPrefix(int32 chunk_id, SBPrefix prefix) {
283 add_prefixes_.push_back(SBAddPrefix(chunk_id, prefix));
334 bool SafeBrowsingStoreFile::WriteAddHash(int32 chunk_id,
337 add_hashes_.push_back(SBAddFullHash(chunk_id, receive_time, full_hash));
341 bool SafeBrowsingStoreFile::WriteSubPrefix(int32 chunk_id,
344 sub_prefixes_.push_back(SBSubPrefix(chunk_id, add_chunk_id, prefix));
348 bool SafeBrowsingStoreFile::WriteSubHash(int32 chunk_id, int32 add_chunk_id,
350 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash));
697 void SafeBrowsingStoreFile::SetAddChunk(int32 chunk_id) {
698 add_chunks_cache_.insert(chunk_id);
    [all...]
safe_browsing_store_unittest.cc 13 // chunk_id then prefix.
75 // chunk_id doesn't matter.
173 EXPECT_EQ(kAddChunk1, add_prefixes[0].chunk_id);
177 EXPECT_EQ(kAddChunk1, add_hashes[0].chunk_id);
181 EXPECT_EQ(kSubChunk1, sub_prefixes[0].chunk_id);
186 EXPECT_EQ(kSubChunk1, sub_hashes[0].chunk_id);
241 EXPECT_EQ(kSubChunk1, sub_prefixes[0].chunk_id);
246 EXPECT_EQ(kSubChunk1, sub_hashes[0].chunk_id);
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...]
safe_browsing_store.cc 107 // Remove deleted items (|chunk_id| in |del_set|) from the vector.
116 if (del_set.count(iter->chunk_id) == 0) {
safe_browsing_util.cc 118 sub_full_hashes_[index].add_chunk : chunk_id();
121 void SBEntry::SetChunkIdAtPrefix(int index, int chunk_id) {
125 sub_prefixes_[index].add_chunk = chunk_id;
127 sub_full_hashes_[index].add_chunk = chunk_id;
  /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...]
safe_browsing_store_file.h 31 // int32 chunk_id;
34 // int32 chunk_id;
37 // int32 chunk_id;
41 // int32 chunk_id;
46 // int32 chunk_id;
50 // int32 chunk_id;
68 // int32 chunk_id;
72 // int32 chunk_id;
77 // int32 chunk_id;
82 // int32 chunk_id;
    [all...]
safe_browsing_store_unittest_helper.cc 97 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
99 EXPECT_EQ(kAddChunk1, add_prefixes_result[1].chunk_id);
103 EXPECT_EQ(kAddChunk1, add_full_hashes_result[0].chunk_id);
131 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
133 EXPECT_EQ(kAddChunk1, add_prefixes_result[1].chunk_id);
137 EXPECT_EQ(kAddChunk1, add_full_hashes_result[0].chunk_id);
168 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
186 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
204 EXPECT_EQ(kAddChunk1, add_prefixes_result[0].chunk_id);
206 EXPECT_EQ(kAddChunk3, add_prefixes_result[1].chunk_id);
    [all...]
protocol_parser.cc 346 int chunk_id; local
347 if (!ReadChunkId(&chunk_data, &remaining, &chunk_id))
350 chunk_host.entry->set_chunk_id(chunk_id);
380 const char** data, int* remaining, int* chunk_id) {
383 DCHECK_EQ(sizeof(*chunk_id), 4u);
384 if (static_cast<size_t>(*remaining) < sizeof(*chunk_id))
386 memcpy(chunk_id, *data, sizeof(*chunk_id));
387 *data += sizeof(*chunk_id);
388 *remaining -= sizeof(*chunk_id);
399 int chunk_id; local
    [all...]
safe_browsing_store_unittest.cc 13 // chunk_id then prefix.
75 // chunk_id doesn't matter.
186 EXPECT_EQ(kAddChunk1, add_prefixes[0].chunk_id);
188 EXPECT_EQ(kAddChunk1, add_prefixes[1].chunk_id);
193 EXPECT_EQ(kAddChunk1, add_hashes[0].chunk_id);
195 EXPECT_EQ(kAddChunk1, add_hashes[1].chunk_id);
200 EXPECT_EQ(kSubChunk1, sub_prefixes[0].chunk_id);
206 EXPECT_EQ(kSubChunk1, sub_hashes[0].chunk_id);
261 EXPECT_EQ(kSubChunk1, sub_prefixes[0].chunk_id);
266 EXPECT_EQ(kSubChunk1, sub_hashes[0].chunk_id);
    [all...]
safe_browsing_store_file.cc 287 bool SafeBrowsingStoreFile::WriteAddPrefix(int32 chunk_id, SBPrefix prefix) {
288 add_prefixes_.push_back(SBAddPrefix(chunk_id, prefix));
338 bool SafeBrowsingStoreFile::WriteAddHash(int32 chunk_id,
341 add_hashes_.push_back(SBAddFullHash(chunk_id, receive_time, full_hash));
345 bool SafeBrowsingStoreFile::WriteSubPrefix(int32 chunk_id,
348 sub_prefixes_.push_back(SBSubPrefix(chunk_id, add_chunk_id, prefix));
352 bool SafeBrowsingStoreFile::WriteSubHash(int32 chunk_id, int32 add_chunk_id,
354 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash));
693 void SafeBrowsingStoreFile::SetAddChunk(int32 chunk_id) {
694 add_chunks_cache_.insert(chunk_id);
    [all...]
safe_browsing_service_browsertest.cc 498 int chunk_id = 0; local
499 GenUrlFullhashResult(url, safe_browsing_util::kMalwareList, chunk_id,
519 int chunk_id = 0; local
520 GenUrlFullhashResult(url, safe_browsing_util::kMalwareList, chunk_id,
580 int chunk_id = 0; local
582 chunk_id, &malware_full_hash);
687 int chunk_id = 0; local
689 chunk_id, &full_hash_result);
714 int chunk_id = 0; local
716 chunk_id, &full_hash_result)
735 int chunk_id = 0; local
752 int chunk_id = 0; local
783 int chunk_id = 0; local
    [all...]
safe_browsing_util.h 187 void set_chunk_id(int chunk_id) { data_.chunk_id = chunk_id; }
188 int chunk_id() const { return data_.chunk_id; } function in class:SBEntry
216 void SetChunkIdAtPrefix(int index, int chunk_id);
249 int chunk_id; member in struct:SBEntry::Data
safe_browsing_store.cc 106 // Remove deleted items (|chunk_id| in |del_set|) from the container.
115 if (del_set.count(iter->chunk_id) == 0) {
protocol_parser.h 103 static bool ReadChunkId(const char** data, int* remaining, int* chunk_id);
safe_browsing_database.cc 91 // To save space, the incoming |chunk_id| and |list_id| are combined
95 // there should be better ways to save chunk_id and list_id after we use
183 GetListIdBit(iter->chunk_id) == list_bit) {
219 const int list_bit = GetListIdBit(hiter->chunk_id);
226 result.add_chunk_id = DecodeChunkId(hiter->chunk_id);
930 const int chunk_id = citer->chunk_number; local
1005 const int chunk_id = citer->chunk_number; local
    [all...]
safe_browsing_util.cc 110 sub_full_hashes_[index].add_chunk : chunk_id();
113 void SBEntry::SetChunkIdAtPrefix(int index, int chunk_id) {
117 sub_prefixes_[index].add_chunk = chunk_id;
119 sub_full_hashes_[index].add_chunk = chunk_id;
  /external/chromium_org/tools/perf/page_sets/endure/
indexeddb_app_worker.js 58 var chunk_id = nextChunkID;
70 chunkid: chunk_id,
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/
radeon_drm_cs.c 116 csc->chunks[0].chunk_id = RADEON_CHUNK_ID_IB;
119 csc->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS;
122 csc->chunks[2].chunk_id = RADEON_CHUNK_ID_FLAGS;
  /external/mesa3d/src/gallium/winsys/radeon/drm/
radeon_drm_cs.c 116 csc->chunks[0].chunk_id = RADEON_CHUNK_ID_IB;
119 csc->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS;
122 csc->chunks[2].chunk_id = RADEON_CHUNK_ID_FLAGS;

Completed in 228 milliseconds

1 2