Home
last modified time | relevance | path

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

123456789

/external/chromium_org/third_party/libjingle/source/talk/media/devices/
Dfilevideocapturer_unittest.cc47 bool OpenFile(const std::string& filename) { in OpenFile() function in __anonfd1b12590111::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/chromium_org/sandbox/win/src/
Dpolicy_params.h22 POLPARAMS_BEGIN(OpenFile)
27 POLPARAMS_END(OpenFile)
35 COMPILE_ASSERT(OpenFile::NAME == static_cast<int>(FileName::NAME),
37 COMPILE_ASSERT(OpenFile::BROKER == static_cast<int>(FileName::BROKER),
Dfilesystem_dispatcher.cc98 CountedParameterSet<OpenFile> params; in NtCreateFile()
99 params[OpenFile::NAME] = ParamPickerMake(filename); in NtCreateFile()
100 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in NtCreateFile()
101 params[OpenFile::OPTIONS] = ParamPickerMake(create_options); in NtCreateFile()
102 params[OpenFile::BROKER] = ParamPickerMake(broker); in NtCreateFile()
140 CountedParameterSet<OpenFile> params; in NtOpenFile()
141 params[OpenFile::NAME] = ParamPickerMake(filename); in NtOpenFile()
142 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in NtOpenFile()
143 params[OpenFile::OPTIONS] = ParamPickerMake(open_options); in NtOpenFile()
144 params[OpenFile::BROKER] = ParamPickerMake(broker); in NtOpenFile()
Dfilesystem_interception.cc56 CountedParameterSet<OpenFile> params; in TargetNtCreateFile()
57 params[OpenFile::NAME] = ParamPickerMake(name); in TargetNtCreateFile()
58 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in TargetNtCreateFile()
59 params[OpenFile::OPTIONS] = ParamPickerMake(options); in TargetNtCreateFile()
60 params[OpenFile::BROKER] = ParamPickerMake(broker); in TargetNtCreateFile()
127 CountedParameterSet<OpenFile> params; in TargetNtOpenFile()
128 params[OpenFile::NAME] = ParamPickerMake(name); in TargetNtOpenFile()
129 params[OpenFile::ACCESS] = ParamPickerMake(desired_access); in TargetNtOpenFile()
130 params[OpenFile::OPTIONS] = ParamPickerMake(options); in TargetNtOpenFile()
131 params[OpenFile::BROKER] = ParamPickerMake(broker); in TargetNtOpenFile()
Dfilesystem_policy.cc109 open.AddNumberMatch(IF, OpenFile::OPTIONS, FILE_DIRECTORY_FILE, AND); in GenerateRules()
110 create.AddNumberMatch(IF, OpenFile::OPTIONS, FILE_DIRECTORY_FILE, AND); in GenerateRules()
120 open.AddNumberMatch(IF_NOT, OpenFile::ACCESS, restricted_flags, AND); in GenerateRules()
121 create.AddNumberMatch(IF_NOT, OpenFile::ACCESS, restricted_flags, AND); in GenerateRules()
143 (!create.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
149 (!open.AddStringMatch(IF, OpenFile::NAME, name, CASE_INSENSITIVE) || in GenerateRules()
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dopen_file_operation_unittest.cc46 operation_->OpenFile( in TEST_F()
74 operation_->OpenFile( in TEST_F()
94 operation_->OpenFile( in TEST_F()
113 operation_->OpenFile( in TEST_F()
147 operation_->OpenFile( in TEST_F()
194 operation_->OpenFile( in TEST_F()
225 operation_->OpenFile( in TEST_F()
242 operation_->OpenFile( in TEST_F()
/external/chromium_org/ppapi/tests/
Dtest_flash_file.cc110 RUN_TEST(OpenFile, filter); in RunTests()
129 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_, in TestOpenFile()
141 file_handle = FileModuleLocal::OpenFile(instance_, in TestOpenFile()
161 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_, in TestRenameFile()
171 file_handle = FileModuleLocal::OpenFile(instance_, in TestRenameFile()
193 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_, in TestDeleteFileOrDir()
211 file_handle = FileModuleLocal::OpenFile( in TestDeleteFileOrDir()
243 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_, in TestQueryFile()
279 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_, in TestGetDirContents()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dfileutils_unittest.cc51 fs = Filesystem::OpenFile(path, "wb"); in TEST()
59 fs = Filesystem::OpenFile(path, "rb"); in TEST()
77 FileStream* fs = Filesystem::OpenFile(path, "rb"); in TEST()
94 scoped_ptr<FileStream> fs(Filesystem::OpenFile(path, "wb")); in TEST()
/external/chromium_org/third_party/npapi/npspy/common/
Dutils.cpp46 return (HFILE_ERROR != OpenFile(szFileName, &of, OF_EXIST)); in XP_IsFile()
70 HFILE hFile = OpenFile(szFileName, &of, OF_CREATE | OF_WRITE); in XP_CreateFile()
81 HFILE hFile = OpenFile(szFileName, &of, OF_READ | OF_WRITE); in XP_OpenFile()
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderOutStream.cpp37 HRESULT CFolderOutStream::OpenFile() in OpenFile() function in NArchive::N7z::CFolderOutStream
78 RINOK(OpenFile()); in ProcessEmptyFiles()
118 RINOK(OpenFile()); in Write()
143 RINOK(OpenFile()); in FlushCorrupted()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfileapi_worker_unittest.cc43 virtual void OpenFile(const base::FilePath& file_path, in OpenFile() function in drive::fileapi_internal::__anone90579f30111::TestFileSystemForOpenFile
179 OpenFile(kDummyPath, in TEST_F()
201 OpenFile(kDummyPath, in TEST_F()
223 OpenFile(kDummyPath, in TEST_F()
245 OpenFile(kDummyPath, in TEST_F()
264 OpenFile(kDummyPath, in TEST_F()
/external/chromium_org/ppapi/cpp/private/
Dflash_file.cc38 PP_FileHandle FileModuleLocal::OpenFile(const InstanceHandle& instance, in OpenFile() function in pp::flash::FileModuleLocal
45 OpenFile(instance.pp_instance(), path.c_str(), mode, &file_handle); in OpenFile()
154 PP_FileHandle FileFileRef::OpenFile(const pp::FileRef& resource, in OpenFile() function in pp::flash::FileFileRef
160 OpenFile(resource.pp_resource(), mode, &file_handle); in OpenFile()
Dflash_file.h28 static PP_FileHandle OpenFile(const InstanceHandle& instance,
63 static PP_FileHandle OpenFile(const pp::FileRef& resource,
/external/chromium_org/ppapi/thunk/
Dppb_flash_file_modulelocal_thunk.cc23 int32_t OpenFile(PP_Instance instance, in OpenFile() function
30 return enter.functions()->OpenFile(instance, path, mode, file); in OpenFile()
93 &OpenFile,
Dppb_flash_file_fileref_thunk.cc25 int32_t OpenFile(PP_Resource file_ref_id, int32_t mode, PP_FileHandle* file) { in OpenFile() function
46 &OpenFile,
/external/llvm/lib/Support/
DDataStream.cpp66 error_code OpenFile(const std::string &Filename) { in OpenFile() function in __anond0608c2e0111::DataFileStreamer
83 if (error_code e = s->OpenFile(Filename)) { in getDataFileStreamer()
/external/chromium/base/
Dfile_util_deprecated.h28 BASE_API FILE* OpenFile(const std::string& filename, const char* mode);
29 BASE_API FILE* OpenFile(const std::wstring& filename, const char* mode);
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file_unittest.cc93 file_util::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
117 file.reset(base::OpenFile(filename_, "rb+")); in TEST_F()
159 file_util::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
179 file_util::ScopedFILE file(base::OpenFile(filename_, "rb+")); in TEST_F()
/external/chromium_org/net/base/
Dnet_log_logger_unittest.cc31 FILE* file = base::OpenFile(log_path_, "w"); in TEST_F()
53 FILE* file = base::OpenFile(log_path_, "w"); in TEST_F()
85 FILE* file = base::OpenFile(log_path_, "w"); in TEST_F()
/external/chromium_org/tools/ipc_fuzzer/message_lib/
Dmessage_file_writer.cc26 bool OpenFile();
64 bool Writer::OpenFile() { in OpenFile() function in ipc_fuzzer::__anon35587b030111::Writer
152 if (!OpenFile()) in Write()
/external/chromium_org/ppapi/c/private/
Dppb_flash_file.h42 int32_t (*OpenFile)(PP_Instance instance, member
105 int32_t (*OpenFile)(PP_Resource file_ref_id, member
/external/chromium_org/net/disk_cache/
Dcache_util_unittest.cc24 FILE *fp = base::OpenFile(file1_, "w"); in SetUp()
27 fp = base::OpenFile(file2_, "w"); in SetUp()
31 fp = base::OpenFile(file3_, "w"); in SetUp()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dfilemediaengine.cc68 input_file_stream = talk_base::Filesystem::OpenFile( in CreateChannel()
77 output_file_stream = talk_base::Filesystem::OpenFile( in CreateChannel()
99 input_file_stream = talk_base::Filesystem::OpenFile( in CreateVideoChannel()
108 output_file_stream = talk_base::Filesystem::OpenFile( in CreateVideoChannel()
/external/chromium_org/content/browser/renderer_host/pepper/
Dquota_reservation_unittest.cc173 int64 open_file_size = test->OpenFile(kFile1ID, in TEST_F()
206 int64 open_file1_size = test->OpenFile(kFile1ID, in TEST_F()
211 int64 open_file2_size = test->OpenFile(kFile2ID, in TEST_F()
216 int64 open_file3_size = test->OpenFile(kFile3ID, in TEST_F()
/external/chromium/chrome/browser/safe_browsing/
Dprefix_set_unittest.cc134 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")); in ModifyAndCleanChecksum()
326 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")); in TEST_F()
335 file.reset(file_util::OpenFile(filename, "r+b")); in TEST_F()
396 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")); in TEST_F()
411 file_util::ScopedFILE file(file_util::OpenFile(filename, "r+b")); in TEST_F()
426 file_util::ScopedFILE file(file_util::OpenFile(filename, "ab")); in TEST_F()

123456789