HomeSort by relevance Sort by last modified time
    Searched refs:ChunkRange (Results 1 - 12 of 12) sorted by null

  /external/chromium/chrome/browser/safe_browsing/
chunk_range.h 10 // this representation, and individual integer chunk numbers. The ChunkRange
21 // ChunkRange ------------------------------------------------------------------
22 // Each ChunkRange represents a continuous range of chunk numbers [start, stop].
24 class ChunkRange {
26 explicit ChunkRange(int start);
27 ChunkRange(int start, int stop);
28 ChunkRange(const ChunkRange& rhs);
33 bool operator==(const ChunkRange& rhs) const {
46 void RangesToChunks(const std::vector<ChunkRange>& ranges
    [all...]
chunk_range.cc 5 // Implementation of ChunkRange class.
16 ChunkRange::ChunkRange(int start) : start_(start), stop_(start) {
19 ChunkRange::ChunkRange(int start, int stop) : start_(start), stop_(stop) {
22 ChunkRange::ChunkRange(const ChunkRange& rhs)
55 void RangesToChunks(const std::vector<ChunkRange>& ranges,
59 const ChunkRange& range = ranges[i]
    [all...]
chunk_range_unittest.cc 92 std::vector<ChunkRange> ranges;
134 std::vector<ChunkRange> ranges;
135 ranges.push_back(ChunkRange(1, 4));
136 ranges.push_back(ChunkRange(17));
152 std::vector<ChunkRange> ranges;
protocol_parser_unittest.cc 357 EXPECT_TRUE(deletes[0].chunk_del[0] == ChunkRange(1, 7));
358 EXPECT_TRUE(deletes[0].chunk_del[1] == ChunkRange(43, 597));
359 EXPECT_TRUE(deletes[0].chunk_del[2] == ChunkRange(44444));
360 EXPECT_TRUE(deletes[0].chunk_del[3] == ChunkRange(99999));
363 EXPECT_TRUE(deletes[1].chunk_del[0] == ChunkRange(21, 27));
364 EXPECT_TRUE(deletes[1].chunk_del[1] == ChunkRange(42));
365 EXPECT_TRUE(deletes[1].chunk_del[2] == ChunkRange(171717));
    [all...]
safe_browsing_util.h 129 std::vector<ChunkRange> chunk_del;
safe_browsing_database_unittest.cc 271 chunk_delete.chunk_del.push_back(ChunkRange(chunk_id));
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
chunk_range.h 10 // this representation, and individual integer chunk numbers. The ChunkRange
20 // ChunkRange ------------------------------------------------------------------
21 // Each ChunkRange represents a continuous range of chunk numbers [start, stop].
23 class ChunkRange {
25 explicit ChunkRange(int start);
26 ChunkRange(int start, int stop);
27 ChunkRange(const ChunkRange& rhs);
32 bool operator==(const ChunkRange& rhs) const {
45 void RangesToChunks(const std::vector<ChunkRange>& ranges
    [all...]
chunk_range.cc 5 // Implementation of ChunkRange class.
16 ChunkRange::ChunkRange(int start) : start_(start), stop_(start) {
19 ChunkRange::ChunkRange(int start, int stop) : start_(start), stop_(stop) {
22 ChunkRange::ChunkRange(const ChunkRange& rhs)
55 void RangesToChunks(const std::vector<ChunkRange>& ranges,
59 const ChunkRange& range = ranges[i]
    [all...]
chunk_range_unittest.cc 92 std::vector<ChunkRange> ranges;
134 std::vector<ChunkRange> ranges;
135 ranges.push_back(ChunkRange(1, 4));
136 ranges.push_back(ChunkRange(17));
152 std::vector<ChunkRange> ranges;
protocol_parser_unittest.cc 354 EXPECT_TRUE(deletes[0].chunk_del[0] == ChunkRange(1, 7));
355 EXPECT_TRUE(deletes[0].chunk_del[1] == ChunkRange(43, 597));
356 EXPECT_TRUE(deletes[0].chunk_del[2] == ChunkRange(44444));
357 EXPECT_TRUE(deletes[0].chunk_del[3] == ChunkRange(99999));
360 EXPECT_TRUE(deletes[1].chunk_del[0] == ChunkRange(21, 27));
361 EXPECT_TRUE(deletes[1].chunk_del[1] == ChunkRange(42));
362 EXPECT_TRUE(deletes[1].chunk_del[2] == ChunkRange(171717));
    [all...]
safe_browsing_util.h 128 std::vector<ChunkRange> chunk_del;
safe_browsing_database_unittest.cc 284 chunk_delete.chunk_del.push_back(ChunkRange(chunk_id));
    [all...]

Completed in 190 milliseconds