/third_party/rust/crates/regex/bench/ |
H A D | run | 3 usage() { function 9 usage 37 usage
|
/third_party/selinux/libsepol/utils/ |
H A D | chkcon.c | 9 void usage(char*) __attribute__((noreturn)); 11 void usage(char *progname) in usage() function 13 printf("usage: %s policy context\n", progname); in usage() 22 usage(argv[0]); in main()
|
/kernel/linux/linux-6.6/mm/ |
H A D | hugetlb_cgroup.c | 320 unsigned long usage = in __hugetlb_cgroup_commit_charge() local 321 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_commit_charge() 323 * This write is not atomic due to fetching usage and writing in __hugetlb_cgroup_commit_charge() 327 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx], in __hugetlb_cgroup_commit_charge() 328 usage + nr_pages); in __hugetlb_cgroup_commit_charge() 369 unsigned long usage = in __hugetlb_cgroup_uncharge_folio() local 370 h_cg->nodeinfo[folio_nid(folio)]->usage[idx]; in __hugetlb_cgroup_uncharge_folio() 372 * This write is not atomic due to fetching usage and writing in __hugetlb_cgroup_uncharge_folio() 376 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx], in __hugetlb_cgroup_uncharge_folio() 377 usage in __hugetlb_cgroup_uncharge_folio() 475 unsigned long usage; hugetlb_cgroup_read_numa_stat() local [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_transfer.c | 354 if (mt->base.base.usage != PIPE_USAGE_STAGING) in nvc0_mt_transfer_can_map_directly() 360 nvc0_mt_sync(struct nvc0_context *nvc0, struct nv50_miptree *mt, unsigned usage) in nvc0_mt_sync() argument 363 uint32_t access = (usage & PIPE_MAP_WRITE) ? in nvc0_mt_sync() 367 if (usage & PIPE_MAP_WRITE) in nvc0_mt_sync() 376 unsigned usage, in nvc0_miptree_transfer_map() 389 ret = !nvc0_mt_sync(nvc0, mt, usage); in nvc0_miptree_transfer_map() 393 (usage & PIPE_MAP_DIRECTLY)) in nvc0_miptree_transfer_map() 396 usage |= PIPE_MAP_DIRECTLY; in nvc0_miptree_transfer_map() 398 if (usage & PIPE_MAP_DIRECTLY) in nvc0_miptree_transfer_map() 408 tx->base.usage in nvc0_miptree_transfer_map() 373 nvc0_miptree_transfer_map(struct pipe_context *pctx, struct pipe_resource *res, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) nvc0_miptree_transfer_map() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Texture.cpp | 94 wgpu::TextureUsage usage, in ValidateSampleCount() 126 DAWN_INVALID_IF(usage & wgpu::TextureUsage::StorageBinding, in ValidateSampleCount() 230 wgpu::TextureUsage usage, in ValidateTextureUsage() 232 DAWN_TRY(dawn_native::ValidateTextureUsage(usage)); in ValidateTextureUsage() 238 format->isCompressed && !IsSubset(usage, kValidCompressedUsages), in ValidateTextureUsage() 239 "The texture usage (%s) is incompatible with the compressed texture format (%s).", in ValidateTextureUsage() 240 usage, format->format); in ValidateTextureUsage() 243 !format->isRenderable && (usage & wgpu::TextureUsage::RenderAttachment), in ValidateTextureUsage() 244 "The texture usage (%s) includes %s, which is incompatible with the non-renderable " in ValidateTextureUsage() 246 usage, wgp in ValidateTextureUsage() 93 ValidateSampleCount(const TextureDescriptor* descriptor, wgpu::TextureUsage usage, const Format* format) ValidateSampleCount() argument 229 ValidateTextureUsage(const TextureDescriptor* descriptor, wgpu::TextureUsage usage, const Format* format) ValidateTextureUsage() argument 283 wgpu::TextureUsage usage = descriptor->usage; ValidateTextureDescriptor() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBufferWriteTests.cpp | 58 , usage (0) in DataStoreSpec() 65 , usage (usage_) in DataStoreSpec() 71 deUint32 usage; member 180 BasicBufferDataCase (Context& context, const char* name, const char* desc, deUint32 target, deUint32 usage, int size, VerifyType verify) in BasicBufferDataCase() argument 183 , m_usage (usage) in BasicBufferDataCase() 245 fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+spec->usage)); in iterate() 248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage); in iterate() 273 BasicBufferSubDataCase (Context& context, const char* name, const char* desc, deUint32 target, deUint32 usage, int size, int subDataOffs, int subDataSize, VerifyType verify) in BasicBufferSubDataCase() argument 276 , m_usage (usage) in BasicBufferSubDataCase() 327 SubDataToUndefinedCase (Context& context, const char* name, const char* desc, deUint32 target, deUint32 usage, in argument 594 const deUint32 usage = usageHints[usageNdx]; init() local 695 const deUint32 usage = usageHints[usageNdx]; init() local [all...] |
/kernel/linux/linux-5.10/tools/usb/ |
H A D | testusb.c | 409 goto usage; in main() 413 goto usage; in main() 423 goto usage; in main() 428 goto usage; in main() 432 goto usage; in main() 437 usage: in main() 439 "usage: %s [options]\n" in main() 456 goto usage; in main() 460 goto usage; in main()
|
/kernel/linux/linux-6.6/tools/usb/ |
H A D | testusb.c | 415 goto usage; in main() 419 goto usage; in main() 429 goto usage; in main() 434 goto usage; in main() 438 goto usage; in main() 443 usage: in main() 445 "usage: %s [options]\n" in main() 462 goto usage; in main() 466 goto usage; in main()
|
/third_party/mbedtls/programs/pkey/ |
H A D | gen_key.c | 99 "\n usage: gen_key param=<>...\n" \ 267 usage: in main() 290 goto usage; in main() 300 goto usage; in main() 308 goto usage; in main() 314 goto usage; in main() 320 goto usage; in main() 330 goto usage; in main() 333 goto usage; in main()
|
/third_party/ltp/utils/benchmark/ebizzy-0.3/ |
H A D | ebizzy.c | 88 static void usage(void) in usage() function 149 usage(); in read_options() 163 usage(); in read_options() 168 usage(); in read_options() 173 usage(); in read_options() 185 usage(); in read_options() 216 usage(); in read_options() 225 usage(); in read_options()
|
/third_party/libinput/tools/ |
H A D | ptraccel-debug.c | 174 usage(void) in usage() function 278 usage(); in main() 291 usage(); in main() 298 usage(); in main() 305 usage(); in main() 312 usage(); in main() 351 usage(); in main() 411 usage(); in main()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | wrjpgcom.c | 345 usage(void) in usage() function 435 if (++argn >= argc) usage(); in main() 441 if (++argn >= argc) usage(); in main() 480 usage(); in main() 485 usage(); in main() 490 usage(); in main() 518 usage(); in main() 528 usage(); in main()
|
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_test_lib.c | 225 psa_key_usage_t *usage, in key_opaque_set_alg_usage() 235 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 238 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 241 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 244 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 247 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 250 *usage |= PSA_KEY_USAGE_DECRYPT; in key_opaque_set_alg_usage() 253 *usage |= PSA_KEY_USAGE_SIGN_HASH; in key_opaque_set_alg_usage() 256 *usage |= PSA_KEY_USAGE_DERIVE; in key_opaque_set_alg_usage() 265 *usage in key_opaque_set_alg_usage() 222 key_opaque_set_alg_usage(const char *alg1, const char *alg2, psa_algorithm_t *psa_alg1, psa_algorithm_t *psa_alg2, psa_key_usage_t *usage, mbedtls_pk_type_t key_type) key_opaque_set_alg_usage() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/nine/ |
H A D | vertexdeclaration9.c | 89 /* Actually, arbitrary usage index values are permitted, but a 94 nine_d3ddeclusage_check(unsigned usage, unsigned usage_idx) in nine_d3ddeclusage_check() argument 96 switch (usage) { in nine_d3ddeclusage_check() 122 nine_d3d9_to_nine_declusage(unsigned usage, unsigned usage_idx) in nine_d3d9_to_nine_declusage() argument 124 if (!nine_d3ddeclusage_check(usage, usage_idx)) in nine_d3d9_to_nine_declusage() 125 ERR("D3DDECLUSAGE_%u[%u]\n",usage,usage_idx); in nine_d3d9_to_nine_declusage() 126 assert(nine_d3ddeclusage_check(usage, usage_idx)); in nine_d3d9_to_nine_declusage() 127 switch (usage) { in nine_d3d9_to_nine_declusage() 202 uint16_t usage = nine_d3d9_to_nine_declusage(This->decls[i].Usage, in NineVertexDeclaration9_ctor() local 204 This->usage_map[i] = usage; in NineVertexDeclaration9_ctor() [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_texture.c | 223 unsigned usage) in softpipe_resource_from_handle() 258 unsigned usage) in softpipe_resource_get_handle() 351 * \param usage bitmask of PIPE_MAP_x flags 358 unsigned usage, in softpipe_transfer_map() 397 if (!(usage & PIPE_MAP_UNSYNCHRONIZED)) { in softpipe_transfer_map() 398 boolean read_only = !(usage & PIPE_MAP_WRITE); in softpipe_transfer_map() 399 boolean do_not_block = !!(usage & PIPE_MAP_DONTBLOCK); in softpipe_transfer_map() 422 pt->usage = usage; in softpipe_transfer_map() 436 map = winsys->displaytarget_map(winsys, spr->dt, usage); in softpipe_transfer_map() 220 softpipe_resource_from_handle(struct pipe_screen *screen, const struct pipe_resource *templat, struct winsys_handle *whandle, unsigned usage) softpipe_resource_from_handle() argument 254 softpipe_resource_get_handle(struct pipe_screen *screen, struct pipe_context *ctx, struct pipe_resource *pt, struct winsys_handle *whandle, unsigned usage) softpipe_resource_get_handle() argument 355 softpipe_transfer_map(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) softpipe_transfer_map() argument [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_android.c | 195 * one of the AHARDWAREBUFFER_USAGE_GPU_* usage flags." in get_ahw_buffer_format_properties2() 197 if (!(desc.usage & (gpu_usage))) in get_ahw_buffer_format_properties2() 203 p->format = vk_format_from_android(desc.format, desc.usage); in get_ahw_buffer_format_properties2() 209 * of AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER usage. in get_ahw_buffer_format_properties2() 213 if (desc.usage & AHARDWAREBUFFER_USAGE_GPU_DATA_BUFFER) in get_ahw_buffer_format_properties2() 224 * to the valid usage requirements associated with external formats, even if in get_ahw_buffer_format_properties2() 342 /* Construct ahw usage mask from image usage bits, see 366 /* No usage bits set - set at least one GPU usage in anv_ahw_usage_from_vk_usage() 430 uint64_t usage = 0; anv_create_ahw_memory() local [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_buffer.c | 28 .usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT, 34 .usage = VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT, 40 .usage = 47 .usage = 55 .usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | 104 /* We mask out usage bits from exts not enabled by the app to create the in vn_buffer_cache_entries_create() 109 local_info.usage &= in vn_buffer_cache_entries_create() 114 local_info.usage &= ~VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT; in vn_buffer_cache_entries_create() 165 .usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT, in vn_buffer_get_max_buffer_size() 255 * with the same value for the flags and usage member in vn_buffer_cache_get_memory_requirements() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-sony.c | 680 struct hid_field *field, struct hid_usage *usage, in ps3remote_mapping() 683 unsigned int key = usage->hid & HID_USAGE; in ps3remote_mapping() 685 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_BUTTON) in ps3remote_mapping() 688 switch (usage->collection_index) { in ps3remote_mapping() 709 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); in ps3remote_mapping() 714 struct hid_field *field, struct hid_usage *usage, in navigation_mapping() 717 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_BUTTON) { in navigation_mapping() 718 unsigned int key = usage->hid & HID_USAGE; in navigation_mapping() 727 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, key); in navigation_mapping() 729 } else if (usage in navigation_mapping() 679 ps3remote_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ps3remote_mapping() argument 713 navigation_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) navigation_mapping() argument 761 sixaxis_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) sixaxis_mapping() argument 809 ds4_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ds4_mapping() argument 1322 sony_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) sony_mapping() argument [all...] |
H A D | hid-speedlink.c | 26 struct hid_field *field, struct hid_usage *usage, in speedlink_input_mapping() 35 switch (usage->hid & HID_USAGE_PAGE) { in speedlink_input_mapping() 43 struct hid_usage *usage, __s32 value) in speedlink_event() 24 speedlink_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) speedlink_input_mapping() argument 42 speedlink_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) speedlink_event() argument
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | BufferValidationTests.cpp | 38 descriptor.usage = wgpu::BufferUsage::MapRead; in CreateMapReadBuffer() 46 descriptor.usage = wgpu::BufferUsage::MapWrite; in CreateMapWriteBuffer() 51 wgpu::Buffer BufferMappedAtCreation(uint64_t size, wgpu::BufferUsage usage) { in BufferMappedAtCreation() argument 54 descriptor.usage = usage; in BufferMappedAtCreation() 91 descriptor.usage = wgpu::BufferUsage::Uniform; in TEST_F() 103 descriptor.usage = wgpu::BufferUsage::MapRead | wgpu::BufferUsage::CopyDst; in TEST_F() 112 descriptor.usage = wgpu::BufferUsage::MapRead | wgpu::BufferUsage::Uniform; in TEST_F() 121 descriptor.usage = wgpu::BufferUsage::MapWrite | wgpu::BufferUsage::CopySrc; in TEST_F() 130 descriptor.usage in TEST_F() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
H A D | test_hmm.sh | 66 usage() function 70 echo "Example usage:" 84 usage 89 usage
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | tc_l2_redirect_user.c | 15 static void usage(void) in usage() function 42 usage(); in main() 48 usage(); in main()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | verification.h | 40 enum key_being_used_for usage, 48 enum key_being_used_for usage, 58 enum key_being_used_for usage);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | verification.h | 51 enum key_being_used_for usage, 59 enum key_being_used_for usage, 69 enum key_being_used_for usage);
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-speedlink.c | 26 struct hid_field *field, struct hid_usage *usage, in speedlink_input_mapping() 35 switch (usage->hid & HID_USAGE_PAGE) { in speedlink_input_mapping() 43 struct hid_usage *usage, __s32 value) in speedlink_event() 24 speedlink_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) speedlink_input_mapping() argument 42 speedlink_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) speedlink_event() argument
|