/external/e2fsprogs/resize/ |
D | extent.c | 40 ext2_extent extent; in ext2fs_create_extent_table() local 43 retval = ext2fs_get_mem(sizeof(struct _ext2_extent), &extent); in ext2fs_create_extent_table() 46 memset(extent, 0, sizeof(struct _ext2_extent)); in ext2fs_create_extent_table() 48 extent->size = size ? size : 50; in ext2fs_create_extent_table() 49 extent->cursor = 0; in ext2fs_create_extent_table() 50 extent->num = 0; in ext2fs_create_extent_table() 51 extent->sorted = 1; in ext2fs_create_extent_table() 54 extent->size, &extent->list); in ext2fs_create_extent_table() 56 ext2fs_free_mem(&extent); in ext2fs_create_extent_table() 59 memset(extent->list, 0, in ext2fs_create_extent_table() [all …]
|
D | test_extent.c | 27 ext2_extent extent = 0; in do_test() local 69 retval = ext2fs_create_extent_table(&extent, num1); in do_test() 78 if (!extent) { in do_test() 83 ext2fs_free_extent_table(extent); in do_test() 84 extent = 0; in do_test() 86 retval = ext2fs_add_extent_entry(extent, num1, num2); in do_test() 90 num2 = ext2fs_extent_translate(extent, num1); in do_test() 94 ext2fs_extent_dump(extent, out); in do_test() 96 retval = ext2fs_iterate_extent(extent, 0, 0, 0); in do_test() 100 retval = ext2fs_iterate_extent(extent, in do_test() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | extent.c | 108 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument 113 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent() 114 extent->e_len, extent->e_pblk); in dbg_print_extent() 115 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent() 117 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent() 119 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent() 121 if (!extent->e_flags) in dbg_print_extent() 306 int flags, struct ext2fs_extent *extent) in ext2fs_extent_get() argument 530 extent->e_flags = 0; in ext2fs_extent_get() 538 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get() [all …]
|
D | punch.c | 169 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument 174 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent() 175 extent->e_len, extent->e_pblk); in dbg_print_extent() 176 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent() 178 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent() 180 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent() 182 if (!extent->e_flags) in dbg_print_extent() 266 struct ext2fs_extent extent; in ext2fs_punch_extent() local 288 retval = ext2fs_extent_get(handle, EXT2_EXTENT_CURRENT, &extent); in ext2fs_punch_extent() 296 dbg_print_extent("main loop", &extent); in ext2fs_punch_extent() [all …]
|
D | block.c | 399 struct ext2fs_extent extent, next; in ext2fs_block_iterate3() local 415 &extent); in ext2fs_block_iterate3() 443 blk = extent.e_pblk; in ext2fs_block_iterate3() 444 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in ext2fs_block_iterate3() 447 if ((!(extent.e_flags & in ext2fs_block_iterate3() 450 ((extent.e_flags & in ext2fs_block_iterate3() 456 extent.e_pblk = blk; in ext2fs_block_iterate3() 458 ext2fs_extent_replace(handle, 0, &extent); in ext2fs_block_iterate3() 468 if (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) in ext2fs_block_iterate3() 479 extent.e_lblk, extent.e_pblk, in ext2fs_block_iterate3() [all …]
|
/external/e2fsprogs/debugfs/ |
D | extent_inode.c | 31 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument 36 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent() 37 extent->e_len, extent->e_pblk); in dbg_print_extent() 38 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent() 40 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent() 42 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent() 44 if (!extent->e_flags) in dbg_print_extent() 141 struct ext2fs_extent extent; in generic_goto_node() local 153 retval = ext2fs_extent_get(current_handle, op, &extent); in generic_goto_node() 158 dbg_print_extent(0, &extent); in generic_goto_node() [all …]
|
/external/ImageMagick/MagickWand/ |
D | wand-view.c | 72 extent; member 142 clone_view->extent=wand_view->extent; in CloneWandView() 147 wand_view->pixel_wands[i],wand_view->extent.width); in CloneWandView() 197 wand_view->extent.width); in DestroyWandView() 293 height=source->extent.height-source->extent.y; in DuplexTransferWandViewIterator() 297 for (y=source->extent.y; y < (ssize_t) source->extent.height; y++) in DuplexTransferWandViewIterator() 317 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, in DuplexTransferWandViewIterator() 318 source->extent.width,1,source->exception); in DuplexTransferWandViewIterator() 324 for (x=0; x < (ssize_t) source->extent.width; x++) in DuplexTransferWandViewIterator() 329 duplex_pixels=GetCacheViewVirtualPixels(duplex->view,duplex->extent.x,y, in DuplexTransferWandViewIterator() [all …]
|
/external/ImageMagick/MagickCore/ |
D | image-view.c | 63 extent; member 115 clone_view->extent=image_view->extent; in CloneImageView() 245 height=source->extent.height-source->extent.y; in DuplexTransferImageViewIterator() 249 for (y=source->extent.y; y < (ssize_t) source->extent.height; y++) in DuplexTransferImageViewIterator() 266 pixels=GetCacheViewVirtualPixels(source->view,source->extent.x,y, in DuplexTransferImageViewIterator() 267 source->extent.width,1,source->exception); in DuplexTransferImageViewIterator() 273 duplex_pixels=GetCacheViewVirtualPixels(duplex->view,duplex->extent.x,y, in DuplexTransferImageViewIterator() 274 duplex->extent.width,1,duplex->exception); in DuplexTransferImageViewIterator() 281 destination->extent.x,y,destination->extent.width,1, in DuplexTransferImageViewIterator() 302 source->extent.height); in DuplexTransferImageViewIterator() [all …]
|
D | memory.c | 243 extent, in AcquireAlignedMemory() local 254 extent=AlignedExtent(size,alignment); in AcquireAlignedMemory() 255 if ((size == 0) || (alignment < sizeof(void *)) || (extent < size)) in AcquireAlignedMemory() 258 if (posix_memalign(&memory,alignment,extent) != 0) in AcquireAlignedMemory() 261 memory=_aligned_malloc(extent,alignment); in AcquireAlignedMemory() 267 extent=(size+alignment-1)+sizeof(void *); in AcquireAlignedMemory() 268 if (extent > size) in AcquireAlignedMemory() 270 p=malloc(extent); in AcquireAlignedMemory() 528 extent; in AcquireQuantumMemory() local 532 extent=count*quantum; in AcquireQuantumMemory() [all …]
|
D | log.c | 955 extent; in TranslateEvent() local 969 extent=strlen(event)+MagickPathExtent; in TranslateEvent() 978 (void) FormatMagickTime(seconds,extent,timestamp); in TranslateEvent() 979 (void) FormatLocaleString(text,extent, in TranslateEvent() 1005 if ((size_t) (q-text+MagickPathExtent) >= extent) in TranslateEvent() 1007 extent+=MagickPathExtent; in TranslateEvent() 1008 text=(char *) ResizeQuantumMemory(text,extent+MagickPathExtent, in TranslateEvent() 1056 q+=CopyMagickString(q,GetClientName(),extent); in TranslateEvent() 1061 q+=CopyMagickString(q,domain,extent); in TranslateEvent() 1066 q+=CopyMagickString(q,event,extent); in TranslateEvent() [all …]
|
D | xml-tree.c | 313 extent, in CanonicalXMLContent() local 345 extent=MagickPathExtent; in CanonicalXMLContent() 348 if ((i+MagickPathExtent) > (ssize_t) extent) in CanonicalXMLContent() 350 extent+=MagickPathExtent; in CanonicalXMLContent() 351 canonical_content=(char *) ResizeQuantumMemory(canonical_content,extent, in CanonicalXMLContent() 360 i+=FormatLocaleString(canonical_content+i,extent,"&"); in CanonicalXMLContent() 365 i+=FormatLocaleString(canonical_content+i,extent,"<"); in CanonicalXMLContent() 370 i+=FormatLocaleString(canonical_content+i,extent,">"); in CanonicalXMLContent() 375 i+=FormatLocaleString(canonical_content+i,extent,"""); in CanonicalXMLContent() 385 i+=FormatLocaleString(canonical_content+i,extent,"
"); in CanonicalXMLContent() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | extents.c | 75 struct ext2fs_extent extent; in load_extents() local 82 retval = ext2fs_extent_get(handle, EXT2_EXTENT_ROOT, &extent); in load_extents() 87 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in load_extents() 91 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in load_extents() 94 extent.e_pblk, list->blocks_freed + 1); in load_extents() 97 ext2fs_block_alloc_stats2(fs, extent.e_pblk, -1); in load_extents() 106 blk64_t end = last->e_len + extent.e_len; in load_extents() 108 if (last->e_pblk + last->e_len == extent.e_pblk && in load_extents() 109 last->e_lblk + last->e_len == extent.e_lblk && in load_extents() 111 (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) && in load_extents() [all …]
|
/external/syslinux/win/ |
D | ntfstest.c | 49 S_NTFSSECT_EXTENT extent; in main() local 90 NtfsSectGetFileVcnExtent(file, &vcn, &extent) == ERROR_SUCCESS; in main() 91 vcn = extent.NextVcn in main() 93 len = extent.NextVcn.QuadPart - extent.FirstVcn.QuadPart; in main() 94 printf("Extent @ VCN #%lld,", extent.FirstVcn.QuadPart); in main() 96 printf(" VCN #%lld -", extent.FirstVcn.QuadPart); in main() 97 printf(" #%lld\n", extent.FirstVcn.QuadPart + len - 1); in main() 98 printf(" LCN #%lld -", extent.FirstLcn.QuadPart); in main() 99 printf(" #%lld\n", extent.FirstLcn.QuadPart + len - 1); in main() 102 &extent.FirstLcn, in main()
|
/external/e2fsprogs/tests/d_punch_bigalloc/ |
D | expect | 129 Inode 14 extent tree (at level 1) could be shorter. Fix? yes 131 Inode 15 extent tree (at level 1) could be shorter. Fix? yes 133 Inode 16 extent tree (at level 1) could be shorter. Fix? yes 135 Inode 17 extent tree (at level 1) could be shorter. Fix? yes 137 Inode 18 extent tree (at level 1) could be shorter. Fix? yes 139 Inode 19 extent tree (at level 1) could be shorter. Fix? yes 141 Inode 20 extent tree (at level 1) could be shorter. Fix? yes 143 Inode 22 extent tree (at level 1) could be shorter. Fix? yes 145 Inode 23 extent tree (at level 1) could be shorter. Fix? yes 147 Inode 24 extent tree (at level 1) could be shorter. Fix? yes [all …]
|
/external/e2fsprogs/tests/d_punch/ |
D | expect | 130 Inode 15 extent tree (at level 1) could be shorter. Fix? yes 132 Inode 16 extent tree (at level 1) could be shorter. Fix? yes 134 Inode 17 extent tree (at level 1) could be shorter. Fix? yes 136 Inode 18 extent tree (at level 1) could be shorter. Fix? yes 138 Inode 19 extent tree (at level 1) could be shorter. Fix? yes 140 Inode 20 extent tree (at level 1) could be shorter. Fix? yes 142 Inode 21 extent tree (at level 1) could be shorter. Fix? yes 144 Inode 22 extent tree (at level 1) could be shorter. Fix? yes 146 Inode 23 extent tree (at level 1) could be shorter. Fix? yes 148 Inode 24 extent tree (at level 1) could be shorter. Fix? yes [all …]
|
/external/clang/bindings/python/tests/cindex/ |
D | test_tokens.py | 15 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)
|
D | 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/libcxx/test/std/utilities/meta/meta.unary.prop.query/ |
D | extent.pass.cpp | 21 static_assert((std::extent<T>::value == A), ""); in test_extent() 22 static_assert((std::extent<const T>::value == A), ""); in test_extent() 23 static_assert((std::extent<volatile T>::value == A), ""); in test_extent() 24 static_assert((std::extent<const volatile T>::value == A), ""); in test_extent() 36 static_assert((std::extent<T, 1>::value == A), ""); in test_extent1() 37 static_assert((std::extent<const T, 1>::value == A), ""); in test_extent1() 38 static_assert((std::extent<volatile T, 1>::value == A), ""); in test_extent1() 39 static_assert((std::extent<const volatile T, 1>::value == A), ""); in test_extent1()
|
/external/vulkan-validation-layers/tests/ |
D | vktestbinding.h | 407 VkExtent3D extent() const { return create_info_.extent; } in extent() function 408 VkExtent3D extent(uint32_t mip_level) const { return extent(create_info_.extent, mip_level); } in extent() function 436 static VkExtent2D extent(int32_t width, int32_t height); 437 static VkExtent2D extent(const VkExtent2D &extent, uint32_t mip_level); 438 static VkExtent2D extent(const VkExtent3D &extent); 440 static VkExtent3D extent(int32_t width, int32_t height, int32_t depth); 441 static VkExtent3D extent(const VkExtent3D &extent, uint32_t mip_level); 661 info.extent.width = 1; in create_info() 662 info.extent.height = 1; in create_info() 663 info.extent.depth = 1; in create_info() [all …]
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_dump.c | 55 VkExtent2D extent; member 68 image->extent = (VkExtent2D) { width, height }; in dump_image_init() 75 .extent = (VkExtent3D) { width, height, 1 }, in dump_image_init() 160 { image->extent.width, image->extent.height, 1 }, in dump_image_do_blit() 170 { image->extent.width, image->extent.height, 1 }, in dump_image_do_blit() 225 uint8_t *row = malloc(image->extent.width * 3); in dump_image_write_to_ppm() 228 fprintf(file, "P6\n%d %d\n255\n", image->extent.width, image->extent.height); in dump_image_write_to_ppm() 229 for (unsigned y = 0; y < image->extent.height; y++) { in dump_image_write_to_ppm() 230 for (unsigned x = 0; x < image->extent.width; x++) { in dump_image_write_to_ppm() 235 fwrite(row, 3, image->extent.width, file); in dump_image_write_to_ppm() [all …]
|
D | anv_intel.c | 58 uint64_t size = (uint64_t)pCreateInfo->strideInBytes * pCreateInfo->extent.height; in anv_CreateDmaBufImageINTEL() 71 .extent = pCreateInfo->extent, in anv_CreateDmaBufImageINTEL() 86 assert(image->extent.width > 0); in anv_CreateDmaBufImageINTEL() 87 assert(image->extent.height > 0); in anv_CreateDmaBufImageINTEL() 88 assert(image->extent.depth == 1); in anv_CreateDmaBufImageINTEL()
|
/external/e2fsprogs/tests/f_extents/ |
D | expect.1 | 2 Inode 12 is in extent format, but superblock is missing EXTENTS feature 5 Inode 12 has an invalid extent 9 Inode 12 extent tree (at level 1) could be shorter. Fix? yes 16 Inode 16 has a duplicate extent mapping 22 Inode 17 has an invalid extent 26 Inode 17 extent tree (at level 1) could be shorter. Fix? yes 30 Inode 18 has corrupt extent header. Clear inode? yes 37 Pass 1E: Optimizing extent trees
|
/external/vulkan-validation-layers/demos/smoke/ |
D | Shell.cpp | 366 ctx_.extent.width = (uint32_t) -1; in create_swapchain() 367 ctx_.extent.height = (uint32_t) -1; in create_swapchain() 389 VkExtent2D extent = caps.currentExtent; in resize_swapchain() local 391 if (extent.width == (uint32_t) -1) { in resize_swapchain() 392 extent.width = width_hint; in resize_swapchain() 393 extent.height = height_hint; in resize_swapchain() 396 if (extent.width < caps.minImageExtent.width) in resize_swapchain() 397 extent.width = caps.minImageExtent.width; in resize_swapchain() 398 else if (extent.width > caps.maxImageExtent.width) in resize_swapchain() 399 extent.width = caps.maxImageExtent.width; in resize_swapchain() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsBase.cpp | 33 tcu::UVec3 alignedDivide (const VkExtent3D& extent, const VkExtent3D& divisor) in alignedDivide() argument 37 result.x() = extent.width / divisor.width + ((extent.width % divisor.width) ? 1u : 0u); in alignedDivide() 38 result.y() = extent.height / divisor.height + ((extent.height % divisor.height) ? 1u : 0u); in alignedDivide() 39 result.z() = extent.depth / divisor.depth + ((extent.depth % divisor.depth) ? 1u : 0u); in alignedDivide() 239 imageSparseInfo.extent = makeExtent3D(getLayerSize(m_imageType, m_imageSize)); in iterate() 265 imageSparseInfo.mipLevels = getImageMaxMipLevels(imageFormatProperties, imageSparseInfo.extent); in iterate() 293 …const deUint32 imageSparseSizeInBytes = getImageSizeInBytes(imageSparseInfo.extent, imageSpar… in iterate() 294 …const deUint32 imageSizeInPixels = getImageSizeInBytes(imageSparseInfo.extent, imageSparseI… in iterate() 338 …const deUint32 mipLevelSizeInPixels = getImageMipLevelSizeInBytes(imageSparseInfo.extent, imageSpa… in iterate() 355 const VkExtent3D mipExtent = mipLevelExtents(imageSparseInfo.extent, mipLevelNdx); in iterate() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 126 VkExtent3D extent; member 216 return (parms.imageType == VK_IMAGE_TYPE_2D) ? parms.extent.depth : 1u; in getArraySize() 221 const VkExtent3D extent = in getExtent3D() local 223 parms.extent.width, in getExtent3D() 224 parms.extent.height, in getExtent3D() 225 (parms.imageType == VK_IMAGE_TYPE_2D) ? 1u : parms.extent.depth in getExtent3D() 227 return extent; in getExtent3D() 772 …esultLevel (new tcu::TextureLevel(imageFormat, parms.extent.width, parms.extent.height, parms.exte… in readImage() 778 …mapCombinedToDepthTransferFormat(imageFormat), parms.extent.width, parms.extent.height, parms.exte… in readImage() 785 …rmat(imageFormat, tcu::Sampler::MODE_STENCIL), parms.extent.width, parms.extent.height, parms.exte… in readImage() [all …]
|