/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,
|
Android.mk | 4 extent.c \
|
/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...] |
/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...] |
bmap.c | 160 struct ext2fs_extent extent; local 173 /* If the extent is not found, return phys_blk = 0 */ 178 retval = ext2fs_extent_get(handle, EXT2_EXTENT_CURRENT, &extent); 181 offset = block - extent.e_lblk; 182 if (block >= extent.e_lblk && (offset <= extent.e_len)) { 183 *phys_blk = extent.e_pblk + offset; 184 if (ret_flags && extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) 196 /* Update inode after setting extent */
|
block.c | 363 struct ext2fs_extent extent; local 375 ctx.errcode = ext2fs_extent_get(handle, op, &extent); 403 blk = extent.e_pblk; 404 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { 407 if ((!(extent.e_flags & 410 ((extent.e_flags & 416 extent.e_pblk = blk; 418 ext2fs_extent_replace(handle, 0, &extent); 426 if (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) 428 for (blockcnt = extent.e_lblk, j = 0 [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_location.py | 44 assert_location(n.extent.start,line=1,column=1,offset=0) 45 assert_location(n.extent.end,line=1,column=8,offset=7) 46 assert baseInput[n.extent.start.offset:n.extent.end.offset] == "int one" 48 assert_location(n.extent.start,line=2,column=1,offset=9) 49 assert_location(n.extent.end,line=2,column=8,offset=16) 50 assert baseInput[n.extent.start.offset:n.extent.end.offset] == "int two"
|
/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/qemu/distrib/sdl-1.2.12/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;
|
fsys_iso9660.c | 143 unsigned int extent; local 163 extent = idr->extent.l; 167 if (!iso9660_devread(extent, 0, ISO_SECTOR_SIZE, (char *)DIRREC)) 172 extent++; 327 /* preserve name before loading new extent. */ 336 if (!iso9660_devread(ce_ptr->u.ce.extent.l, 0, ISO_SECTOR_SIZE, RRCONT_BUF)) 371 INODE->file_start = idr->extent.l;
|
/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 | 21 #include "extent.h" 80 struct ext4_extent *extent; local 105 extent = (struct ext4_extent *)&inode->i_block[3]; 130 error("File size %llu is too big to fit in a single extent block\n", 143 extent = (struct ext4_extent *)(data + 147 for (; !last_region(alloc); extent++, get_next_region(alloc)) { 152 extent->ee_block = file_block; 153 extent->ee_len = region_len; 154 extent->ee_start_hi = 0; 155 extent->ee_start_lo = region_block [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextQuery.cpp | 465 FloatRect extent; 468 static inline void calculateGlyphBoundaries(SVGTextQuery::Data* queryData, const SVGTextFragment& fragment, int startPosition, FloatRect& extent) 473 extent.setLocation(FloatPoint(fragment.x, fragment.y - queryData->textRenderer->scaledFont().fontMetrics().floatAscent() / scalingFactor)); 478 extent.move(0, metrics.height()); 480 extent.move(metrics.width(), 0); 484 extent.setSize(FloatSize(metrics.width(), metrics.height())); 491 extent = fragmentTransform.mapRect(extent); 503 calculateGlyphBoundaries(queryData, fragment, startPosition, data->extent); 514 return data.extent; [all...] |
/external/clang/bindings/python/examples/cindex/ |
cindex-dump.py | 50 'extent.start' : node.extent.start, 51 'extent.end' : node.extent.end,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
CastSizeChecker.cpp | 57 SVal extent = SR->getExtent(svalBuilder); local 58 const llvm::APSInt *extentInt = svalBuilder.getKnownValue(state, extent);
|
/external/e2fsprogs/debugfs/ |
debugfs.c | 574 struct ext2fs_extent extent; local 592 errcode = ext2fs_extent_get(handle, op, &extent); 599 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) 602 if (extent.e_flags & EXT2_EXTENT_FLAGS_LEAF) { 614 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { 615 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) 624 extent.e_lblk, 626 extent.e_lblk + (extent.e_len - 1), 628 extent.e_pblk [all...] |
/external/webkit/Source/WebCore/editing/ |
SelectionController.cpp | 100 void SelectionController::moveTo(const VisiblePosition &base, const VisiblePosition &extent, bool userTriggered) 105 setSelection(VisibleSelection(base.deepEquivalent(), extent.deepEquivalent(), base.affinity()), options); 125 void SelectionController::moveTo(const Position &base, const Position &extent, EAffinity affinity, bool userTriggered) 130 setSelection(VisibleSelection(base, extent, affinity), options); 235 respondToNodeModification(node, removingNodeRemovesPosition(node, m_selection.base()), removingNodeRemovesPosition(node, m_selection.extent()), 249 // The base and/or extent are about to be removed, but the start and end aren't. 250 // Change the base and extent to the start and end, but don't re-validate the 308 Position extent = m_selection.extent(); local 312 bool shouldRemoveExtent = shouldRemovePositionAfterAdoptingTextReplacement(extent, m_selection.isBaseFirst() ? EndPointIsEnd : EndPointIsStart, node, offset, oldLength, newLength) [all...] |
VisibleSelection.cpp | 58 VisibleSelection::VisibleSelection(const Position& base, const Position& extent, EAffinity affinity) 60 , m_extent(extent) 74 VisibleSelection::VisibleSelection(const VisiblePosition& base, const VisiblePosition& extent) 76 , m_extent(extent.deepEquivalent()) 254 // Make sure we do not have a dangling base or extent. 436 void VisibleSelection::setWithoutValidation(const Position& base, const Position& extent) 439 ASSERT(!extent.isNull()); 442 m_extent = extent; 443 m_baseIsFirst = comparePositions(base, extent) <= 0; 446 m_end = extent; [all...] |