Home
last modified time | relevance | path

Searched refs:cbw (Results 1 – 2 of 2) sorted by relevance

/external/qemu/hw/
Dusb-msd.c355 struct usb_msd_cbw cbw; in usb_msd_handle_data() local
371 memcpy(&cbw, data, 31); in usb_msd_handle_data()
372 if (le32_to_cpu(cbw.sig) != 0x43425355) { in usb_msd_handle_data()
374 le32_to_cpu(cbw.sig)); in usb_msd_handle_data()
377 DPRINTF("Command on LUN %d\n", cbw.lun); in usb_msd_handle_data()
378 if (cbw.lun != 0) { in usb_msd_handle_data()
379 fprintf(stderr, "usb-msd: Bad LUN %d\n", cbw.lun); in usb_msd_handle_data()
382 s->tag = le32_to_cpu(cbw.tag); in usb_msd_handle_data()
383 s->data_len = le32_to_cpu(cbw.data_len); in usb_msd_handle_data()
386 } else if (cbw.flags & 0x80) { in usb_msd_handle_data()
[all …]
/external/tesseract/liblept/
Dpix4.c2399 l_int32 w, h, bx, by, bw, bh, cbw, cbh, left, right, top, bottom; in pixClipBoxToForeground() local
2417 cbw = L_MIN(bw, w - bx); in pixClipBoxToForeground()
2419 if (cbw < 0 || cbh < 0) in pixClipBoxToForeground()
2421 boxt = boxCreate(bx, by, cbw, cbh); in pixClipBoxToForeground()
2589 l_int32 w, h, bx, by, bw, bh, cbw, cbh, left, right, top, bottom; in pixClipBoxToEdges() local
2612 cbw = L_MIN(bw, w - bx); in pixClipBoxToEdges()
2614 if (cbw < 0 || cbh < 0) in pixClipBoxToEdges()
2616 boxt = boxCreate(bx, by, cbw, cbh); in pixClipBoxToEdges()