Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/safe_browsing/
Dprotocol_parser_unittest.cc14 std::string add_chunk("a:1:4:35\naaaax1111\0032222333344447777\00288889999"); in TEST() local
15 add_chunk[13] = '\0'; in TEST()
23 add_chunk.data(), in TEST()
24 static_cast<int>(add_chunk.length()), in TEST()
58 std::string add_chunk("a:1:32:69\naaaa"); in TEST() local
59 add_chunk.push_back(2); in TEST()
67 add_chunk.append(full_hash1.full_hash, 32); in TEST()
68 add_chunk.append(full_hash2.full_hash, 32); in TEST()
76 add_chunk.data(), in TEST()
77 static_cast<int>(add_chunk.length()), in TEST()
[all …]
Dsafe_browsing_util.cc116 return sub_prefixes_[index].add_chunk; in ChunkIdAtPrefix()
118 sub_full_hashes_[index].add_chunk : chunk_id(); in ChunkIdAtPrefix()
125 sub_prefixes_[index].add_chunk = chunk_id; in SetChunkIdAtPrefix()
127 sub_full_hashes_[index].add_chunk = chunk_id; in SetChunkIdAtPrefix()
Dsafe_browsing_util.h204 int add_chunk; member
210 int add_chunk; member