Home
last modified time | relevance | path

Searched refs:bytes_written (Results 1 – 4 of 4) sorted by relevance

/art/runtime/base/unix_file/
Dfd_file.cc282 ssize_t bytes_written = kUseOffset in WriteFullyGeneric() local
285 if (bytes_written == -1) { in WriteFullyGeneric()
288 byte_count -= bytes_written; // Reduce the number of remaining bytes. in WriteFullyGeneric()
289 ptr += bytes_written; // Move the buffer forward. in WriteFullyGeneric()
290 offset += static_cast<size_t>(bytes_written); in WriteFullyGeneric()
/art/runtime/jit/
Dprofile_saver.cc535 uint64_t bytes_written; in ProcessProfilingInfo() local
538 if (info.Save(filename, &bytes_written)) { in ProcessProfilingInfo()
545 if (bytes_written > 0) { in ProcessProfilingInfo()
547 total_bytes_written_ += bytes_written; in ProcessProfilingInfo()
Dprofile_compilation_info.cc216 bool ProfileCompilationInfo::Save(const std::string& filename, uint64_t* bytes_written) { in Save() argument
247 if (bytes_written != nullptr) { in Save()
248 *bytes_written = static_cast<uint64_t>(size); in Save()
260 int bytes_written = TEMP_FAILURE_RETRY(write(fd, buffer, byte_count)); in WriteBuffer() local
261 if (bytes_written == -1) { in WriteBuffer()
264 byte_count -= bytes_written; // Reduce the number of remaining bytes. in WriteBuffer()
265 buffer += bytes_written; // Move the buffer forward. in WriteBuffer()
Dprofile_compilation_info.h312 bool Save(const std::string& filename, uint64_t* bytes_written);