HomeSort by relevance Sort by last modified time
    Searched refs:extent (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /external/chromium/chrome/common/extensions/
extension_extent_unittest.cc 18 ExtensionExtent extent; local
19 EXPECT_FALSE(extent.ContainsURL(GURL("http://www.foo.com/bar")));
20 EXPECT_FALSE(extent.ContainsURL(GURL()));
21 EXPECT_FALSE(extent.ContainsURL(GURL("invalid")));
25 ExtensionExtent extent; local
26 extent.AddPattern(URLPattern(kAllSchemes, "http://www.google.com/*"));
28 EXPECT_TRUE(extent.ContainsURL(GURL("http://www.google.com/")));
29 EXPECT_TRUE(extent.ContainsURL(GURL("http://www.google.com/monkey")));
30 EXPECT_FALSE(extent.ContainsURL(GURL("https://www.google.com/")));
31 EXPECT_FALSE(extent.ContainsURL(GURL("https://www.microsoft.com/")))
35 ExtensionExtent extent; local
    [all...]
extension_set_unittest.cc 18 const std::string& extent) {
33 if (!extent.empty()) {
36 urls->Append(Value::CreateStringValue(extent));
89 // Get extension by web extent.
  /external/e2fsprogs/resize/
extent.c 2 * extent.c --- ext2 extent abstraction
35 * Create an extent table
39 ext2_extent extent; local
42 retval = ext2fs_get_mem(sizeof(struct _ext2_extent), &extent);
45 memset(extent, 0, sizeof(struct _ext2_extent));
47 extent->size = size ? size : 50;
48 extent->cursor = 0;
49 extent->num = 0;
50 extent->sorted = 1
    [all...]
test_extent.c 2 * test_extent.c --- tester for the extent abstraction
26 ext2_extent extent = 0; local
27 const char *no_table = "# No extent table\n";
68 retval = ext2fs_create_extent_table(&extent, num1);
77 if (!extent) {
82 ext2fs_free_extent_table(extent);
83 extent = 0;
85 retval = ext2fs_add_extent_entry(extent, num1, num2);
89 num2 = ext2fs_extent_translate(extent, num1);
93 ext2fs_extent_dump(extent, out)
    [all...]
resize2fs.h 63 * For the extent map
136 /* extent.c */
139 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,
  /system/extras/fatblock/
fs.h 28 struct extent *extents;
31 struct extent boot_extent;
32 struct extent backup_boot_extent;
35 struct extent info_extent;
37 struct extent fat_extent;
44 int fs_alloc_extent(struct fs *fs, struct extent *extent,
46 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len, struct extent *last,
fatblock.h 35 struct extent { struct
40 struct extent *next;
44 struct extent extent; member in struct:file
57 struct extent extent; member in struct:dir
fs.c 28 static void fs_add_extent(struct fs *fs, struct extent *extent,
32 assert(extent);
34 extent->start = start;
35 extent->len = len;
36 extent->type = type;
38 extent->next = fs->extents;
39 fs->extents = extent;
42 struct extent *fs_find_extent(struct fs *fs, offset_t start, offset_t len,
43 struct extent *last
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary.prop.query/
extent.pass.cpp 12 // extent
19 static_assert((std::extent<T>::value == A), "");
20 static_assert((std::extent<const T>::value == A), "");
21 static_assert((std::extent<volatile T>::value == A), "");
22 static_assert((std::extent<const volatile T>::value == A), "");
28 static_assert((std::extent<T, 1>::value == A), "");
29 static_assert((std::extent<const T, 1>::value == A), "");
30 static_assert((std::extent<volatile T, 1>::value == A), "");
31 static_assert((std::extent<const volatile T, 1>::value == A), "");
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
LineSegment.java 41 * <p>A LineSegment is defined by an origin, a direction and an extent (or length).
58 private float extent; field in class:LineSegment
68 this.extent = ls.getExtent();
72 * <p>Creates a new LineSegment with the given origin, direction and extent.</p>
75 public LineSegment(Vector3f origin, Vector3f direction, float extent) {
78 this.extent = extent;
83 * center, the direction and the extent.</p>
88 this.extent = direction.length() * 0.5f;
95 this.extent = ls.getExtent();
    [all...]
  /external/clang/bindings/python/tests/cindex/
test_tokens.py 15 tokens = list(tu.get_tokens(extent=r))
31 tokens = list(tu.get_tokens(extent=r))
41 """Ensure Token.extent works."""
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)
test_location.py 77 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/e2fsprogs/lib/ext2fs/
extent.c 2 * extent.c --- routines to implement extents support
94 printf("extent: block=%u-%u len=%u start=%u start_hi=%u\n",
103 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent)
107 printf("extent: lblk %llu--%llu, len %u, pblk %llu, flags: ",
108 extent->e_lblk, extent->e_lblk + extent->e_len - 1,
109 extent->e_len, extent->e_pblk);
110 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF
613 struct ext2fs_extent extent; local
717 struct ext2fs_extent extent; local
828 struct ext2fs_extent extent; local
1156 struct ext2fs_extent extent, next_extent, prev_extent; local
1466 struct ext2fs_extent extent; local
1498 struct ext2fs_extent extent; local
1623 struct ext2fs_extent extent; local
1729 struct ext2fs_extent extent; local
1772 struct ext2fs_extent extent; local
1791 struct ext2fs_extent extent; local
1896 struct ext2fs_extent extent; local
1946 struct ext2fs_extent extent; local
1979 struct ext2fs_extent extent; local
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/bounding/
Intersection.java 102 Vector3f extent = bbox.getExtent(null); local
133 rad = fez * extent.y + fey * extent.z;
144 rad = fez * extent.x + fex * extent.z;
155 rad = fey * extent.x + fex * extent.y;
170 rad = fez * extent.y + fey * extent.z;
181 rad = fez * extent.x + fex * extent.z
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
BitmapUtil.java 60 int extent = originalSmallerExtent; local
62 while ((extent >> 1) >= targetExtent * 0.8f) {
64 extent >>= 1;
  /external/e2fsprogs/misc/
mke2fs.conf 12 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/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
Arrow.java 43 * An arrow is simply a line going from the original toward an extent
69 * Creates an arrow mesh with the given extent.
71 * at the given extent.
73 * @param extent Extent of the arrow from origin
75 public Arrow(Vector3f extent) {
76 float len = extent.length();
77 Vector3f dir = extent.normalize();
110 * Sets the arrow's extent.
113 * @param extent the arrow's extent
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscossprite.c 216 int extent[4]; local
233 /* Need to avoid extent getting too small for visible part
235 extent[0] = 0;
238 extent[1] = -newHeight;
241 extent[1] = -currHeight;
245 extent[2] = newWidth;
248 extent[2] = currWidth;
250 extent[3] = 0;
253 regs.r[1] = (int)extent;
  /external/grub/stage2/
fsys_vstafs.c 192 char extent; local
205 extent = 0;
212 extent = 1;
217 ext_size = a[extent+1].a_len * 512;
219 while (extent < FILE_INFO->extents && offset>ext_size);
225 extent = 0;
233 for (curr_ext=extent;
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
FastOctnode.java 91 float extent = bbox.getXExtent() * 0.5f; local
92 bbox.getCenter().set(bbox.getCenter().x + extent * Octnode.extentMult[side].x,
93 bbox.getCenter().y + extent * Octnode.extentMult[side].y,
94 bbox.getCenter().z + extent * Octnode.extentMult[side].z);
95 bbox.setXExtent(extent);
96 bbox.setYExtent(extent);
97 bbox.setZExtent(extent);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
FrameSelection.cpp 127 void FrameSelection::moveTo(const VisiblePosition &base, const VisiblePosition &extent, EUserTriggered userTriggered)
131 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity(), selectionHasDirection), options);
147 void FrameSelection::moveTo(const Position &base, const Position &extent, EAffinity affinity, EUserTriggered userTriggered)
151 setSelection(VisibleSelection(base, extent, affinity, selectionHasDirection), options);
157 RenderedPosition extent(visibleExtent);
159 if (base.isNull() || extent.isNull() || base.isEquivalent(extent))
163 if (!extent.atRightBoundaryOfBidiRun(base.bidiLevelOnRight())
164 && base.isEquivalent(extent.leftBoundaryOfBidiRun(base.bidiLevelOnRight()))) {
172 if (!extent.atLeftBoundaryOfBidiRun(base.bidiLevelOnLeft()
199 VisiblePosition extent = newSelection.visibleExtent(); local
409 Position extent = updatePositionAfterAdoptingTextReplacement(m_selection.extent(), node, offset, oldLength, newLength); local
437 Position extent = updatePostionAfterAdoptingTextNodesMerged(m_selection.extent(), oldNode, offset); local
461 Position extent = updatePostionAfterAdoptingTextNodeSplit(m_selection.extent(), oldNode); local
    [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) {
171 public List<Extent> extents = new LinkedList<Extent>();
191 extents.add(new Extent(in));
195 public Item(int itemId, int constructionMethod, int dataReferenceIndex, long baseOffset, List<Extent> extents) {
215 for (Extent extent : extents) {
216 size += extent.getSize();
239 for (Extent extent : extents)
    [all...]
  /frameworks/base/core/java/android/widget/
ScrollBarDrawable.java 51 * extent. Defaults to false.
61 * extent. Defaults to false.
71 * extent.
79 * extent.
85 public void setParameters(int range, int offset, int extent, boolean vertical) {
90 if (mRange != range || mOffset != offset || mExtent != extent) {
96 mExtent = extent;
103 final int extent = mExtent; local
108 if (extent <= 0 || range <= extent) {
    [all...]
  /system/extras/ext4_utils/
extent.c 20 #include "extent.h"
82 struct ext4_extent *extent; local
107 extent = (struct ext4_extent *)&inode->i_block[3];
133 error("File size %llu is too big to fit in a single extent block\n",
146 extent = (struct ext4_extent *)(data +
150 for (; !last_region(alloc); extent++, get_next_region(alloc)) {
155 extent->ee_block = file_block;
156 extent->ee_len = region_len;
157 extent->ee_start_hi = 0;
158 extent->ee_start_lo = region_block
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextQuery.cpp 460 FloatRect extent;
463 static inline void calculateGlyphBoundaries(SVGTextQuery::Data* queryData, const SVGTextFragment& fragment, int startPosition, FloatRect& extent)
468 extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor));
473 extent.move(0, metrics.height());
475 extent.move(metrics.width(), 0);
479 extent.setSize(FloatSize(metrics.width(), metrics.height()));
486 extent = fragmentTransform.mapRect(extent);
498 calculateGlyphBoundaries(queryData, fragment, startPosition, data->extent);
509 return data.extent;
    [all...]

Completed in 797 milliseconds

1 2 3 4 5 6