Searched refs:bytes_written (Results 1 – 3 of 3) sorted by relevance
108 DWORD bytes_written = 0; in pwrite() local113 if (!::WriteFile(handle, buf, count, &bytes_written, &overlapped)) { in pwrite()119 !::GetOverlappedResult(handle, &overlapped, &bytes_written, TRUE)) { in pwrite()125 return static_cast<ssize_t>(bytes_written); in pwrite()452 ssize_t bytes_written = kUseOffset in WriteFullyGeneric() local455 if (bytes_written == -1) { in WriteFullyGeneric()458 byte_count -= bytes_written; // Reduce the number of remaining bytes. in WriteFullyGeneric()459 ptr += bytes_written; // Move the buffer forward. in WriteFullyGeneric()460 offset += static_cast<size_t>(bytes_written); in WriteFullyGeneric()
603 uint64_t bytes_written; in ProcessProfilingInfo() local606 if (info.Save(filename, &bytes_written)) { in ProcessProfilingInfo()613 if (bytes_written > 0) { in ProcessProfilingInfo()615 total_bytes_written_ += bytes_written; in ProcessProfilingInfo()
355 bool Save(const std::string& filename, uint64_t* bytes_written);