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_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()
338 EXPECT_EQ(kAddChunk2, add_prefixes[0].chunk_id); in TEST()
342 EXPECT_EQ(kAddChunk1, add_hashes[0].chunk_id); in TEST()
344 EXPECT_EQ(kAddChunk1, add_hashes[1].chunk_id); in TEST()
[all …]
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.cc735 bool SafeBrowsingStoreFile::WriteAddPrefix(int32 chunk_id, SBPrefix prefix) { in WriteAddPrefix() argument
736 add_prefixes_.push_back(SBAddPrefix(chunk_id, prefix)); in WriteAddPrefix()
767 bool SafeBrowsingStoreFile::WriteAddHash(int32 chunk_id, in WriteAddHash() argument
769 add_hashes_.push_back(SBAddFullHash(chunk_id, full_hash)); in WriteAddHash()
773 bool SafeBrowsingStoreFile::WriteSubPrefix(int32 chunk_id, in WriteSubPrefix() argument
776 sub_prefixes_.push_back(SBSubPrefix(chunk_id, add_chunk_id, prefix)); in WriteSubPrefix()
780 bool SafeBrowsingStoreFile::WriteSubHash(int32 chunk_id, int32 add_chunk_id, in WriteSubHash() argument
782 sub_hashes_.push_back(SBSubFullHash(chunk_id, add_chunk_id, full_hash)); in WriteSubHash()
1188 void SafeBrowsingStoreFile::SetAddChunk(int32 chunk_id) { in SetAddChunk() argument
1189 add_chunks_cache_.insert(chunk_id); in SetAddChunk()
[all …]
Dsafe_browsing_store.cc84 if (del_set.count(iter->chunk_id) == 0) { in RemoveDeleted()
Dsafe_browsing_database.cc176 GetListIdBit(iter->chunk_id) == list_bit) { in MatchAddPrefixes()
814 const int chunk_id = chunk_data.ChunkNumber(); in InsertAddChunk() local
815 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertAddChunk()
845 const int chunk_id = chunk_data.ChunkNumber(); in InsertSubChunk() local
846 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertSubChunk()
Dsafe_browsing_database_unittest.cc253 int chunk_id, in DelChunk() argument
259 chunk_delete.chunk_del.push_back(ChunkRange(chunk_id)); in DelChunk()
264 void AddDelChunk(const std::string& list, int chunk_id) { in AddDelChunk() argument
265 DelChunk(list, chunk_id, false); in AddDelChunk()
268 void SubDelChunk(const std::string& list, int chunk_id) { in SubDelChunk() argument
269 DelChunk(list, chunk_id, true); in SubDelChunk()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_output.c7135 if (chk->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
7157 if (chk->rec.chunk_id.id == SCTP_ASCONF) {
7279 if ((chk->rec.chunk_id.id == SCTP_SELECTIVE_ACK) ||
7280 (chk->rec.chunk_id.id == SCTP_NR_SELECTIVE_ACK) || /* EY */
7281 (chk->rec.chunk_id.id == SCTP_HEARTBEAT_REQUEST) ||
7282 (chk->rec.chunk_id.id == SCTP_HEARTBEAT_ACK) ||
7283 (chk->rec.chunk_id.id == SCTP_FORWARD_CUM_TSN) ||
7284 (chk->rec.chunk_id.id == SCTP_SHUTDOWN) ||
7285 (chk->rec.chunk_id.id == SCTP_SHUTDOWN_ACK) ||
7286 (chk->rec.chunk_id.id == SCTP_OPERATION_ERROR) ||
[all …]
Dsctp_timer.c736 (chk->rec.chunk_id.id == SCTP_ECN_ECHO)) {
1042 if (cookie->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
1130 (chk->rec.chunk_id.id == SCTP_ECN_ECHO)) {
1210 (chk->rec.chunk_id.id == SCTP_ECN_ECHO)) {
Dsctp_structs.h479 struct chk_id chunk_id; member
Dsctp_input.c3268 if (chk->rec.chunk_id.id != SCTP_ECN_ECHO) {
3497 if (asconf->rec.chunk_id.id == SCTP_ASCONF) {
3547 if (cookie->rec.chunk_id.id == SCTP_COOKIE_ECHO) {
4212 chk->rec.chunk_id.id = SCTP_STREAM_RESET;
4213 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/
Dspaces.h1214 Page* InitializePagesInChunk(int chunk_id, int pages_in_chunk,