Home
last modified time | relevance | path

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

12345678

/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,
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DLineSegment.java58 private float extent; field in LineSegment
68 this.extent = ls.getExtent(); in LineSegment()
75 public LineSegment(Vector3f origin, Vector3f direction, float extent) { in LineSegment() argument
78 this.extent = extent; in LineSegment()
88 this.extent = direction.length() * 0.5f; in LineSegment()
95 this.extent = ls.getExtent(); in set()
117 if (-extent < segmentParameter) { in distanceSquared()
118 if (segmentParameter < extent) { in distanceSquared()
122 origin.add(direction.mult(extent, compVec1), compVec1); in distanceSquared()
125 origin.subtract(direction.mult(extent, compVec1), compVec1); in distanceSquared()
[all …]
/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.c364 struct ext2fs_extent extent; in ext2fs_block_iterate2() local
376 ctx.errcode = ext2fs_extent_get(handle, op, &extent); in ext2fs_block_iterate2()
404 blk = extent.e_pblk; in ext2fs_block_iterate2()
405 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in ext2fs_block_iterate2()
408 if ((!(extent.e_flags & in ext2fs_block_iterate2()
411 ((extent.e_flags & in ext2fs_block_iterate2()
417 extent.e_pblk = blk; in ext2fs_block_iterate2()
419 ext2fs_extent_replace(handle, 0, &extent); in ext2fs_block_iterate2()
427 if (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) in ext2fs_block_iterate2()
429 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 …]
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DIntersection.java102 Vector3f extent = bbox.getExtent(null); in intersect() local
133 rad = fez * extent.y + fey * extent.z; in intersect()
144 rad = fez * extent.x + fex * extent.z; in intersect()
155 rad = fey * extent.x + fex * extent.y; in intersect()
170 rad = fez * extent.y + fey * extent.z; in intersect()
181 rad = fez * extent.x + fex * extent.z; in intersect()
192 rad = fey * extent.x + fex * extent.y; in intersect()
207 rad = fez * extent.y + fey * extent.z; in intersect()
218 rad = fez * extent.x + fex * extent.y; in intersect()
229 rad = fey * extent.x + fex * extent.y; in intersect()
[all …]
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
Dpvsnotes26 width = x extent
27 height = y extent
28 near = z extent / 2
31 width = x extent
32 height = z extent
33 near = y extent / 2
36 width = z extent
37 height = y extent
38 near = x extent / 2
DFastOctnode.java91 float extent = bbox.getXExtent() * 0.5f; in findChildBound() local
92 bbox.getCenter().set(bbox.getCenter().x + extent * Octnode.extentMult[side].x, in findChildBound()
93 bbox.getCenter().y + extent * Octnode.extentMult[side].y, in findChildBound()
94 bbox.getCenter().z + extent * Octnode.extentMult[side].z); in findChildBound()
95 bbox.setXExtent(extent); in findChildBound()
96 bbox.setYExtent(extent); in findChildBound()
97 bbox.setZExtent(extent); in findChildBound()
/external/clang/bindings/python/tests/cindex/
Dtest_tokens.py15 tokens = list(tu.get_tokens(extent=r))
31 tokens = list(tu.get_tokens(extent=r))
45 tokens = list(tu.get_tokens(extent=r))
48 extent = tokens[1].extent
49 ok_(isinstance(extent, SourceRange))
51 eq_(extent.start.offset, 4)
52 eq_(extent.end.offset, 7)
Dtest_location.py77 assert_location(one.extent.start,line=1,column=1,offset=0)
78 assert_location(one.extent.end,line=1,column=8,offset=7)
79 assert baseInput[one.extent.start.offset:one.extent.end.offset] == "int one"
81 assert_location(two.extent.start,line=2,column=1,offset=9)
82 assert_location(two.extent.end,line=2,column=8,offset=16)
83 assert baseInput[two.extent.start.offset:two.extent.end.offset] == "int two"
/external/qemu/distrib/sdl-1.2.15/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/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DArrow.java75 public Arrow(Vector3f extent) { in Arrow() argument
76 float len = extent.length(); in Arrow()
77 Vector3f dir = extent.normalize(); in Arrow()
115 public void setArrowExtent(Vector3f extent) { in setArrowExtent() argument
116 float len = extent.length(); in setArrowExtent()
119 tempQuat.lookAt(extent, Vector3f.UNIT_Y); in setArrowExtent()
/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/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DItemLocationBox.java215 for (Extent extent : extents) { in getSize()
216 size += extent.getSize(); in getSize()
239 for (Extent extent : extents) { in getContent()
240 extent.getContent(bb); in getContent()
330 Extent extent = (Extent) o; in equals()
332 if (extentIndex != extent.extentIndex) return false; in equals()
333 if (extentLength != extent.extentLength) return false; in equals()
334 if (extentOffset != extent.extentOffset) return false; in equals()
/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 …]
/external/e2fsprogs/debugfs/
Ddebugfs.c577 struct ext2fs_extent extent; in dump_extents() local
595 errcode = ext2fs_extent_get(handle, op, &extent); in dump_extents()
602 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dump_extents()
605 if (extent.e_flags & EXT2_EXTENT_FLAGS_LEAF) { in dump_extents()
617 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in dump_extents()
618 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dump_extents()
627 extent.e_lblk, in dump_extents()
629 extent.e_lblk + (extent.e_len - 1), in dump_extents()
631 extent.e_pblk, in dump_extents()
632 physical_width+3, "", extent.e_len); in dump_extents()
[all …]

12345678