Home
last modified time | relevance | path

Searched refs:alt_index (Results 1 – 11 of 11) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_handle_request.c153 struct usb_interface *iface, uint8_t alt_index) in usb_check_alt_setting() argument
161 if (alt_index >= usbd_get_no_alts(udev->cdesc, iface->idesc)) in usb_check_alt_setting()
293 iface->alt_index = req.wValue[0]; in usb_handle_iface_request()
304 *ppdata = &iface->alt_index; in usb_handle_iface_request()
Dusb_device.c639 uint8_t alt_index; in usb_config_parse() local
643 alt_index = cmd; in usb_config_parse()
647 alt_index = 0; in usb_config_parse()
704 } else if (alt_index != ips.iface_index_alt) { in usb_config_parse()
725 iface->alt_index = alt_index; in usb_config_parse()
843 uint8_t iface_index, uint8_t alt_index) in usbd_set_alt_interface_index() argument
856 if (iface->alt_index == alt_index) { in usbd_set_alt_interface_index()
872 err = usb_config_parse(udev, iface_index, alt_index); in usbd_set_alt_interface_index()
876 if (iface->alt_index != alt_index) { in usbd_set_alt_interface_index()
2400 return (iface->alt_index); in usbd_get_interface_altindex()
Dusb_debug.c62 iface, iface->idesc, iface->alt_index); in usb_dump_iface()
Dusbdi.h172 uint8_t alt_index; member
541 uint8_t iface_index, uint8_t alt_index);
Dusb_generic.c579 uint8_t iface_index, uint8_t alt_index) in ugen_set_interface() argument
581 DPRINTFN(2, "%u, %u\n", iface_index, alt_index); in ugen_set_interface()
594 if (usbd_set_alt_interface_index(f->udev, iface_index, alt_index)) { in ugen_set_interface()
2172 u.ai->uai_alt_index = iface->alt_index; in ugen_ioctl_post()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c741 usb_set_interface(struct usb_device *dev, uint8_t iface_no, uint8_t alt_index) in usb_set_interface() argument
748 if (alt_index >= p_ui->num_altsetting) in usb_set_interface()
752 p_ui->bsd_iface_index, alt_index); in usb_set_interface()
754 p_ui->cur_altsetting = p_ui->altsetting + alt_index; in usb_set_interface()
1230 usb_altnum_to_altsetting(const struct usb_interface *intf, uint8_t alt_index) in usb_altnum_to_altsetting() argument
1232 if (alt_index >= intf->num_altsetting) { in usb_altnum_to_altsetting()
1235 return (intf->altsetting + alt_index); in usb_altnum_to_altsetting()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gsub-table.hh506 unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift); in apply() local
509 if (alt_index == HB_OT_MAP_MAX_VALUE && c->random) in apply()
510 alt_index = c->random_number () % count + 1; in apply()
512 if (unlikely (alt_index > count || alt_index == 0)) return_trace (false); in apply()
514 c->replace_glyph (alternates[alt_index - 1]); in apply()
/third_party/harfbuzz/src/
Dhb-ot-layout-gsub-table.hh559 unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift); in apply() local
562 if (alt_index == HB_OT_MAP_MAX_VALUE && c->random) in apply()
563 alt_index = c->random_number () % count + 1; in apply()
565 if (unlikely (alt_index > count || alt_index == 0)) return_trace (false); in apply()
567 c->replace_glyph (alternates[alt_index - 1]); in apply()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gsub-table.hh562 unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift); in apply() local
565 if (alt_index == HB_OT_MAP_MAX_VALUE && c->random) in apply()
570 alt_index = c->random_number () % count + 1; in apply()
573 if (unlikely (alt_index > count || alt_index == 0)) return_trace (false); in apply()
575 c->replace_glyph (alternates[alt_index - 1]); in apply()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h303 const struct usb_interface *intf, uint8_t alt_index);
/third_party/chromium/patch/
D0001-cve.patch26042 + unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
26044 + /* If alt_index is MAX_VALUE, randomize feature if it is the rand feature. */
26045 + if (alt_index == HB_OT_MAP_MAX_VALUE && c->random)
26050 + alt_index = c->random_number () % count + 1;
26053 + if (unlikely (alt_index > count || alt_index == 0)) return_trace (false);
26055 + c->replace_glyph (alternates[alt_index - 1]);
35447 - unsigned int alt_index = ((lookup_mask & glyph_mask) >> shift);
35449 - /* If alt_index is MAX_VALUE, randomize feature if it is the rand feature. */
35450 - if (alt_index == HB_OT_MAP_MAX_VALUE && c->random)
35455 - alt_index = c->random_number () % count + 1;
[all …]