Home
last modified time | relevance | path

Searched refs:usage (Results 1276 - 1300 of 3061) sorted by relevance

1...<<51525354555657585960>>...123

/third_party/python/Tools/scripts/
H A Dfixcid.py47 def usage(): function
67 usage()
71 usage()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/htmldiff/
H A Dhtmldiff.pl32 # usage: htmldiff [[-c] [-l] [-o] oldversion newversion [output]]
92 # Added -o to the usage message.
128 sub usage { subroutine
449 getopts("clto") || usage();
453 if (@ARGV < 2) { usage(); }
/third_party/vk-gl-cts/external/amber/src/tests/
H A Drun_tests.py291 usage = 'usage: %prog [options] (file)'
292 parser = optparse.OptionParser(usage=usage)
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DBufferVk.h67 gl::BufferUsage usage,
73 gl::BufferUsage usage) override;
190 gl::BufferUsage usage);
H A DOverlayVk.cpp98 bufferCreateInfo.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT; in createFont()
167 bufferCreateInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in cullWidgets()
255 textBufferCreateInfo.usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; in onPresent()
/third_party/skia/third_party/externals/icu/source/samples/date/
H A Ddate.c50 static void usage(void);
92 /* usage info */ in main()
160 /* print usage info */ in main()
162 usage(); in main()
189 usage() in usage() function
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DRenderPassLoadOpTests.cpp67 descriptor.usage = wgpu::TextureUsage::RenderAttachment | wgpu::TextureUsage::CopySrc;
109 textureDescriptor.usage = in TestIntegerClearColor()
123 bufferDescriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TestIntegerClearColor()
H A DReadOnlyDepthStencilAttachmentTests.cpp118 wgpu::Texture CreateTexture(wgpu::TextureFormat format, wgpu::TextureUsage usage) { in CreateTexture() argument
122 descriptor.usage = usage; in CreateTexture()
H A DSwapChainValidationTests.cpp49 goodDescriptor.usage = wgpu::TextureUsage::RenderAttachment;
153 // Checks that the creation usage must be RenderAttachment
156 desc.usage = wgpu::TextureUsage::TextureBinding; in TEST_P()
222 // Check that returned view is of the current format / usage / dimension / size / sample count
251 textureDesc.usage = wgpu::TextureUsage::RenderAttachment; in TEST_P()
262 // Validation will also check the dimension of the view is 2D, and it's usage contains in TEST_P()
/third_party/openssl/test/
H A Ddanetest.c245 static uint8_t usage; in tlsa_import_rr() local
250 { &usage, "usage", checked_uint8 }, in tlsa_import_rr()
268 ret = SSL_dane_tlsa_add(ssl, usage, selector, mtype, data, len); in tlsa_import_rr()
/third_party/optimized-routines/networking/test/
H A Dchksum.c215 goto usage; in main()
255 usage : in main()
275 goto usage; in main()
/third_party/python/Lib/
H A Dmimetypes.py616 def usage(code, msg=''): function
625 usage(1, msg)
631 usage(0)
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DCommandBufferValidationTests.cpp201 copyBufferDesc.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_F()
215 copyBufferDesc.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_F()
221 bufferDesc.usage = wgpu::BufferUsage::Uniform; in TEST_F()
H A DCopyTextureForBrowserTests.cpp30 wgpu::TextureUsage usage, in Create2DTexture()
40 descriptor.usage = usage; in Create2DTexture()
143 // Incorrect source usage causes failure : lack |Sampled| usage in TEST_F()
147 // Incorrect destination usage causes failure: lack |RenderAttachement| usage. in TEST_F()
151 // Incorrect source usage causes failure : lack |CopySrc| usage in TEST_F()
155 // Incorrect destination usage cause in TEST_F()
25 Create2DTexture(uint32_t width, uint32_t height, uint32_t mipLevelCount, uint32_t arrayLayerCount, wgpu::TextureFormat format, wgpu::TextureUsage usage, uint32_t sampleCount = 1) Create2DTexture() argument
[all...]
/third_party/rust/crates/nix/src/sys/
H A Dresource.rs161 /// The maximum size (in bytes) of socket buffer usage for this user.
269 /// Whose resource usage should be returned by [`getrusage`].
273 /// Resource usage for the current process.
276 /// Resource usage for all the children that have terminated and been waited for.
281 /// Resource usage for the calling thread.
286 /// Output of `getrusage` with information about resource usage. Some of the fields
392 /// Get usage information for a process, its children or the current thread
434 let usage = getrusage(UsageWho::RUSAGE_SELF) in test_self_cpu_time()
436 let rusage = usage.as_ref(); in test_self_cpu_time()
438 let user = usage in test_self_cpu_time()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorBufferTests.cpp384 VkBufferUsageFlags usage = 0; member
2869 VkBufferUsageFlags usage;
2893 currentBuffer.usage |= VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT;
2899 currentBuffer.usage |= VK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT;
2903 currentBuffer.usage |= VK_BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT |
2908 currentBuffer.usage |= VK_BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT;
2914 currentBuffer.usage |= VK_BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT;
2936 vk::VkBufferCreateInfo bufferCreateInfo = makeBufferCreateInfo(currentBuffer.setOffset, currentBuffer.usage);
2944 bufferAlloc.usage = bufferCreateInfo.usage;
[all...]
/kernel/linux/common_modules/tzdriver/core/
H A Dsession_manager.c75 atomic_inc(&session->usage); in get_session_struct()
80 if (!session || !atomic_dec_and_test(&session->usage)) in put_session_struct()
93 atomic_inc(&service->usage); in get_service_struct()
94 tlogd("service->usage = %d\n", atomic_read(&service->usage)); in get_service_struct()
102 tlogd("service->usage = %d\n", atomic_read(&service->usage)); in put_service_struct()
104 if (atomic_dec_and_test(&service->usage)) { in put_service_struct()
154 tlogi("uuid-%x, usage=%d\n", *(uint32_t *)service->uuid, in dump_services_status()
155 atomic_read(&service->usage)); in dump_services_status()
[all...]
/kernel/linux/linux-6.6/fs/afs/
H A Dinternal.h80 refcount_t usage; member
180 refcount_t usage; member
212 refcount_t usage; member
247 refcount_t usage; member
367 time64_t last_inactive; /* Time of last drop of usage count */
369 atomic_t active; /* Active usage counter */
558 refcount_t usage; member
707 refcount_t usage; member
962 refcount_inc(&alist->usage); in afs_get_addrlist()
1080 refcount_inc(&req->usage); in afs_get_read()
[all...]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
H A Dvmw_screen_ioctl.c141 unsigned usage, in vmw_ioctl_surface_create()
160 req->scanout = !!(usage & SVGA_SURFACE_USAGE_SCANOUT); in vmw_ioctl_surface_create()
162 req->shareable = !!(usage & SVGA_SURFACE_USAGE_SHARED); in vmw_ioctl_surface_create()
203 unsigned usage, in vmw_ioctl_gb_surface_create()
244 if (usage & SVGA_SURFACE_USAGE_SCANOUT) in vmw_ioctl_gb_surface_create()
247 if (usage & SVGA_SURFACE_USAGE_SHARED) in vmw_ioctl_gb_surface_create()
250 if ((usage & SVGA_SURFACE_USAGE_COHERENT) || vws->force_coherent) in vmw_ioctl_gb_surface_create()
286 if (usage & SVGA_SURFACE_USAGE_SCANOUT) in vmw_ioctl_gb_surface_create()
289 if (usage & SVGA_SURFACE_USAGE_SHARED) in vmw_ioctl_gb_surface_create()
722 * vmw_ioctl_syncforcpu - Synchronize a buffer object for CPU usage
138 vmw_ioctl_surface_create(struct vmw_winsys_screen *vws, SVGA3dSurface1Flags flags, SVGA3dSurfaceFormat format, unsigned usage, SVGA3dSize size, uint32_t numFaces, uint32_t numMipLevels, unsigned sampleCount) vmw_ioctl_surface_create() argument
200 vmw_ioctl_gb_surface_create(struct vmw_winsys_screen *vws, SVGA3dSurfaceAllFlags flags, SVGA3dSurfaceFormat format, unsigned usage, SVGA3dSize size, uint32_t numFaces, uint32_t numMipLevels, unsigned sampleCount, uint32_t buffer_handle, SVGA3dMSPattern multisamplePattern, SVGA3dMSQualityLevel qualityLevel, struct vmw_region **p_region) vmw_ioctl_gb_surface_create() argument
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
H A Dtr_screen.c327 unsigned usage) in trace_context_is_resource_busy()
337 trace_dump_arg(uint, usage); in trace_context_is_resource_busy()
339 result = tr_scr->is_resource_busy(screen, resource, usage); in trace_context_is_resource_busy()
755 unsigned usage) in trace_screen_resource_from_handle()
766 trace_dump_arg(uint, usage); in trace_screen_resource_from_handle()
768 result = screen->resource_from_handle(screen, templ, handle, usage); in trace_screen_resource_from_handle()
794 unsigned usage) in trace_screen_resource_get_handle()
806 trace_dump_arg(uint, usage); in trace_screen_resource_get_handle()
808 result = screen->resource_get_handle(screen, pipe, resource, handle, usage); in trace_screen_resource_get_handle()
325 trace_context_is_resource_busy(struct pipe_screen *_screen, struct pipe_resource *resource, unsigned usage) trace_context_is_resource_busy() argument
752 trace_screen_resource_from_handle(struct pipe_screen *_screen, const struct pipe_resource *templ, struct winsys_handle *handle, unsigned usage) trace_screen_resource_from_handle() argument
790 trace_screen_resource_get_handle(struct pipe_screen *_screen, struct pipe_context *_pipe, struct pipe_resource *resource, struct winsys_handle *handle, unsigned usage) trace_screen_resource_get_handle() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
H A DvktRayQueryOpacityMicromapTests.cpp545 bufferUsageFlags2.usage = (VkBufferUsageFlagBits2KHR)micromapDataBufferCreateInfo.usage; in iterate()
547 micromapDataBufferCreateInfo.usage = 0; in iterate()
624 bufferUsageFlags2.usage = (VkBufferUsageFlagBits2KHR)micromapScratchBufferCreateInfo.usage; in iterate()
626 micromapScratchBufferCreateInfo.usage = 0; in iterate()
766 bufferUsageFlags2.usage = (VkBufferUsageFlagBits2KHR)originsBufferInfo.usage; in iterate()
768 originsBufferInfo.usage = 0; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
H A DvktApiBufferViewAccessTests.cpp76 VkBufferUsageFlags usage; member
95 , usage(usage_) in BufferViewCaseParams()
292 BufferSuballocation().createTestBuffer(uniformSize, testCase.usage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewTestInstance()
705 BufferSuballocation().createTestBuffer(sourceBuffer.size(), testCase.usage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc); in BufferViewAllFormatsTestInstance()
1007 const bool isUniform = m_bufferViewTestInfo.usage == VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT ? true : false; in initPrograms()
1284 const vk::VkBufferUsageFlags usage[] = { vk::VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT, vk::VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT }; in createBufferViewAccessTests() local
1288 for (deUint32 usageNdx = 0; usageNdx < DE_LENGTH_OF_ARRAY(usage); ++usageNdx) in createBufferViewAccessTests()
1298 if (usage[usageNdx] == VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT && !isSupportedImageLoadStore(mapVkFormat(testFormats[formatIdx]))) in createBufferViewAccessTests()
1310 usage[usageNdx], // VkBufferUsageFlags usage in createBufferViewAccessTests()
[all...]
/third_party/skia/third_party/externals/tint/src/
H A Dintrinsic_table.cc744 /// The parameter usage (parameter name in definition file)
745 const ParameterUsage usage;
813 /// Parameter usage
814 ParameterUsage const usage = ParameterUsage::kNone;
824 utils::HashCombine(&hash, p.type, p.usage);
848 if (pa.type != pb.type || pa.usage != pb.usage) {
999 IntrinsicPrototype::Parameter{type, parameter.usage});
1070 ast::StorageClass::kNone, ast::Access::kUndefined, p.usage));
1095 if (parameter.usage !
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_flow_dissector.c581 static void __attribute__((noreturn)) usage(const char *filepath) in usage() function
619 usage(filepath); in parse_protocol_family()
654 usage(argv[0]); in parse_opts()
663 usage(argv[0]); in parse_opts()
671 usage(argv[0]); in parse_opts()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
H A Dgss_krb5_mech.c310 set_cdata(u8 cdata[GSS_KRB5_K5CLENGTH], u32 usage, u8 seed) in set_cdata() argument
312 cdata[0] = (usage>>24)&0xff; in set_cdata()
313 cdata[1] = (usage>>16)&0xff; in set_cdata()
314 cdata[2] = (usage>>8)&0xff; in set_cdata()
315 cdata[3] = usage&0xff; in set_cdata()

Completed in 32 milliseconds

1...<<51525354555657585960>>...123