Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store.h47 int32 chunk_id; member
50 SBAddPrefix(int32 id, SBPrefix p) : chunk_id(id), prefix(p) {} in SBAddPrefix()
51 SBAddPrefix() : chunk_id(), prefix() {} in SBAddPrefix()
53 int32 GetAddChunkId() const { return chunk_id; } in GetAddChunkId()
62 int32 chunk_id; member
67 : chunk_id(id), add_chunk_id(add_id), add_prefix(prefix) {} in SBSubPrefix()
68 SBSubPrefix() : chunk_id(), add_chunk_id(), add_prefix() {} in SBSubPrefix()
77 int32 chunk_id; member
84 : chunk_id(id), deprecated_received(), full_hash(h) {} in SBAddFullHash()
86 SBAddFullHash() : chunk_id(), deprecated_received(), full_hash() {} in SBAddFullHash()
[all …]
Dsafe_browsing_store_file.h144 virtual bool WriteAddPrefix(int32 chunk_id, SBPrefix prefix) OVERRIDE;
145 virtual bool WriteAddHash(int32 chunk_id,
147 virtual bool WriteSubPrefix(int32 chunk_id,
149 virtual bool WriteSubHash(int32 chunk_id, int32 add_chunk_id,
159 virtual void SetAddChunk(int32 chunk_id) OVERRIDE;
160 virtual bool CheckAddChunk(int32 chunk_id) OVERRIDE;
162 virtual void SetSubChunk(int32 chunk_id) OVERRIDE;
163 virtual bool CheckSubChunk(int32 chunk_id) OVERRIDE;
166 virtual void DeleteAddChunk(int32 chunk_id) OVERRIDE;
167 virtual void DeleteSubChunk(int32 chunk_id) OVERRIDE;
Dsafe_browsing_store_file_unittest.cc190 EXPECT_EQ(kAddChunk2, add_full_hashes_result[0].chunk_id); in TEST_F()
275 EXPECT_EQ(kAddChunk2, add_full_hashes_result[0].chunk_id); in TEST_F()
298 EXPECT_EQ(kAddChunk2, add_full_hashes_result[0].chunk_id); in TEST_F()
322 EXPECT_EQ(kAddChunk2, add_full_hashes_result[0].chunk_id); in TEST_F()
388 EXPECT_EQ(kAddChunk3, add_full_hashes_result[0].chunk_id); in TEST_F()
653 EXPECT_EQ(kAddChunk1, add_prefixes[0].chunk_id); in TEST_F()
655 EXPECT_EQ(kAddChunk1, add_prefixes[1].chunk_id); in TEST_F()
661 EXPECT_EQ(kAddChunk2, add_hashes[0].chunk_id); in TEST_F()
678 int chunk_id = 1; in TEST_F() local
686 store_->SetAddChunk(chunk_id); in TEST_F()
[all …]
Dsafe_browsing_store_file.cc633 bool SafeBrowsingStoreFile::WriteAddPrefix(int32 chunk_id, SBPrefix prefix) { in WriteAddPrefix() argument
634 add_prefixes_.push_back(SBAddPrefix(chunk_id, prefix)); in WriteAddPrefix()
665 bool SafeBrowsingStoreFile::WriteAddHash(int32 chunk_id, in WriteAddHash() argument
667 add_hashes_.push_back(SBAddFullHash(chunk_id, full_hash)); in WriteAddHash()
671 bool SafeBrowsingStoreFile::WriteSubPrefix(int32 chunk_id, in WriteSubPrefix() argument
674 sub_prefixes_.push_back(SBSubPrefix(chunk_id, add_chunk_id, prefix)); in WriteSubPrefix()
678 bool SafeBrowsingStoreFile::WriteSubHash(int32 chunk_id, int32 add_chunk_id, in WriteSubHash() argument
680 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash)); in WriteSubHash()
1064 void SafeBrowsingStoreFile::SetAddChunk(int32 chunk_id) { in SetAddChunk() argument
1065 add_chunks_cache_.insert(chunk_id); in SetAddChunk()
[all …]
Dsafe_browsing_store_unittest.cc215 EXPECT_EQ(kAddChunk7, add_prefixes[0].chunk_id); in TEST()
219 EXPECT_EQ(kAddChunk5, add_hashes[0].chunk_id); in TEST()
221 EXPECT_EQ(kAddChunk6, add_hashes[1].chunk_id); in TEST()
225 EXPECT_EQ(kSubChunk4, sub_prefixes[0].chunk_id); in TEST()
230 EXPECT_EQ(kSubChunk3, sub_hashes[0].chunk_id); in TEST()
272 EXPECT_EQ(kAddChunk1, add_prefixes[0].chunk_id); in TEST()
276 EXPECT_EQ(kAddChunk1, add_hashes[0].chunk_id); in TEST()
Dsafe_browsing_store.cc83 if (del_set.count(iter->chunk_id) == 0) { in RemoveDeleted()
Dsafe_browsing_database.cc186 GetListIdBit(iter->chunk_id) == list_bit) { in MatchAddPrefixes()
820 const int chunk_id = chunk_data.ChunkNumber(); in InsertAddChunk() local
821 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertAddChunk()
851 const int chunk_id = chunk_data.ChunkNumber(); in InsertSubChunk() local
852 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertSubChunk()
Dsafe_browsing_database_unittest.cc282 int chunk_id, in DelChunk() argument
288 chunk_delete.chunk_del.push_back(ChunkRange(chunk_id)); in DelChunk()
293 void AddDelChunk(const std::string& list, int chunk_id) { in AddDelChunk() argument
294 DelChunk(list, chunk_id, false); in AddDelChunk()
297 void SubDelChunk(const std::string& list, int chunk_id) { in SubDelChunk() argument
298 DelChunk(list, chunk_id, true); in SubDelChunk()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_output.c7325 if (chk->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
7347 if (chk->rec.chunk_id.id == SCTP_ASCONF) {
7469 if ((chk->rec.chunk_id.id == SCTP_SELECTIVE_ACK) ||
7470 (chk->rec.chunk_id.id == SCTP_NR_SELECTIVE_ACK) || /* EY */
7471 (chk->rec.chunk_id.id == SCTP_HEARTBEAT_REQUEST) ||
7472 (chk->rec.chunk_id.id == SCTP_HEARTBEAT_ACK) ||
7473 (chk->rec.chunk_id.id == SCTP_FORWARD_CUM_TSN) ||
7474 (chk->rec.chunk_id.id == SCTP_SHUTDOWN) ||
7475 (chk->rec.chunk_id.id == SCTP_SHUTDOWN_ACK) ||
7476 (chk->rec.chunk_id.id == SCTP_OPERATION_ERROR) ||
[all …]
Dsctp_timer.c738 (chk->rec.chunk_id.id == SCTP_ECN_ECHO)) {
1044 if (cookie->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
1132 (chk->rec.chunk_id.id == SCTP_ECN_ECHO)) {
1212 (chk->rec.chunk_id.id == SCTP_ECN_ECHO)) {
Dsctp_structs.h479 struct chk_id chunk_id; member
Dsctp_input.c3261 if (chk->rec.chunk_id.id != SCTP_ECN_ECHO) {
3490 if (asconf->rec.chunk_id.id == SCTP_ASCONF) {
3540 if (cookie->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
4205 chk->rec.chunk_id.id = SCTP_STREAM_RESET;
4206 chk->rec.chunk_id.can_take_data = 0;
/external/chromium_org/tools/perf/page_sets/endure/
Dindexeddb_app_worker.js58 var chunk_id = nextChunkID;
70 chunkid: chunk_id,
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c116 csc->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in radeon_init_cs_context()
119 csc->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in radeon_init_cs_context()
122 csc->chunks[2].chunk_id = RADEON_CHUNK_ID_FLAGS; in radeon_init_cs_context()
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c116 csc->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in radeon_init_cs_context()
119 csc->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in radeon_init_cs_context()
122 csc->chunks[2].chunk_id = RADEON_CHUNK_ID_FLAGS; in radeon_init_cs_context()
/external/kernel-headers/original/uapi/drm/
Dradeon_drm.h926 uint32_t chunk_id; member
/external/chromium_org/v8/src/heap/
Dspaces.h1145 Page* InitializePagesInChunk(int chunk_id, int pages_in_chunk,