Lines Matching defs:length
68 .length = cpu_to_le32(sizeof(descriptors)),
137 .length = cpu_to_le32(sizeof(strings)),
344 static int bulk_write(int bulk_in, const char *buf, size_t length)
350 ret = adb_write(bulk_in, buf + count, length - count);
357 } while (count < length);
378 static int bulk_read(int bulk_out, char *buf, size_t length)
384 ret = adb_read(bulk_out, buf + count, length - count);
387 D("[ bulk_read failed fd=%d length=%d count=%d ]\n",
388 bulk_out, length, count);
394 } while (count < length);