Lines Matching defs:last_if
66 struct libusb20_interface *last_if;
164 last_if = NULL;
170 if (last_if) {
173 last_if->num_endpoints++;
193 last_if = lub_interface;
198 last_if = lub_alt_interface;
202 LIBUSB20_INIT(LIBUSB20_INTERFACE_DESC, &last_if->desc);
204 if (libusb20_me_decode(ptr, ptr[0], &last_if->desc)) {
212 last_if->desc.bInterfaceNumber = niface - 1;
213 last_if->extra.ptr = LIBUSB20_ADD_BYTES(ptr, ptr[0]);
214 last_if->extra.len = 0;
215 last_if->extra.type = LIBUSB20_ME_IS_RAW;
216 last_if->endpoints = lub_endpoint + 1;
217 last_if->altsetting = lub_alt_interface;
218 last_if->num_altsetting = 0;
219 last_if->num_endpoints = 0;
223 if (last_if) {
227 last_if->extra.len += ptr[0];