/kernel/liteos_a/kernel/extended/plimit/ |
H A D | los_plimits.c | 366 UINT32 OsPLimitsMemUsageGet(ProcLimiterSet *plimits, UINT64 *usage, UINT32 size) in OsPLimitsMemUsageGet() argument 371 ProcMemLimiter *memLimit = (ProcMemLimiter *)usage; in OsPLimitsMemUsageGet() 372 UINT64 *memSuage = (UINT64 *)((UINTPTR)usage + sizeof(ProcMemLimiter)); in OsPLimitsMemUsageGet() 373 if ((plimits == NULL) || (usage == NULL) || (size < minSize)) { in OsPLimitsMemUsageGet() 411 UINT32 OsPLimitsSchedUsageGet(ProcLimiterSet *plimits, UINT64 *usage, UINT32 size) in OsPLimitsSchedUsageGet() argument 416 if ((plimits == NULL) || (usage == NULL) || (size < minSize)) { in OsPLimitsSchedUsageGet() 428 usage[OsGetPid(processCB)] = processCB->limitStat.allRuntime; in OsPLimitsSchedUsageGet()
|
/third_party/mbedtls/programs/psa/ |
H A D | key_ladder_demo.c | 29 * See the usage() output for the command line usage. See the file 145 /* The modes that this program can operate in (see usage). */ 211 static psa_status_t import_key_from_file(psa_key_usage_t usage, in import_key_from_file() argument 237 psa_set_key_usage_flags(&attributes, usage); in import_key_from_file() 310 static psa_status_t derive_wrapping_key(psa_key_usage_t usage, in derive_wrapping_key() argument 334 psa_set_key_usage_flags(&attributes, usage); in derive_wrapping_key() 586 static void usage(void) in usage() function 589 printf("Demonstrate the usage of a key derivation ladder.\n"); in usage() 622 usage(); in main() [all...] |
/third_party/mbedtls/programs/ssl/ |
H A D | ssl_mail_client.c | 105 "\n usage: ssl_mail_client param=<>...\n" \ 372 usage: in main() 401 goto usage; in main() 412 goto usage; in main() 417 goto usage; in main() 422 goto usage; in main() 444 goto usage; in main() 449 goto usage; in main()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_screen.c | 564 unsigned usage) in v3d_screen_is_format_supported() 578 if (usage & PIPE_BIND_VERTEX_BUFFER) { in v3d_screen_is_format_supported() 642 if ((usage & PIPE_BIND_RENDER_TARGET) && in v3d_screen_is_format_supported() 648 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in v3d_screen_is_format_supported() 653 if ((usage & PIPE_BIND_DEPTH_STENCIL) && in v3d_screen_is_format_supported() 662 if ((usage & PIPE_BIND_INDEX_BUFFER) && in v3d_screen_is_format_supported() 669 if (usage & PIPE_BIND_SHADER_IMAGE) { in v3d_screen_is_format_supported() 559 v3d_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) v3d_screen_is_format_supported() argument
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
H A D | xa_context.c | 138 struct xa_surface *srf, unsigned int usage) in xa_surface_map() 150 if (usage & XA_MAP_READ) in xa_surface_map() 152 if (usage & XA_MAP_WRITE) in xa_surface_map() 154 if (usage & XA_MAP_MAP_DIRECTLY) in xa_surface_map() 156 if (usage & XA_MAP_UNSYNCHRONIZED) in xa_surface_map() 158 if (usage & XA_MAP_DONTBLOCK) in xa_surface_map() 160 if (usage & XA_MAP_DISCARD_WHOLE_RESOURCE) in xa_surface_map() 137 xa_surface_map(struct xa_context *ctx, struct xa_surface *srf, unsigned int usage) xa_surface_map() argument
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | __init__.py | 287 def __init__(self, usage): 289 argparse.ArgumentParser.__init__(self, usage=usage) 330 usage = "usage: %(prog)s [options ...] [build_file ...]" 332 parser = RegeneratableOptionParser(usage=usage.replace("%s", "%(prog)s")) 539 raise GypError((usage + "\n\n%s: error: no build_file") % (my_name, my_name))
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfstruncate.c | 90 /* -h, print usage and exit. */ 137 * usage - print a list of the parameters to the program 140 static void usage(int ret) in usage() function 197 usage(0); in parse_options() 200 usage(1); in parse_options() 203 usage(1); in parse_options() 214 usage(1); in parse_options() 224 usage(1); in parse_options() 255 usage(1); in parse_options()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | __init__.py | 290 def __init__(self, usage): 292 argparse.ArgumentParser.__init__(self, usage=usage) 333 usage = "usage: %(prog)s [options ...] [build_file ...]" 335 parser = RegeneratableOptionParser(usage=usage.replace("%s", "%(prog)s")) 553 raise GypError((usage + "\n\n%s: error: no build_file") % (my_name, my_name))
|
/third_party/ltp/testscripts/ |
H A D | ltp-aiodio.sh | 28 usage() function 31 usage: ${0##*/} [ -f large_filename -b partition] [-o optional partition] [-e 1] [-t 1] [-j 1] [-x 1] or [-a 1] 75 usage;; 81 usage; 87 usage; 125 usage; 131 usage;
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_bufmgr_slab.c | 111 * Alignment, usage to be used to allocate the slab buffers. 113 * We can only provide buffers which are consistent (in alignment, usage) 343 buf->base.usage = 0; in pb_slab_create() 389 assert(pb_check_usage(desc->usage, mgr->desc.usage)); in pb_slab_manager_create_buffer() 390 if(!pb_check_usage(desc->usage, mgr->desc.usage)) in pb_slab_manager_create_buffer() 420 buf->base.usage = desc->usage; in pb_slab_manager_create_buffer()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | QueueSubmitValidationTests.cpp | 29 descriptor.usage = wgpu::BufferUsage::MapWrite | wgpu::BufferUsage::CopySrc; in TEST_F() 34 descriptor.usage = wgpu::BufferUsage::CopyDst; in TEST_F() 101 descriptor.usage = wgpu::BufferUsage::MapWrite | wgpu::BufferUsage::CopySrc; in TEST_F() 106 descriptor.usage = wgpu::BufferUsage::CopyDst; in TEST_F() 138 descriptor.usage = wgpu::BufferUsage::MapWrite; in TEST_F() 244 bufDesc.usage = wgpu::BufferUsage::Storage; in TEST_F() 312 texDesc.usage = wgpu::TextureUsage::TextureBinding; in TEST_F()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
H A D | testptp.c | 116 static void usage(char *progname) in usage() function 119 "usage: %s [options]\n" in usage() 222 usage(progname); in main() 252 usage(progname); in main() 256 usage(progname); in main() 471 usage(progname); in main()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | perf.c | 24 #include "util/util.h" // usage() 230 usage(perf_usage_string); in handle_options() 240 usage(perf_usage_string); in handle_options() 273 usage(perf_usage_string); in handle_options() 276 usage(perf_usage_string); in handle_options() 282 usage(perf_usage_string); in handle_options() 510 printf("\n usage: %s\n\n", perf_usage_string); in main()
|
/kernel/linux/linux-5.10/fs/fscache/ |
H A D | cache.c | 32 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag() 46 atomic_set(&xtag->usage, 1); in __fscache_lookup_cache_tag() 54 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag() 74 if (atomic_dec_and_test(&tag->usage)) in __fscache_release_cache_tag() 273 atomic_inc(&fscache_fsdef_index.usage); in fscache_add_cache()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
H A D | rstat.c | 430 u64 usage, utime, stime; in cgroup_base_stat_cputime_show() local 435 usage = cgrp->bstat.cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show() 441 usage = cputime.sum_exec_runtime; in cgroup_base_stat_cputime_show() 446 do_div(usage, NSEC_PER_USEC); in cgroup_base_stat_cputime_show() 453 usage, utime, stime); in cgroup_base_stat_cputime_show()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | hid-sensor-als.c | 114 hsdev, hsdev->usage, address, report_id, in als_read_raw() 238 /* Parse report which is specific to an usage id*/ 267 /* Function to initialize the processing for usage id */ 286 hsdev->usage, in hid_als_probe() 304 hsdev->usage, in hid_als_probe() 335 ret = sensor_hub_register_callback(hsdev, hsdev->usage, &als_state->callbacks); in hid_als_probe() 350 /* Function to deinitialize the processing for usage id */ 357 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_als_remove()
|
H A D | hid-sensor-prox.c | 89 hsdev, hsdev->usage, address, report_id, in prox_read_raw() 209 /* Parse report which is specific to an usage id*/ 233 /* Function to initialize the processing for usage id */ 252 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, in hid_prox_probe() 270 hsdev->usage, prox_state); in hid_prox_probe() 299 ret = sensor_hub_register_callback(hsdev, hsdev->usage, in hid_prox_probe() 315 /* Function to deinitialize the processing for usage id */ 322 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_prox_remove()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | perf.c | 23 #include "util/util.h" // usage() 240 usage(perf_usage_string); in handle_options() 250 usage(perf_usage_string); in handle_options() 283 usage(perf_usage_string); in handle_options() 286 usage(perf_usage_string); in handle_options() 292 usage(perf_usage_string); in handle_options() 509 printf("\n usage: %s\n\n", perf_usage_string); in main()
|
/third_party/ltp/testcases/kernel/connectors/pec/ |
H A D | pec_listener.c | 63 static void usage(int status) LTP_ATTRIBUTE_NORETURN; 224 static void usage(int status) in usage() function 248 usage(1); in parse_args() 252 usage(0); in parse_args() 254 usage(1); in parse_args()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_buffer.c | 134 if ((_buf->usage & VMW_BUFFER_USAGE_SYNC) && in vmw_gmr_buffer_map() 155 if ((_buf->usage & VMW_BUFFER_USAGE_SYNC) && in vmw_gmr_buffer_unmap() 226 buf->base.usage = pb_desc->usage & ~VMW_BUFFER_USAGE_SHARED; in vmw_gmr_bufmgr_create_buffer() 230 if ((pb_desc->usage & VMW_BUFFER_USAGE_SHARED) && desc->region) { in vmw_gmr_bufmgr_create_buffer()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | radeon_video.c | 65 unsigned size, unsigned usage) in rvid_create_buffer() 68 buffer->usage = usage; in rvid_create_buffer() 76 usage, size); in rvid_create_buffer() 97 if (!rvid_create_buffer(screen, new_buf, new_size, new_buf->usage)) in rvid_resize_buffer() 64 rvid_create_buffer(struct pipe_screen *screen, struct rvid_buffer *buffer, unsigned size, unsigned usage) rvid_create_buffer() argument
|
/third_party/musl/libc-test/src/math/gen/ |
H A D | rnd.c | 253 goto usage; in main() 258 goto usage; in main() 267 usage: in main() 268 fprintf(stderr, "usage: %s -n num -a absmin -b absmax -m mult -s seed\n", argv[0]); in main() 272 goto usage; in main() 275 goto usage; in main()
|
/third_party/node/deps/base64/base64/bin/ |
H A D | base64.c | 427 usage (FILE *fp, const struct config *config) in usage() function 429 const char *usage = in usage() local 439 fprintf(fp, usage, config->name); in usage() 560 usage(stderr, &config); in main() 566 usage(stdout, &config); in main()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
H A D | freedreno_resource.h | 43 "nr_samples=%u, usage=%u, bind=%x, flags=%x" 48 (p)->usage, (p)->bind, (p)->flags 236 fd_resource_set_usage(struct pipe_resource *prsc, enum fd_dirty_3d_state usage) in fd_resource_set_usage() argument 244 if (likely(rsc->dirty & usage)) in fd_resource_set_usage() 247 or_mask(rsc->dirty, usage); in fd_resource_set_usage() 359 unsigned usage);
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_bufmgr.cpp | 132 if (pb_desc->usage & PB_USAGE_CPU_READ) in d3d12_bo_new() 134 else if (pb_desc->usage & PB_USAGE_CPU_WRITE) in d3d12_bo_new() 330 buf->base.usage = pb_desc->usage; in d3d12_bufmgr_create_buffer() 342 if (pb_desc->usage & PB_USAGE_CPU_READ_WRITE) { in d3d12_bufmgr_create_buffer()
|