Home
last modified time | relevance | path

Searched refs:usage (Results 376 - 400 of 3077) sorted by relevance

1...<<11121314151617181920>>...124

/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-sensor-custom.c109 {0x200541, "data-field-custom-usage"},
282 int index, usage, field_index; in show_value() local
288 if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, in show_value()
292 } else if (sscanf(attr->attr.name, "input-%x-%x-%s", &index, &usage, in show_value()
352 sensor_inst->hsdev->usage, in show_value()
353 usage, report_id, in show_value()
370 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()
389 int index, field_index, usage; in store_value() local
393 if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, in store_value()
440 header.usage_id = hsdev->usage; in hid_sensor_capture_sample()
[all...]
H A Dhid-sensor-hub.c42 * @usage_id: usage id for a physical device.
365 if (field->usage[i].hid == usage_id) in hid_sensor_get_usage_index()
366 return field->usage[i].usage_index; in hid_sensor_get_usage_index()
403 field->usage[0].hid == in sensor_hub_input_get_attribute_info()
405 (field->usage[0].collection_index >= in sensor_hub_input_get_attribute_info()
407 (field->usage[0].collection_index < in sensor_hub_input_get_attribute_info()
498 i, report->field[i]->usage->collection_index, in sensor_hub_raw_event()
499 report->field[i]->usage->hid, in sensor_hub_raw_event()
505 report->field[i]->usage->collection_index]; in sensor_hub_raw_event()
506 hid_dbg(hdev, "collection->usage in sensor_hub_raw_event()
[all...]
H A Dhid-zydacron.c43 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
46 struct hid_field *field, struct hid_usage *usage, in zc_input_mapping()
53 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in zc_input_mapping()
57 usage->hid & HID_USAGE); in zc_input_mapping()
59 switch (usage->hid & HID_USAGE) { in zc_input_mapping()
45 zc_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) zc_input_mapping() argument
H A Dhid-ntrig.c455 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapping()
464 switch (usage->hid & HID_USAGE_PAGE) { in ntrig_input_mapping()
466 switch (usage->hid) { in ntrig_input_mapping()
468 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
490 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
515 switch (usage->hid) { in ntrig_input_mapping()
525 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
529 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
546 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapped()
553 if (usage in ntrig_input_mapped()
454 ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapping() argument
545 ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapped() argument
566 ntrig_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) ntrig_event() argument
[all...]
/kernel/liteos_a/fs/proc/os_adapt/
H A Dplimits_proc.c609 unsigned long long *usage = (unsigned long long *)LOS_MemAlloc(m_aucSysMem1, size); in MemLimitStatShow() local
610 if (usage == NULL) { in MemLimitStatShow()
613 (void)memset_s(usage, size, 0, size); in MemLimitStatShow()
615 unsigned int ret = OsPLimitsMemUsageGet(plimits, usage, size); in MemLimitStatShow()
617 (VOID)LOS_MemFree(m_aucSysMem1, usage); in MemLimitStatShow()
621 ProcMemLimiter *memLimit = (ProcMemLimiter *)usage; in MemLimitStatShow()
622 unsigned long long *memUsage = (unsigned long long *)((uintptr_t)usage + sizeof(ProcMemLimiter)); in MemLimitStatShow()
623 (void)LosBufPrintf(seqBuf, "\nMem used: %llu\n", memLimit->usage); in MemLimitStatShow()
633 (void)LOS_MemFree(m_aucSysMem1, usage); in MemLimitStatShow()
855 unsigned long long *usage in SchedLimitShow() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c219 static void usage(void) in usage() function
246 usage(); in main()
255 usage(); in main()
261 usage(); in main()
265 usage(); in main()
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-zydacron.c43 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c))
46 struct hid_field *field, struct hid_usage *usage, in zc_input_mapping()
53 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_CONSUMER) in zc_input_mapping()
57 usage->hid & HID_USAGE); in zc_input_mapping()
59 switch (usage->hid & HID_USAGE) { in zc_input_mapping()
45 zc_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) zc_input_mapping() argument
H A Dhid-ntrig.c455 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapping()
464 switch (usage->hid & HID_USAGE_PAGE) { in ntrig_input_mapping()
466 switch (usage->hid) { in ntrig_input_mapping()
468 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
490 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
515 switch (usage->hid) { in ntrig_input_mapping()
525 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
529 hid_map_usage(hi, usage, bit, max, in ntrig_input_mapping()
546 struct hid_field *field, struct hid_usage *usage, in ntrig_input_mapped()
553 if (usage in ntrig_input_mapped()
454 ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapping() argument
545 ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ntrig_input_mapped() argument
566 ntrig_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) ntrig_event() argument
[all...]
H A Dhid-sensor-custom.c105 {0x200541, "data-field-custom-usage"},
278 int index, usage, field_index; in show_value() local
284 if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, in show_value()
288 } else if (sscanf(attr->attr.name, "input-%x-%x-%s", &index, &usage, in show_value()
348 sensor_inst->hsdev->usage, in show_value()
349 usage, report_id, in show_value()
366 usage_desc = bsearch(&usage, hid_custom_usage_desc_table, in show_value()
385 int index, field_index, usage; in store_value() local
389 if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage, in store_value()
435 header.usage_id = hsdev->usage; in hid_sensor_capture_sample()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c219 static void usage(void) in usage() function
246 usage(); in main()
255 usage(); in main()
261 usage(); in main()
265 usage(); in main()
/third_party/ltp/testcases/kernel/controllers/memctl/
H A Drun_memctl_test.sh2 # usage ./runmemctl_test.sh test_num
28 # Test 01: Tests group memory usage on task migration #
29 # Test 03: Tests failcnt increase on memory usage greater than group limit #
80 # memory usage of a group becomes more than the group limit OOM Killer will #
108 * ) usage;
159 echo group2 memory usage: $GRP2_MEMUSAGE_OLD Bytes
184 # Wait for some time to check if memory usage of group_2 increases
193 echo group2 memory usage: $GRP2_MEMUSAGE_NEW Bytes
219 echo group2 memory usage: $GRP2_MEMUSAGE_NEW Bytes
243 usage;
[all...]
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
H A Damdgpu_cs.h54 unsigned usage; member
241 unsigned usage) in amdgpu_bo_is_referenced_by_cs_with_usage()
251 bo->base.usage & RADEON_FLAG_SPARSE ? &cs->csc->sparse_buffers[index] : in amdgpu_bo_is_referenced_by_cs_with_usage()
254 return (buffer->usage & usage) != 0; in amdgpu_bo_is_referenced_by_cs_with_usage()
239 amdgpu_bo_is_referenced_by_cs_with_usage(struct amdgpu_cs *cs, struct amdgpu_winsys_bo *bo, unsigned usage) amdgpu_bo_is_referenced_by_cs_with_usage() argument
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DNonzeroBufferCreationTests.cpp39 // is created with CopyDst usage.
45 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
55 // is created with MapWrite without CopyDst usage.
61 descriptor.usage = wgpu::BufferUsage::MapWrite | wgpu::BufferUsage::CopySrc; in TEST_P()
88 // Buffer with MapRead usage in TEST_P()
91 descriptor.usage = wgpu::BufferUsage::MapRead; in TEST_P()
104 // Buffer with MapWrite usage in TEST_P()
107 descriptor.usage = wgpu::BufferUsage::MapWrite | wgpu::BufferUsage::CopySrc; in TEST_P()
117 // Buffer with neither MapRead nor MapWrite usage in TEST_P()
120 descriptor.usage in TEST_P()
[all...]
H A DQueueTests.cpp45 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
58 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
74 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
92 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
122 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
140 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
159 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
179 descriptor.usage = wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst; in TEST_P()
268 descriptor.usage = wgpu::TextureUsage::CopyDst | wgpu::TextureUsage::CopySrc;
332 descriptor.usage
[all...]
/third_party/skia/third_party/externals/expat/expat/
H A Dqa.sh260 *) usage; exit 1 ;;
270 *) usage; exit 1 ;;
280 *) usage; exit 1 ;;
285 usage() { function
301 usage; exit 0
/third_party/selinux/secilc/
H A Dsecil2tree.c50 static __attribute__((__noreturn__)) void usage(const char *prog) in usage() function
63 printf(" -h, --help display usage information\n"); in usage()
120 usage(argv[0]); in main()
124 usage(argv[0]); in main()
129 usage(argv[0]); in main()
135 usage(argv[0]); in main()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DResource.cpp69 translate_resource_usage( unsigned usage ) in translate_resource_usage()
73 switch (usage) { in translate_resource_usage()
291 templat.usage = translate_resource_usage(pCreateResource->Usage); in CreateResource()
490 unsigned usage; in ResourceMap() local
493 usage = PIPE_MAP_READ; in ResourceMap()
496 usage = PIPE_MAP_READ | PIPE_MAP_WRITE; in ResourceMap()
499 usage = PIPE_MAP_WRITE; in ResourceMap()
502 usage = PIPE_MAP_WRITE; in ResourceMap()
504 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in ResourceMap()
506 usage | in ResourceMap()
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_resource.c125 if (ptrans->usage & PIPE_MAP_WRITE) { in v3d_resource_transfer_unmap()
175 unsigned usage) in v3d_map_usage_prep()
180 if (usage & PIPE_MAP_DISCARD_WHOLE_RESOURCE) { in v3d_map_usage_prep()
207 } else if (!(usage & PIPE_MAP_UNSYNCHRONIZED)) { in v3d_map_usage_prep()
212 if (usage & PIPE_MAP_WRITE) { in v3d_map_usage_prep()
223 if (usage & PIPE_MAP_WRITE) { in v3d_map_usage_prep()
232 unsigned level, unsigned usage, in v3d_resource_transfer_map()
249 if ((usage & PIPE_MAP_DISCARD_RANGE) && in v3d_resource_transfer_map()
250 !(usage & PIPE_MAP_UNSYNCHRONIZED) && in v3d_resource_transfer_map()
258 usage | in v3d_resource_transfer_map()
173 v3d_map_usage_prep(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned usage) v3d_map_usage_prep() argument
230 v3d_resource_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **pptrans) v3d_resource_transfer_map() argument
342 v3d_texture_subdata(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) v3d_texture_subdata() argument
416 v3d_resource_get_handle(struct pipe_screen *pscreen, struct pipe_context *pctx, struct pipe_resource *prsc, struct winsys_handle *whandle, unsigned usage) v3d_resource_get_handle() argument
458 v3d_resource_get_param(struct pipe_screen *pscreen, struct pipe_context *pctx, struct pipe_resource *prsc, unsigned plane, unsigned layer, unsigned level, enum pipe_resource_param param, unsigned usage, uint64_t *value) v3d_resource_get_param() argument
870 v3d_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *tmpl, struct winsys_handle *whandle, unsigned usage) v3d_resource_from_handle() argument
[all...]
/third_party/python/Lib/test/
H A Dtest_argparse.py66 self.assertRegex(mocked_stderr.getvalue(), r'usage:')
2231 'usage: PROG [-h] [--foo] bar {1,2,3} ...\n')
2233 usage: PROG [-h] [--foo] bar {1,2,3} ...
2250 'usage: PROG [-h] [++foo] bar {1,2,3} ...\n')
2252 usage: PROG [-h] [++foo] bar {1,2,3} ...
2273 usage: PROG [-h] [--non-breaking]
2291 usage: PROG [-h] foo
2307 usage: PROG [-h] {}
2320 'usage: PROG [+h] [++foo] bar {1,2,3} ...\n')
2322 usage
4181 usage = '' global() variable in TestHelpSuppressUsage
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
H A DPrecision.java485 static CurrencyPrecision constructCurrency(CurrencyUsage usage) { in constructCurrency() argument
486 if (usage == CurrencyUsage.STANDARD) { in constructCurrency()
488 } else if (usage == CurrencyUsage.CASH) { in constructCurrency()
498 double incrementDouble = currency.getRoundingIncrement(base.usage); in constructFromCurrency()
504 int minMaxFrac = currency.getDefaultFractionDigits(base.usage); in constructFromCurrency()
860 final CurrencyUsage usage; field in Precision.CurrencyRounderImpl
862 public CurrencyRounderImpl(CurrencyUsage usage) { in CurrencyRounderImpl() argument
863 this.usage = usage; in CurrencyRounderImpl()
874 CurrencyRounderImpl copy = new CurrencyRounderImpl(usage); in createCopy()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
H A DPrecision.java437 static CurrencyPrecision constructCurrency(CurrencyUsage usage) { in constructCurrency() argument
438 if (usage == CurrencyUsage.STANDARD) { in constructCurrency()
440 } else if (usage == CurrencyUsage.CASH) { in constructCurrency()
450 double incrementDouble = currency.getRoundingIncrement(base.usage); in constructFromCurrency()
456 int minMaxFrac = currency.getDefaultFractionDigits(base.usage); in constructFromCurrency()
733 final CurrencyUsage usage; field in Precision.CurrencyRounderImpl
735 public CurrencyRounderImpl(CurrencyUsage usage) { in CurrencyRounderImpl() argument
736 this.usage = usage; in CurrencyRounderImpl()
747 CurrencyRounderImpl copy = new CurrencyRounderImpl(usage); in createCopy()
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_formats.c336 isl_surf_usage_flags_t usage) in crocus_format_for_usage()
348 if (usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) in crocus_format_for_usage()
406 (usage & ISL_SURF_USAGE_RENDER_TARGET_BIT)) { in crocus_format_for_usage()
420 * Returns true if the given format is supported for the given usage
428 unsigned usage) in crocus_is_format_supported()
469 if (usage & PIPE_BIND_DEPTH_STENCIL) { in crocus_is_format_supported()
481 if (usage & PIPE_BIND_RENDER_TARGET) { in crocus_is_format_supported()
508 if (usage & PIPE_BIND_SHADER_IMAGE) { in crocus_is_format_supported()
518 if (usage & PIPE_BIND_SAMPLER_VIEW) { in crocus_is_format_supported()
552 if (usage in crocus_is_format_supported()
334 crocus_format_for_usage(const struct intel_device_info *devinfo, enum pipe_format pformat, isl_surf_usage_flags_t usage) crocus_format_for_usage() argument
424 crocus_is_format_supported(struct pipe_screen *pscreen, enum pipe_format pformat, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) crocus_is_format_supported() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_screen.c643 unsigned usage) in r300_is_format_supported()
680 if (usage & (PIPE_BIND_SAMPLER_VIEW | in r300_is_format_supported()
710 if ((usage & PIPE_BIND_SAMPLER_VIEW) && in r300_is_format_supported()
723 if ((usage & (PIPE_BIND_RENDER_TARGET | in r300_is_format_supported()
731 retval |= usage & in r300_is_format_supported()
738 retval |= usage & PIPE_BIND_BLENDABLE; in r300_is_format_supported()
743 if (usage & PIPE_BIND_DEPTH_STENCIL && in r300_is_format_supported()
749 if (usage & PIPE_BIND_VERTEX_BUFFER) { in r300_is_format_supported()
764 if (usage & PIPE_BIND_INDEX_BUFFER) { in r300_is_format_supported()
771 return retval == usage; in r300_is_format_supported()
638 r300_is_format_supported(struct pipe_screen* screen, enum pipe_format format, enum pipe_texture_target target, unsigned sample_count, unsigned storage_sample_count, unsigned usage) r300_is_format_supported() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DBuffer.cpp101 DAWN_TRY(ValidateBufferUsage(descriptor->usage)); in ValidateBufferDescriptor()
103 wgpu::BufferUsage usage = descriptor->usage; in ValidateBufferDescriptor() local
108 usage & wgpu::BufferUsage::MapWrite && !IsSubset(usage, kMapWriteAllowedUsages), in ValidateBufferDescriptor()
109 "Buffer usages (%s) is invalid. If a buffer usage contains %s the only other allowed " in ValidateBufferDescriptor()
110 "usage is %s.", in ValidateBufferDescriptor()
111 usage, wgpu::BufferUsage::MapWrite, wgpu::BufferUsage::CopySrc); in ValidateBufferDescriptor()
116 usage & wgpu::BufferUsage::MapRead && !IsSubset(usage, kMapReadAllowedUsage in ValidateBufferDescriptor()
[all...]
/third_party/icu/icu4c/source/extra/uconv/
H A Duconv.cpp1064 static void usage(const char *pname, int ecode) { in usage() function
1078 res = u_wmsg(fp, "usage", mname.getBuffer(), upname.getBuffer()); in usage()
1162 usage(pname, 1); in main()
1168 usage(pname, 1); in main()
1174 usage(pname, 1); in main()
1191 usage(pname, 1); in main()
1195 usage(pname, 1); in main()
1200 usage(pname, 1); in main()
1205 usage(pname, 1); in main()
1219 usage(pnam in main()
[all...]

Completed in 27 milliseconds

1...<<11121314151617181920>>...124