/external/webrtc/rtc_base/system/ |
D | file_wrapper.cc | 50 FileWrapper FileWrapper::OpenReadOnly(const char* file_name_utf8) { in OpenReadOnly() 51 return FileWrapper(FileOpen(file_name_utf8, true, nullptr)); in OpenReadOnly() 55 FileWrapper FileWrapper::OpenReadOnly(const std::string& file_name_utf8) { in OpenReadOnly() 60 FileWrapper FileWrapper::OpenWriteOnly(const char* file_name_utf8, in OpenWriteOnly() 62 return FileWrapper(FileOpen(file_name_utf8, false, error)); in OpenWriteOnly() 66 FileWrapper FileWrapper::OpenWriteOnly(const std::string& file_name_utf8, in OpenWriteOnly() 71 FileWrapper::FileWrapper(FileWrapper&& other) { in FileWrapper() function in webrtc::FileWrapper 75 FileWrapper& FileWrapper::operator=(FileWrapper&& other) { in operator =() 82 bool FileWrapper::SeekRelative(int64_t offset) { in SeekRelative() 87 bool FileWrapper::SeekTo(int64_t position) { in SeekTo() [all …]
|
D | file_wrapper.h | 31 class FileWrapper final { 37 static FileWrapper OpenReadOnly(const char* file_name_utf8); 38 static FileWrapper OpenReadOnly(const std::string& file_name_utf8); 39 static FileWrapper OpenWriteOnly(const char* file_name_utf8, 42 static FileWrapper OpenWriteOnly(const std::string& file_name_utf8, 45 FileWrapper() = default; 49 explicit FileWrapper(FILE* file) : file_(file) {} in FileWrapper() function 50 ~FileWrapper() { Close(); } in ~FileWrapper() 53 FileWrapper(const FileWrapper&) = delete; 54 FileWrapper& operator=(const FileWrapper&) = delete; [all …]
|
/external/webrtc/modules/audio_processing/transient/ |
D | file_utils.h | 56 size_t ReadInt16BufferFromFile(FileWrapper* file, 64 size_t ReadInt16FromFileToFloatBuffer(FileWrapper* file, 72 size_t ReadInt16FromFileToDoubleBuffer(FileWrapper* file, 80 size_t ReadFloatBufferFromFile(FileWrapper* file, size_t length, float* buffer); 86 size_t ReadDoubleBufferFromFile(FileWrapper* file, 95 size_t WriteInt16BufferToFile(FileWrapper* file, 103 size_t WriteFloatBufferToFile(FileWrapper* file, 111 size_t WriteDoubleBufferToFile(FileWrapper* file,
|
D | file_utils_unittest.cc | 162 FileWrapper file = FileWrapper::OpenReadOnly(test_filename.c_str()); in TEST_F() 200 FileWrapper file = FileWrapper::OpenReadOnly(test_filename.c_str()); in TEST_F() 240 FileWrapper file = FileWrapper::OpenReadOnly(test_filename.c_str()); in TEST_F() 278 FileWrapper file = FileWrapper::OpenReadOnly(test_filename.c_str()); in TEST_F() 314 FileWrapper file = FileWrapper::OpenReadOnly(test_filename.c_str()); in TEST_F() 351 FileWrapper file = FileWrapper::OpenWriteOnly(kOutFileName.c_str()); in TEST_F() 368 file = FileWrapper::OpenReadOnly(kOutFileName.c_str()); in TEST_F() 387 FileWrapper file = FileWrapper::OpenWriteOnly(kOutFileName.c_str()); in TEST_F() 404 file = FileWrapper::OpenReadOnly(kOutFileName.c_str()); in TEST_F() 423 FileWrapper file = FileWrapper::OpenWriteOnly(kOutFileName.c_str()); in TEST_F() [all …]
|
D | click_annotate.cc | 21 using webrtc::FileWrapper; 42 FileWrapper pcm_file = FileWrapper::OpenReadOnly(argv[1]); in main() 48 FileWrapper dat_file = FileWrapper::OpenWriteOnly(argv[2]); in main()
|
D | file_utils.cc | 79 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()
|
D | transient_detector_unittest.cc | 50 FileWrapper detect_file = FileWrapper::OpenReadOnly( in TEST() 62 FileWrapper audio_file = FileWrapper::OpenReadOnly( in TEST()
|
D | wpd_tree_unittest.cc | 83 FileWrapper matlab_files_data[kLeaves]; in TEST() 84 FileWrapper out_files_data[kLeaves]; in TEST() 91 matlab_files_data[i] = FileWrapper::OpenReadOnly(matlab_string.c_str()); in TEST() 101 out_files_data[i] = FileWrapper::OpenWriteOnly(out_string.c_str()); in TEST() 111 FileWrapper test_file = FileWrapper::OpenReadOnly(test_file_name.c_str()); in TEST()
|
/external/webrtc/modules/video_coding/utility/ |
D | ivf_file_writer_unittest.cc | 61 void VerifyIvfHeader(FileWrapper* file, in VerifyIvfHeader() 85 void VerifyDummyTestFrames(FileWrapper* file, uint32_t num_frames) { in VerifyDummyTestFrames() 109 IvfFileWriter::Wrap(FileWrapper::OpenWriteOnly(file_name_), 0); in RunBasicFileStructureTest() 118 FileWrapper out_file = FileWrapper::OpenReadOnly(file_name_); in RunBasicFileStructureTest() 168 FileWrapper::OpenWriteOnly(file_name_), in TEST_F() 177 FileWrapper out_file = FileWrapper::OpenReadOnly(file_name_); in TEST_F()
|
D | ivf_file_writer.h | 33 static std::unique_ptr<IvfFileWriter> Wrap(FileWrapper file, 41 explicit IvfFileWriter(FileWrapper file, size_t byte_limit); 59 FileWrapper file_;
|
D | ivf_file_reader.h | 27 static std::unique_ptr<IvfFileReader> Create(FileWrapper file); 55 explicit IvfFileReader(FileWrapper file) : file_(std::move(file)) {} in IvfFileReader() 70 FileWrapper file_;
|
/external/webrtc/api/ |
D | rtc_event_log_output_file.cc | 30 : RtcEventLogOutputFile(FileWrapper::OpenWriteOnly(file_name), in RtcEventLogOutputFile() 38 : RtcEventLogOutputFile(FileWrapper::OpenWriteOnly(file_name), in RtcEventLogOutputFile() 42 : RtcEventLogOutputFile(FileWrapper(file), max_size_bytes) {} in RtcEventLogOutputFile() 44 RtcEventLogOutputFile::RtcEventLogOutputFile(FileWrapper file, in RtcEventLogOutputFile()
|
D | rtc_event_log_output_file.h | 43 RtcEventLogOutputFile(FileWrapper file, size_t max_size_bytes); 53 FileWrapper file_;
|
/external/webrtc/common_audio/ |
D | wav_file.h | 46 WavWriter(FileWrapper file, 73 FileWrapper file_; 81 explicit WavReader(FileWrapper file); 108 FileWrapper file_;
|
D | wav_file.cc | 40 explicit WavHeaderFileReader(FileWrapper* file) : file_(file) {} in WavHeaderFileReader() 60 FileWrapper* file_; 69 : WavReader(FileWrapper::OpenReadOnly(filename)) {} in WavReader() 71 WavReader::WavReader(FileWrapper file) : file_(std::move(file)) { in WavReader() 187 : WavWriter(FileWrapper::OpenWriteOnly(filename), in WavWriter() 192 WavWriter::WavWriter(FileWrapper file, in WavWriter()
|
/external/webrtc/video/ |
D | frame_dumping_decoder.cc | 24 FrameDumpingDecoder(std::unique_ptr<VideoDecoder> decoder, FileWrapper file); 45 FileWrapper file) in FrameDumpingDecoder() 88 FileWrapper file) { in CreateFrameDumpingDecoderWrapper()
|
/external/webrtc/modules/audio_processing/aec_dump/ |
D | write_to_file_task.h | 37 WriteToFileTask(webrtc::FileWrapper* debug_file, in RTC_POP_IGNORING_WUNDEF() 50 webrtc::FileWrapper* const debug_file_; in RTC_POP_IGNORING_WUNDEF()
|
D | aec_dump_impl.h | 47 AecDumpImpl(FileWrapper debug_file, 80 FileWrapper debug_file_;
|
D | aec_dump_impl.cc | 58 AecDumpImpl::AecDumpImpl(FileWrapper debug_file, in AecDumpImpl() 232 std::unique_ptr<AecDump> AecDumpFactory::Create(webrtc::FileWrapper file, in Create() 246 return Create(FileWrapper::OpenWriteOnly(file_name.c_str()), in Create() 253 return Create(FileWrapper(handle), max_log_size_bytes, worker_queue); in Create()
|
/external/libxaac/test/ |
D | ixheaacd_fileifc.h | 41 typedef struct FileWrapper { struct 56 } FileWrapper, *FileWrapperPtr; argument
|
/external/webrtc/test/testsupport/ |
D | test_artifacts.cc | 58 FileWrapper output = FileWrapper::OpenWriteOnly( in WriteToTestArtifactsDir()
|
D | test_artifacts_unittest.cc | 47 FileWrapper input = FileWrapper::OpenReadOnly(out_file); in TEST()
|
/external/webrtc/modules/audio_coding/audio_network_adaptor/ |
D | debug_dump_writer.cc | 40 void DumpEventToFile(const Event& event, FileWrapper* dump_file) { in DumpEventToFile() 71 FileWrapper dump_file_; 76 dump_file_ = FileWrapper(file_handle); in DebugDumpWriterImpl()
|
/external/zlib/google/ |
D | zip_reader_unittest.cc | 40 class FileWrapper { class 47 FileWrapper(const base::FilePath& path, AccessMode mode) { in FileWrapper() function in __anon37bf8b5c0111::FileWrapper 57 ~FileWrapper() {} in ~FileWrapper() 228 FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); in TEST_F() 265 FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); in TEST_F() 570 FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); in TEST_F()
|
/external/angle/third_party/zlib/google/ |
D | zip_reader_unittest.cc | 40 class FileWrapper { class 47 FileWrapper(const base::FilePath& path, AccessMode mode) { in FileWrapper() function in __anonaa7dc4cb0111::FileWrapper 57 ~FileWrapper() {} in ~FileWrapper() 228 FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); in TEST_F() 265 FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); in TEST_F() 570 FileWrapper zip_fd_wrapper(test_zip_file_, FileWrapper::READ_ONLY); in TEST_F()
|