Home
last modified time | relevance | path

Searched refs:ScopedFILE (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/mojo/common/test/
Dtest_utils_posix.cc77 embedder::ScopedPlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp) { in PlatformHandleFromFILE()
84 base::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h, in FILEFromPlatformHandle()
87 base::ScopedFILE rv(fdopen(h.release().fd, mode)); in FILEFromPlatformHandle()
Dtest_utils.h45 embedder::ScopedPlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp);
48 base::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h,
Dtest_utils_win.cc84 embedder::ScopedPlatformHandle PlatformHandleFromFILE(base::ScopedFILE fp) { in PlatformHandleFromFILE()
99 base::ScopedFILE FILEFromPlatformHandle(embedder::ScopedPlatformHandle h, in FILEFromPlatformHandle()
111 base::ScopedFILE rv( in FILEFromPlatformHandle()
/external/chromium_org/mojo/embedder/
Dplatform_channel_pair_posix_unittest.cc145 base::ScopedFILE fp( in TEST_F()
176 base::ScopedFILE fp(test::FILEFromPlatformHandle( in TEST_F()
203 base::ScopedFILE fp( in TEST_F()
241 base::ScopedFILE fp(test::FILEFromPlatformHandle( in TEST_F()
Dsimple_platform_shared_buffer_posix.cc57 base::ScopedFILE fp(base::CreateAndOpenTemporaryFileInDir( in Init()
/external/chromium_org/third_party/android_crazy_linker/src/tests/
Dtest_util.h171 class ScopedFILE {
173 ScopedFILE() : file_(NULL) {} in ScopedFILE() function
175 ~ScopedFILE() { in ~ScopedFILE()
228 ScopedFILE src_file; in CopyFile()
233 ScopedFILE dst_file; in CopyFile()
/external/chromium_org/media/cast/test/
Dsender.cc167 base::ScopedFILE log_file) { in DumpLoggingData()
195 base::ScopedFILE video_log_file, in WriteLogsToFileAndDestroySubscribers()
196 base::ScopedFILE audio_log_file) { in WriteLogsToFileAndDestroySubscribers()
374 base::ScopedFILE video_log_file(fopen(video_log_file_name.c_str(), "w")); in main()
380 base::ScopedFILE audio_log_file(fopen(audio_log_file_name.c_str(), "w")); in main()
/external/chromium_org/mojo/system/
Dplatform_handle_dispatcher_unittest.cc28 base::ScopedFILE fp( in TEST()
71 base::ScopedFILE fp( in TEST()
Dmultiprocess_message_pipe_unittest.cc452 base::ScopedFILE fp(mojo::test::FILEFromPlatformHandle(h.Pass(), "r")); in MOJO_MULTIPROCESS_TEST_CHILD_MAIN()
479 base::ScopedFILE fp( in TEST_F()
/external/chromium_org/chrome/browser/safe_browsing/
Dprefix_set_unittest.cc169 base::ScopedFILE file(base::OpenFile(filename, "r+b")); in ModifyAndCleanChecksum()
189 base::ScopedFILE file(base::OpenFile(ref_path, "r")); in ReadReferencePrefixes()
444 base::ScopedFILE file(base::OpenFile(filename, "r+b")); in TEST_F()
520 base::ScopedFILE file(base::OpenFile(filename, "r+b")); in TEST_F()
534 base::ScopedFILE file(base::OpenFile(filename, "r+b")); in TEST_F()
548 base::ScopedFILE file(base::OpenFile(filename, "ab")); in TEST_F()
562 base::ScopedFILE file(base::OpenFile(filename, "r+b")); in TEST_F()
640 base::ScopedFILE file(base::OpenFile(filename, "r+b")); in TEST_F()
Dsafe_browsing_store_file.h245 base::ScopedFILE file_;
246 base::ScopedFILE new_file_;
Dsafe_browsing_store_file_unittest.cc107 base::ScopedFILE file(base::OpenFile(filename_, "rb")); in ReadStride()
494 base::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
559 base::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
578 base::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
598 base::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
Dprefix_set.cc168 base::ScopedFILE file(base::OpenFile(filter_name, "rb")); in LoadFile()
279 base::ScopedFILE file(base::OpenFile(filter_name, "wb")); in WriteFile()
/external/chromium_org/base/files/
Dscoped_file.h57 typedef scoped_ptr<FILE, internal::ScopedFILECloser> ScopedFILE; typedef
/external/chromium_org/chrome/browser/extensions/
Dextension_creator.cc216 base::ScopedFILE zip_handle(base::OpenFile(zip_path, "rb")); in SignZip()
244 base::ScopedFILE crx_handle(base::OpenFile(crx_path, "wb")); in WriteCRX()
276 base::ScopedFILE zip_handle(base::OpenFile(zip_path, "rb")); in WriteCRX()
Dexternal_registry_loader_win.cc43 base::ScopedFILE file_handle(base::OpenFile(path, "rb")); in CanOpenFileForReading()
/external/chromium_org/net/base/
Dnet_log_logger.h51 base::ScopedFILE file_;
/external/chromium_org/base/memory/
Dshared_memory_posix.cc131 ScopedFILE fp; in Create()
272 ScopedFILE fp(base::OpenFile(path, mode)); in Open()
359 bool SharedMemory::PrepareMapFile(ScopedFILE fp, ScopedFD readonly_fd) { in PrepareMapFile()
Dshared_memory.h271 bool PrepareMapFile(ScopedFILE fp, ScopedFD readonly);
/external/chromium_org/sql/test/
Dtest_helpers.cc79 base::ScopedFILE file(base::OpenFile(db_path, "rb+")); in CorruptSizeInHeader()
132 base::ScopedFILE file(base::OpenFile(db_path, "rb+")); in CorruptTableOrIndex()
/external/chromium_org/sandbox/linux/services/
Dcredentials.cc61 typedef scoped_ptr<FILE, FILECloser> ScopedFILE; typedef
78 ScopedFILE f(fopen(map_file, "w")); in WriteToIdMapFile()
/external/chromium_org/mojo/common/
Ddata_pipe_utils.cc75 base::ScopedFILE fp(base::OpenFile(destination, "wb")); in BlockingCopyToFile()
/external/chromium_org/net/android/
Dkeystore_unittest.cc115 base::ScopedFILE handle(base::OpenFile(file_path, "rb")); in ImportPrivateKeyFile()
164 base::ScopedFILE handle(base::OpenFile(file_path, "rb")); in ImportPublicKeyFile()
/external/chromium_org/sql/
Dconnection_unittest.cc427 base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); in TEST_F()
445 base::ScopedFILE file(base::OpenFile(db_path(), "wb")); in TEST_F()
478 base::ScopedFILE file(base::OpenFile(db_path(), "rb+")); in TEST_F()
/external/chromium_org/content/common/
Dsandbox_mac_fontloading_unittest.mm109 base::ScopedFILE temp_file_closer(temp_file);

12