Home
last modified time | relevance | path

Searched refs:FileWrapper (Results 1 – 25 of 41) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/transient/
Dfile_utils.h57 size_t ReadInt16BufferFromFile(FileWrapper* file,
65 size_t ReadInt16FromFileToFloatBuffer(FileWrapper* file,
73 size_t ReadInt16FromFileToDoubleBuffer(FileWrapper* file,
81 size_t ReadFloatBufferFromFile(FileWrapper* file, size_t length, float* buffer);
87 size_t ReadDoubleBufferFromFile(FileWrapper* file,
96 size_t WriteInt16BufferToFile(FileWrapper* file,
104 size_t WriteFloatBufferToFile(FileWrapper* file,
112 size_t WriteDoubleBufferToFile(FileWrapper* file,
Dfile_utils_unittest.cc141 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
185 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
232 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
277 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
319 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
359 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
406 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
453 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
505 rtc::scoped_ptr<FileWrapper> file(FileWrapper::Create()); in TEST_F()
Dfile_utils.cc79 size_t ReadInt16BufferFromFile(FileWrapper* file, in ReadInt16BufferFromFile()
105 size_t ReadInt16FromFileToFloatBuffer(FileWrapper* file, in ReadInt16FromFileToFloatBuffer()
123 size_t ReadInt16FromFileToDoubleBuffer(FileWrapper* file, in ReadInt16FromFileToDoubleBuffer()
141 size_t ReadFloatBufferFromFile(FileWrapper* file, in ReadFloatBufferFromFile()
164 size_t ReadDoubleBufferFromFile(FileWrapper* file, in ReadDoubleBufferFromFile()
187 size_t WriteInt16BufferToFile(FileWrapper* file, in WriteInt16BufferToFile()
211 size_t WriteFloatBufferToFile(FileWrapper* file, in WriteFloatBufferToFile()
234 size_t WriteDoubleBufferToFile(FileWrapper* file, in WriteDoubleBufferToFile()
Dclick_annotate.cc22 using webrtc::FileWrapper;
43 scoped_ptr<FileWrapper> pcm_file(FileWrapper::Create()); in main()
50 scoped_ptr<FileWrapper> dat_file(FileWrapper::Create()); in main()
Dtransient_detector_unittest.cc52 rtc::scoped_ptr<FileWrapper> detect_file(FileWrapper::Create()); in TEST()
69 rtc::scoped_ptr<FileWrapper> audio_file(FileWrapper::Create()); in TEST()
Dwpd_tree_unittest.cc88 rtc::scoped_ptr<FileWrapper> matlab_files_data[kLeaves]; in TEST()
89 rtc::scoped_ptr<FileWrapper> out_files_data[kLeaves]; in TEST()
93 matlab_files_data[i].reset(FileWrapper::Create()); in TEST()
107 out_files_data[i].reset(FileWrapper::Create()); in TEST()
126 rtc::scoped_ptr<FileWrapper> test_file(FileWrapper::Create()); in TEST()
/external/webrtc/webrtc/system_wrappers/source/
Dtrace_impl.h43 int32_t TraceFileImpl(char file_name[FileWrapper::kMaxFileNameSize]);
84 const char file_name_utf8[FileWrapper::kMaxFileNameSize],
85 char file_name_with_counter_utf8[FileWrapper::kMaxFileNameSize],
89 const char file_name_utf8[FileWrapper::kMaxFileNameSize],
90 char file_name_with_counter_utf8[FileWrapper::kMaxFileNameSize],
100 const rtc::scoped_ptr<FileWrapper> trace_file_ GUARDED_BY(crit_);
Dtrace_impl.cc71 trace_file_(FileWrapper::Create()) { in TraceImpl()
297 char file_name_with_counter_utf8[FileWrapper::kMaxFileNameSize]; in SetTraceFileImpl()
316 char file_name_utf8[FileWrapper::kMaxFileNameSize]) { in TraceFileImpl()
318 return trace_file_->FileName(file_name_utf8, FileWrapper::kMaxFileNameSize); in TraceFileImpl()
380 char old_file_name[FileWrapper::kMaxFileNameSize]; in WriteToFile()
381 char new_file_name[FileWrapper::kMaxFileNameSize]; in WriteToFile()
384 trace_file_->FileName(old_file_name, FileWrapper::kMaxFileNameSize); in WriteToFile()
465 const char file_name_utf8[FileWrapper::kMaxFileNameSize], in UpdateFileName()
466 char file_name_with_counter_utf8[FileWrapper::kMaxFileNameSize], in UpdateFileName()
501 const char file_name_utf8[FileWrapper::kMaxFileNameSize], in CreateFileName()
[all …]
Dfile_impl.cc27 FileWrapper* FileWrapper::Create() { in Create()
273 int FileWrapper::Rewind() { in Rewind()
Dfile_impl.h23 class FileWrapperImpl : public FileWrapper {
/external/webrtc/webrtc/system_wrappers/include/
Dfile_wrapper.h25 class FileWrapper : public InStream, public OutStream {
30 static FileWrapper* Create();
/external/libxaac/test/
Dixheaacd_fileifc.h41 typedef struct FileWrapper { struct
56 } FileWrapper, *FileWrapperPtr; typedef
Dixheaacd_fileifc.c37 FileWrapperPtr transport = (FileWrapper *)calloc(1, sizeof(FileWrapper)); in FileWrapper_Open()
/external/webrtc/webrtc/test/
Dfake_audio_device.h25 class FileWrapper; variable
64 rtc::scoped_ptr<FileWrapper> input_stream_;
/external/webrtc/webrtc/call/
Drtc_event_log.cc108 rtc::scoped_ptr<FileWrapper> file_ GUARDED_BY(crit_) =
109 rtc::scoped_ptr<FileWrapper>(FileWrapper::Create());
176 : file_(FileWrapper::Create()),
504 rtc::scoped_ptr<FileWrapper> dump_file(FileWrapper::Create());
/external/webrtc/webrtc/modules/audio_device/
Daudio_device_buffer.h107 FileWrapper& _recFile;
108 FileWrapper& _playFile;
Daudio_device_buffer.cc47 _recFile(*FileWrapper::Create()), in AudioDeviceBuffer()
48 _playFile(*FileWrapper::Create()), in AudioDeviceBuffer()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.h146 ApmDebugDumpState() : debug_file(FileWrapper::Create()) {} in ApmDebugDumpState()
147 rtc::scoped_ptr<FileWrapper> debug_file;
224 static int WriteMessageToDebugFile(FileWrapper* debug_file,
/external/webrtc/webrtc/voice_engine/
Dvoe_file_impl.cc63 static_assert(1024 == FileWrapper::kMaxFileNameSize, ""); in StartPlayingFileLocally()
153 static_assert(1024 == FileWrapper::kMaxFileNameSize, ""); in StartPlayingFileAsMicrophone()
311 static_assert(1024 == FileWrapper::kMaxFileNameSize, ""); in StartRecordingPlayout()
385 static_assert(1024 == FileWrapper::kMaxFileNameSize, ""); in StartRecordingMicrophone()
/external/python/cpython2/Lib/
Drexec.py39 class FileWrapper(FileBase): class
378 self.restricted_stdin = FileWrapper(sys.stdin)
379 self.restricted_stdout = FileWrapper(sys.stdout)
380 self.restricted_stderr = FileWrapper(sys.stderr)
/external/webrtc/webrtc/modules/audio_device/dummy/
Dfile_audio_device.h193 FileWrapper& _outputFile;
194 FileWrapper& _inputFile;
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_impl.cc368 FileWrapper* inputStream = FileWrapper::Create(); in StartPlayingAudioFile()
745 FileWrapper* outputStream = FileWrapper::Create(); in StartRecordingAudioFile()
/external/python/cpython2/Tools/scripts/
Dserve.py22 return util.FileWrapper(open(fn))
/external/python/cpython3/Tools/scripts/
Dserve.py22 return util.FileWrapper(open(fn, "rb"))
/external/python/cpython2/Lib/wsgiref/
Dhandlers.py4 from util import FileWrapper, guess_scheme, is_hop_by_hop
61 wsgi_file_wrapper = FileWrapper # set to None to disable

12