/third_party/skia/src/sksl/ |
H A D | SkSLCompiler.cpp | 518 std::unique_ptr<ProgramUsage> usage = Analysis::GetUsage(module); in optimize() local 522 if (!this->runInliner(module.fElements, module.fSymbols, usage.get())) { in optimize() 536 ProgramUsage* usage = program.fUsage.get(); in optimize() local 541 this->runInliner(program.fOwnedElements, program.fSymbols, usage); in optimize() 544 Transform::EliminateUnreachableCode(program, usage); in optimize() 546 while (Transform::EliminateDeadFunctions(program, usage)) { in optimize() 549 while (Transform::EliminateDeadLocalVariables(program, usage)) { in optimize() 553 Transform::EliminateDeadGlobalVariables(program, usage); in optimize() 561 ProgramUsage* usage) { in runInliner() 573 bool result = fInliner.analyze(elements, symbols, usage); in runInliner() 559 runInliner(const std::vector<std::unique_ptr<ProgramElement>>& elements, std::shared_ptr<SymbolTable> symbols, ProgramUsage* usage) runInliner() argument [all...] |
/base/security/certificate_framework/frameworks/adapter/v2.0/src/ |
H A D | cf_adapter_extension_openssl.c | 497 ASN1_BIT_STRING *usage = (ASN1_BIT_STRING *)X509V3_get_d2i(exts, NID_key_usage, NULL, NULL);
in CheckKeyUsage() local 498 if (usage == NULL) {
in CheckKeyUsage() 499 CF_LOG_E("Failed to get usage");
in CheckKeyUsage() 503 uint32_t keyUsage = (uint32_t)usage->data[0];
in CheckKeyUsage() 504 if (usage->length > 1) {
in CheckKeyUsage() 505 keyUsage |= ((uint32_t)usage->data[1] << KEYUSAGE_SHIFT);
in CheckKeyUsage() 514 ASN1_BIT_STRING_free(usage);
in CheckKeyUsage()
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 484 static void usage(void) in usage() function 561 usage(); in main() 566 usage(); in main() 568 usage(); in main() 570 usage(); in main() 574 usage(); in main()
|
/kernel/linux/linux-5.10/drivers/video/logo/ |
H A D | pnmtologo.c | 81 static void usage(void) __attribute ((noreturn)); 430 static void usage(void) in usage() function 436 " -h : display this usage information\n" in usage() 461 usage(); in main() 482 usage(); in main() 486 usage(); in main() 491 usage(); in main()
|
/kernel/linux/linux-5.10/fs/afs/ |
H A D | volume.c | 56 trace_afs_volume(volume->vid, atomic_read(&volume->usage), in afs_remove_volume_from_cell() 91 atomic_set(&volume->usage, 1); in afs_alloc_volume() 103 refcount_set(&slist->usage, 1); in afs_alloc_volume() 232 trace_afs_volume(volume->vid, atomic_read(&volume->usage), in afs_destroy_volume() 246 int u = atomic_inc_return(&volume->usage); in afs_get_volume() 261 int u = atomic_dec_return(&volume->usage); in afs_put_volume()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
H A D | rdma.c | 45 int usage; member 180 rpool->resources[index].usage--; in uncharge_cg_locked() 186 WARN_ON_ONCE(rpool->resources[index].usage < 0); in uncharge_cg_locked() 251 * (a) per cgroup & (b) per device resource usage. 252 * Per cgroup resource usage ensures that tasks of cgroup doesn't cross 254 * in multi device usage. It allocates resource pool in the hierarchy 284 new = rpool->resources[index].usage + 1; in rdmacg_try_charge() 289 rpool->resources[index].usage = new; in rdmacg_try_charge() 340 * usage query happening via configfs. in rdmacg_unregister_device() 511 value = rpool->resources[i].usage; in print_rpool_values() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum1_kvdl.c | 63 unsigned long usage[]; /* Entries */ member 126 entry_index = find_first_zero_bit(part->usage, nr_entries); in mlxsw_sp1_kvdl_part_alloc() 129 __set_bit(entry_index, part->usage); in mlxsw_sp1_kvdl_part_alloc() 143 __clear_bit(entry_index, part->usage); in mlxsw_sp1_kvdl_part_free() 227 part = kzalloc(struct_size(part, usage, BITS_TO_LONGS(nr_entries)), in mlxsw_sp1_kvdl_part_init() 287 while ((bit = find_next_bit(part->usage, nr_entries, bit + 1)) in mlxsw_sp1_kvdl_part_occ()
|
/kernel/linux/linux-6.6/drivers/video/logo/ |
H A D | pnmtologo.c | 75 static void usage(void) __attribute((noreturn)); 426 static void usage(void) in usage() function 432 " -h : display this usage information\n" in usage() 457 usage(); in main() 478 usage(); in main() 482 usage(); in main() 487 usage(); in main()
|
/kernel/linux/linux-6.6/kernel/cgroup/ |
H A D | rdma.c | 45 int usage; member 180 rpool->resources[index].usage--; in uncharge_cg_locked() 186 WARN_ON_ONCE(rpool->resources[index].usage < 0); in uncharge_cg_locked() 253 * (a) per cgroup & (b) per device resource usage. 254 * Per cgroup resource usage ensures that tasks of cgroup doesn't cross 256 * in multi device usage. It allocates resource pool in the hierarchy 286 new = rpool->resources[index].usage + 1; in rdmacg_try_charge() 291 rpool->resources[index].usage = new; in rdmacg_try_charge() 342 * usage query happening via configfs. in rdmacg_unregister_device() 513 value = rpool->resources[i].usage; in print_rpool_values() [all...] |
/kernel/linux/linux-6.6/security/landlock/ |
H A D | ruleset.c | 36 refcount_set(&new_ruleset->usage, 1); in create_ruleset() 248 refcount_inc(&hierarchy->usage); in get_hierarchy() 253 while (hierarchy && refcount_dec_and_test(&hierarchy->usage)) { in put_hierarchy() 373 if (ruleset && refcount_dec_and_test(&ruleset->usage)) in landlock_put_ruleset() 387 if (ruleset && refcount_dec_and_test(&ruleset->usage)) { in landlock_put_ruleset_deferred() 432 refcount_set(&new_dom->hierarchy->usage, 1); in landlock_merge_ruleset()
|
/kernel/linux/linux-6.6/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 482 static void usage(void) in usage() function 559 usage(); in main() 564 usage(); in main() 566 usage(); in main() 568 usage(); in main() 572 usage(); in main()
|
/test/xts/acts/graphic/graphicnapitest/ |
H A D | NativeBufferTest.cpp | 46 .usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA, 139 checkConfig.usage = 0x0; in HWTEST_F() 144 ASSERT_EQ(checkConfig.usage, 0x0); in HWTEST_F() 512 .usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA, in HWTEST_F() 591 .usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA, .timeout = 0}; in HWTEST_F() 632 .usage = BUFFER_USAGE_CPU_READ | BUFFER_USAGE_CPU_WRITE | BUFFER_USAGE_MEM_DMA, .timeout = 0}; in HWTEST_F()
|
/third_party/libwebsockets/test-apps/ |
H A D | test-client.c | 214 lwsl_notice(" Peer Cert usage bits: 0x%x\n", ci.usage); in callback_dumb_increment() 614 goto usage; in main() 683 goto usage; in main() 688 goto usage; in main() 696 goto usage; in main() 884 usage: in main()
|
/third_party/node/deps/v8/src/objects/ |
H A D | js-collator.cc | 153 const char* usage = "sort"; in ResolvedOptions() local 162 usage = "search"; in ResolvedOptions() 195 // [[Usage] "usage" in ResolvedOptions() 222 isolate->factory()->usage_string(), usage); in ResolvedOptions() 294 // 4. Let usage be ? GetOption(options, "usage", "string", « "sort", in New() 297 isolate, options, "usage", service, {"sort", "search"}, in New() 300 Usage usage = maybe_usage.FromJust(); in New() local 387 // 5. Set collator.[[Usage]] to usage. in New() 389 // 6. If usage i in New() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_screen.c | 321 unsigned usage) in lima_screen_is_format_supported() 342 if (usage & PIPE_BIND_RENDER_TARGET) { in lima_screen_is_format_supported() 351 if (usage & PIPE_BIND_DEPTH_STENCIL) { in lima_screen_is_format_supported() 362 if (usage & PIPE_BIND_VERTEX_BUFFER) { in lima_screen_is_format_supported() 430 if (usage & PIPE_BIND_INDEX_BUFFER) { in lima_screen_is_format_supported() 441 if (usage & PIPE_BIND_SAMPLER_VIEW) in lima_screen_is_format_supported() 316 lima_screen_is_format_supported(struct pipe_screen *pscreen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) lima_screen_is_format_supported() argument
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr_debug.c | 383 real_desc.usage |= PB_USAGE_CPU_WRITE; in pb_debug_manager_create_buffer() 384 real_desc.usage |= PB_USAGE_CPU_READ; in pb_debug_manager_create_buffer() 403 assert(pb_check_usage(real_desc.usage, buf->buffer->usage)); in pb_debug_manager_create_buffer() 408 buf->base.usage = desc->usage; in pb_debug_manager_create_buffer()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_miptree.c | 347 unsigned usage) in nvc0_miptree_get_handle() 352 ret = nv50_miptree_get_handle(pscreen, context, pt, whandle, usage); in nvc0_miptree_get_handle() 465 if (pt->usage == PIPE_USAGE_STAGING) { in nvc0_miptree_create() 466 /* PIPE_USAGE_STAGING, and usage in general, should not be specified when in nvc0_miptree_create() 516 /* When modifiers are supplied, usage is zero. TODO: detect the in nvc0_miptree_create() 518 if (pt->usage & PIPE_BIND_CURSOR) in nvc0_miptree_create() 520 else if ((pt->usage & PIPE_BIND_SCANOUT) || count > 0) in nvc0_miptree_create() 531 if (!bo_config.nvc0.memtype && (pt->usage == PIPE_USAGE_STAGING || pt->bind & PIPE_BIND_SHARED)) in nvc0_miptree_create() 343 nvc0_miptree_get_handle(struct pipe_screen *pscreen, struct pipe_context *context, struct pipe_resource *pt, struct winsys_handle *whandle, unsigned usage) nvc0_miptree_get_handle() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Buffer.cpp | 97 BufferUsage usage) in bufferData() 100 return bufferDataImpl(context, target, data, size, usage, flags); in bufferData() 107 BufferUsage usage, in bufferDataImpl() 136 if (mImpl->setDataWithUsageFlags(context, target, nullptr, dataForImpl, size, usage, flags) == in bufferDataImpl() 152 mState.mUsage = usage; in bufferDataImpl() 154 mState.mImmutable = (usage == BufferUsage::InvalidEnum); in bufferDataImpl() 93 bufferData(Context *context, BufferBinding target, const void *data, GLsizeiptr size, BufferUsage usage) bufferData() argument 103 bufferDataImpl(Context *context, BufferBinding target, const void *data, GLsizeiptr size, BufferUsage usage, GLbitfield flags) bufferDataImpl() argument
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkAMDMemoryAllocator.cpp | 87 // 4MB was picked for the size here by looking at memory usage of Android apps and runs of DM. in Make() 198 info.usage = VMA_MEMORY_USAGE_UNKNOWN; in allocateImageMemory() 258 VkResult GrVkAMDMemoryAllocator::allocateBufferMemory(VkBuffer buffer, BufferUsage usage, in allocateBufferMemory() argument 264 info.usage = VMA_MEMORY_USAGE_UNKNOWN; in allocateBufferMemory() 269 switch (usage) { in allocateBufferMemory() 310 if ((AllocationPropertyFlags::kLazyAllocation & flags) && BufferUsage::kGpuOnly == usage) { in allocateBufferMemory() 315 SkASSERT(BufferUsage::kGpuOnly != usage); in allocateBufferMemory()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLCaps.h | 497 GrColorType memoryColorType, ExternalFormatUsage usage, 652 GrGLenum externalFormat(GrColorType externalColorType, ExternalFormatUsage usage, in externalFormat() 656 if (usage == kTexImage_ExternalFormatUsage) { in externalFormat() 659 SkASSERT(usage == kReadPixels_ExternalFormatUsage); in externalFormat() 695 ExternalFormatUsage usage) const { in externalFormat() 698 return fColorTypeInfos[i].externalFormat(externalColorType, usage, in externalFormat()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | VideoViewsValidationTests.cpp | 30 wgpu::TextureUsage usage) { in CreateVideoTextureForTest() 36 descriptor.usage = usage; in CreateVideoTextureForTest() 67 desc.usage = wgpu::TextureUsage::None; in TEST_F() 176 bufferDescriptor.usage = wgpu::BufferUsage::CopyDst; in TEST_F() 197 bufferDescriptor.usage = wgpu::BufferUsage::CopyDst; in TEST_F() 29 CreateVideoTextureForTest(wgpu::TextureFormat format, wgpu::TextureUsage usage) CreateVideoTextureForTest() argument
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
H A D | buffer_allocator_utils.cpp | 63 const uint64_t usage, in AllocBuffer() 69 return allocator->AllocBuffer(width, height, usage, format); in AllocBuffer() 60 AllocBuffer(const int32_t source, const uint32_t width, const uint32_t height, const uint64_t usage, const uint32_t format) AllocBuffer() argument
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | acapps.h | 52 /* Macros for usage messages */ 54 #define ACPI_USAGE_HEADER(usage) \ 55 printf ("Usage: %s\nOptions:\n", usage);
|
/kernel/linux/linux-5.10/tools/perf/scripts/perl/ |
H A D | rw-by-file.pl | 21 my $usage = "perf script -s rw-by-file.pl <comm>\n"; 23 my $for_comm = shift or die $usage;
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | failed-syscalls-by-pid.py | 20 usage = "perf script -s syscall-counts-by-pid.py [comm|pid]\n"; variable 26 sys.exit(usage)
|