/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | usage.c | 3 * usage.c 25 void usage(const char *err) in usage() function
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | usage.c | 3 * usage.c 31 void usage(const char *err) in usage() function
|
/third_party/skia/third_party/externals/tint/src/sem/ |
H A D | parameter_usage.h | 50 /// @returns a string representation of the given parameter usage. 51 const char* str(ParameterUsage usage);
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | modinfo.h | 29 char *usage; member
|
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 97 void usage(void) in usage() function 107 fprintf(stderr, "Specify only Energy Performance BIAS (legacy usage):\n"); in usage() 249 usage(); in parse_cmdline_hwp_window() 282 usage(); in parse_cmdline_hwp_epp() 301 usage(); in parse_cmdline_turbo() 332 usage(); in parse_optarg_string() 379 usage(); in parse_cmdline_cpu() 462 usage(); in parse_cmdline_pkg() 564 usage(); in cmdline() 609 usage(); in cmdline() [all...] |
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 100 void usage(void) in usage() function 110 fprintf(stderr, "Specify only Energy Performance BIAS (legacy usage):\n"); in usage() 252 usage(); in parse_cmdline_hwp_window() 285 usage(); in parse_cmdline_hwp_epp() 304 usage(); in parse_cmdline_turbo() 335 usage(); in parse_optarg_string() 382 usage(); in parse_cmdline_cpu() 465 usage(); in parse_cmdline_pkg() 567 usage(); in cmdline() 612 usage(); in cmdline() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmPhysicalStorageBufferPointerTests.cpp | 77 Buffer (Context& ctx, VkBufferUsageFlags usage, VkDeviceSize size, bool address = false); 100 VkBufferUsageFlags usage, 104 VkBufferUsageFlags usage, 162 Buffer::Buffer (Context& ctx, VkBufferUsageFlags usage, VkDeviceSize size, bool address) in Buffer() argument 172 const VkBufferUsageFlags bufferUsageFlags = address ? (usage | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT) : usage; in Buffer() 181 bufferUsageFlags, // VkBufferUsageFlags usage; in Buffer() 257 template<class X> TypedBuffer<X>::TypedBuffer (Context& ctx, VkBufferUsageFlags usage, deUint32 nelements, bool address) in TypedBuffer() argument 258 : Buffer (ctx, usage, (nelements * sizeof(X)), address) in TypedBuffer() 263 template<class X> TypedBuffer<X>::TypedBuffer (Context& ctx, VkBufferUsageFlags usage, st argument [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fDrawElementsBaseVertexTests.cpp | 148 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec() 159 spec.attribs[1].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in genBasicSpec() 668 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 705 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 716 spec.attribs[1].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 753 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 765 spec.attribs[1].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 778 spec.attribs[2].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 815 spec.attribs[0].usage = gls::DrawTestSpec::USAGE_STATIC_DRAW; in init() 843 spec.attribs[1].usage in init() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmPhysicalStorageBufferPointerTests.cpp | 77 Buffer (Context& ctx, VkBufferUsageFlags usage, VkDeviceSize size, bool address = false); 100 VkBufferUsageFlags usage, 104 VkBufferUsageFlags usage, 162 Buffer::Buffer (Context& ctx, VkBufferUsageFlags usage, VkDeviceSize size, bool address) in Buffer() argument 172 const VkBufferUsageFlags bufferUsageFlags = address ? (usage | VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT) : usage; in Buffer() 181 bufferUsageFlags, // VkBufferUsageFlags usage; in Buffer() 257 template<class X> TypedBuffer<X>::TypedBuffer (Context& ctx, VkBufferUsageFlags usage, deUint32 nelements, bool address) in TypedBuffer() argument 258 : Buffer (ctx, usage, (nelements * sizeof(X)), address) in TypedBuffer() 263 template<class X> TypedBuffer<X>::TypedBuffer (Context& ctx, VkBufferUsageFlags usage, st argument [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.cpp | 96 UInt64 Benchmark_GetUsage_Percents(UInt64 usage)
in Benchmark_GetUsage_Percents() argument 98 return (100 * usage + kBenchmarkUsageMult / 2) / kBenchmarkUsageMult;
in Benchmark_GetUsage_Percents() 2776 static void PrintUsage(IBenchPrintCallback &f, UInt64 usage, unsigned size)
2778 PrintNumber(f, Benchmark_GetUsage_Percents(usage), size);
2781 static void PrintResults(IBenchPrintCallback &f, UInt64 usage, UInt64 rpu, UInt64 rating, bool showFreq, UInt64 cpuFreq)
2783 PrintUsage(f, usage, kFieldSize_Usage);
2792 PrintPercents(f, rating, cpuFreq * usage / kBenchmarkUsageMult, kFieldSize_EU);
3321 UInt64 &usage,
3498 usage = info.GetUsage();
3534 UInt64 speed, usage;
[all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | BindGroupValidationTests.cpp | 24 wgpu::Texture CreateTexture(wgpu::TextureUsage usage, in CreateTexture() argument 32 descriptor.usage = usage; in CreateTexture() 45 descriptor.usage = wgpu::BufferUsage::Uniform; 51 descriptor.usage = wgpu::BufferUsage::Storage; 296 bufferDesc.usage = static_cast<wgpu::BufferUsage>(0xFFFFFFFF); in TEST_F() 393 // Check that a texture binding must have the correct usage 408 // Check that a storage texture binding must have the correct usage 419 descriptor.usage = wgpu::TextureUsage::StorageBinding; in TEST_F() 428 descriptor.usage in TEST_F() 1405 CreateBuffer(uint64_t bufferSize, wgpu::BufferUsage usage) CreateBuffer() argument 1833 CreateBuffer(uint64_t bufferSize, wgpu::BufferUsage usage) CreateBuffer() argument 2022 CreateBuffer(uint64_t bufferSize, wgpu::BufferUsage usage) CreateBuffer() argument [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | rxrpc.h | 563 int ref, int usage), 565 TP_ARGS(local_debug_id, op, ref, usage), 571 __field(int, usage) 578 __entry->usage = usage; 585 __entry->usage) 667 __field(int, usage) 674 __entry->usage = conn ? refcount_read(&conn->ref) : -2; 684 __entry->usage) 715 TP_PROTO(struct sk_buff *skb, int usage, in [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_drawpixels.c | 966 enum pipe_map_flags usage; in draw_stencil_pixels() local 983 usage = PIPE_MAP_READ_WRITE; in draw_stencil_pixels() 986 usage = PIPE_MAP_WRITE; in draw_stencil_pixels() 992 usage, x, y, in draw_stencil_pixels() 1044 assert(usage == PIPE_MAP_WRITE); in draw_stencil_pixels() 1052 assert(usage == PIPE_MAP_WRITE); in draw_stencil_pixels() 1060 assert(usage == PIPE_MAP_READ_WRITE); in draw_stencil_pixels() 1070 assert(usage == PIPE_MAP_WRITE); in draw_stencil_pixels() 1078 assert(usage == PIPE_MAP_READ_WRITE); in draw_stencil_pixels() 1089 assert(usage in draw_stencil_pixels() 1420 enum pipe_map_flags usage; copy_stencil_pixels() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_context.c | 1715 unsigned usage, in trace_context_transfer_map() 1725 map = pipe->buffer_map(pipe, resource, level, usage, box, &xfer); in trace_context_transfer_map() 1727 map = pipe->texture_map(pipe, resource, level, usage, box, &xfer); in trace_context_transfer_map() 1736 trace_dump_arg(uint, usage); in trace_context_transfer_map() 1745 if (usage & PIPE_MAP_WRITE) { in trace_context_transfer_map() 1797 unsigned usage = transfer->usage; in trace_context_transfer_unmap() local 1810 trace_dump_arg(uint, usage); in trace_context_transfer_unmap() 1834 trace_dump_arg(uint, usage); in trace_context_transfer_unmap() 1865 unsigned usage, unsigne in trace_context_buffer_subdata() 1712 trace_context_transfer_map(struct pipe_context *_context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) trace_context_transfer_map() argument 1863 trace_context_buffer_subdata(struct pipe_context *_context, struct pipe_resource *resource, unsigned usage, unsigned offset, unsigned size, const void *data) trace_context_buffer_subdata() argument 1892 trace_context_texture_subdata(struct pipe_context *_context, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) trace_context_texture_subdata() argument [all...] |
/third_party/rust/crates/clap/src/builder/ |
H A D | command.rs | 1 #![cfg_attr(not(feature = "usage"), allow(unused_mut))] 117 /// version or help and usage information. 368 /// subcommands, version, usage, etc. They also function just like [`Command`]s, in that they get 369 /// their own auto generated help, version, and usage. 728 let usage = Usage::new(self); in print_help() 729 write_help(&mut styled, self, &usage, false); in print_help() 755 let usage = Usage::new(self); in print_long_help() 756 write_help(&mut styled, self, &usage, true); in print_long_help() 783 let usage = Usage::new(self); in render_help() 784 write_help(&mut styled, self, &usage, fals in render_help() [all...] |
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_device.c | 591 VkImageUsageFlags usage = in dzn_physical_device_get_format_support() local 613 .Format = dzn_image_get_dxgi_format(format, usage, aspects), in dzn_physical_device_get_format_support() 622 if (usage != VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) in dzn_physical_device_get_format_support() 737 * B4G4R4A4, but that forces us to limit the usage to sampling, which, in dzn_physical_device_get_format_properties() 801 (info->usage & ~(VK_IMAGE_USAGE_TRANSFER_SRC_BIT | VK_IMAGE_USAGE_TRANSFER_DST_BIT))) in dzn_physical_device_get_image_format_properties() 823 if ((info->usage & VK_IMAGE_USAGE_SAMPLED_BIT) && in dzn_physical_device_get_image_format_properties() 827 if ((info->usage & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT) && in dzn_physical_device_get_image_format_properties() 831 if ((info->usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) && in dzn_physical_device_get_image_format_properties() 835 if ((info->usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) && in dzn_physical_device_get_image_format_properties() 839 if ((info->usage in dzn_physical_device_get_image_format_properties() 947 dzn_GetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags createFlags, VkImageFormatProperties *pImageFormatProperties) dzn_GetPhysicalDeviceImageFormatProperties() argument 974 dzn_GetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t *pPropertyCount, VkSparseImageFormatProperties *pProperties) dzn_GetPhysicalDeviceSparseImageFormatProperties() argument [all...] |
/foundation/arkui/ui_lite/interfaces/innerkits/engines/gfx/ |
H A D | gfx_engine_manager.h | 152 virtual uint8_t* AllocBuffer(uint32_t size, uint32_t usage) = 0; 154 virtual void FreeBuffer(uint8_t* buffer, uint32_t usage) = 0;
|
/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/ |
H A D | framework2char.py | 147 def usage(): function 160 usage()
|
/foundation/arkui/ui_lite/frameworks/engines/gfx/ |
H A D | soft_engine.cpp | 141 uint8_t* SoftEngine::AllocBuffer(uint32_t size, uint32_t usage) in AllocBuffer() argument 146 void SoftEngine::FreeBuffer(uint8_t* buffer, uint32_t usage) in FreeBuffer() argument
|
/foundation/graphic/graphic_surface/buffer_handle/src/ |
H A D | buffer_handle.cpp | 90 !parcel.WriteInt32(handle.size) || !parcel.WriteInt32(handle.format) || !parcel.WriteInt64(handle.usage) || in WriteBufferHandle() 136 !parcel.ReadInt32(handle->size) || !parcel.ReadInt32(handle->format) || !parcel.ReadUint64(handle->usage) || in ReadBufferHandle()
|
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | buffer_shared_test.cpp | 84 .usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA, in HWTEST_F() 123 .usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA, in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/vulkan/ |
H A D | intf_device_vk.h | 41 /* Enable multiple gpu queues for usage */ 157 VkBufferUsageFlags usage { 0 }; 181 VkImageUsageFlags usage { 0 };
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/platform/ohos/backend/ |
H A D | rs_surface_ohos_raster_test.cpp | 52 uint64_t usage = 0;
in HWTEST_F() local 54 raster.SetSurfaceBufferUsage(usage);
in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/ |
H A D | rs_dma_buffer_surface_render_node_drawable.cpp | 98 config.usage = BUFFER_USAGE_HW_RENDER | BUFFER_USAGE_HW_TEXTURE | BUFFER_USAGE_HW_COMPOSER | BUFFER_USAGE_MEM_DMA; in GetFrameBufferRequestConfig() 119 auto bufferUsage = config.usage; in RequestFrame()
|
/foundation/graphic/graphic_2d/rosen/samples/hello_native_window/ |
H A D | hello_native_window.cpp | 41 int32_t usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA; in CreateNativeWindow() local 42 int32_t ret = OH_NativeWindow_NativeWindowHandleOpt(nativeWindow, code, usage); in CreateNativeWindow()
|