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.cc274 ssize_t bytes_written = kUseOffset in WriteFullyGeneric() local
277 if (bytes_written == -1) { in WriteFullyGeneric()
280 byte_count -= bytes_written; // Reduce the number of remaining bytes. in WriteFullyGeneric()
281 ptr += bytes_written; // Move the buffer forward. in WriteFullyGeneric()
282 offset += static_cast<size_t>(bytes_written); in WriteFullyGeneric()
/art/runtime/jit/
Dprofile_saver.cc347 uint64_t bytes_written; in ProcessProfilingInfo() local
350 if (info.Save(filename, &bytes_written)) { in ProcessProfilingInfo()
357 if (bytes_written > 0) { in ProcessProfilingInfo()
359 total_bytes_written_ += bytes_written; in ProcessProfilingInfo()
Dprofile_compilation_info.cc179 bool ProfileCompilationInfo::Save(const std::string& filename, uint64_t* bytes_written) { in Save() argument
209 if (bytes_written != nullptr) { in Save()
210 *bytes_written = static_cast<uint64_t>(size); in Save()
222 int bytes_written = TEMP_FAILURE_RETRY(write(fd, buffer, byte_count)); in WriteBuffer() local
223 if (bytes_written == -1) { in WriteBuffer()
226 byte_count -= bytes_written; // Reduce the number of remaining bytes. in WriteBuffer()
227 buffer += bytes_written; // Move the buffer forward. in WriteBuffer()
Dprofile_compilation_info.h219 bool Save(const std::string& filename, uint64_t* bytes_written);