Home
last modified time | relevance | path

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

12345678910>>...15

/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()
/external/e2fsprogs/lib/ext2fs/
Dextent.c104 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
109 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
110 extent->e_len, extent->e_pblk); in dbg_print_extent()
111 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
113 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
115 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
117 if (!extent->e_flags) in dbg_print_extent()
275 int flags, struct ext2fs_extent *extent) in ext2fs_extent_get() argument
493 extent->e_flags = 0; in ext2fs_extent_get()
501 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get()
[all …]
Dpunch.c156 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
161 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
162 extent->e_len, extent->e_pblk); in dbg_print_extent()
163 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
165 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
167 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
169 if (!extent->e_flags) in dbg_print_extent()
253 struct ext2fs_extent extent; in ext2fs_punch_extent() local
275 retval = ext2fs_extent_get(handle, EXT2_EXTENT_CURRENT, &extent); in ext2fs_punch_extent()
283 dbg_print_extent("main loop", &extent); in ext2fs_punch_extent()
[all …]
Dblock.c391 struct ext2fs_extent extent, next; in ext2fs_block_iterate3() local
407 &extent); in ext2fs_block_iterate3()
435 blk = extent.e_pblk; in ext2fs_block_iterate3()
436 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in ext2fs_block_iterate3()
439 if ((!(extent.e_flags & in ext2fs_block_iterate3()
442 ((extent.e_flags & in ext2fs_block_iterate3()
448 extent.e_pblk = blk; in ext2fs_block_iterate3()
450 ext2fs_extent_replace(handle, 0, &extent); in ext2fs_block_iterate3()
460 if (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) in ext2fs_block_iterate3()
471 extent.e_lblk, extent.e_pblk, in ext2fs_block_iterate3()
[all …]
/external/e2fsprogs/debugfs/
Dextent_inode.c30 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
35 extent->e_lblk, extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
36 extent->e_len, extent->e_pblk); in dbg_print_extent()
37 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
39 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
41 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
43 if (!extent->e_flags) in dbg_print_extent()
135 struct ext2fs_extent extent; in generic_goto_node() local
147 retval = ext2fs_extent_get(current_handle, op, &extent); in generic_goto_node()
152 dbg_print_extent(0, &extent); in generic_goto_node()
[all …]
/external/ImageMagick/MagickWand/
Dwand-view.c72 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/
Dimage-view.c63 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 …]
Dmemory.c243 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 …]
Dlog.c955 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 …]
Dxml-tree.c313 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,"&amp;"); in CanonicalXMLContent()
365 i+=FormatLocaleString(canonical_content+i,extent,"&lt;"); in CanonicalXMLContent()
370 i+=FormatLocaleString(canonical_content+i,extent,"&gt;"); in CanonicalXMLContent()
375 i+=FormatLocaleString(canonical_content+i,extent,"&quot;"); in CanonicalXMLContent()
385 i+=FormatLocaleString(canonical_content+i,extent,"&#xA;"); in CanonicalXMLContent()
[all …]
Dsemaphore.c135 extent, in AcquireSemaphoreMemory() local
149 extent=AlignedExtent(size,alignment); in AcquireSemaphoreMemory()
150 if ((size == 0) || (alignment < sizeof(void *)) || (extent < size)) in AcquireSemaphoreMemory()
153 if (posix_memalign(&memory,alignment,extent) != 0) in AcquireSemaphoreMemory()
156 memory=_aligned_malloc(extent,alignment); in AcquireSemaphoreMemory()
162 extent=(size+alignment-1)+sizeof(void *); in AcquireSemaphoreMemory()
163 if (extent > size) in AcquireSemaphoreMemory()
165 p=malloc(extent); in AcquireSemaphoreMemory()
/external/libcxx/test/std/utilities/meta/meta.unary.prop.query/
Dextent.pass.cpp19 static_assert((std::extent<T>::value == A), ""); in test_extent()
20 static_assert((std::extent<const T>::value == A), ""); in test_extent()
21 static_assert((std::extent<volatile T>::value == A), ""); in test_extent()
22 static_assert((std::extent<const volatile T>::value == A), ""); in test_extent()
28 static_assert((std::extent<T, 1>::value == A), ""); in test_extent1()
29 static_assert((std::extent<const T, 1>::value == A), ""); in test_extent1()
30 static_assert((std::extent<volatile T, 1>::value == A), ""); in test_extent1()
31 static_assert((std::extent<const volatile T, 1>::value == A), ""); in test_extent1()
/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/vulkan-validation-layers/tests/
Dvktestbinding.h475 VkExtent3D extent() const { return create_info_.extent; } in extent() function
476 VkExtent3D extent(uint32_t mip_level) const { in extent() function
477 return extent(create_info_.extent, mip_level); in extent()
521 static VkExtent2D extent(int32_t width, int32_t height);
522 static VkExtent2D extent(const VkExtent2D &extent, uint32_t mip_level);
523 static VkExtent2D extent(const VkExtent3D &extent);
525 static VkExtent3D extent(int32_t width, int32_t height, int32_t depth);
526 static VkExtent3D extent(const VkExtent3D &extent, uint32_t mip_level);
769 info.extent.width = 1; in create_info()
770 info.extent.height = 1; in create_info()
[all …]
/external/opencv3/3rdparty/openexr/Imath/
DImathFrustumTest.h310 Vec3<T> extent = (box.max - center); in isVisible() local
316 - planeNormAbsX[0] * extent.x in isVisible()
317 - planeNormAbsY[0] * extent.y in isVisible()
318 - planeNormAbsZ[0] * extent.z in isVisible()
327 - planeNormAbsX[1] * extent.x in isVisible()
328 - planeNormAbsY[1] * extent.y in isVisible()
329 - planeNormAbsZ[1] * extent.z in isVisible()
348 Vec3<T> extent = (box.max - center); in completelyContains() local
354 + planeNormAbsX[0] * extent.x in completelyContains()
355 + planeNormAbsY[0] * extent.y in completelyContains()
[all …]
/external/vulkan-validation-layers/demos/smoke/
DShell.cpp395 ctx_.extent.width = (uint32_t) -1; in create_swapchain()
396 ctx_.extent.height = (uint32_t) -1; in create_swapchain()
418 VkExtent2D extent = caps.currentExtent; in resize_swapchain() local
420 if (extent.width == (uint32_t) -1) { in resize_swapchain()
421 extent.width = width_hint; in resize_swapchain()
422 extent.height = height_hint; in resize_swapchain()
425 if (extent.width < caps.minImageExtent.width) in resize_swapchain()
426 extent.width = caps.minImageExtent.width; in resize_swapchain()
427 else if (extent.width > caps.maxImageExtent.width) in resize_swapchain()
428 extent.width = caps.maxImageExtent.width; in resize_swapchain()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp72 VkExtent3D extent; member
634 m_params.src.image.extent, // VkExtent3D extent; in CopyImageToImage()
661 m_params.dst.image.extent, // VkExtent3D extent; in CopyImageToImage()
685 m_params.src.image.extent.width, in iterate()
686 m_params.src.image.extent.height, in iterate()
687 m_params.src.image.extent.depth)); in iterate()
688 …eLevel->getAccess(), m_params.src.image.extent.width, m_params.src.image.extent.height, m_params.s… in iterate()
690 (int)m_params.dst.image.extent.width, in iterate()
691 (int)m_params.dst.image.extent.height, in iterate()
692 (int)m_params.dst.image.extent.depth)); in iterate()
[all …]
/external/ImageMagick/coders/
Dpnm.c100 static MagickBooleanType IsPNM(const unsigned char *magick,const size_t extent) in IsPNM() argument
102 if (extent < 2) in IsPNM()
151 extent; in PNMComment() local
158 extent=strlen(comment)+MagickPathExtent; in PNMComment()
161 if ((size_t) (p-comment+1) >= extent) in PNMComment()
163 extent<<=1; in PNMComment()
164 comment=(char *) ResizeQuantumMemory(comment,extent+MagickPathExtent, in PNMComment()
249 extent, in ReadPNMImage() local
576 extent=GetQuantumExtent(image,quantum_info,quantum_type); in ReadPNMImage()
597 pixels=(unsigned char *) ReadBlobStream(image,extent, in ReadPNMImage()
[all …]
Dsvg.c413 extent; in GetTransformTokens() local
422 extent=8; in GetTransformTokens()
423 tokens=(char **) AcquireQuantumMemory(extent+2UL,sizeof(*tokens)); in GetTransformTokens()
439 if (i == extent) in GetTransformTokens()
441 extent<<=1; in GetTransformTokens()
442 tokens=(char **) ResizeQuantumMemory(tokens,extent+2,sizeof(*tokens)); in GetTransformTokens()
3664 extent, in WriteSVGImage() local
3717 extent=strlen(token)+MagickPathExtent; in WriteSVGImage()
3762 GetNextToken(q,&q,extent,token); in WriteSVGImage()
3764 GetNextToken(q,&q,extent,token); in WriteSVGImage()
[all …]
/external/ImageMagick/www/source/core/
Dsigmoidal-contrast.c14 extent; in SigmoidalContrast() local
25 extent=GetImageViewExtent(contrast_view); in SigmoidalContrast()
27 for (x=0; x < (ssize_t) (extent.width-extent.height); x++) in SigmoidalContrast()
36 for (x=0; x < (ssize_t) (extent.width-extent.height); x++) in SigmoidalContrast()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageSparseResidency.cpp113 tcu::UVec3 alignedDivide (const VkExtent3D& extent, const VkExtent3D& divisor) in alignedDivide() argument
117 result.x() = extent.width / divisor.width + ((extent.width % divisor.width) ? 1u : 0u); in alignedDivide()
118 result.y() = extent.height / divisor.height + ((extent.height % divisor.height) ? 1u : 0u); in alignedDivide()
119 result.z() = extent.depth / divisor.depth + ((extent.depth % divisor.depth) ? 1u : 0u); in alignedDivide()
299 …imageCreateInfo.extent = makeExtent3D(getLayerSize(m_imageType, m_imageSize)); //VkExtent3D … in iterate()
390 const VkExtent3D mipExtent = mipLevelExtents(imageCreateInfo.extent, mipLevelNdx); in iterate()
425 VkExtent3D extent; in iterate() local
426 extent.width = (x == numSparseBinds.x() - 1) ? lastBlockExtent.x() : imageGranularity.width; in iterate()
427 extent.height = (y == numSparseBinds.y() - 1) ? lastBlockExtent.y() : imageGranularity.height; in iterate()
428 extent.depth = (z == numSparseBinds.z() - 1) ? lastBlockExtent.z() : imageGranularity.depth; in iterate()
[all …]
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.prop.query.pass.cpp41 static_assert(ex::extent_v<T> == std::extent<T>::value, ""); in main()
46 static_assert(ex::extent_v<T, 0> == std::extent<T, 0>::value, ""); in main()
51 static_assert(ex::extent_v<T, 1> == std::extent<T, 1>::value, ""); in main()
56 static_assert(ex::extent_v<T, 5> == std::extent<T, 5>::value, ""); in main()
61 static_assert(ex::extent_v<T, 0> == std::extent<T, 0>::value, ""); in main()
/external/vulkan-validation-layers/layers/
Dimage.h61 VkExtent3D extent; member
65 imageType(VK_IMAGE_TYPE_RANGE_SIZE), extent{}, flags(0){}; in _IMAGE_STATE()
68 … samples(pCreateInfo->samples), imageType(pCreateInfo->imageType), extent(pCreateInfo->extent), in _IMAGE_STATE()

12345678910>>...15