Home
last modified time | relevance | path

Searched refs:bytes_to_write (Results 1 – 5 of 5) sorted by relevance

/external/dbus/dbus/
Ddbus-file-unix.c170 int bytes_to_write; in _dbus_string_save_to_file() local
244 bytes_to_write = _dbus_string_get_length (str); in _dbus_string_save_to_file()
246 while (total < bytes_to_write) in _dbus_string_save_to_file()
251 bytes_to_write - total); in _dbus_string_save_to_file()
Ddbus-file-win.c218 int bytes_to_write; in _dbus_string_save_to_file() local
288 bytes_to_write = _dbus_string_get_length (str); in _dbus_string_save_to_file()
291 while (total < bytes_to_write) in _dbus_string_save_to_file()
296 res = WriteFile (hnd, str_c + total, bytes_to_write - total, in _dbus_string_save_to_file()
Ddbus-sysdeps-util-win.c88 int bytes_to_write; in _dbus_write_pid_file() local
118 bytes_to_write = strlen (pidstr);; in _dbus_write_pid_file()
120 while (total < bytes_to_write) in _dbus_write_pid_file()
125 res = WriteFile (hnd, pidstr + total, bytes_to_write - total, in _dbus_write_pid_file()
/external/zlib/src/contrib/iostream3/
Dzfstream.cc229 int bytes_to_write = this->pptr() - this->pbase(); in overflow() local
231 if (bytes_to_write > 0) in overflow()
237 if (gzwrite(file, this->pbase(), bytes_to_write) != bytes_to_write) in overflow()
240 this->pbump(-bytes_to_write); in overflow()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_coverage_libcdep.cc622 uptr bytes_to_write = max_idx * sizeof(tr_event_array[0]); in DumpTrace() local
625 while (bytes_to_write) { in DumpTrace()
627 if (WriteToFile(fd, event_bytes, bytes_to_write, &actually_written) && in DumpTrace()
628 actually_written <= bytes_to_write) { in DumpTrace()
629 bytes_to_write -= actually_written; in DumpTrace()