Home
last modified time | relevance | path

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

12345678910>>...40

/third_party/e2fsprogs/resize/
Dextent.c40 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 …]
Dtest_extent.c27 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()
95 ext2fs_extent_dump(extent, out); in do_test()
97 retval = ext2fs_iterate_extent(extent, 0, 0, 0); in do_test()
101 retval = ext2fs_iterate_extent(extent, in do_test()
[all …]
/third_party/boost/libs/type_traits/test/
Dextent_test.cpp15 TT_TEST_BEGIN(extent)
17 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int>::value, 0);
18 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int[]>::value, 0);
19 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int[][10]>::value, 0);
20 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int[5][10]>::value, 5);
21 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int[5][10][40]>::value, 5);
22 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int (&)[5][10]>::value, 0);
23 BOOST_CHECK_INTEGRAL_CONSTANT(::tt::extent<int (*)[5][10]>::value, 0);
24 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::extent<int,1>::value), 0);
25 BOOST_CHECK_INTEGRAL_CONSTANT((::tt::extent<int[],1>::value), 0);
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Dextent.c108 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
534 extent->e_flags = 0; in ext2fs_extent_get()
542 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get()
[all …]
Dpunch.c169 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 …]
/third_party/e2fsprogs/debugfs/
Dextent_inode.c31 static void dbg_print_extent(char *desc, struct ext2fs_extent *extent) in dbg_print_extent() argument
36 (unsigned long long) extent->e_lblk, in dbg_print_extent()
37 (unsigned long long) extent->e_lblk + extent->e_len - 1, in dbg_print_extent()
38 extent->e_len, (unsigned long long) extent->e_pblk); in dbg_print_extent()
39 if (extent->e_flags & EXT2_EXTENT_FLAGS_LEAF) in dbg_print_extent()
41 if (extent->e_flags & EXT2_EXTENT_FLAGS_UNINIT) in dbg_print_extent()
43 if (extent->e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in dbg_print_extent()
45 if (!extent->e_flags) in dbg_print_extent()
144 struct ext2fs_extent extent; in generic_goto_node() local
156 retval = ext2fs_extent_get(current_handle, op, &extent); in generic_goto_node()
[all …]
/third_party/boost/libs/type_traits/doc/
Dextent.qbk8 [section:extent extent]
10 struct extent : public __integral_constant<std::size_t, EXTENT(T,N)> {};
12 __inherit Class template extent inherits from `__integral_constant<std::size_t, EXTENT(T,N)>`,
18 __header ` #include <boost/type_traits/extent.hpp>` or ` #include <boost/type_traits.hpp>`
22 [:`extent<int[1]>` inherits from `__integral_constant<std::size_t, 1>`.]
24 [:`extent<double[2][3][4], 0>::type` is the type `__integral_constant<std::size_t, 2>`.]
26 [:`extent<double[2][3][4], 1>::type` is the type `__integral_constant<std::size_t, 3>`.]
28 [:`extent<double[2][3][4], 2>::type` is the type `__integral_constant<std::size_t, 4>`.]
30 [:`extent<int[4]>::value` is an integral constant
33 [:`extent<int[][2]>::value` is an integral constant
[all …]
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DXlibSurfaceKHR.cpp57 VkExtent2D extent = { static_cast<uint32_t>(attr.width), static_cast<uint32_t>(attr.height) }; in getSurfaceCapabilities() local
59 pSurfaceCapabilities->currentExtent = extent; in getSurfaceCapabilities()
60 pSurfaceCapabilities->minImageExtent = extent; in getSurfaceCapabilities()
61 pSurfaceCapabilities->maxImageExtent = extent; in getSurfaceCapabilities()
70 const VkExtent3D &extent = image->getImage()->getExtent(); in attachImage() local
75 …1->XCreateImage(pDisplay, visual, attr.depth, ZPixmap, 0, buffer, extent.width, extent.height, 32,… in attachImage()
104 const VkExtent3D &extent = image->getImage()->getExtent(); in present() local
106 if(windowExtent.width != extent.width || windowExtent.height != extent.height) in present()
111 libX11->XPutImage(pDisplay, window, gc, xImage, 0, 0, 0, 0, extent.width, extent.height); in present()
DXcbSurfaceKHR.cpp64 VkExtent2D extent; in getSurfaceCapabilities() local
66 if(!getWindowSizeAndDepth(connection, window, &extent, &depth)) in getSurfaceCapabilities()
71 pSurfaceCapabilities->currentExtent = extent; in getSurfaceCapabilities()
72 pSurfaceCapabilities->minImageExtent = extent; in getSurfaceCapabilities()
73 pSurfaceCapabilities->maxImageExtent = extent; in getSurfaceCapabilities()
109 const VkExtent3D &extent = image->getImage()->getExtent(); in present() local
111 if(windowExtent.width != extent.width || windowExtent.height != extent.height) in present()
119 size_t bufferSize = extent.height * stride; in present()
125 extent.width, in present()
126 extent.height, in present()
DWin32SurfaceKHR.cpp66 VkExtent2D extent; in getSurfaceCapabilities() local
67 VkResult result = getWindowSize(hwnd, extent); in getSurfaceCapabilities()
68 pSurfaceCapabilities->currentExtent = extent; in getSurfaceCapabilities()
69 pSurfaceCapabilities->minImageExtent = extent; in getSurfaceCapabilities()
70 pSurfaceCapabilities->maxImageExtent = extent; in getSurfaceCapabilities()
101 const VkExtent3D &extent = image->getImage()->getExtent(); in present() local
103 if(windowExtent.width != extent.width || windowExtent.height != extent.height) in present()
110 …StretchBlt(windowContext, 0, 0, extent.width, extent.height, bitmapContext, 0, 0, extent.width, ex… in present()
DWaylandSurfaceKHR.cpp74 const VkExtent3D &extent = image->getImage()->getExtent(); in attachImage() local
76 ftruncate(fd, extent.height * stride); in attachImage()
77 struct wl_shm_pool *pool = wl_shm_create_pool(shm, fd, extent.height * stride); in attachImage()
78 …wlImage->buffer = wl_shm_pool_create_buffer(pool, 0, extent.width, extent.height, stride, WL_SHM_F… in attachImage()
79 …wlImage->data = static_cast<uint8_t *>(mmap(NULL, extent.height * stride, PROT_READ | PROT_WRITE, … in attachImage()
91 const VkExtent3D &extent = image->getImage()->getExtent(); in detachImage() local
93 munmap(wlImage->data, extent.height * stride); in detachImage()
106 const VkExtent3D &extent = image->getImage()->getExtent(); in present() local
110 wl_surface_damage(surface, 0, 0, extent.width, extent.height); in present()
DDirectFBSurfaceEXT.cpp43 VkExtent2D extent = { static_cast<uint32_t>(width), static_cast<uint32_t>(height) }; in getSurfaceCapabilities() local
45 pSurfaceCapabilities->currentExtent = extent; in getSurfaceCapabilities()
46 pSurfaceCapabilities->minImageExtent = extent; in getSurfaceCapabilities()
47 pSurfaceCapabilities->maxImageExtent = extent; in getSurfaceCapabilities()
56 const VkExtent3D &extent = image->getImage()->getExtent(); in attachImage() local
57 desc.width = extent.width; in attachImage()
58 desc.height = extent.height; in attachImage()
/third_party/e2fsprogs/e2fsck/
Dextents.c65 struct ext2fs_extent extent; in load_extents() local
72 retval = ext2fs_extent_get(handle, EXT2_EXTENT_ROOT, &extent); in load_extents()
77 if (extent.e_flags & EXT2_EXTENT_FLAGS_SECOND_VISIT) in load_extents()
81 if (!(extent.e_flags & EXT2_EXTENT_FLAGS_LEAF)) { in load_extents()
84 extent.e_pblk, list->blocks_freed + 1); in load_extents()
87 ext2fs_block_alloc_stats2(fs, extent.e_pblk, -1); in load_extents()
96 blk64_t end = last->e_len + extent.e_len; in load_extents()
98 if (last->e_pblk + last->e_len == extent.e_pblk && in load_extents()
99 last->e_lblk + last->e_len == extent.e_lblk && in load_extents()
101 (extent.e_flags & EXT2_EXTENT_FLAGS_UNINIT) && in load_extents()
[all …]
/third_party/typescript/tests/baselines/reference/
DtypeInferenceLiteralUnion.js30 export function extent<T extends Numeric>(array: Array<T | Primitive>): [T | Primitive, T | Primiti…
36 extentMixed = extent([new NumCoercible(10), 13, '12', true]);
42 exports.extent = void 0;
56 function extent(array) { function
59 exports.extent = extent;
61 extentMixed = extent([new NumCoercible(10), 13, '12', true]);
/third_party/e2fsprogs/tests/d_punch/
Dexpect130 Inode 15 extent tree (at level 1) could be shorter. Optimize? yes
132 Inode 16 extent tree (at level 1) could be shorter. Optimize? yes
134 Inode 17 extent tree (at level 1) could be shorter. Optimize? yes
136 Inode 18 extent tree (at level 1) could be shorter. Optimize? yes
138 Inode 19 extent tree (at level 1) could be shorter. Optimize? yes
140 Inode 20 extent tree (at level 1) could be shorter. Optimize? yes
142 Inode 21 extent tree (at level 1) could be shorter. Optimize? yes
144 Inode 22 extent tree (at level 1) could be shorter. Optimize? yes
146 Inode 23 extent tree (at level 1) could be shorter. Optimize? yes
148 Inode 24 extent tree (at level 1) could be shorter. Optimize? yes
[all …]
/third_party/e2fsprogs/tests/d_punch_bigalloc/
Dexpect125 Inode 14 extent tree (at level 1) could be shorter. Optimize? yes
127 Inode 15 extent tree (at level 1) could be shorter. Optimize? yes
129 Inode 16 extent tree (at level 1) could be shorter. Optimize? yes
131 Inode 17 extent tree (at level 1) could be shorter. Optimize? yes
133 Inode 18 extent tree (at level 1) could be shorter. Optimize? yes
135 Inode 19 extent tree (at level 1) could be shorter. Optimize? yes
137 Inode 20 extent tree (at level 1) could be shorter. Optimize? yes
139 Inode 22 extent tree (at level 1) could be shorter. Optimize? yes
141 Inode 23 extent tree (at level 1) could be shorter. Optimize? yes
143 Inode 24 extent tree (at level 1) could be shorter. Optimize? yes
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTests.hpp67 VkExtent3D extent; member
132 deUint32 computeMipMapCount (const VkExtent3D& extent);
134 deUint32 computeImageSize (const VkExtent3D& extent,
152 const VkExtent3D& extent,
159 const VkExtent3D& extent,
259 …UpdatablePixelBufferAccess (const tcu::TextureFormat& format, const vk::VkExtent3D& extent, void* … in UpdatablePixelBufferAccess()
260 : PixelBufferAccess(format, extent.width, extent.height, extent.depth, data) in UpdatablePixelBufferAccess()
266 static deUint32 calcTexSize (const tcu::TextureFormat& format, const vk::VkExtent3D& extent) in calcTexSize()
268 return extent.width * extent.height * extent.depth * format.getPixelSize(); in calcTexSize()
286 const tcu::TextureFormat& format, const vk::VkExtent3D& extent, in PixelBufferAccessBuffer()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp117 r.extent.width = width; in makeRect2D()
118 r.extent.height = height; in makeRect2D()
138 inline VkRect2D makeRect2D(const VkExtent3D& extent) in makeRect2D() argument
140 return makeRect2D(0, 0, extent.width, extent.height); in makeRect2D()
143 inline VkRect2D makeRect2D(const VkExtent2D& extent) in makeRect2D() argument
145 return makeRect2D(0, 0, extent.width, extent.height); in makeRect2D()
168 inline VkViewport makeViewport(const VkExtent3D& extent) in makeViewport() argument
170 return makeViewport(0.0f, 0.0f, (float)extent.width, (float)extent.height, 0.0f, 1.0f); in makeViewport()
173 inline VkViewport makeViewport(const VkExtent2D& extent) in makeViewport() argument
175 return makeViewport(0.0f, 0.0f, (float)extent.width, (float)extent.height, 0.0f, 1.0f); in makeViewport()
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Ddraggable_scrollable_sheet.dart153 /// A [Notification] related to the extent, which is the size, and scroll
158 /// the sheet changes. When the extent of the sheet changes via a drag,
165 /// When an extent notification is received by a [NotificationListener], the
168 /// build or layout based on an extent notification would result in a layout
171 /// listens for extent notifications and responds by driving animations for the
174 /// Creates a notification that the extent of a [DraggableScrollableSheet] has
178 /// must be <= 1.0. The [extent] must be between [minExtent] and [maxExtent].
180 @required this.extent,
185 }) : assert(extent != null),
191 assert(minExtent <= extent),
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp104 VkExtent3D extent; member
228 …lDevice, DeviceInterface& device, Allocator& allocator, const VkExtent3D extent, VkFormat colorFor…
243 …lDevice, DeviceInterface& device, Allocator& allocator, const VkExtent3D extent, VkFormat colorFor… in ImageAttachment() argument
247 …ange colorImageSubresourceRange = makeImageSubresourceRange(aspectFlags, 0u, 1u, 0u, extent.depth); in ImageAttachment()
250 …const VkImageCreateInfo colorAttachmentImageInfo = makeImageCreateInfo(VK_IMAGE_TYPE_2D, extent,… in ImageAttachment()
348 … ImageAttachment(*m_logicalDevice, *m_device, *m_allocator, m_parameters.extent, m_parameters.colo… in MultiViewRenderTestInstance()
361 …renderPass, m_colorAttachment->getImageView(), m_parameters.extent.width, m_parameters.extent.heig… in iterate()
386 …tor<deUint8> pixelAccessData (m_parameters.extent.width * m_parameters.extent.height * m_paramet… in iterate()
387 …ormat(m_parameters.colorFormat), m_parameters.extent.width, m_parameters.extent.height, m_paramete… in iterate()
406 m_parameters.extent.depth, //deUint32 layerCount; in beforeDraw()
[all …]
/third_party/libwebsockets/lib/roles/http/server/
Dranges.c130 if (rp->end > rp->extent) in lws_ranges_next()
131 rp->end = rp->extent; in lws_ranges_next()
133 rp->start = rp->extent - rp->end; in lws_ranges_next()
134 rp->end = rp->extent - 1; in lws_ranges_next()
137 rp->end = rp->extent - 1; in lws_ranges_next()
182 unsigned long long extent) in lws_ranges_init() argument
192 rp->extent = extent; in lws_ranges_init()
/third_party/boost/boost/histogram/detail/
Dspan.hpp113 static constexpr std::size_t extent = Extent; member in boost::histogram::detail::span
119 assert(extent == dynamic_extent || in span()
120 static_cast<difference_type>(extent) == (last - first)); in span()
127 static_assert(extent == dynamic_extent || extent == N, "static sizes do not match"); in span()
131 class = std::enable_if_t<(extent == dynamic_extent || extent == N)> >
135 class = std::enable_if_t<(extent == dynamic_extent || extent == N)> >
152 class = std::enable_if_t<((extent == dynamic_extent || extent == N) &&
157 class = std::enable_if_t<((extent == dynamic_extent || extent == N) &&
216 : (extent != dynamic_extent ? extent - Offset : dynamic_extent))>
222 : (extent != dynamic_extent ? extent - Offset : dynamic_extent)); in subspan()
/third_party/boost/boost/graph/distributed/
Dfruchterman_reingold.hpp142 Point extent, simple_tiling tiling) in neighboring_tiles_force_pairs() argument
143 : position(position), origin(origin), extent(extent), tiling(tiling) in neighboring_tiles_force_pairs()
160 Dim two_k = Dim(2) * sqrt(extent[0] * extent[1] / num_vertices(g)); in operator ()()
169 cutoffs[right] = origin[0] + extent[0] - two_k; in operator ()()
170 cutoffs[bottom] = origin[1] + extent[1] - two_k; in operator ()()
248 Point extent; member in boost::graph::distributed::neighboring_tiles_force_pairs
257 typename property_traits<PositionMap>::value_type extent, in make_neighboring_tiles_force_pairs() argument
260 return neighboring_tiles_force_pairs<PositionMap>(position, origin, extent, in make_neighboring_tiles_force_pairs()
319 typename property_traits<PositionMap>::value_type const& extent, in fruchterman_reingold_force_directed_layout() argument
338 (g, position, origin, extent, in fruchterman_reingold_force_directed_layout()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp135 imageCopy.extent // VkExtent3D extent; in convertvkImageCopyTovkImageCopy2KHR()
214 imageResolve.extent // VkExtent3D extent; in convertvkImageResolveTovkImageResolve2KHR()
270 VkExtent3D extent; member
385 return (parms.imageType != VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u; in getArraySize()
391 …return parms.imageType == VK_IMAGE_TYPE_2D && parms.extent.depth % 6 == 0 ? VK_IMAGE_CREATE_CUBE_C… in getCreateFlags()
405 const VkExtent3D extent = in getExtent3D() local
407 (parms.extent.width >> mipLevel) * blockWidth, in getExtent3D()
408 (parms.imageType != VK_IMAGE_TYPE_1D) ? ((parms.extent.height >> mipLevel) * blockHeight) : 1u, in getExtent3D()
409 (parms.imageType == VK_IMAGE_TYPE_3D) ? parms.extent.depth : 1u, in getExtent3D()
411 return extent; in getExtent3D()
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dsliver_fill.dart29 /// extent in the main axis.
146 double extent = constraints.viewportMainAxisExtent - constraints.precedingScrollExtent;
150 extent = maxExtent;
154 minExtent: extent,
155 maxExtent: extent,
170 …if (constraints.precedingScrollExtent > constraints.viewportMainAxisExtent || childExtent > extent)
171 extent = childExtent;
172 if (maxExtent < extent)
173 maxExtent = extent;
174 if ((fillOverscroll ? maxExtent : extent) > childExtent) {
[all …]

12345678910>>...40