HomeSort by relevance Sort by last modified time
    Searched refs:to_write (Results 1 - 12 of 12) sorted by null

  /system/core/debuggerd/
utility.c 37 int to_write = len; local
38 while (to_write > 0) {
39 int written = TEMP_FAILURE_RETRY( write(fd, buf + len - to_write, to_write) );
45 to_write -= written;
  /system/core/fastboot/
protocol.c 230 int to_write; local
234 to_write = min(USB_BUF_SIZE - usb_buf_len, len);
236 memcpy(usb_buf + usb_buf_len, ptr, to_write);
237 usb_buf_len += to_write;
238 ptr += to_write;
239 len -= to_write;
255 to_write = round_down(len, USB_BUF_SIZE);
256 r = _command_data(usb, ptr, to_write);
257 if (r != to_write) {
260 ptr += to_write;
    [all...]
  /external/qemu/hw/
goldfish_tty.c 126 int to_write = sizeof(temp); local
127 if (to_write > len)
128 to_write = len;
130 safe_memory_rw_debug(cpu_single_env, buf, (uint8_t*)temp, to_write, 0);
131 qemu_chr_write(s->cs, (const uint8_t*)temp, to_write);
132 buf += to_write;
133 len -= to_write;
  /external/qemu/android/protocol/
core-connection.h 81 * to_write Number of bytes to write.
89 size_t to_write,
core-connection.c 199 size_t to_write,
211 syncsocket_write(desc->ssocket, buffer, to_write, CORE_PORT_TIMEOUT_MS);
  /external/chromium_org/chrome/common/
partial_circular_buffer.cc 145 uint32 to_write = std::min(buffer_size, to_eof); local
146 DoWrite(buffer_data_->data + position_, buffer, to_write);
152 if (to_write < buffer_size) {
153 uint32 remainder_to_write = buffer_size - to_write;
157 reinterpret_cast<const uint8*>(buffer) + to_write,
  /external/tinycompress/
compress.c 355 int to_write = 0; /* zero indicates we haven't written yet */ local
396 to_write = avail.avail;
398 to_write = size;
399 written = write(compress->fd, cbuf, to_write);
  /system/core/libsparse/
output_file.c 283 int to_write; local
287 to_write = min(off, (int64_t)INT_MAX);
288 ret = outc->write(outc->priv, NULL, to_write);
292 off -= to_write;
  /external/chromium_org/third_party/libjingle/source/talk/base/
stream.cc 617 size_t to_write = talk_base::_min(data_len, to_eof); local
619 = talk_base::FileStream::Write(data, to_write, written, error);
702 Buffer to_write; local
705 buffer_.TransferTo(&to_write);
708 if (to_write.length() > 0) {
710 stream_->WriteAll(to_write.data(), to_write.length(), NULL, NULL);
    [all...]
  /bootable/recovery/applypatch/
applypatch.c 437 size_t to_write = len - start; local
438 if (to_write > 1<<20) to_write = 1<<20;
440 ssize_t written = write(fd, data+start, to_write);
    [all...]
  /bootable/recovery/updater/
install.c 1488 int to_write = strlen(stagestr)+1; local
    [all...]
  /external/qemu/audio/
audio.c 1455 int to_write = audio_MIN (till_end_of_hw, n); local
    [all...]

Completed in 220 milliseconds