/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | ComputeIndirectValidationTests.cpp | 50 wgpu::BufferUsage usage = wgpu::BufferUsage::Indirect) { in TestIndirectOffset() 52 utils::CreateBufferFromData<uint32_t>(device, usage, bufferList); in TestIndirectOffset() 90 // Check that the buffer must have the indirect usage 92 // Control case: using a buffer with the indirect usage is valid. in TEST_F() 95 // Error case: using a buffer with the vertex usage is an error. in TEST_F()
|
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...] |
/third_party/pulseaudio/sonic/ |
H A D | main.c | 57 /* Print the usage. */ 58 static void usage(void) in usage() function 121 usage(); in main()
|
/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...] |
/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...] |
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | template-param-usage-13.hpp | 10 U usage; member in CrtpUsesU
|
H A D | template-param-usage-15.hpp | 5 T* usage; member in BaseUsesT
|
/kernel/linux/linux-5.10/security/keys/ |
H A D | key.c | 93 refcount_set(&candidate->usage, 1); in key_user_lookup() 110 refcount_inc(&user->usage); in key_user_lookup() 122 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { in key_user_put() 288 refcount_set(&key->usage, 1); in key_alloc() 320 refcount_inc(&key->domain_tag->usage); in key_alloc() 649 if (refcount_dec_and_test(&key->usage)) in key_put() 686 if (!refcount_inc_not_zero(&key->usage)) in key_lookup()
|
/kernel/linux/linux-5.10/kernel/sched/ |
H A D | cputime.c | 920 enum cpu_usage_stat usage, in kcpustat_field_vtime() 935 *val = cpustat[usage]; in kcpustat_field_vtime() 944 switch (usage) { in kcpustat_field_vtime() 974 enum cpu_usage_stat usage, int cpu) in kcpustat_field() 977 u64 val = cpustat[usage]; in kcpustat_field() 993 return cpustat[usage]; in kcpustat_field() 996 err = kcpustat_field_vtime(cpustat, curr, usage, cpu, &val); in kcpustat_field() 918 kcpustat_field_vtime(u64 *cpustat, struct task_struct *tsk, enum cpu_usage_stat usage, int cpu, u64 *val) kcpustat_field_vtime() argument 973 kcpustat_field(struct kernel_cpustat *kcpustat, enum cpu_usage_stat usage, int cpu) kcpustat_field() argument
|
/kernel/linux/linux-6.6/security/keys/ |
H A D | key.c | 93 refcount_set(&candidate->usage, 1); in key_user_lookup() 110 refcount_inc(&user->usage); in key_user_lookup() 122 if (refcount_dec_and_lock(&user->usage, &key_user_lock)) { in key_user_put() 288 refcount_set(&key->usage, 1); in key_alloc() 320 refcount_inc(&key->domain_tag->usage); in key_alloc() 649 if (refcount_dec_and_test(&key->usage)) in key_put() 686 if (!refcount_inc_not_zero(&key->usage)) in key_lookup()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | cputime.c | 942 enum cpu_usage_stat usage, in kcpustat_field_vtime() 957 *val = cpustat[usage]; in kcpustat_field_vtime() 966 switch (usage) { in kcpustat_field_vtime() 996 enum cpu_usage_stat usage, int cpu) in kcpustat_field() 999 u64 val = cpustat[usage]; in kcpustat_field() 1015 return cpustat[usage]; in kcpustat_field() 1018 err = kcpustat_field_vtime(cpustat, curr, usage, cpu, &val); in kcpustat_field() 940 kcpustat_field_vtime(u64 *cpustat, struct task_struct *tsk, enum cpu_usage_stat usage, int cpu, u64 *val) kcpustat_field_vtime() argument 995 kcpustat_field(struct kernel_cpustat *kcpustat, enum cpu_usage_stat usage, int cpu) kcpustat_field() argument
|
/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_cs.c | 371 unsigned usage, in radeon_drm_cs_add_buffer() 385 enum radeon_bo_domain rd = usage & RADEON_USAGE_READ ? domains : 0; in radeon_drm_cs_add_buffer() 386 enum radeon_bo_domain wd = usage & RADEON_USAGE_WRITE ? domains : 0; in radeon_drm_cs_add_buffer() 406 unsigned priority = usage & RADEON_ALL_PRIORITIES; in radeon_drm_cs_add_buffer() 762 unsigned usage) in radeon_bo_is_referenced() 778 if ((usage & RADEON_USAGE_WRITE) && cs->csc->relocs[index].write_domain) in radeon_bo_is_referenced() 780 if ((usage & RADEON_USAGE_READ) && cs->csc->relocs[index].read_domains) in radeon_bo_is_referenced() 369 radeon_drm_cs_add_buffer(struct radeon_cmdbuf *rcs, struct pb_buffer *buf, unsigned usage, enum radeon_bo_domain domains) radeon_drm_cs_add_buffer() argument 760 radeon_bo_is_referenced(struct radeon_cmdbuf *rcs, struct pb_buffer *_buf, unsigned usage) radeon_bo_is_referenced() argument
|
/third_party/node/lib/internal/crypto/ |
H A D | webcrypto.js | 200 'baseKey does not have deriveBits usage', 285 'baseKey does not have deriveKey usage', 537 `Unsupported key usage for a ${name} key`, 545 `Unsupported key usage for a ${name} key`, 799 let usage = 'sign'; 801 usage = 'verify'; 803 algorithm = normalizeAlgorithm(algorithm, usage); 805 if (!ArrayPrototypeIncludes(key.usages, usage) || 808 `Unable to use this key to ${usage}`, 887 // key must have the proper usage [all...] |
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | numberformatter.h | 38 * // Most basic usage: 805 static CurrencyPrecision constructCurrency(UCurrencyUsage usage); 1213 * Manages NumberFormatterSettings::usage()'s char* instance on the heap. 1570 StringProp usage; // = StringProp(); (no usage) member 1596 symbols.copyErrorTo(status) || scale.copyErrorTo(status) || usage.copyErrorTo(status) || in copyErrorTo() 1674 * \note If the usage() is set, the output unit **will be changed** to 1675 * produce localised units, according to usage, locale and unit. See 2211 * Specifies the usage for which numbers will be formatted ("person-height", 2214 * When a `usage` i [all...] |
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | numberformatter.h | 38 * // Most basic usage: 801 static CurrencyPrecision constructCurrency(UCurrencyUsage usage); 1209 * Manages NumberFormatterSettings::usage()'s char* instance on the heap. 1564 StringProp usage; // = StringProp(); (no usage) member 1590 symbols.copyErrorTo(status) || scale.copyErrorTo(status) || usage.copyErrorTo(status) || in copyErrorTo() 1668 * \note If the usage() is set, the output unit **will be changed** to 1669 * produce localised units, according to usage, locale and unit. See 2205 * Specifies the usage for which numbers will be formatted ("person-height", 2208 * When a `usage` i [all...] |
/third_party/libinput/tools/ |
H A D | libinput-debug-events.c | 995 usage(void) { in usage() function 1044 usage(); in main() 1056 usage(); in main() 1066 usage(); in main() 1082 usage(); in main() 1092 usage(); in main() 1098 usage(); in main()
|