HomeSort by relevance Sort by last modified time
    Searched full:extents (Results 1 - 25 of 269) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/e2fsprogs/tests/f_extents/
name 1 basic extents support
  /external/e2fsprogs/tests/f_uninit_ext_past_eof/
name 1 fallocated extents after i_size
  /external/e2fsprogs/tests/f_extents2/
name 1 multiply claimed blocks in extents and other illegal extents
  /external/e2fsprogs/tests/f_uninit_ext_past_eof2/
name 1 fallocated extents after nonzero i_size and total extents > 4
  /external/e2fsprogs/tests/f_fast_symlink_extents/
name 1 fast symlink with extents flag set
  /system/update_engine/payload_generator/
extent_utils_unittest.cc 35 vector<Extent> extents; local
37 EXPECT_EQ(0U, extents.size());
38 AppendBlockToExtents(&extents, kSparseHole);
39 EXPECT_EQ(1U, extents.size());
40 AppendBlockToExtents(&extents, 0);
41 EXPECT_EQ(2U, extents.size());
42 AppendBlockToExtents(&extents, kSparseHole);
43 AppendBlockToExtents(&extents, kSparseHole);
45 ASSERT_EQ(3U, extents.size());
46 EXPECT_EQ(kSparseHole, extents[0].start_block())
56 vector<Extent> extents; local
66 google::protobuf::RepeatedPtrField<Extent> extents; local
97 vector<Extent> extents; local
108 vector<Extent> extents = { local
124 vector<Extent> extents = { local
    [all...]
extent_utils.h 26 // Utility functions for manipulating Extents and lists of blocks.
32 // into an arbitrary place in the extents.
33 void AppendBlockToExtents(std::vector<Extent>* extents, uint64_t block);
36 // can accept either type of collection of Extents.
43 // RepeatedPtrField) of Extents.
56 std::vector<uint64_t> ExpandExtents(const T& extents) {
58 for (size_t i = 0, e = static_cast<size_t>(extents.size()); i != e; ++i) {
59 const Extent extent = GetElement(extents, i);
72 // Stores all Extents in 'extents' into 'out'
    [all...]
graph_utils_unittest.cc 40 vector<Extent>& extents = graph[0].out_edges[1].extents; local
42 EXPECT_EQ(0U, extents.size());
43 AppendBlockToExtents(&extents, 0);
44 EXPECT_EQ(1U, extents.size());
45 AppendBlockToExtents(&extents, 1);
46 AppendBlockToExtents(&extents, 2);
47 EXPECT_EQ(1U, extents.size());
48 AppendBlockToExtents(&extents, 4);
50 EXPECT_EQ(2U, extents.size())
    [all...]
extent_utils.cc 38 void AppendBlockToExtents(vector<Extent>* extents, uint64_t block) {
39 // First try to extend the last extent in |extents|, if any.
40 if (!extents->empty()) {
41 Extent& extent = extents->back();
53 extents->push_back(new_extent);
67 google::protobuf::RepeatedPtrField<Extent>* extents,
71 ExtentsToVector(*extents, &extents_vector);
77 extents->Clear();
78 StoreExtents(extents_vector, extents);
81 // Stores all Extents in 'extents' into 'out'
    [all...]
ext2_filesystem_unittest.cc 51 // Checks that all the blocks in |extents| are in the range [0, total_blocks).
52 void ExpectBlocksInRange(const vector<Extent>& extents, uint64_t total_blocks) {
53 for (const Extent& extent : extents) {
91 ExpectBlocksInRange(file.extents, fs->GetBlockCount());
94 EXPECT_FALSE(map_files["<free-space>"].extents.empty());
122 ExpectBlocksInRange(file.extents, fs->GetBlockCount());
158 EXPECT_TRUE(map_files["/link-short_symlink"].extents.empty());
159 EXPECT_EQ(1U, BlocksInExtents(map_files["/link-long_symlink"].extents));
162 EXPECT_EQ(map_files["/link-hard-regular-16k"].extents,
163 map_files["/regular-16k"].extents);
    [all...]
extent_ranges.h 28 // An ExtentRanges object represents an unordered collection of extents (and
31 // ignores sparse hole extents mostly to avoid confusion between extending a
54 void AddExtents(const std::vector<Extent>& extents);
55 void SubtractExtents(const std::vector<Extent>& extents);
75 // Returns an ordered vector of extents for |count| blocks,
76 // using extents in extent_set_. The returned extents are not
86 // Filters out from the passed list of extents |extents| all the blocks in the
87 // ExtentRanges set. Note that the order of the blocks in |extents| is preserve
    [all...]
fake_filesystem.cc 42 const std::vector<Extent> extents) {
45 file.extents = extents;
46 for (const Extent& extent : extents) {
graph_types.h 38 // Read-before extents. I.e., blocks in |extents| must be read by the
41 std::vector<Extent> extents; member in struct:chromeos_update_engine::EdgeProperties
43 // Write before extents. I.e., blocks in |write_extents| must be written
49 return extents == that.extents && write_extents == that.write_extents;
  /external/e2fsprogs/tests/m_extent_journal/
script 3 MKE2FS_OPTS="-O extents -j"
  /external/fio/
cairo_text_helpers.c 13 cairo_text_extents_t extents; local
33 cairo_text_extents(cr, text, &extents);
34 x = x + direction * (factor * extents.width + extents.x_bearing);
35 y = y - (extents.height / 2 + extents.y_bearing);
66 cairo_text_extents_t extents; local
71 cairo_text_extents(cr, text, &extents);
74 y = y + (extents.width / 2.0 + extents.x_bearing)
    [all...]
  /external/e2fsprogs/tests/m_desc_size_128/
script 3 MKE2FS_OPTS="-b 1024 -O 64bit,extents -g 1024 -N 8192 -E desc_size=128"
  /external/bsdiff/
bspatch_main.cc 11 "usage: %s oldfile newfile patchfile [old-extents new-extents]\n" \
12 "with extents taking the form \"off_1:len_1,...,off_n:len_n\"\n"
extents.cc 5 #include "extents.h"
62 /* Reads a comma-separated list of "offset:length" extents from |ex_str|. If
64 * extents until the end of the string is reached. Otherwise, stores up to
65 * |ex_count| extents into |ex_arr|, which must be of at least this size.
66 * Returns the number of correctly parsed extents, or -1 if a malformed extent
93 bool ParseExtentStr(const char* ex_str, std::vector<ex_t>* extents) {
98 /* Parse string and count extents. */
104 extents->resize(ret);
106 return true; // No extents, nothing to do.
109 extents_read(ex_str, extents->data(), extents->size())
    [all...]
extents_file.h 19 * indirection layer of extents, which are contiguous chunks of variable length
23 * implementation supports "sparse extents", which are assumed to contain zeros
43 // in the ExtentsFile will be linearly mapped to the extents provided in
44 // |extents|. The created ExtentsFile takes ownership of the |file| will close
47 const std::vector<ex_t>& extents);
72 // The list of extents mapping this instance to |file_|.
75 // The accumulated length of the extents. The i-th element contains the sum of
76 // the length of all the extents from 0 up to but not including the i-th
86 // Total length of all extents (constant).
Makefile 35 extents.o \
63 bspatch.o: bspatch.cc bspatch.h extents.h extents_file.h file_interface.h \
66 extents.o: extents.cc extents.h extents_file.h file_interface.h
70 extents_unittest.o: extents_unittest.cc extents.h extents_file.h \
extents.h 14 // Parses a string representation |ex_str| and populates the vector |extents|
19 bool ParseExtentStr(const char* ex_str, std::vector<ex_t>* extents);
extents_unittest.cc 5 #include "extents.h"
42 std::vector<ex_t> extents; local
43 EXPECT_FALSE(ParseExtentStr(test_case, &extents)) << "while testing case \""
45 EXPECT_EQ(std::vector<ex_t>(), extents); local
  /system/update_engine/payload_consumer/
extent_writer_unittest.cc 68 vector<Extent> extents; local
72 extents.push_back(extent);
77 EXPECT_TRUE(direct_writer.Init(fd_, extents, kBlockSize));
94 vector<Extent> extents; local
98 extents.push_back(extent);
101 EXPECT_TRUE(direct_writer.Init(fd_, extents, kBlockSize));
120 vector<Extent> extents; local
124 extents.push_back(extent);
127 extents.push_back(extent);
130 extents.push_back(extent)
175 vector<Extent> extents; local
219 vector<Extent> extents; local
    [all...]
  /external/harfbuzz_ng/src/
hb-font-private.hh 166 inline hb_bool_t get_font_h_extents (hb_font_extents_t *extents)
168 memset (extents, 0, sizeof (*extents));
170 extents,
173 inline hb_bool_t get_font_v_extents (hb_font_extents_t *extents)
175 memset (extents, 0, sizeof (*extents));
177 extents,
252 hb_glyph_extents_t *extents)
254 memset (extents, 0, sizeof (*extents))
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
ItemLocationBox.java 158 public Item createItem(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset, List<Extent> extents) {
159 return new Item(itemId, constructionMethod, dataReferenceIndex, baseOffset, extents);
171 public List<Extent> extents = new LinkedList<Extent>(); field in class:ItemLocationBox.Item
191 extents.add(new Extent(in));
195 public Item(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset, List<Extent> extents) {
200 this.extents = extents;
215 for (Extent extent : extents) {
237 IsoTypeWriter.writeUInt16(bb, extents.size());
239 for (Extent extent : extents) {
    [all...]

Completed in 691 milliseconds

1 2 3 4 5 6 7 8 91011