Home
last modified time | relevance | path

Searched refs:OpenFile (Results 1 – 25 of 108) sorted by relevance

12345

/external/webrtc/talk/media/devices/
Dfilevideocapturer_unittest.cc47 bool OpenFile(const std::string& filename) { in OpenFile() function in __anond807f67c0111::FileVideoCapturerTest
97 EXPECT_FALSE(OpenFile("NotmeNotme")); in TEST_F()
101 EXPECT_TRUE(OpenFile("captured-320x240-2s-48.frames")); in TEST_F()
110 EXPECT_TRUE(OpenFile("captured-320x240-2s-48.frames")); in TEST_F()
127 EXPECT_TRUE(OpenFile("captured-320x240-2s-48.frames")); in TEST_F()
144 EXPECT_TRUE(OpenFile("captured-320x240-2s-48.frames")); in TEST_F()
157 EXPECT_TRUE(OpenFile("captured-320x240-2s-48.frames")); in TEST_F()
179 EXPECT_TRUE(OpenFile("1.frame_plus_1.byte")); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dfile_utils_unittest.cc143 file->OpenFile(test_filename.c_str(), in TEST_F()
187 file->OpenFile(test_filename.c_str(), in TEST_F()
234 file->OpenFile(test_filename.c_str(), in TEST_F()
279 file->OpenFile(test_filename.c_str(), in TEST_F()
321 file->OpenFile(test_filename.c_str(), in TEST_F()
364 file->OpenFile(kOutFileName.c_str(), in TEST_F()
385 file->OpenFile(kOutFileName.c_str(), in TEST_F()
411 file->OpenFile(kOutFileName.c_str(), in TEST_F()
432 file->OpenFile(kOutFileName.c_str(), in TEST_F()
458 file->OpenFile(kOutFileName.c_str(), in TEST_F()
[all …]
Dtransient_detector_unittest.cc54 detect_file->OpenFile( in TEST()
71 audio_file->OpenFile( in TEST()
Dwpd_tree_unittest.cc98 matlab_files_data[i]->OpenFile(matlab_string.c_str(), in TEST()
113 out_files_data[i]->OpenFile(out_string.c_str(), in TEST()
128 test_file->OpenFile(test_file_name.c_str(), in TEST()
Dclick_annotate.cc44 pcm_file->OpenFile(argv[1], true, false, false); in main()
51 dat_file->OpenFile(argv[2], false, false, false); in main()
/external/perfetto/src/profiling/memory/
Dunwinding_unittest.cc37 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
51 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
63 base::ScopedFile proc_maps(base::OpenFile("/proc/self/maps", O_RDONLY)); in TEST()
128 base::ScopedFile proc_maps(base::OpenFile("/proc/self/maps", O_RDONLY)); in TEST()
129 base::ScopedFile proc_mem(base::OpenFile("/proc/self/mem", O_RDONLY)); in TEST()
Dunwinding_fuzzer.cc44 base::OpenFile("/proc/self/maps", O_RDONLY), in FuzzUnwinding()
45 base::OpenFile("/proc/self/mem", O_RDONLY)); in FuzzUnwinding()
/external/webrtc/webrtc/base/
Dfileutils_unittest.cc34 fs = Filesystem::OpenFile(path, "wb"); in TEST()
42 fs = Filesystem::OpenFile(path, "rb"); in TEST()
60 FileStream* fs = Filesystem::OpenFile(path, "rb"); in TEST()
77 scoped_ptr<FileStream> fs(Filesystem::OpenFile(path, "wb")); in TEST()
Dproxydetect_unittest.cc44 virtual FileStream* OpenFile(const Pathname& filename, in OpenFile() function in rtc::FirefoxPrefsFileSystem
51 FileStream* stream = FakeFileSystem::OpenFile(name, mode); in OpenFile()
Dfileutils.h104 virtual FileStream *OpenFile(const Pathname &filename,
290 static FileStream *OpenFile(const Pathname &filename, in OpenFile() function
292 return EnsureDefaultFilesystem()->OpenFile(filename, mode); in OpenFile()
/external/webrtc/webrtc/modules/audio_processing/test/
Dunpack.cc76 FILE* debug_file = OpenFile(argv[1], "rb"); in do_main()
93 FILE* settings_file = OpenFile(FLAGS_settings_file, "wb"); in do_main()
189 static FILE* delay_file = OpenFile(FLAGS_delay_file, "wb"); in do_main()
199 static FILE* drift_file = OpenFile(FLAGS_drift_file, "wb"); in do_main()
209 static FILE* level_file = OpenFile(FLAGS_level_file, "wb"); in do_main()
219 static FILE* keypress_file = OpenFile(FLAGS_keypress_file, "wb"); in do_main()
Dprocess_test.cc498 pb_file = OpenFile(pb_filename, "rb"); in void_main()
501 far_file = OpenFile(far_filename, "rb"); in void_main()
504 near_file = OpenFile(near_filename, "rb"); in void_main()
506 event_file = OpenFile(event_filename, "rb"); in void_main()
507 delay_file = OpenFile(delay_filename, "rb"); in void_main()
508 drift_file = OpenFile(drift_filename, "rb"); in void_main()
525 vad_out_file = OpenFile(vad_out_filename, "wb"); in void_main()
529 ns_prob_file = OpenFile(ns_prob_filename, "wb"); in void_main()
533 aecm_echo_path_in_file = OpenFile(aecm_echo_path_in_filename, "rb"); in void_main()
550 aecm_echo_path_out_file = OpenFile(aecm_echo_path_out_filename, "wb"); in void_main()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_procfs.cc55 base::ScopedFile fd = base::OpenFile(path, flags); in WriteFileInternal()
254 return base::OpenFile(path, O_RDONLY | O_NONBLOCK); in OpenPipeForCpu()
258 base::ScopedFile fd = base::OpenFile(path, O_RDONLY); in ReadOneCharFromFile()
267 base::ScopedFile fd = base::OpenFile(path, O_WRONLY | O_TRUNC); in ClearFile()
310 base::ScopedFile fd = base::OpenFile(root + "trace", O_RDONLY); in CheckRootPath()
/external/lzma/CPP/7zip/Archive/7z/
D7zExtract.cpp37 HRESULT OpenFile(bool isCorrupted = false);
76 HRESULT CFolderOutStream::OpenFile(bool isCorrupted) in OpenFile() function in NArchive::N7z::CFolderOutStream
139 RINOK(OpenFile()); in ProcessEmptyFiles()
195 RINOK(OpenFile()); in Write()
211 RINOK(OpenFile(true)); in FlushCorrupted()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DDataStream.cpp64 std::error_code OpenFile(const std::string &Filename) { in OpenFile() function in __anon13aaf37b0111::DataFileStreamer
80 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer()
/external/llvm/lib/Support/
DDataStream.cpp64 std::error_code OpenFile(const std::string &Filename) { in OpenFile() function in __anon047b712d0111::DataFileStreamer
80 if (std::error_code e = s->OpenFile(Filename)) { in getDataFileStreamer()
/external/v8/src/
Dcode-tracer.h38 explicit Scope(CodeTracer* tracer) : tracer_(tracer) { tracer->OpenFile(); } in Scope()
47 void OpenFile() { in OpenFile() function
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Drtp_file_source.cc31 RTC_CHECK(source->OpenFile(file_name)); in Create()
89 bool RtpFileSource::OpenFile(const std::string& file_name) { in OpenFile() function in webrtc::test::RtpFileSource
Drtc_event_log_source.cc66 RTC_CHECK(source->OpenFile(file_name)); in Create()
122 bool RtcEventLogSource::OpenFile(const std::string& file_name) { in OpenFile() function in webrtc::test::RtcEventLogSource
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_libc_test.cc95 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST()
106 fd = OpenFile(tmpfile, RdOnly); in TEST()
218 fd_t fd = OpenFile(tmpfile, RdWr); in TEST()
/external/perfetto/src/perfetto_cmd/
Drate_limiter.cc187 base::ScopedFile in_fd(base::OpenFile(GetStateFilePath(), O_RDONLY)); in LoadState()
206 base::OpenFile(GetStateFilePath(), O_WRONLY | O_CREAT | O_TRUNC, 0666)); in SaveState()
Dperfetto_cmd.cc526 base::ScopedFile null = base::OpenFile("/dev/null", O_RDONLY); in Main()
717 base::ScopedFile read_only_fd(base::OpenFile(fdpath, O_RDONLY)); in SaveOutputToDropboxOrCrash()
747 base::OpenFile(kTempIncidentTraceLocation, O_CREAT | O_RDWR, 0666); in SaveOutputToIncidentTraceOrCrash()
772 fd = base::OpenFile(kTempDropBoxTraceDir, O_TMPFILE | O_RDWR, 0600); in OpenOutputFile()
784 fd = base::OpenFile(trace_out_path_, O_RDWR | O_CREAT | O_TRUNC, 0600); in OpenOutputFile()
/external/boringssl/src/tool/
Ddigest.cc85 static bool OpenFile(int *out_fd, const std::string &filename) { in OpenFile() function
128 if (!OpenFile(&fd, source.filename())) { in SumFile()
231 if (!OpenFile(&fd, source.filename())) { in Check()
/external/cros/system_api/dbus/smbprovider/
Ddirectory_entry.proto102 // Used for passing inputs into SmbProvider.OpenFile().
117 // ID of the file returned from OpenFile().
125 // ID of the file returned from OpenFile().
168 // ID of the file returned from OpenFile().
/external/webrtc/webrtc/system_wrappers/include/
Dfile_wrapper.h36 virtual int OpenFile(const char* file_name_utf8,

12345