Home
last modified time | relevance | path

Searched refs:ex_t (Results 1 – 7 of 7) sorted by relevance

/external/bsdiff/
Dextents_unittest.cc13 bool operator==(const struct ex_t& lhs, const struct ex_t& rhs) { in operator ==()
18 void PrintTo(const struct ex_t& extent, ::std::ostream* os) { in PrintTo()
24 std::vector<ex_t> extents_;
34 std::vector<ex_t> expected_values = {{10, 20}, {30, 40}}; in TEST_F()
42 std::vector<ex_t> extents; in TEST_F()
45 EXPECT_EQ(std::vector<ex_t>(), extents); in TEST_F()
52 std::vector<ex_t> expected_values = {{10, 20}, {-1, 40}, {50, 60}}; in TEST_F()
Dextents_file_unittest.cc73 {ex_t{10, 5}, ex_t{20, 5}, {25, 2}}); in TEST_F()
81 {ex_t{10, 5}, ex_t{20, 5}, {25, 2}}); in TEST_F()
112 {ex_t{10, 5}, ex_t{20, 7}, {27, 3}}); in TEST_F()
133 {ex_t{10, 5}, ex_t{20, 7}, {27, 3}}); in TEST_F()
158 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
174 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
188 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
196 ExtentsFile file(std::move(mock_file_ptr_), {ex_t{10, 1}, ex_t{20, 10}}); in TEST_F()
Dextents.cc68 static ssize_t extents_read(const char* ex_str, ex_t* ex_arr, size_t ex_count) { in extents_read()
79 MAX_ALLOWED(FIELD_TYPE(ex_t, off)), ':', false)) && in extents_read()
81 MAX_ALLOWED(FIELD_TYPE(ex_t, len)), ',', in extents_read()
93 bool ParseExtentStr(const char* ex_str, std::vector<ex_t>* extents) { in ParseExtentStr()
Dextents_file.h35 struct ex_t { struct
47 const std::vector<ex_t>& extents); argument
73 const std::vector<ex_t> extents_;
Dextents_file.cc21 const std::vector<ex_t>& extents) in ExtentsFile()
24 for (const ex_t& extent : extents) { in ExtentsFile()
88 const ex_t& ex = extents_[curr_ex_idx_]; in IOOperation()
Dextents.h19 bool ParseExtentStr(const char* ex_str, std::vector<ex_t>* extents);
Dbspatch.cc162 std::vector<ex_t> parsed_old_extents; in bspatch()
267 std::vector<ex_t> parsed_new_extents; in bspatch()