Searched refs:bytes_written (Results 1 – 4 of 4) sorted by relevance
274 ssize_t bytes_written = kUseOffset in WriteFullyGeneric() local277 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()
347 uint64_t bytes_written; in ProcessProfilingInfo() local350 if (info.Save(filename, &bytes_written)) { in ProcessProfilingInfo()357 if (bytes_written > 0) { in ProcessProfilingInfo()359 total_bytes_written_ += bytes_written; in ProcessProfilingInfo()
179 bool ProfileCompilationInfo::Save(const std::string& filename, uint64_t* bytes_written) { in Save() argument209 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() local223 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()
219 bool Save(const std::string& filename, uint64_t* bytes_written);