Home
last modified time | relevance | path

Searched refs:CreateFile (Results 1 – 25 of 57) sorted by relevance

123

/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_shutil_test.py41 self.filesystem.CreateFile('%s/subfile' % directory)
49 src_obj = self.filesystem.CreateFile(src_file)
62 src_obj = self.filesystem.CreateFile(src_file)
76 src_obj = self.filesystem.CreateFile(src_file)
77 dst_obj = self.filesystem.CreateFile(dst_file)
95 src_obj = self.filesystem.CreateFile(src_file)
116 src_obj = self.filesystem.CreateFile(src_file)
140 self.filesystem.CreateFile('%s/subfile' % src_directory)
151 self.filesystem.CreateFile(src_file)
162 self.filesystem.CreateFile(src_file)
[all …]
Dfake_filesystem_test.py116 filesystem.CreateFile(file_path, contents='contents here1', inode=42)
246 self.filesystem.CreateFile('/a/b/file_one')
247 self.filesystem.CreateFile('/a/c/file_two')
398 self.filesystem.CreateFile(path, contents=contents)
407 self.filesystem.CreateFile(path, contents=contents)
417 self.filesystem.CreateFile(path, st_size=100000000)
424 self.filesystem.CreateFile(path)
425 self.assertRaises(IOError, self.filesystem.CreateFile, path)
429 retval = self.filesystem.CreateFile(path, contents='dummy_data')
439 self.filesystem.CreateFile(path, contents='dummy_data')
[all …]
Dfake_filesystem_glob_test.py39 self.filesystem.CreateFile('%s/subfile' % directory)
40 self.filesystem.CreateFile('[Temp]')
Dexample_test.py81 self.fs.CreateFile('/test/full.txt',
98 self.fs.CreateFile('/test/empty.txt')
Dfake_tempfile.py193 fh = self._filesystem.CreateFile(filename, st_mode=stat.S_IFREG|0o600)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dandroid_browser_finder_unittest.py72 self.fs.CreateFile(self.expected_reference_build)
85 self.fs.CreateFile(
87 self.fs.CreateFile(self.expected_reference_build)
100 self.fs.CreateFile(
120 self.fs.CreateFile(
131 self.fs.CreateFile(
Ddesktop_browser_finder_unittest.py188 self.fs.CreateFile(path)
208 self.fs.CreateFile('/src/out/Release/chrome')
222 self.fs.CreateFile('/foo/another_browser')
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dcloud_storage_info_unittest.py118 self.fs.CreateFile(self.config_path, contents='{}')
120 self.fs.CreateFile(
135 self.fs.CreateFile(download_path, contents='1010001010101010110101')
159 self.fs.CreateFile(download_path, contents='1010001010101010110101')
168 self.fs.CreateFile(dep_path)
169 self.fs.CreateFile(os.path.join(unzip_location, 'extra', 'path'))
170 self.fs.CreateFile(os.path.join(unzip_location, 'another_extra_path'))
Dbase_config_unittest.py63 self.fs.CreateFile(self.new_dep_path)
105 self.fs.CreateFile(self.final_dep_path)
221 self.fs.CreateFile(self.file_path,
240 self.fs.CreateFile(self.file_path,
283 self.fs.CreateFile(self.file_path,
331 self.fs.CreateFile(self.file_path,
373 self.fs.CreateFile(self.file_path,
418 self.fs.CreateFile(self.file_path,
468 self.fs.CreateFile(self.file_path,
529 self.fs.CreateFile(self.file_path,
[all …]
Duploader_unittest.py17 self.fs.CreateFile(self.local_path)
63 self.fs.CreateFile(new_local_path)
Ddependency_manager_unittest.py422 self.fs.CreateFile('path1')
437 self.fs.CreateFile(cs_path)
500 self.fs.CreateFile('path1')
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dbinary_manager_unittest.py149 self.fs.CreateFile(self.base_config, contents=json.dumps(fake_config))
158 self.fs.CreateFile(self.expected_dep2_linux_file)
159 self.fs.CreateFile(self.expected_dep2_android_file)
Dcloud_storage_unittest.py39 self.fs.CreateFile(
45 self.fs.CreateFile(f)
/external/syslinux/win/
Dsyslinux.c100 drive = CreateFile(driveName, in FixMBR()
364 d_handle = CreateFile(drive_name, GENERIC_READ | GENERIC_WRITE, in main()
407 f_handle = CreateFile(ldlinux_name, GENERIC_READ | GENERIC_WRITE, in main()
524 f_handle = CreateFile(ldlinuxc32_name, GENERIC_READ | GENERIC_WRITE, in main()
560 f_handle = CreateFile(opt.bootsecfile, GENERIC_READ | GENERIC_WRITE, in main()
Dntfstest.c72 file = CreateFile( in main()
/external/gptfdisk/
Ddiskio-windows.cc63 fd = CreateFile(realFilename.c_str(),GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, in OpenForRead()
91 fd = CreateFile(realFilename.c_str(), GENERIC_READ | GENERIC_WRITE, in OpenForWrite()
98 fd = CreateFile(realFilename.c_str(), GENERIC_READ | GENERIC_WRITE, in OpenForWrite()
/external/google-breakpad/src/client/windows/unittests/
Dcrash_generation_server_test.cc106 HANDLE pipe = CreateFile(kPipeName, in FaultyClient()
120 pipe = CreateFile(kPipeName, in FaultyClient()
Ddump_analysis.cc52 dump_file_handle_ = ::CreateFile(dump_file_.c_str(), in EnsureDumpMapped()
/external/compiler-rt/test/asan/TestCases/Windows/
Dbind_io_completion_callback.cc48 HANDLE file = CreateFile( in main()
/external/google-breakpad/src/client/windows/crash_generation/
Dcrash_generation_client.cc283 HANDLE pipe = CreateFile(pipe_name, in ConnectToPipe()
379 HANDLE local_pipe = CreateFile(pipe_name, kPipeDesiredAccess, in DuplicatePipeToClientProcess()
Dminidump_generator.cc469 dump_file_ = CreateFile(dump_file_path.c_str(), in GenerateDumpFile()
504 full_dump_file_ = CreateFile(full_dump_file_path.c_str(), in GenerateFullDumpFile()
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Dwin32.py47 CreateFile = CreateFileA variable
56 CreateFile = CreateFileW # alias variable
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
Dmsr_server_win.py100 handle = win32file.CreateFile(args.pipe_name,
/external/wpa_supplicant_8/wpa_supplicant/
Dwin_if_list.c53 h = CreateFile(TEXT("\\\\.\\\\Ndisuio"), in ndisuio_open()
/external/ltp/testcases/kernel/io/disktest/
Dio.c150 fd = CreateFile(filespec, in Open()

123