Lines Matching refs:index
142 static void usb_display_string(struct usb_device *dev, int index)
146 if (index != 0) {
147 if (usb_string(dev, index, &buffer[0], 256) > 0)
338 int index;
341 index = strlen(pre);
391 if (last_child && index)
392 pre[index-1] = ' ';
397 pre[index++] = ' ';
398 pre[index++] = has_child ? '|' : ' ';
399 pre[index] = 0;
429 pre[index] = 0;
437 pre[index] = 0;