/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | InternalUsageValidationTests.cpp | 25 textureDesc.usage = wgpu::TextureUsage::CopySrc; in TEST_F() 58 textureDesc.usage = wgpu::TextureUsage::CopySrc; in TEST_F() 64 // Internal usage: none in TEST_F() 67 // Internal usage is the same as the base usage. in TEST_F() 71 // Internal usage adds to the base usage. in TEST_F() 77 // depends on the usage. 82 textureDesc.usage = wgpu::TextureUsage::CopySrc; in TEST_F() 88 // Internal usage add in TEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-gfrm.c | 28 struct hid_field *field, struct hid_usage *usage, in gfrm_input_mapping() 34 if (usage->hid == (HID_UP_CONSUMER | 0x4)) { in gfrm_input_mapping() 36 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO); in gfrm_input_mapping() 40 if (usage->hid == (HID_UP_CONSUMER | 0x41)) { in gfrm_input_mapping() 42 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK); in gfrm_input_mapping() 27 gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) gfrm_input_mapping() argument
|
H A D | hid-twinhan.c | 59 #define th_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 62 struct hid_field *field, struct hid_usage *usage, in twinhan_input_mapping() 65 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_KEYBOARD) in twinhan_input_mapping() 68 switch (usage->hid & HID_USAGE) { in twinhan_input_mapping() 61 twinhan_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) twinhan_input_mapping() argument
|
H A D | hid-topseed.c | 24 #define ts_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 27 struct hid_field *field, struct hid_usage *usage, in ts_input_mapping() 30 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR) in ts_input_mapping() 33 switch (usage->hid & HID_USAGE) { in ts_input_mapping() 26 ts_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ts_input_mapping() argument
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-gfrm.c | 28 struct hid_field *field, struct hid_usage *usage, in gfrm_input_mapping() 34 if (usage->hid == (HID_UP_CONSUMER | 0x4)) { in gfrm_input_mapping() 36 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO); in gfrm_input_mapping() 40 if (usage->hid == (HID_UP_CONSUMER | 0x41)) { in gfrm_input_mapping() 42 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK); in gfrm_input_mapping() 27 gfrm_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) gfrm_input_mapping() argument
|
/third_party/ffmpeg/tools/ |
H A D | aviocat.c | 27 static int usage(const char *argv0, int ret) in usage() function 58 return usage(argv[0], 1); in main() 65 return usage(argv[0], 1); in main() 75 return usage(argv[0], 1); in main() 79 return usage(argv[0], 1); in main()
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/index/ |
H A D | IndexGenerator.java | 30 usage("too few arguments"); in main() 40 usage("first argument '" + inDir + "' must be a directory"); in main() 47 usage("second argument must be existing directory"); in main() 87 usage(e.getMessage()); in main() 91 private static void usage(String msg) { in usage() method in IndexGenerator
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
H A D | psa_information.py | 136 def tweak_key_pair_dependency(dep: str, usage: str): 139 symbols according to the required usage. 143 if usage == "BASIC": 149 elif usage == "GENERATE": 156 def fix_key_pair_dependencies(dep_list: List[str], usage: str): 159 for new_deps in tweak_key_pair_dependency(dep, usage)]
|
/third_party/lame/misc/ |
H A D | mugeco.sh | 11 usage() { function 16 usage: $progname [ <flags> ] -g <num> <file> 48 die() { # usage: die [ <exitcode> [ <errormessage> ] ] 62 tfile() { # usage: tfile <variable_name> 77 [ "$help" ] && { usage; die; } 88 *) usage; die 9 "invalid command line syntax!" ;; 92 [ "$help" ] && { usage; die; } 93 [ $# -eq 0 ] && { usage; die 9 no arguments; } #change or remove if desired
|
/third_party/ltp/testcases/kernel/controllers/cpuacct/ |
H A D | cpuacct.sh | 13 # 2) Check that sum ltp_test/subgroup*/cpuacct.usage = ltp_test/cpuacct.usage 19 TST_USAGE=usage 28 usage() function 31 usage: $0 nsubgroup nprocess 156 tmp=`cat $testpath/subgroup_$i/cpuacct.usage` 163 ## check that cpuacct.usage != 0 for every subgroup 165 tst_res TFAIL "cpuacct.usage is not equal to 0 for $fails subgroups" 167 tst_res TPASS "cpuacct.usage is not equal to 0 for every subgroup" 170 ## check that ltp_subgroup/cpuacct.usage [all...] |
/third_party/node/benchmark/ |
H A D | _cli.js | 18 function CLI(usage, settings) { 20 this.abort(usage); // Abort will exit the process 23 this.usage = usage; 76 this.abort(usage);
|
/third_party/libfuse/example/ |
H A D | cuse_client.c | 14 * Example usage (assuming that /dev/foobar is a CUSE device provided 51 const char *usage = variable 101 goto usage; in main() 117 goto usage; in main() 150 usage: in main() 151 fprintf(stderr, "%s", usage); in main()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_resource_buffer.c | 70 unsigned usage, const struct pipe_box *box, in i915_buffer_transfer_map() 82 transfer->usage = usage; in i915_buffer_transfer_map() 99 unsigned usage, unsigned offset, unsigned size, in i915_buffer_subdata() 144 buf->b.usage = PIPE_USAGE_IMMUTABLE; in i915_user_buffer_create() 68 i915_buffer_transfer_map(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) i915_buffer_transfer_map() argument 98 i915_buffer_subdata(struct pipe_context *rm_ctx, struct pipe_resource *resource, unsigned usage, unsigned offset, unsigned size, const void *data) i915_buffer_subdata() argument
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_suballoc.c | 51 enum pipe_resource_usage usage, unsigned flags, in u_suballocator_init() 59 allocator->usage = usage; in u_suballocator_init() 93 templ.usage = allocator->usage; in u_suballocator_alloc() 48 u_suballocator_init(struct u_suballocator *allocator, struct pipe_context *pipe, unsigned size, unsigned bind, enum pipe_resource_usage usage, unsigned flags, boolean zero_buffer_memory) u_suballocator_init() argument
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkBuffer.cpp | 28 , usage(pCreateInfo->usage) in Buffer() 73 if(usage & (VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT | VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT)) in getMemoryRequirements() 77 else if(usage & VK_BUFFER_USAGE_STORAGE_BUFFER_BIT) in getMemoryRequirements() 81 else if(usage & VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT) in getMemoryRequirements()
|
/third_party/selinux/secilc/ |
H A D | secil2conf.c | 44 static __attribute__((__noreturn__)) void usage(const char *prog) in usage() function 59 printf(" -h, --help display usage information\n"); in usage() 104 usage(argv[0]); in main() 118 usage(argv[0]); in main() 123 usage(argv[0]); in main() 128 usage(argv[0]); in main()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | fscache.h | 209 int usage, 212 TP_ARGS(cache_debug_id, usage, where), 216 __field(int, usage ) 222 __entry->usage = usage; 229 __entry->usage) 234 int usage, 237 TP_ARGS(volume_debug_id, usage, where), 241 __field(int, usage ) 247 __entry->usage [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xdp_synproxy.c | 71 static noreturn void usage(const char *progname) in usage() function 86 usage(progname); in parse_arg_ul() 112 usage(argv[0]); in parse_options() 130 usage(argv[0]); in parse_options() 135 usage(argv[0]); in parse_options() 140 usage(argv[0]); in parse_options() 168 usage(argv[0]); in parse_options() 172 usage(argv[0]); in parse_options() 176 usage(argv[0]); in parse_options() 179 usage(arg in parse_options() [all...] |
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-icmpv4_sender.c | 80 * Function: usage() 83 * Print the usage of this program. Then, terminate this program with 92 void usage(char *program_name, int exit_value) in usage() function 94 FILE *stream = stdout; /* stream where the usage is output */ in usage() 107 "\t-h\t\tdisplay this usage\n" in usage() 189 usage(program_name, EXIT_FAILURE); in parse_options() 199 usage(program_name, EXIT_FAILURE); in parse_options() 209 usage(program_name, EXIT_FAILURE); in parse_options() 221 usage(program_name, EXIT_FAILURE); in parse_options() 231 usage(program_nam in parse_options() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_int.c | 377 u32 usage = 1; in qed_db_rec_flush_queue() local 382 /* wait for usage to zero or count to run out. This is necessary since in qed_db_rec_flush_queue() 392 while (count-- && usage) { in qed_db_rec_flush_queue() 393 usage = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT); in qed_db_rec_flush_queue() 398 if (usage) { in qed_db_rec_flush_queue() 400 "DB recovery: doorbell usage failed to zero after %d usec. usage was %x\n", in qed_db_rec_flush_queue() 401 QED_DB_REC_INTERVAL * QED_DB_REC_COUNT, usage); in qed_db_rec_flush_queue() 1661 p_info->usage.free_cnt--; in qed_int_sb_init() 1720 p_info->usage in qed_int_sb_release() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_int.c | 380 u32 usage = 1; in qed_db_rec_flush_queue() local 385 /* wait for usage to zero or count to run out. This is necessary since in qed_db_rec_flush_queue() 395 while (count-- && usage) { in qed_db_rec_flush_queue() 396 usage = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT); in qed_db_rec_flush_queue() 401 if (usage) { in qed_db_rec_flush_queue() 403 "DB recovery: doorbell usage failed to zero after %d usec. usage was %x\n", in qed_db_rec_flush_queue() 404 QED_DB_REC_INTERVAL * QED_DB_REC_COUNT, usage); in qed_db_rec_flush_queue() 1681 p_info->usage.free_cnt--; in qed_int_sb_init() 1740 p_info->usage in qed_int_sb_release() [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_surface_state.c | 98 get_surftype(enum isl_surf_dim dim, isl_surf_usage_flags_t usage) in get_surftype() argument 104 assert(!(usage & ISL_SURF_USAGE_CUBE_BIT)); in get_surftype() 107 if ((usage & ISL_SURF_USAGE_CUBE_BIT) && in get_surftype() 108 (usage & ISL_SURF_USAGE_TEXTURE_BIT)) { in get_surftype() 118 assert(!(usage & ISL_SURF_USAGE_CUBE_BIT)); in get_surftype() 163 s.SurfaceType = get_surftype(info->surf->dim, info->view->usage); in surf_fill_state_s() 165 if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) in surf_fill_state_s() 167 else if (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) in surf_fill_state_s() 211 * evidence suggests that it only affects CCS compression usage. There are in surf_fill_state_s() 261 if (GFX_VER == 6 && (info->view->usage in surf_fill_state_s() [all...] |
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 25 /* Report usage table used to put reports into an array */ 48 /* device_control is really 0x95, but 0x96 specified as it is the usage of 51 /* Value usage tables used to put fields and values into arrays */ 163 usage<->value pairs that pidff_usage values are */ 208 static void pidff_set(struct pidff_usage *usage, u16 value) in pidff_set() argument 210 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); in pidff_set() 211 pr_debug("calculated from %d to %d\n", value, usage->value[0]); in pidff_set() 214 static void pidff_set_signed(struct pidff_usage *usage, s16 value) in pidff_set_signed() argument 216 if (usage in pidff_set_signed() 758 pidff_find_fields(struct pidff_usage *usage, const u8 *table, struct hid_report *report, int count, int strict) pidff_find_fields() argument 797 pidff_check_usage(int usage) pidff_check_usage() argument 871 pidff_find_special_field(struct hid_report *report, int usage, int enforce_min) pidff_find_special_field() argument [all...] |
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 25 /* Report usage table used to put reports into an array */ 48 /* device_control is really 0x95, but 0x96 specified as it is the usage of 51 /* Value usage tables used to put fields and values into arrays */ 163 usage<->value pairs that pidff_usage values are */ 208 static void pidff_set(struct pidff_usage *usage, u16 value) in pidff_set() argument 210 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); in pidff_set() 211 pr_debug("calculated from %d to %d\n", value, usage->value[0]); in pidff_set() 214 static void pidff_set_signed(struct pidff_usage *usage, s16 value) in pidff_set_signed() argument 216 if (usage in pidff_set_signed() 758 pidff_find_fields(struct pidff_usage *usage, const u8 *table, struct hid_report *report, int count, int strict) pidff_find_fields() argument 797 pidff_check_usage(int usage) pidff_check_usage() argument 871 pidff_find_special_field(struct hid_report *report, int usage, int enforce_min) pidff_find_special_field() argument [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | ver_linux | 9 usage = "If some fields are empty or look unusual you may have an old version.\n" 10 usage = usage "Compare to the current minimal requirements in Documentation/Changes.\n" 11 print usage
|