Home
last modified time | relevance | path

Searched refs:extent (Results 1 – 25 of 152) sorted by relevance

1234567

/external/e2fsprogs/resize/
Dextent.c39 ext2_extent extent; in ext2fs_create_extent_table() local
42 retval = ext2fs_get_mem(sizeof(struct _ext2_extent), &extent); in ext2fs_create_extent_table()
45 memset(extent, 0, sizeof(struct _ext2_extent)); in ext2fs_create_extent_table()
47 extent->size = size ? size : 50; in ext2fs_create_extent_table()
48 extent->cursor = 0; in ext2fs_create_extent_table()
49 extent->num = 0; in ext2fs_create_extent_table()
50 extent->sorted = 1; in ext2fs_create_extent_table()
53 extent->size, &extent->list); in ext2fs_create_extent_table()
55 ext2fs_free_mem(&extent); in ext2fs_create_extent_table()
58 memset(extent->list, 0, in ext2fs_create_extent_table()
[all …]
Dtest_extent.c26 ext2_extent extent = 0; in do_test() local
68 retval = ext2fs_create_extent_table(&extent, num1); in do_test()
77 if (!extent) { in do_test()
82 ext2fs_free_extent_table(extent); in do_test()
83 extent = 0; in do_test()
85 retval = ext2fs_add_extent_entry(extent, num1, num2); in do_test()
89 num2 = ext2fs_extent_translate(extent, num1); in do_test()
93 ext2fs_extent_dump(extent, out); in do_test()
95 retval = ext2fs_iterate_extent(extent, 0, 0, 0); in do_test()
99 retval = ext2fs_iterate_extent(extent, in do_test()
Dresize2fs.h139 extern void ext2fs_free_extent_table(ext2_extent extent);
140 extern errcode_t ext2fs_add_extent_entry(ext2_extent extent,
142 extern __u32 ext2fs_extent_translate(ext2_extent extent, __u32 old_loc);
143 extern void ext2fs_extent_dump(ext2_extent extent, FILE *out);
144 extern errcode_t ext2fs_iterate_extent(ext2_extent extent, __u32 *old_loc,
DMakefile.in19 RESIZE_OBJS= extent.o resize2fs.o main.o online.o sim_progress.o
21 TEST_EXTENT_OBJS= extent.o test_extent.o
23 SRCS= $(srcdir)/extent.c \
147 extent.o: $(srcdir)/extent.c $(srcdir)/resize2fs.h \
/external/e2fsprogs/lib/ext2fs/
Dextent.c103 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
108 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
109 extent->e_len, extent->e_pblk); in dbg_print_extent()
110 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
112 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
114 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
116 if (!extent->e_flags) in dbg_print_extent()
281 int flags, struct ext2fs_extent *extent) in ext2fs_extent_get() argument
497 extent->e_flags = 0; in ext2fs_extent_get()
505 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get()
[all …]
Dextent_dbg.ct10 request do_current_node, "Current extent node",
13 request do_root_node, "Goto root extent",
67 request do_goto_block, "Goto extent containing specified block",
70 request do_info, "Print extent info",
Dbmap.c160 struct ext2fs_extent extent; in ext2fs_bmap2() local
178 retval = ext2fs_extent_get(handle, EXT2_EXTENT_CURRENT, &extent); in ext2fs_bmap2()
181 offset = block - extent.e_lblk; in ext2fs_bmap2()
182 if (block >= extent.e_lblk && (offset <= extent.e_len)) { in ext2fs_bmap2()
183 *phys_blk = extent.e_pblk + offset; in ext2fs_bmap2()
184 if (ret_flags && extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) in ext2fs_bmap2()
Dblock.c363 struct ext2fs_extent extent; in ext2fs_block_iterate2() local
375 ctx.errcode = ext2fs_extent_get(handle, op, &extent); in ext2fs_block_iterate2()
403 blk = extent.e_pblk; in ext2fs_block_iterate2()
404 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in ext2fs_block_iterate2()
407 if ((!(extent.e_flags & in ext2fs_block_iterate2()
410 ((extent.e_flags & in ext2fs_block_iterate2()
416 extent.e_pblk = blk; in ext2fs_block_iterate2()
418 ext2fs_extent_replace(handle, 0, &extent); in ext2fs_block_iterate2()
426 if (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) in ext2fs_block_iterate2()
428 for (blockcnt = extent.e_lblk, j = 0; in ext2fs_block_iterate2()
[all …]
Dext2_err.et.in66 "Wrong magic number for ext4 extent handle"
336 "Wrong magic number for ext4 extent saved path"
369 "Corrupt extent header"
372 "Corrupt extent index"
375 "Corrupt extent"
378 "No free space in extent map"
384 "No 'next' extent"
387 "No 'previous' extent"
390 "No 'up' extent"
393 "No 'down' extent"
[all …]
/external/chromium/chrome/common/extensions/
Dextension_extent_unittest.cc18 ExtensionExtent extent; in TEST() local
19 EXPECT_FALSE(extent.ContainsURL(GURL("http://www.foo.com/bar"))); in TEST()
20 EXPECT_FALSE(extent.ContainsURL(GURL())); in TEST()
21 EXPECT_FALSE(extent.ContainsURL(GURL("invalid"))); in TEST()
25 ExtensionExtent extent; in TEST() local
26 extent.AddPattern(URLPattern(kAllSchemes, "http://www.google.com/*")); in TEST()
28 EXPECT_TRUE(extent.ContainsURL(GURL("http://www.google.com/"))); in TEST()
29 EXPECT_TRUE(extent.ContainsURL(GURL("http://www.google.com/monkey"))); in TEST()
30 EXPECT_FALSE(extent.ContainsURL(GURL("https://www.google.com/"))); in TEST()
31 EXPECT_FALSE(extent.ContainsURL(GURL("https://www.microsoft.com/"))); in TEST()
[all …]
Dextension_set_unittest.cc18 const std::string& extent) { in CreateTestExtension() argument
33 if (!extent.empty()) { in CreateTestExtension()
36 urls->Append(Value::CreateStringValue(extent)); in CreateTestExtension()
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscossprite.c216 int extent[4]; in WIMP_ModeChanged() local
235 extent[0] = 0; in WIMP_ModeChanged()
238 extent[1] = -newHeight; in WIMP_ModeChanged()
241 extent[1] = -currHeight; in WIMP_ModeChanged()
245 extent[2] = newWidth; in WIMP_ModeChanged()
248 extent[2] = currWidth; in WIMP_ModeChanged()
250 extent[3] = 0; in WIMP_ModeChanged()
253 regs.r[1] = (int)extent; in WIMP_ModeChanged()
/external/grub/stage2/
Dfsys_vstafs.c192 char extent; in vstafs_read() local
205 extent = 0; in vstafs_read()
212 extent = 1; in vstafs_read()
217 ext_size = a[extent+1].a_len * 512; in vstafs_read()
219 while (extent < FILE_INFO->extents && offset>ext_size); in vstafs_read()
225 extent = 0; in vstafs_read()
233 for (curr_ext=extent; in vstafs_read()
Dfsys_iso9660.c143 unsigned int extent; in iso9660_dir() local
163 extent = idr->extent.l; in iso9660_dir()
167 if (!iso9660_devread(extent, 0, ISO_SECTOR_SIZE, (char *)DIRREC)) in iso9660_dir()
172 extent++; in iso9660_dir()
336 if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF)) in iso9660_dir()
371 INODE->file_start = idr->extent.l; in iso9660_dir()
/external/e2fsprogs/tests/f_extents/
Dexpect.12 Inode 12 is in extent format, but superblock is missing EXTENTS feature
5 Inode 12 has an invalid extent
14 Inode 17 has an invalid extent
20 Error while reading over extent tree in inode 18: Corrupt extent header
/external/webkit/Source/WebCore/rendering/svg/
DSVGTextQuery.cpp465 FloatRect extent; member
468 …GTextQuery::Data* queryData, const SVGTextFragment& fragment, int startPosition, FloatRect& extent) in calculateGlyphBoundaries() argument
473extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontM… in calculateGlyphBoundaries()
478 extent.move(0, metrics.height()); in calculateGlyphBoundaries()
480 extent.move(metrics.width(), 0); in calculateGlyphBoundaries()
484 extent.setSize(FloatSize(metrics.width(), metrics.height())); in calculateGlyphBoundaries()
491 extent = fragmentTransform.mapRect(extent); in calculateGlyphBoundaries()
503 calculateGlyphBoundaries(queryData, fragment, startPosition, data->extent); in extentOfCharacterCallback()
514 return data.extent; in extentOfCharacter()
531 FloatRect extent; in characterNumberAtPositionCallback() local
[all …]
/external/webkit/Source/WebCore/editing/
DSelectionController.cpp100 void SelectionController::moveTo(const VisiblePosition &base, const VisiblePosition &extent, bool u… in moveTo() argument
105 …setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity()), op… in moveTo()
125 void SelectionController::moveTo(const Position &base, const Position &extent, EAffinity affinity, … in moveTo() argument
130 setSelection(VisibleSelection(base, extent, affinity), options); in moveTo()
235 …RemovesPosition(node, m_selection.base()), removingNodeRemovesPosition(node, m_selection.extent()), in nodeWillBeRemoved()
308 Position extent = m_selection.extent(); in textWillBeReplaced() local
312 …bool shouldRemoveExtent = shouldRemovePositionAfterAdoptingTextReplacement(extent, m_selection.isB… in textWillBeReplaced()
316 …if ((base != m_selection.base() || extent != m_selection.extent() || start != m_selection.start() … in textWillBeReplaced()
320 newSelection.setWithoutValidation(base, extent); in textWillBeReplaced()
342 return WebCore::directionOfEnclosingBlock(m_selection.extent()); in directionOfEnclosingBlock()
[all …]
DVisibleSelection.cpp58 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity) in VisibleSelection() argument
60 , m_extent(extent) in VisibleSelection()
74 VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent) in VisibleSelection() argument
76 , m_extent(extent.deepEquivalent()) in VisibleSelection()
436 void VisibleSelection::setWithoutValidation(const Position& base, const Position& extent) in setWithoutValidation() argument
439 ASSERT(!extent.isNull()); in setWithoutValidation()
442 m_extent = extent; in setWithoutValidation()
443 m_baseIsFirst = comparePositions(base, extent) <= 0; in setWithoutValidation()
446 m_end = extent; in setWithoutValidation()
448 m_start = extent; in setWithoutValidation()
[all …]
DTypingCommand.cpp539 … selectionAfterUndo.setWithoutValidation(startingSelection().end(), selectionToDelete.extent()); in deleteKeyPressed()
612 Position extent = startingSelection().end(); in forwardDeleteKeyPressed() local
613 if (extent.deprecatedNode() != selectionToDelete.end().deprecatedNode()) in forwardDeleteKeyPressed()
614 extent = selectionToDelete.extent(); in forwardDeleteKeyPressed()
621extent = Position(extent.deprecatedNode(), extent.deprecatedEditingOffset() + extraCharacters, Pos… in forwardDeleteKeyPressed()
623 selectionAfterUndo.setWithoutValidation(startingSelection().start(), extent); in forwardDeleteKeyPressed()
/external/e2fsprogs/debugfs/
Ddebugfs.c574 struct ext2fs_extent extent; in dump_extents() local
592 errcode = ext2fs_extent_get(handle, op, &extent); in dump_extents()
599 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dump_extents()
602 if (extent.e_flags & EXT2_EXTENT_FLAGS_LEAF) { in dump_extents()
614 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in dump_extents()
615 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dump_extents()
624 extent.e_lblk, in dump_extents()
626 extent.e_lblk + (extent.e_len - 1), in dump_extents()
628 extent.e_pblk, in dump_extents()
629 physical_width+3, "", extent.e_len); in dump_extents()
[all …]
/external/e2fsprogs/e2fsck/
Dpass1.c175 struct ext2fs_extent extent; in e2fsck_pass1_check_symlink() local
191 if (ext2fs_extent_get(handle, EXT2_EXTENT_ROOT, &extent) || in e2fsck_pass1_check_symlink()
192 (extent.e_lblk != 0) || in e2fsck_pass1_check_symlink()
193 (extent.e_len != 1) || in e2fsck_pass1_check_symlink()
194 (extent.e_pblk < fs->super->s_first_data_block) || in e2fsck_pass1_check_symlink()
195 (extent.e_pblk >= fs->super->s_blocks_count)) in e2fsck_pass1_check_symlink()
1673 struct ext2fs_extent extent; in scan_extent_node() local
1686 &extent); in scan_extent_node()
1688 is_leaf = extent.e_flags & EXT2_EXTENT_FLAGS_LEAF; in scan_extent_node()
1692 if (extent.e_pblk < ctx->fs->super->s_first_data_block || in scan_extent_node()
[all …]
/external/clang/test/CodeGenObjCXX/
Dproperty-objects.mm28 - (struct CGRect)extent; method
48 CGRect cgrect = self.extent;
50 - (struct CGRect)extent {return bounds;} method
/external/qemu/block/
Dbochs.c53 uint32_t extent; // extent size member
73 uint32_t extent; // extent size member
149 s->extent_blocks = 1 + (le32_to_cpu(bochs.extra.redolog.extent) - 1) / 512; in bochs_open()
151 s->extent_size = le32_to_cpu(bochs.extra.redolog.extent); in bochs_open()
/external/e2fsprogs/misc/
Dmke2fs.conf12 features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
16 features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
/external/clang/bindings/python/examples/cindex/
Dcindex-dump.py50 'extent.start' : node.extent.start,
51 'extent.end' : node.extent.end,

1234567