Home
last modified time | relevance | path

Searched refs:usage (Results 1851 - 1875 of 3388) sorted by relevance

1...<<71727374757677787980>>...136

/third_party/vixl/examples/aarch32/
H A Ddisasm-a32.cc193 void usage() { in usage() function
194 std::cout << "usage: disasm-a32 <file>\n" in usage()
205 usage(); in main()
/third_party/python/PCbuild/
H A Dget_externals.bat31 if "x%~1" NEQ "x" goto usage
99 :usage label
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sparse_resources/
H A DvktSparseResourcesImageAlignedMipSize.cpp162 imageCreateInfo.usage = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in iterate()
184 imageCreateInfo.usage, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/util/
H A DvktExternalMemoryUtil.hpp108 * usage; - Combination of AHARDWAREBUFFER_USAGE_*
113 virtual vk::pt::AndroidHardwareBufferPtr allocate(deUint32 width, deUint32 height, deUint32 layers, deUint32 format, deUint64 usage) = 0;
133 * usage; - Combination of AHARDWAREBUFFER_USAGE_*
141 deUint64* usage,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DBufferGL.cpp60 gl::BufferUsage usage) in setData()
69 ToGLenum(usage))); in setData()
56 setData(const gl::Context *context, gl::BufferBinding target, const void *data, size_t size, gl::BufferUsage usage) setData() argument
/foundation/graphic/graphic_surface/surface/src/
H A Dproducer_surface.cpp55 windowConfig_.usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_MEM_DMA; in ProducerSurface()
539 GSError ProducerSurface::SetDefaultUsage(uint64_t usage)
544 return producer_->SetDefaultUsage(usage);
963 void ProducerSurface::SetWindowConfigUsage(uint64_t usage)
966 windowConfig_.usage = usage;
/foundation/window/window_manager/wm/src/
H A Dwindow_extension_session_impl.cpp64 TLOGI(WmsLogTag::WMS_UIEXT, "UIExtension usage=%{public}u, the default state of hideNonSecureWindows is %{public}d", in WindowExtensionSessionImpl()
105 auto usage = property_->GetUIExtensionUsage(); in Create() local
106 if ((usage == UIExtensionUsage::MODAL) || (usage == UIExtensionUsage::CONSTRAINED_EMBEDDED)) { in Create()
167 auto usage = property_->GetUIExtensionUsage(); in Destroy() local
168 if ((usage == UIExtensionUsage::MODAL) || (usage == UIExtensionUsage::CONSTRAINED_EMBEDDED)) { in Destroy()
/kernel/linux/linux-5.10/samples/bpf/
H A Dxdpsock_user.c917 static void usage(const char *prog) in usage() function
1042 usage(basename(argv[0])); in parse_command_line()
1063 usage(basename(argv[0])); in parse_command_line()
1068 usage(basename(argv[0])); in parse_command_line()
1079 usage(basename(argv[0])); in parse_command_line()
1086 usage(basename(argv[0])); in parse_command_line()
/kernel/linux/linux-5.10/security/keys/
H A Dkeyring.c216 static struct key_tag default_domain_tag = { .usage = REFCOUNT_INIT(1), }; in key_set_index_key()
240 if (refcount_dec_and_test(&tag->usage)) { in key_put_tag()
891 * Returns a pointer to the found key and increments the key usage count if
1091 * Returns a pointer to the found key with usage count incremented if
1176 * (ie. it has a zero usage count) */ in find_keyring_by_name()
1177 if (!refcount_inc_not_zero(&keyring->usage)) in find_keyring_by_name()
1440 kenter("{%d,%d}", keyring->serial, refcount_read(&keyring->usage)); in key_link()
1453 kdebug("begun {%d,%d}", keyring->serial, refcount_read(&keyring->usage)); in key_link()
1463 kleave(" = %d {%d,%d}", ret, keyring->serial, refcount_read(&keyring->usage)); in key_link()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dbpf-loader.c188 const char *usage; member
194 .usage = "exec=<full path of file>",
200 .usage = "module=<module name> ",
206 .usage = "inlines=[yes|no] ",
212 .usage = "force=[yes|no] ",
234 pr_debug("\t%s:\t%s\n", bpf_prog_config_terms[i].usage, in do_prog_config()
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-buf.c309 * dma_buf_set_name - Set a name to a specific dma_buf to track the usage.
341 enum dma_resv_usage usage; in dma_buf_export_sync_file() local
359 usage = dma_resv_usage_rw(arg.flags & DMA_BUF_SYNC_WRITE); in dma_buf_export_sync_file()
360 ret = dma_resv_get_singleton(dmabuf->resv, usage, &fence); in dma_buf_export_sync_file()
398 enum dma_resv_usage usage; in dma_buf_import_sync_file() local
416 usage = (arg.flags & DMA_BUF_SYNC_WRITE) ? DMA_RESV_USAGE_WRITE : in dma_buf_import_sync_file()
429 dma_resv_add_fence(dmabuf->resv, f, usage); in dma_buf_import_sync_file()
/kernel/linux/linux-6.6/security/keys/
H A Dkeyring.c216 static struct key_tag default_domain_tag = { .usage = REFCOUNT_INIT(1), }; in key_set_index_key()
240 if (refcount_dec_and_test(&tag->usage)) { in key_put_tag()
891 * Returns a pointer to the found key and increments the key usage count if
1091 * Returns a pointer to the found key with usage count incremented if
1176 * (ie. it has a zero usage count) */ in find_keyring_by_name()
1177 if (!refcount_inc_not_zero(&keyring->usage)) in find_keyring_by_name()
1440 kenter("{%d,%d}", keyring->serial, refcount_read(&keyring->usage)); in key_link()
1453 kdebug("begun {%d,%d}", keyring->serial, refcount_read(&keyring->usage)); in key_link()
1463 kleave(" = %d {%d,%d}", ret, keyring->serial, refcount_read(&keyring->usage)); in key_link()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDecimalFormat.java2119 CurrencyUsage usage = properties.getCurrencyUsage(); in getCurrencyUsage()
2120 if (usage == null) { in getCurrencyUsage()
2121 usage = CurrencyUsage.STANDARD; in getCurrencyUsage()
2123 return usage; in getCurrencyUsage()
2144 * @param usage The strategy to use when rounding in the current currency.
2148 public synchronized void setCurrencyUsage(CurrencyUsage usage) { in setCurrencyUsage() argument
2149 properties.setCurrencyUsage(usage); in setCurrencyUsage()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DDecimalFormat.java1934 CurrencyUsage usage = properties.getCurrencyUsage(); in getCurrencyUsage()
1935 if (usage == null) { in getCurrencyUsage()
1936 usage = CurrencyUsage.STANDARD; in getCurrencyUsage()
1938 return usage; in getCurrencyUsage()
1959 * @param usage The strategy to use when rounding in the current currency.
1961 public synchronized void setCurrencyUsage(CurrencyUsage usage) { in setCurrencyUsage() argument
1962 properties.setCurrencyUsage(usage); in setCurrencyUsage()
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsfix.c123 * usage
126 static void usage(int ret) in usage() function
188 usage(1); in parse_options()
201 usage(0); in parse_options()
203 usage(1); in parse_options()
209 usage(1); in parse_options()
215 usage(1); in parse_options()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_formats.c1091 * created with usage flags that are not supported for the format the in anv_get_image_format_properties()
1096 * different usage than the image so we can't always filter on usage. in anv_get_image_format_properties()
1099 const VkImageUsageFlags image_usage = info->usage; in anv_get_image_format_properties()
1307 VkImageUsageFlags usage, in anv_GetPhysicalDeviceImageFormatProperties()
1319 .usage = usage, in anv_GetPhysicalDeviceImageFormatProperties()
1439 base_info->usage); in anv_GetPhysicalDeviceImageFormatProperties2()
1598 VkImageUsageFlags usage, in anv_GetPhysicalDeviceSparseImageFormatProperties()
1302 anv_GetPhysicalDeviceImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags createFlags, VkImageFormatProperties* pImageFormatProperties) anv_GetPhysicalDeviceImageFormatProperties() argument
1593 anv_GetPhysicalDeviceSparseImageFormatProperties( VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, uint32_t samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pNumProperties, VkSparseImageFormatProperties* pProperties) anv_GetPhysicalDeviceSparseImageFormatProperties() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawCreateInfoUtil.cpp144 usage = _usage; in BufferCreateInfo()
166 usage = other.usage; in BufferCreateInfo()
189 usage = other.usage; in operator =()
239 usage = _usage; in ImageCreateInfo()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawCreateInfoUtil.cpp144 usage = _usage; in BufferCreateInfo()
166 usage = other.usage; in BufferCreateInfo()
189 usage = other.usage; in operator =()
239 usage = _usage; in ImageCreateInfo()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DRenderPassDescriptorValidationTests.cpp53 wgpu::TextureUsage usage = wgpu::TextureUsage::RenderAttachment) { in CreateTexture()
62 descriptor.usage = usage; in CreateTexture()
133 // Check that the render pass color attachment must have the RenderAttachment usage.
146 texDesc.usage = wgpu::TextureUsage::TextureBinding; in TEST_F()
354 // Check that the render pass depth attachment must have the RenderAttachment usage.
367 texDesc.usage = wgpu::TextureUsage::TextureBinding; in TEST_F()
583 // It is not allowed to use a resolve target which is created from a texture whose usage does
906 texDesc.usage = wgpu::TextureUsage::RenderAttachment; in TEST_F()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DNumberSkeletonImpl.java209 b.add("usage", StemEnum.STEM_UNIT_USAGE.ordinal()); in buildStemTrie()
830 checkNull(macros.usage, segment); in parseStem()
955 if (macros.usage != null && GeneratorHelpers.usage(macros, sb)) { in generateSkeleton()
1124 macros.usage = segment.asString(); in parseUnitUsageOption()
1125 // We do not do any validation of the usage string: it depends on the in parseUnitUsageOption()
1555 private static boolean usage(MacroProps macros, StringBuilder sb) { in usage() method in NumberSkeletonImpl.GeneratorHelpers
1556 if (macros.usage != null && macros.usage.length() > 0) { in usage()
1557 sb.append("usage/"); in usage()
[all...]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_pipe.h330 /* Memory usage if the buffer placement is optimal. */
1012 /* Current unaccounted memory usage. */
1346 unsigned usage);
1348 unsigned usage);
1353 unsigned usage, unsigned size, unsigned alignment);
1355 unsigned usage, unsigned size, unsigned alignment);
1695 /* Add memory usage for need_gfx_cs_space */ in si_context_add_resource_size()
1946 /* There are two memory usage counters in the winsys for all buffers in si_need_gfx_cs_space()
1971 struct si_resource *bo, unsigned usage) in radeon_add_to_buffer_list()
1973 assert(usage); in radeon_add_to_buffer_list()
1970 radeon_add_to_buffer_list(struct si_context *sctx, struct radeon_cmdbuf *cs, struct si_resource *bo, unsigned usage) radeon_add_to_buffer_list() argument
1993 radeon_add_to_gfx_buffer_list_check_mem(struct si_context *sctx, struct si_resource *bo, unsigned usage, bool check_mem) radeon_add_to_gfx_buffer_list_check_mem() argument
[all...]
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
H A Dradeon_drm_bo.c133 unsigned usage) in radeon_bo_wait()
499 enum pipe_map_flags usage) in radeon_bo_map()
505 if (!(usage & PIPE_MAP_UNSYNCHRONIZED)) { in radeon_bo_map()
507 if (usage & PIPE_MAP_DONTBLOCK) { in radeon_bo_map()
508 if (!(usage & PIPE_MAP_WRITE)) { in radeon_bo_map()
541 if (!(usage & PIPE_MAP_WRITE)) { in radeon_bo_map()
669 bo->base.usage = 0; in radeon_create_bo()
804 bo->base.usage = slab->buffer->base.usage; in radeon_bo_slab_alloc()
131 radeon_bo_wait(struct radeon_winsys *rws, struct pb_buffer *_buf, uint64_t timeout, unsigned usage) radeon_bo_wait() argument
496 radeon_bo_map(struct radeon_winsys *rws, struct pb_buffer *buf, struct radeon_cmdbuf *rcs, enum pipe_map_flags usage) radeon_bo_map() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
H A DvktConditionalDrawAndClearTests.cpp402 const auto usage = (memoryType ? VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT : VK_BUFFER_USAGE_TRANSFER_SRC_BIT) | extraUsage; in createInitBufferWithPredicate() local
403 BufferCreateInfo createInfo (dataSize, usage); in createInitBufferWithPredicate()
409 bufferUsageFlags2.usage = (VkBufferUsageFlagBits2KHR)createInfo.usage; in createInitBufferWithPredicate()
411 createInfo.usage = 0; in createInitBufferWithPredicate()
430 createInfo.usage = VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT in createInitBufferWithPredicate()
438 bufferUsageFlags2.usage = (VkBufferUsageFlagBits2KHR)createInfo.usage; in createInitBufferWithPredicate()
440 createInfo.usage = 0; in createInitBufferWithPredicate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
H A DvktRenderPassMultisampleTests.cpp168 VkImageUsageFlags usage, in createImage()
175 VkImageUsageFlags depthUsage = (separateStencilUsage == TEST_DEPTH) ? usage : (VkImageUsageFlags)VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in createImage()
176 VkImageUsageFlags stencilUsage = (separateStencilUsage == TEST_STENCIL) ? usage : (VkImageUsageFlags)VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in createImage()
197 separateStencilUsage ? depthUsage : usage, in createImage()
236 VkImageUsageFlags usage, in createImage()
247 const VkImageFormatProperties imageFormatProperties (getPhysicalDeviceImageFormatProperties(vki, physicalDevice, vkFormat, imageType, imageTiling, usage, 0u)); in createImage()
248 const VkImageUsageFlags depthUsage = (separateStencilUsage == TEST_DEPTH) ? usage : (VkImageUsageFlags)VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in createImage()
249 const VkImageUsageFlags stencilUsage = (separateStencilUsage == TEST_STENCIL) ? usage : (VkImageUsageFlags)VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT; in createImage()
288 depthUsage, // VkImageUsageFlags usage in createImage()
319 return createImage(vkd, device, 0u, imageType, vkFormat, imageExtent, 1u, 1u, sampleCountBit, imageTiling, usage, VK_SHARING_MODE_EXCLUSIV in createImage()
158 createImage(const DeviceInterface& vk, VkDevice device, VkImageCreateFlags flags, VkImageType imageType, VkFormat format, VkExtent3D extent, deUint32 mipLevels, deUint32 arrayLayers, VkSampleCountFlagBits samples, VkImageTiling tiling, VkImageUsageFlags usage, VkSharingMode sharingMode, deUint32 queueFamilyCount, const deUint32* pQueueFamilyIndices, VkImageLayout initialLayout, TestSeparateUsage separateStencilUsage) createImage() argument
230 createImage(const InstanceInterface& vki, VkPhysicalDevice physicalDevice, const DeviceInterface& vkd, VkDevice device, VkFormat vkFormat, VkSampleCountFlagBits sampleCountBit, VkImageUsageFlags usage, deUint32 width, deUint32 height, TestSeparateUsage separateStencilUsage = (TestSeparateUsage)0u) createImage() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
H A DvktSynchronizationSmokeTests.cpp222 VkBufferUsageFlags usage; member
245 bufferCreateParams.usage = bufferParameters.usage; in createVulkanBuffer()
283 VkBufferUsageFlags usage; member
319 imageCreateParams.usage = imageParameters.usage; in createVulkanImage()
754 bufferParameters.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in generateWork()
765 bufferParameters.usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT; in generateWork()
784 imageParameters.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT|VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in generateWork()

Completed in 47 milliseconds

1...<<71727374757677787980>>...136