Home | History | Annotate | Download | only in fastboot

Lines Matching refs:to_write

278     int to_write;
282 to_write = std::min(TRANSPORT_BUF_SIZE - transport_buf_len, len);
284 memcpy(transport_buf + transport_buf_len, ptr, to_write);
285 transport_buf_len += to_write;
286 ptr += to_write;
287 len -= to_write;
303 to_write = round_down(len, TRANSPORT_BUF_SIZE);
304 r = _command_write_data(transport, ptr, to_write);
305 if (r != to_write) {
308 ptr += to_write;
309 len -= to_write;