Searched refs:bytes_written (Results 1 – 4 of 4) sorted by relevance
282 ssize_t bytes_written = kUseOffset in WriteFullyGeneric() local285 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()
535 uint64_t bytes_written; in ProcessProfilingInfo() local538 if (info.Save(filename, &bytes_written)) { in ProcessProfilingInfo()545 if (bytes_written > 0) { in ProcessProfilingInfo()547 total_bytes_written_ += bytes_written; in ProcessProfilingInfo()
216 bool ProfileCompilationInfo::Save(const std::string& filename, uint64_t* bytes_written) { in Save() argument247 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() local261 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()
312 bool Save(const std::string& filename, uint64_t* bytes_written);