/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-microsoft.c | 78 #define ms_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \ 80 static int ms_ergonomy_kb_quirk(struct hid_input *hi, struct hid_usage *usage, in ms_ergonomy_kb_quirk() argument 85 if ((usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) { in ms_ergonomy_kb_quirk() 86 switch (usage->hid & HID_USAGE) { in ms_ergonomy_kb_quirk() 88 * Microsoft uses these 2 reserved usage ids for 2 keys on in ms_ergonomy_kb_quirk() 101 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_MSVENDOR) in ms_ergonomy_kb_quirk() 104 switch (usage->hid & HID_USAGE) { in ms_ergonomy_kb_quirk() 115 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk() 121 * (this usage is found on interface 1). in ms_ergonomy_kb_quirk() 142 static int ms_presenter_8k_quirk(struct hid_input *hi, struct hid_usage *usage, in ms_presenter_8k_quirk() argument 161 ms_surface_dial_quirk(struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ms_surface_dial_quirk() argument 182 ms_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ms_input_mapping() argument 209 ms_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) ms_input_mapped() argument 222 ms_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) ms_event() argument [all...] |
H A D | hid-multitouch.c | 481 struct hid_field *field, struct hid_usage *usage) in mt_feature_mapping() 485 switch (usage->hid) { in mt_feature_mapping() 499 if (usage->usage_index >= field->report_count) { in mt_feature_mapping() 505 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) in mt_feature_mapping() 511 if (usage->usage_index == 0) in mt_feature_mapping() 530 struct mt_usages *usage; in mt_allocate_usage() local 532 usage = devm_kzalloc(&hdev->dev, sizeof(*usage), GFP_KERNEL); in mt_allocate_usage() 533 if (!usage) in mt_allocate_usage() 537 usage in mt_allocate_usage() 480 mt_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) mt_feature_mapping() argument 675 struct mt_usages *usage; mt_store_field() local 716 mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max, struct mt_application *app) mt_touch_input_mapping() argument 998 mt_touch_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_touch_event() argument 1156 mt_process_mt_event(struct hid_device *hid, struct mt_application *app, struct hid_field *field, struct hid_usage *usage, __s32 value, bool first_packet) mt_process_mt_event() argument 1342 mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_input_mapping() argument 1415 mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_input_mapped() argument 1432 mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_event() argument 1462 mt_need_to_apply_feature(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, enum latency_mode latency, bool surface_switch, bool button_switch, bool *inputmode_found) mt_need_to_apply_feature() argument 1538 struct hid_usage *usage; mt_set_modes() local 1654 mt_fix_const_field(struct hid_field *field, unsigned int usage) mt_fix_const_field() argument 1664 mt_fix_const_fields(struct hid_device *hdev, unsigned int usage) mt_fix_const_fields() argument [all...] |
H A D | hid-jabra.c | 22 struct hid_usage *usage, in jabra_input_mapping() 26 ((usage->hid & HID_USAGE_PAGE) >= HID_UP_VENDOR_DEFINED_MIN && in jabra_input_mapping() 27 (usage->hid & HID_USAGE_PAGE) <= HID_UP_VENDOR_DEFINED_MAX); in jabra_input_mapping() 30 usage->hid, in jabra_input_mapping() 32 usage->collection_index, in jabra_input_mapping() 33 usage->usage_index, in jabra_input_mapping() 19 jabra_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) jabra_input_mapping() argument
|
H A D | hid-plantronics.c | 38 (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) 53 struct hid_usage *usage, in plantronics_input_mapping() 87 switch (usage->hid) { in plantronics_input_mapping() 109 hid_dbg(hdev, "usage: %08x (appl: %08x) - defaulted\n", in plantronics_input_mapping() 110 usage->hid, field->application); in plantronics_input_mapping() 114 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key); in plantronics_input_mapping() 115 hid_dbg(hdev, "usage: %08x (appl: %08x) - mapped to key %d\n", in plantronics_input_mapping() 116 usage->hid, field->application, mapped_key); in plantronics_input_mapping() 121 struct hid_usage *usage, __s32 value) in plantronics_event() 155 col_page = hdev->collection[i].usage in plantronics_device_type() 50 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) plantronics_input_mapping() argument 120 plantronics_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) plantronics_event() argument [all...] |
/third_party/mesa3d/src/intel/isl/ |
H A D | isl_gfx7.c | 110 if (isl_surf_usage_is_display(info->usage)) in isl_gfx7_choose_msaa_layout() 126 if (isl_surf_usage_is_depth_or_stencil(info->usage) || in isl_gfx7_choose_msaa_layout() 127 (info->usage & ISL_SURF_USAGE_HIZ_BIT)) in isl_gfx7_choose_msaa_layout() 223 if (isl_surf_usage_is_depth(info->usage)) { in isl_gfx6_filter_tiling() 228 if (isl_surf_usage_is_stencil(info->usage)) { in isl_gfx6_filter_tiling() 244 if (info->usage & ISL_SURF_USAGE_DISPLAY_BIT) { in isl_gfx6_filter_tiling() 281 (info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) && in isl_gfx6_filter_tiling() 319 info->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT && in isl_gfx6_filter_tiling() 340 assert(!isl_surf_usage_is_depth_and_stencil(info->usage)); in isl_gfx7_choose_image_alignment_el() 358 if (isl_surf_usage_is_depth(info->usage)) { in isl_gfx7_choose_image_alignment_el() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageExtendedUsageBitTests.cpp | 134 VkImageUsageFlags usage; member 141 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties() argument 144 return vki.getPhysicalDeviceImageFormatProperties(device, viewFormat, VK_IMAGE_TYPE_2D, tiling, usage, flags, &formatProperties); in getPhysicalDeviceImageFormatProperties() 151 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties() argument 161 usage, // VkImageUsageFlags usage in getPhysicalDeviceImageFormatProperties() 181 if (func.getPhysicalDeviceImageFormatProperties(vki, context.getPhysicalDevice(), (VkFormat)viewFormat, params.tiling, params.usage, 0) == VK_SUCCESS) in testExtendedUsageBitCompatiblity() 188 // No compatible view format supports the tested usage. in testExtendedUsageBitCompatiblity() 196 VkResult res = func.getPhysicalDeviceImageFormatProperties(vki, context.getPhysicalDevice(), params.imageFormat, params.tiling, params.usage, VK_IMAGE_CREATE_EXTENDED_USAGE_BIT | VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT); in testExtendedUsageBitCompatiblity() 222 if (params.usage in checkSupport() 254 VkImageUsageFlags usage; createImageExtendedUsageBitTests() member [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageExtendedUsageBitTests.cpp | 134 VkImageUsageFlags usage; member 141 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties() argument 144 return vki.getPhysicalDeviceImageFormatProperties(device, viewFormat, VK_IMAGE_TYPE_2D, tiling, usage, flags, &formatProperties); in getPhysicalDeviceImageFormatProperties() 151 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties() argument 161 usage, // VkImageUsageFlags usage in getPhysicalDeviceImageFormatProperties() 181 if (func.getPhysicalDeviceImageFormatProperties(vki, context.getPhysicalDevice(), (VkFormat)viewFormat, params.tiling, params.usage, 0) == VK_SUCCESS) in testExtendedUsageBitCompatiblity() 188 // No compatible view format supports the tested usage. in testExtendedUsageBitCompatiblity() 196 VkResult res = func.getPhysicalDeviceImageFormatProperties(vki, context.getPhysicalDevice(), params.imageFormat, params.tiling, params.usage, VK_IMAGE_CREATE_EXTENDED_USAGE_BIT | VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT); in testExtendedUsageBitCompatiblity() 222 if (params.usage in checkSupport() 254 VkImageUsageFlags usage; createImageExtendedUsageBitTests() member [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_eglimage.c | 45 unsigned usage, bool *native_supported) in is_format_supported() 49 usage); in is_format_supported() 57 if ((usage == PIPE_BIND_SAMPLER_VIEW) && !supported) { in is_format_supported() 62 nr_storage_samples, usage); in is_format_supported() 67 nr_storage_samples, usage) && in is_format_supported() 70 nr_storage_samples, usage); in is_format_supported() 77 nr_storage_samples, usage) && in is_format_supported() 80 nr_storage_samples, usage); in is_format_supported() 87 nr_storage_samples, usage) && in is_format_supported() 90 nr_storage_samples, usage); in is_format_supported() 43 is_format_supported(struct pipe_screen *screen, enum pipe_format format, unsigned nr_samples, unsigned nr_storage_samples, unsigned usage, bool *native_supported) is_format_supported() argument 144 is_nv12_as_r8_g8b8_supported(struct pipe_screen *screen, struct st_egl_image *out, unsigned usage, bool *native_supported) is_nv12_as_r8_g8b8_supported() argument 166 st_get_egl_image(struct gl_context *ctx, GLeglImageOES image_handle, unsigned usage, const char *error, struct st_egl_image *out, bool *native_supported) st_get_egl_image() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/x509/ |
H A D | v3_pku.c | 18 PKEY_USAGE_PERIOD *usage, BIO *out, 37 PKEY_USAGE_PERIOD *usage, BIO *out, 41 if (usage->notBefore) { 43 ASN1_GENERALIZEDTIME_print(out, usage->notBefore); 44 if (usage->notAfter) 47 if (usage->notAfter) { 49 ASN1_GENERALIZEDTIME_print(out, usage->notAfter);
|
/third_party/openssl/crypto/x509/ |
H A D | v3_pku.c | 18 PKEY_USAGE_PERIOD *usage, BIO *out, 37 PKEY_USAGE_PERIOD *usage, BIO *out, 41 if (usage->notBefore) { 43 ASN1_GENERALIZEDTIME_print(out, usage->notBefore); 44 if (usage->notAfter) 47 if (usage->notAfter) { 49 ASN1_GENERALIZEDTIME_print(out, usage->notAfter);
|
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-multitouch.c | 451 struct hid_field *field, struct hid_usage *usage) in mt_feature_mapping() 455 switch (usage->hid) { in mt_feature_mapping() 469 if (usage->usage_index >= field->report_count) { in mt_feature_mapping() 475 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) in mt_feature_mapping() 481 if (usage->usage_index == 0) in mt_feature_mapping() 500 struct mt_usages *usage; in mt_allocate_usage() local 502 usage = devm_kzalloc(&hdev->dev, sizeof(*usage), GFP_KERNEL); in mt_allocate_usage() 503 if (!usage) in mt_allocate_usage() 507 usage in mt_allocate_usage() 450 mt_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) mt_feature_mapping() argument 645 struct mt_usages *usage; mt_store_field() local 686 mt_touch_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max, struct mt_application *app) mt_touch_input_mapping() argument 966 mt_touch_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_touch_event() argument 1103 mt_process_mt_event(struct hid_device *hid, struct mt_application *app, struct hid_field *field, struct hid_usage *usage, __s32 value, bool first_packet) mt_process_mt_event() argument 1289 mt_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_input_mapping() argument 1362 mt_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) mt_input_mapped() argument 1379 mt_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) mt_event() argument 1409 mt_need_to_apply_feature(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, enum latency_mode latency, bool surface_switch, bool button_switch, bool *inputmode_found) mt_need_to_apply_feature() argument 1485 struct hid_usage *usage; mt_set_modes() local 1604 mt_fix_const_field(struct hid_field *field, unsigned int usage) mt_fix_const_field() argument 1614 mt_fix_const_fields(struct hid_device *hdev, unsigned int usage) mt_fix_const_fields() argument [all...] |
H A D | hid-jabra.c | 22 struct hid_usage *usage, in jabra_input_mapping() 26 ((usage->hid & HID_USAGE_PAGE) >= HID_UP_VENDOR_DEFINED_MIN && in jabra_input_mapping() 27 (usage->hid & HID_USAGE_PAGE) <= HID_UP_VENDOR_DEFINED_MAX); in jabra_input_mapping() 30 usage->hid, in jabra_input_mapping() 32 usage->collection_index, in jabra_input_mapping() 33 usage->usage_index, in jabra_input_mapping() 19 jabra_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) jabra_input_mapping() argument
|
H A D | hid-plantronics.c | 38 (usage->hid & HID_USAGE_PAGE) == HID_UP_CONSUMER) 53 struct hid_usage *usage, in plantronics_input_mapping() 87 switch (usage->hid) { in plantronics_input_mapping() 109 hid_dbg(hdev, "usage: %08x (appl: %08x) - defaulted\n", in plantronics_input_mapping() 110 usage->hid, field->application); in plantronics_input_mapping() 114 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key); in plantronics_input_mapping() 115 hid_dbg(hdev, "usage: %08x (appl: %08x) - mapped to key %d\n", in plantronics_input_mapping() 116 usage->hid, field->application, mapped_key); in plantronics_input_mapping() 121 struct hid_usage *usage, __s32 value) in plantronics_event() 155 col_page = hdev->collection[i].usage in plantronics_device_type() 50 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) plantronics_input_mapping() argument 120 plantronics_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) plantronics_event() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_resource.c | 218 /* Only allow external usage for the following cases: YUV formats in is_modifier_external_only() 221 * compression ratio is large enough. By requiring external usage in is_modifier_external_only() 321 isl_surf_usage_flags_t usage = ISL_SURF_USAGE_STORAGE_BIT; in iris_image_view_get_format() local 323 iris_format_for_usage(devinfo, img->format, usage).fmt; in iris_image_view_get_format() 435 res->aux.usage = ISL_AUX_USAGE_NONE; in iris_resource_disable_aux() 453 switch (templ->usage) { in iris_resource_alloc_flags() 573 if (!isl_aux_usage_has_fast_clears(res->aux.usage)) in iris_get_aux_clear_color_state_size() 576 assert(!isl_surf_usage_is_stencil(res->surf.usage)); in iris_get_aux_clear_color_state_size() 582 if (isl_surf_usage_is_depth(res->surf.usage) && in iris_get_aux_clear_color_state_size() 597 if (isl_aux_usage_has_ccs(res->aux.usage)) { in map_aux_addresses() 683 isl_surf_usage_flags_t usage = 0; iris_resource_configure_main() local 1356 iris_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *templ, struct winsys_handle *whandle, unsigned usage) iris_resource_from_handle() argument 1669 iris_resource_disable_aux_on_first_query(struct pipe_resource *resource, unsigned usage) iris_resource_disable_aux_on_first_query() argument 1787 iris_resource_get_handle(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_resource *resource, struct winsys_handle *whandle, unsigned usage) iris_resource_get_handle() argument 2325 can_promote_to_async(const struct iris_resource *res, const struct pipe_box *box, enum pipe_map_flags usage) can_promote_to_async() argument 2340 iris_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, enum pipe_map_flags usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) iris_transfer_map() argument 2544 iris_texture_subdata(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, const void *data, unsigned stride, unsigned layer_stride) iris_texture_subdata() argument [all...] |
H A D | iris_formats.c | 40 isl_surf_usage_flags_t usage) in iris_format_for_usage() 67 if ((usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) && in iris_format_for_usage() 102 * Returns true if the given format is supported for the given usage 111 unsigned usage) in iris_is_format_supported() 140 if (usage & PIPE_BIND_DEPTH_STENCIL) { in iris_is_format_supported() 148 if (usage & PIPE_BIND_RENDER_TARGET) { in iris_is_format_supported() 179 if (usage & PIPE_BIND_SHADER_IMAGE) { in iris_is_format_supported() 189 if (usage & PIPE_BIND_SAMPLER_VIEW) { in iris_is_format_supported() 207 if (usage & PIPE_BIND_VERTEX_BUFFER) in iris_is_format_supported() 210 if (usage in iris_is_format_supported() 38 iris_format_for_usage(const struct intel_device_info *devinfo, enum pipe_format pformat, isl_surf_usage_flags_t usage) iris_format_for_usage() argument 106 iris_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) iris_is_format_supported() argument [all...] |
H A D | iris_resolve.c | 50 const char *usage) in disable_rb_aux_buffer() 56 if (tex_res->aux.usage != ISL_AUX_USAGE_CCS_D && in disable_rb_aux_buffer() 57 tex_res->aux.usage != ISL_AUX_USAGE_CCS_E && in disable_rb_aux_buffer() 58 tex_res->aux.usage != ISL_AUX_USAGE_GFX12_CCS_E) in disable_rb_aux_buffer() 78 usage); in disable_rb_aux_buffer() 304 s_res->aux.usage); in iris_postdraw_update_resolve_tracking() 339 * but with a different aux usage. If it has, flush the render cache so we in iris_cache_flush_for_render() 340 * ensure that it's only in there with one aux usage at a time. in iris_cache_flush_for_render() 356 * format, only the aux usage. So we let that slide for now. in iris_cache_flush_for_render() 366 "cache tracker: aux usage mismatc in iris_cache_flush_for_render() 46 disable_rb_aux_buffer(struct iris_context *ice, bool *draw_aux_buffer_disabled, struct iris_resource *tex_res, unsigned min_level, unsigned num_levels, const char *usage) disable_rb_aux_buffer() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_transfer.c | 126 if (ptrans->usage & PIPE_MAP_WRITE) { in etna_transfer_unmap() 174 if (!trans->rsc && !(ptrans->usage & PIPE_MAP_UNSYNCHRONIZED)) in etna_transfer_unmap() 178 (ptrans->usage & PIPE_MAP_WRITE)) { in etna_transfer_unmap() 193 unsigned usage, in etna_transfer_map() 211 if ((usage & PIPE_MAP_WRITE) && in etna_transfer_map() 216 usage |= PIPE_MAP_UNSYNCHRONIZED; in etna_transfer_map() 223 if ((usage & PIPE_MAP_DISCARD_RANGE) && in etna_transfer_map() 224 !(usage & PIPE_MAP_UNSYNCHRONIZED) && in etna_transfer_map() 230 usage |= PIPE_MAP_DISCARD_WHOLE_RESOURCE; in etna_transfer_map() 236 ptrans->usage in etna_transfer_map() 191 etna_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **out_transfer) etna_transfer_map() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | UnitPreferences.java | 41 public static String formMapKey(String category, String usage) { in formMapKey() argument 42 return category + "++" + usage; in formMapKey() 46 * Extracts all the sub-usages from a usage including the default one in the end. 49 * if usage : "person-height-child" 55 * @param usage 58 private static String[] getAllUsages(String usage) { in getAllUsages() argument 60 result.add(usage); in getAllUsages() 61 for (int i = usage.length() - 1; i >= 0; --i) { in getAllUsages() 62 if (usage.charAt(i) == '-') { in getAllUsages() 63 result.add(usage in getAllUsages() 73 getPreferencesFor(String category, String usage, ULocale locale, UnitsData data) getPreferencesFor() argument 136 getUnitPreferences(String category, String usage, String region) getUnitPreferences() argument 253 insertUnitPreferences(String category, String usage, String region, UnitPreference[] unitPreferences) insertUnitPreferences() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_texture.c | 89 res->usage = PIPE_USAGE_STAGING; in virgl_init_temp_resource_from_box() 118 unsigned usage, in texture_transfer_map_resolve() 128 &vtex->metadata, level, usage, box); in texture_transfer_map_resolve() 147 if (usage & PIPE_MAP_READ) { in texture_transfer_map_resolve() 161 if (usage & PIPE_MAP_READ) { in texture_transfer_map_resolve() 167 void *ptr = virgl_resource_transfer_map(ctx, resolve_tmp, 0, usage, &dst_box, in texture_transfer_map_resolve() 181 if (usage & PIPE_MAP_READ) { in texture_transfer_map_resolve() 208 if ((usage & PIPE_MAP_WRITE) == 0) in texture_transfer_map_resolve() 221 struct pipe_resource *resource, unsigned usage) in needs_resolve() 226 if (usage in needs_resolve() 115 texture_transfer_map_resolve(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) texture_transfer_map_resolve() argument 220 needs_resolve(struct pipe_screen *screen, struct pipe_resource *resource, unsigned usage) needs_resolve() argument 233 virgl_texture_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) virgl_texture_transfer_map() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_resource.c | 154 isl_surf_usage_flags_t usage = 0; in pipe_bind_to_isl_usage() local 157 usage |= ISL_SURF_USAGE_RENDER_TARGET_BIT; in pipe_bind_to_isl_usage() 160 usage |= ISL_SURF_USAGE_TEXTURE_BIT; in pipe_bind_to_isl_usage() 163 usage |= ISL_SURF_USAGE_STORAGE_BIT; in pipe_bind_to_isl_usage() 166 usage |= ISL_SURF_USAGE_DISPLAY_BIT; in pipe_bind_to_isl_usage() 167 return usage; in pipe_bind_to_isl_usage() 180 isl_surf_usage_flags_t usage = pipe_bind_to_isl_usage(templ->bind); in crocus_resource_configure_main() local 198 if (templ->usage == PIPE_USAGE_STAGING || in crocus_resource_configure_main() 208 usage |= ISL_SURF_USAGE_CUBE_BIT; in crocus_resource_configure_main() 210 if (templ->usage ! in crocus_resource_configure_main() 822 crocus_resource_from_handle(struct pipe_screen *pscreen, const struct pipe_resource *templ, struct winsys_handle *whandle, unsigned usage) crocus_resource_from_handle() argument 950 crocus_resource_disable_aux_on_first_query(struct pipe_resource *resource, unsigned usage) crocus_resource_disable_aux_on_first_query() argument 1043 crocus_resource_get_handle(struct pipe_screen *pscreen, struct pipe_context *ctx, struct pipe_resource *resource, struct winsys_handle *whandle, unsigned usage) crocus_resource_get_handle() argument 1588 can_promote_to_async(const struct crocus_resource *res, const struct pipe_box *box, unsigned usage) can_promote_to_async() argument 1603 crocus_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) crocus_transfer_map() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_video.c | 56 unsigned usage) in si_vid_create_buffer() 59 buffer->usage = usage; in si_vid_create_buffer() 65 buffer->res = si_resource(pipe_buffer_create(screen, PIPE_BIND_SHARED, usage, size)); in si_vid_create_buffer() 72 unsigned usage) in si_vid_create_tmz_buffer() 75 buffer->usage = usage; in si_vid_create_tmz_buffer() 77 usage, size)); in si_vid_create_tmz_buffer() 98 if (!si_vid_create_buffer(screen, new_buf, new_size, new_buf->usage)) in si_vid_resize_buffer() 55 si_vid_create_buffer(struct pipe_screen *screen, struct rvid_buffer *buffer, unsigned size, unsigned usage) si_vid_create_buffer() argument 71 si_vid_create_tmz_buffer(struct pipe_screen *screen, struct rvid_buffer *buffer, unsigned size, unsigned usage) si_vid_create_tmz_buffer() argument
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-echoclient | 40 # -h display this usage 59 # Function: usage 62 # Print the usage of this script, then exit 68 usage(){ function 77 -h display this usage 102 usage 0 106 usage 1 114 usage 1 127 usage 1
|
H A D | ns-mcast_receiver.c | 73 * Function: usage() 76 * Print the usage of this program. Then, terminate this program with 85 void usage(char *program_name, int exit_value) in usage() function 87 FILE *stream = stdout; /* stream where the usage is output */ in usage() 106 "\t-h\t\tdisplay this usage\n", program_name); in usage() 183 usage(program_name, EXIT_FAILURE); in parse_options() 192 usage(program_name, EXIT_FAILURE); in parse_options() 210 usage(program_name, EXIT_FAILURE); in parse_options() 226 usage(program_name, EXIT_FAILURE); in parse_options() 236 usage(program_nam in parse_options() [all...] |
/third_party/musl/compat/time32/ |
H A D | getrusage_time32.c | 25 int __getrusage_time32(int who, struct compat_rusage *usage) in __getrusage_time32() argument 30 usage->ru_utime.tv_sec = ru.ru_utime.tv_sec; in __getrusage_time32() 31 usage->ru_utime.tv_usec = ru.ru_utime.tv_usec; in __getrusage_time32() 32 usage->ru_stime.tv_sec = ru.ru_stime.tv_sec; in __getrusage_time32() 33 usage->ru_stime.tv_usec = ru.ru_stime.tv_usec; in __getrusage_time32() 34 memcpy(&usage->ru_maxrss, &ru.ru_maxrss, in __getrusage_time32()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_split_vars.c | 175 * sort of complex usage. in split_var_list_structs() 393 * sort of complex usage. in init_var_list_array_infos() 996 struct vec_var_usage *usage = in get_vec_var_usage() local 997 rzalloc_size(mem_ctx, sizeof(*usage) + in get_vec_var_usage() 998 num_levels * sizeof(usage->levels[0])); in get_vec_var_usage() 1000 usage->num_levels = num_levels; in get_vec_var_usage() 1003 usage->levels[i].array_len = glsl_get_length(type); in get_vec_var_usage() 1008 usage->all_comps = (1 << glsl_get_components(type)) - 1; in get_vec_var_usage() 1010 _mesa_hash_table_insert(var_usage_map, var, usage); in get_vec_var_usage() 1012 return usage; in get_vec_var_usage() 1050 struct vec_var_usage *usage = mark_deref_if_complex() local 1074 struct vec_var_usage *usage = mark_deref_used() local 1278 struct vec_var_usage *usage = shrink_vec_var_list() local 1354 struct vec_var_usage *usage = shrink_vec_var_list() local 1424 vec_deref_is_oob(nir_deref_instr *deref, struct vec_var_usage *usage) vec_deref_is_oob() argument 1453 struct vec_var_usage *usage = vec_deref_is_dead_or_oob() local 1530 struct vec_var_usage *usage = shrink_vec_var_access_impl() local [all...] |