Home
last modified time | relevance | path

Searched refs:FileRotatingStream (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/rtc_base/
Dfile_rotating_stream.cc173 FileRotatingStream::FileRotatingStream(const std::string& dir_path, in FileRotatingStream() function in rtc::FileRotatingStream
194 FileRotatingStream::~FileRotatingStream() {} in ~FileRotatingStream()
196 StreamState FileRotatingStream::GetState() const { in GetState()
200 StreamResult FileRotatingStream::Read(void* buffer, in Read()
209 StreamResult FileRotatingStream::Write(const void* data, in Write()
241 bool FileRotatingStream::Flush() { in Flush()
248 void FileRotatingStream::Close() { in Close()
252 bool FileRotatingStream::Open() { in Open()
264 bool FileRotatingStream::DisableBuffering() { in DisableBuffering()
269 std::string FileRotatingStream::GetFilePath(size_t index) const { in GetFilePath()
[all …]
Dfile_rotating_stream.h30 class FileRotatingStream : public StreamInterface {
34 FileRotatingStream(const std::string& dir_path,
39 FileRotatingStream(const std::string& dir_path,
44 ~FileRotatingStream() override;
117 RTC_DISALLOW_COPY_AND_ASSIGN(FileRotatingStream);
137 class CallSessionFileRotatingStream : public FileRotatingStream {
Dlog_sinks.h51 explicit FileRotatingLogSink(FileRotatingStream* stream);
54 std::unique_ptr<FileRotatingStream> stream_;
Dlog_sinks.cc27 : FileRotatingLogSink(new FileRotatingStream(log_dir_path, in FileRotatingLogSink()
32 FileRotatingLogSink::FileRotatingLogSink(FileRotatingStream* stream) in FileRotatingLogSink()
Dfile_rotating_stream_unittest.cc26 void CleanupLogDirectory(const FileRotatingStream& stream) { in CleanupLogDirectory()
60 stream_.reset(new FileRotatingStream(dir_path_, file_prefix, max_file_size, in Init()
105 std::unique_ptr<FileRotatingStream> stream_;