Home
last modified time | relevance | path

Searched refs:usage (Results 2351 - 2375 of 3061) sorted by relevance

1...<<919293949596979899100>>...123

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDepthRangeUnrestrictedTests.cpp308 Move<VkBuffer> createBufferAndBindMemory (Context& context, VkDeviceSize size, VkBufferUsageFlags usage, de::MovePtr<Allocation>* pAlloc)
320 usage, // VkBufferUsageFlags usage;
338 VkImageUsageFlags usage, in createImage2DAndBindMemory()
358 usage, // VkImageUsageFlags usage; in createImage2DAndBindMemory()
334 createImage2DAndBindMemory(Context& context, VkFormat format, deUint32 width, deUint32 height, VkImageUsageFlags usage, VkSampleCountFlagBits sampleCount, de::details::MovePtr<Allocation>* pAlloc) createImage2DAndBindMemory() argument
H A DvktPipelineMultisampleImageTests.cpp544 Move<VkImage> makeImage (const DeviceInterface& vk, const VkDevice device, const VkFormat format, const IVec2& size, const deUint32 numLayers, const VkSampleCountFlagBits samples, const VkImageUsageFlags usage) in makeImage() argument
558 usage, // VkImageUsageFlags usage; in makeImage()
608 const VkImageUsageFlags usage) in checkImageFormatRequirements()
613 if (((usage & VK_IMAGE_USAGE_STORAGE_BIT) != 0) && !features.shaderStorageImageMultisample) in checkImageFormatRequirements()
618 physDevice, format, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OPTIMAL, usage, (VkImageCreateFlags)0, &imageFormatProperties); in checkImageFormatRequirements()
604 checkImageFormatRequirements(const InstanceInterface& vki, const VkPhysicalDevice physDevice, const VkSampleCountFlagBits sampleCount, const VkFormat format, const VkImageUsageFlags usage) checkImageFormatRequirements() argument
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
H A DvktGlobalPriorityQueueTests.cpp211 auto createImage (VkImageUsageFlags usage,
243 de::MovePtr<ImageWithMemory> GPQInstanceBase::createImage (VkImageUsageFlags usage, deUint32 queueFamilyIdx, VkQueue queue) const in createImage() argument
268 imageInfo.usage = usage; in createImage()
/third_party/vulkan-loader/tests/framework/icd/
H A Dtest_icd.cpp948 [[maybe_unused]] VkSampleCountFlagBits samples, [[maybe_unused]] VkImageUsageFlags usage, [[maybe_unused]] VkImageTiling tiling,
961 [[maybe_unused]] VkImageTiling tiling, [[maybe_unused]] VkImageUsageFlags usage, [[maybe_unused]] VkImageCreateFlags flags,
1022 pFormatInfo->samples, pFormatInfo->usage, pFormatInfo->tiling,
1050 pImageFormatInfo->tiling, pImageFormatInfo->usage, pImageFormatInfo->flags,
/kernel/linux/linux-5.10/block/
H A Dblk-iocost.c129 * device on its own. Let's say A's usage amounts to 100ms worth of IO
139 * A's weight will be lowered so that it hovers above the actual usage and
297 /* halve debts if avg usage over 100ms is under 50% */
1689 u32 usage, struct ioc_now *now) in hweight_after_donation()
1716 * consume the usage determined above, we want to determine new_hwi so in hweight_after_donation()
1719 * We need to execute usage worth of IOs while spending the sum of the in hweight_after_donation()
1723 * usage = (1 - MARGIN_TARGET + delta) * new_hwi in hweight_after_donation()
1727 * new_hwi = usage / (1 - MARGIN_TARGET + delta) in hweight_after_donation()
1732 new_hwi = div64_s64(WEIGHT_ONE * usage, WEIGHT_ONE - target + delta); in hweight_after_donation()
2049 * average usage an in ioc_forgive_debts()
1688 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, u32 usage, struct ioc_now *now) hweight_after_donation() argument
2201 u32 usage, hw_active, hw_inuse; ioc_timer_fn() local
[all...]
/third_party/glfw/tests/
H A Dtriangle-vulkan.c745 .usage = VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, in demo_prepare_depth()
811 VkImageUsageFlags usage, VkFlags required_props) { in demo_prepare_texture_image()
831 .usage = usage, in demo_prepare_texture_image()
1042 .usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, in demo_prepare_vertices()
809 demo_prepare_texture_image(struct demo *demo, const uint32_t *tex_colors, struct texture_object *tex_obj, VkImageTiling tiling, VkImageUsageFlags usage, VkFlags required_props) demo_prepare_texture_image() argument
/third_party/libcoap/examples/
H A Dcoap-server.c2118 usage(const char *program, const char *version) { in usage() function
2782 usage(argv[0], LIBCOAP_PACKAGE_VERSION); in main()
2801 usage(argv[0], LIBCOAP_PACKAGE_VERSION); in main()
2874 usage(argv[0], LIBCOAP_PACKAGE_VERSION); in main()
2895 usage(argv[0], LIBCOAP_PACKAGE_VERSION); in main()
3046 /* Clean up local usage */ in main()
3102 /* Clean up library usage */ in main()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleImageTests.cpp548 Move<VkImage> makeImage (const DeviceInterface& vk, const VkDevice device, const VkFormat format, const IVec2& size, const deUint32 numLayers, const VkSampleCountFlagBits samples, const VkImageUsageFlags usage) in makeImage() argument
562 usage, // VkImageUsageFlags usage; in makeImage()
612 const VkImageUsageFlags usage) in checkImageFormatRequirements()
617 if (((usage & VK_IMAGE_USAGE_STORAGE_BIT) != 0) && !features.shaderStorageImageMultisample) in checkImageFormatRequirements()
622 physDevice, format, VK_IMAGE_TYPE_2D, VK_IMAGE_TILING_OPTIMAL, usage, (VkImageCreateFlags)0, &imageFormatProperties); in checkImageFormatRequirements()
608 checkImageFormatRequirements(const InstanceInterface& vki, const VkPhysicalDevice physDevice, const VkSampleCountFlagBits sampleCount, const VkFormat format, const VkImageUsageFlags usage) checkImageFormatRequirements() argument
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl.cc850 // Returns the argument with the given usage in EmitTextureCall()
851 auto arg = [&](Usage usage) { in EmitTextureCall()
852 int idx = signature.IndexOf(usage); in EmitTextureCall()
1009 for (auto usage : in EmitTextureCall()
1012 if (auto* e = arg(usage)) { in EmitTextureCall()
1017 if (usage == Usage::kCoords && in EmitTextureCall()
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_device.h16827 size += vn_sizeof_VkFlags(&val->usage); in vn_sizeof_VkPhysicalDeviceImageFormatInfo2_self()
16894 vn_encode_VkFlags(enc, &val->usage); in vn_encode_VkPhysicalDeviceImageFormatInfo2_self()
17595 size += vn_sizeof_VkFlags(&val->usage); in vn_sizeof_VkPhysicalDeviceSparseImageFormatInfo2_self()
17626 vn_encode_VkFlags(enc, &val->usage); in vn_encode_VkPhysicalDeviceSparseImageFormatInfo2_self()
17762 size += vn_sizeof_VkFlags(&val->usage); in vn_sizeof_VkPhysicalDeviceExternalBufferInfo_self()
17791 vn_encode_VkFlags(enc, &val->usage); in vn_encode_VkPhysicalDeviceExternalBufferInfo_self()
19045 static inline size_t vn_sizeof_vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) in vn_sizeof_vkGetPhysicalDeviceImageFormatProperties() argument
19055 cmd_size += vn_sizeof_VkFlags(&usage); in vn_sizeof_vkGetPhysicalDeviceImageFormatProperties()
19064 static inline void vn_encode_vkGetPhysicalDeviceImageFormatProperties(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) in vn_encode_vkGetPhysicalDeviceImageFormatProperties() argument
19075 vn_encode_VkFlags(enc, &usage); in vn_encode_vkGetPhysicalDeviceImageFormatProperties()
19081 vn_sizeof_vkGetPhysicalDeviceImageFormatProperties_reply(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) vn_sizeof_vkGetPhysicalDeviceImageFormatProperties_reply() argument
19101 vn_decode_vkGetPhysicalDeviceImageFormatProperties_reply(struct vn_cs_decoder *dec, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) vn_decode_vkGetPhysicalDeviceImageFormatProperties_reply() argument
19543 vn_sizeof_vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) vn_sizeof_vkGetPhysicalDeviceSparseImageFormatProperties() argument
19569 vn_encode_vkGetPhysicalDeviceSparseImageFormatProperties(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) vn_encode_vkGetPhysicalDeviceSparseImageFormatProperties() argument
19593 vn_sizeof_vkGetPhysicalDeviceSparseImageFormatProperties_reply(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) vn_sizeof_vkGetPhysicalDeviceSparseImageFormatProperties_reply() argument
19618 vn_decode_vkGetPhysicalDeviceSparseImageFormatProperties_reply(struct vn_cs_decoder *dec, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) vn_decode_vkGetPhysicalDeviceSparseImageFormatProperties_reply() argument
20867 vn_submit_vkGetPhysicalDeviceImageFormatProperties(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties, struct vn_instance_submit_command *submit) vn_submit_vkGetPhysicalDeviceImageFormatProperties() argument
21014 vn_submit_vkGetPhysicalDeviceSparseImageFormatProperties(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties, struct vn_instance_submit_command *submit) vn_submit_vkGetPhysicalDeviceSparseImageFormatProperties() argument
21488 vn_call_vkGetPhysicalDeviceImageFormatProperties(struct vn_instance *vn_instance, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) vn_call_vkGetPhysicalDeviceImageFormatProperties() argument
21504 vn_async_vkGetPhysicalDeviceImageFormatProperties(struct vn_instance *vn_instance, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) vn_async_vkGetPhysicalDeviceImageFormatProperties() argument
21636 vn_call_vkGetPhysicalDeviceSparseImageFormatProperties(struct vn_instance *vn_instance, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) vn_call_vkGetPhysicalDeviceSparseImageFormatProperties() argument
21649 vn_async_vkGetPhysicalDeviceSparseImageFormatProperties(struct vn_instance *vn_instance, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties) vn_async_vkGetPhysicalDeviceSparseImageFormatProperties() argument
[all...]
/third_party/skia/third_party/vulkanmemoryallocator/include/
H A Dvk_mem_alloc.h55 - [Controlling memory usage](@ref staying_within_budget_controlling_memory_usage)
175 bufferInfo.usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT;
178 allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY;
232 VmaAllocationCreateInfo::usage using one of the values of enum #VmaMemoryUsage.
233 It defines high level, common usage types.
243 bufferInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT;
246 allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY;
276 If you use VmaAllocationCreateInfo::usage, it is just internally converted to
398 bufCreateInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT;
401 allocCreateInfo.usage
2507 VkDeviceSize usage; global() member
2753 VmaMemoryUsage usage; global() member
[all...]
/third_party/mesa3d/src/gallium/frontends/nine/
H A Ddevice9.c284 /* We cap texture memory usage to 95% of what is reported free initially in NineDevice9_ctor()
364 /* Due to the pb_cache, in some cases the buffer_upload path can increase GTT usage/virtual memory. in NineDevice9_ctor()
366 * That way csmt_force=0 can be used as a workaround to reduce GTT usage/virtual memory. */ in NineDevice9_ctor()
387 tmpl.usage = PIPE_USAGE_DEFAULT; in NineDevice9_ctor()
427 tmpl.usage = PIPE_USAGE_DEFAULT; in NineDevice9_ctor()
516 tmplt.usage = PIPE_USAGE_DEFAULT; in NineDevice9_ctor()
755 * for d3d memory usage. Instead of actually freeing from memory, in NineDevice9_EvictManagedResources()
1506 user_assert(!(srcb->base.usage & D3DUSAGE_AUTOGENMIPMAP) || in NineDevice9_UpdateTexture()
1507 dstb->base.usage & D3DUSAGE_AUTOGENMIPMAP, D3DERR_INVALIDCALL); in NineDevice9_UpdateTexture()
1617 if (dstb->base.usage in NineDevice9_UpdateTexture()
[all...]
/third_party/python/Modules/
H A D_ssl.c3188 usage for no cost at all. */ in _ssl__SSLContext_impl()
5434 CERT_ENHKEY_USAGE *usage; in parseKeyUsage() local
5446 usage = (CERT_ENHKEY_USAGE*)PyMem_Malloc(size); in parseKeyUsage()
5447 if (usage == NULL) { in parseKeyUsage()
5451 /* Now get the actual enhanced usage property */ in parseKeyUsage()
5452 if (!CertGetEnhancedKeyUsage(pCertCtx, flags, usage, &size)) { in parseKeyUsage()
5453 PyMem_Free(usage); in parseKeyUsage()
5464 for (i = 0; i < usage->cUsageIdentifier; ++i) { in parseKeyUsage()
5465 if (usage->rgpszUsageIdentifier[i]) { in parseKeyUsage()
5468 oid = PyUnicode_FromString(usage in parseKeyUsage()
[all...]
/third_party/python/Lib/test/
H A Dtest_shutil.py1725 usage = shutil.disk_usage(os.path.dirname(__file__))
1727 self.assertIsInstance(getattr(usage, attr), int)
1728 self.assertGreater(usage.total, 0)
1729 self.assertGreater(usage.used, 0)
1730 self.assertGreaterEqual(usage.free, 0)
1731 self.assertGreaterEqual(usage.total, usage.used)
1732 self.assertGreater(usage.total, usage.free)
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsresize.c108 "The usage of the /f parameter is very IMPORTANT! No modification was\n"
331 * usage - Print a list of the parameters to the program
338 static void usage(int ret) in usage() function
438 usage(1); in get_new_volume_size()
464 usage(1); in get_new_volume_size()
585 usage(1); in parse_options()
590 usage(1); in parse_options()
611 usage(err > 0); in parse_options()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustnessExtsTests.cpp1898 VkBufferUsageFlags usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in iterate() local
1903 usage |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in iterate()
1909 usage |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; in iterate()
1913 usage |= VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in iterate()
1917 usage |= VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT; in iterate()
1925 vk, device, allocator, makeBufferCreateInfo(size, usage), MemoryRequirement::HostVisible)); in iterate()
2044 | VK_IMAGE_USAGE_TRANSFER_DST_BIT, // VkImageUsageFlags usage; in iterate()
2080 | VK_IMAGE_USAGE_TRANSFER_DST_BIT, // VkImageUsageFlags usage; in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cMultiBindTests.cpp168 void InitData(deqp::Context& context, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size,
183 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size,
413 * @param usage Buffer usage enum
417 void Buffer::InitData(deqp::Context& context, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, in InitData() argument
428 Data(gl, m_target, usage, size, data); in InitData()
505 * @param usage Buffer usage enum
509 void Buffer::Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, in Data() argument
512 gl.bufferData(target, size, data, usage); in Data()
[all...]
H A Dgl4cBufferStorageTests.cpp109 void InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data);
137 static void Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size,
497 * @param usage Buffer usage enum
501 void Buffer::InitData(glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data) in InitData() argument
512 Data(gl, m_target, usage, size, data); in InitData()
518 * @param usage Buffer usage enum
679 * @param usage Buffer usage enu
683 Data(const glw::Functions& gl, glw::GLenum target, glw::GLenum usage, glw::GLsizeiptr size, const glw::GLvoid* data) Data() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustnessExtsTests.cpp1931 VkBufferUsageFlags usage = VK_BUFFER_USAGE_VERTEX_BUFFER_BIT; in iterate() local
1936 usage |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in iterate()
1942 usage |= VK_BUFFER_USAGE_STORAGE_BUFFER_BIT; in iterate()
1946 usage |= VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT; in iterate()
1950 usage |= VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT; in iterate()
1958 vk, device, allocator, makeBufferCreateInfo(size, usage), MemoryRequirement::HostVisible)); in iterate()
2078 | VK_IMAGE_USAGE_TRANSFER_DST_BIT, // VkImageUsageFlags usage; in iterate()
2114 | VK_IMAGE_USAGE_TRANSFER_DST_BIT, // VkImageUsageFlags usage; in iterate()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dwpa_cli.c81 static void usage(void) in usage() function
89 " -h = help (show this usage text)\n" in usage()
3044 const char *usage; member
3068 "[command] = show usage help" },
3703 * Prints command usage, lines are padded with the specified string.
3711 for (n = 0; (c = cmd->usage[n]); n++) { in print_cmd_help()
3802 printf("\r%s\n", wpa_cli_commands[i].usage); in wpa_cli_cmd_completion()
4687 usage(); in main()
4706 usage(); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dwpa_cli.c88 static void usage(void) in usage() function
96 " -h = help (show this usage text)\n" in usage()
3502 const char *usage; member
3526 "[command] = show usage help" },
4256 * Prints command usage, lines are padded with the specified string.
4264 for (n = 0; (c = cmd->usage[n]); n++) { in print_cmd_help()
4355 printf("\r%s\n", wpa_cli_commands[i].usage); in wpa_cli_cmd_completion()
5256 usage(); in main()
5278 usage(); in main()
/kernel/linux/common_modules/tzdriver/agent_rpmb/mplat/
H A Drpmb_driver.c56 uint32_t usage; member
/kernel/linux/linux-5.10/arch/m68k/math-emu/
H A Dfp_movem.S47 | for other register usage see fp_decode.h
/kernel/linux/linux-5.10/drivers/cpuidle/
H A Dcpuidle.c272 dev->states_usage[entered_state].usage++; in cpuidle_enter_state()
/kernel/linux/linux-6.6/arch/m68k/math-emu/
H A Dfp_movem.S47 | for other register usage see fp_decode.h

Completed in 134 milliseconds

1...<<919293949596979899100>>...123