Lines Matching defs:ret
713 int ret, langid, si, di;
735 ret = usb_get_string(dev, index, 0, tbuf, sizeof (tbuf));
736 usb_dprintf(DEBUG_DETAILED, "usb_get_string() returned %d\n", ret);
738 if (ret < 4) {
746 ret = usb_get_string(dev, index, langid, tbuf, sizeof (tbuf));
747 if (ret < 0) {
749 return (ret);
755 if (tbuf[0] > ret) {
1257 ssize_t ret;
1269 ret = read(fd, data, size);
1274 ret = write(fd, data, size);
1277 if (ret < 0) {
1288 usb_dprintf(DEBUG_FUNCTIONS, "usb_do_io(): amount=%d\n", ret);
1290 return ((int)ret);