Home
last modified time | relevance | path

Searched refs:open (Results 2226 - 2250 of 3952) sorted by relevance

1...<<81828384858687888990>>...159

/third_party/skia/bin/
H A Dcompare25 for line in open(path):
/third_party/skia/build/fuchsia/
H A Dfidl_gen_cpp20 with open(path) as json_file:
/third_party/selinux/libselinux/src/
H A Dcompute_create.c68 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_create_name_raw()
H A Dcompute_av.c31 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_av_flags_raw()
H A Dcompute_user.c31 fd = open(path, O_RDWR | O_CLOEXEC); in security_compute_user_raw()
/third_party/skia/buildtools/checkdeps/
H A Dproto_checker.py96 with codecs.open(filepath, encoding='utf-8') as f:
H A Dresults.py126 with open(self.output_path, 'w') as f:
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Dgen_framework_c.py68 with open(filename, 'rt') as f:
H A Dohos_gen_framework_c.py68 with open(filename, 'rt') as f:
/third_party/zlib/
H A Dgzguts.h46 # define open _open macro
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dreli_test.cpp191 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
223 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
275 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
310 int fd = open(file, O_RDONLY); in HWTEST_F()
370 int fd = open(file, O_RDONLY); in HWTEST_F()
1393 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
1553 int fd = open(file, O_RDONLY); in HWTEST_F()
1693 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
1863 g_fdList[i] = open(file, O_RDONLY); in HWTEST_F()
2184 g_fdList[i] = open(fil in HWTEST_F()
[all...]
/third_party/python/Lib/
H A Dtarfile.py39 from builtins import open as bltn_open
73 "DEFAULT_FORMAT", "open"]
321 self.fd = os.open(name, mode, 0o666)
1767 # TarFile class. The open() method is the only one that is needed for
1777 def open(cls, name=None, mode="r", fileobj=None, bufsize=RECORDSIZE, **kwargs): member in TarFile
1782 'r' or 'r:*' open for reading with transparent compression
1783 'r:' open for reading exclusively uncompressed
1784 'r:gz' open for reading with gzip compression
1785 'r:bz2' open for reading with bzip2 compression
1786 'r:xz' open fo
2819 open = TarFile.open global() variable
[all...]
H A Dos.py118 _add("HAVE_OPENAT", "open")
429 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
444 If dir_fd is not None, it should be a file descriptor open to a directory,
467 # lstat()/open()/fstat() trick.
470 topfd = open(top, O_RDONLY, dir_fd=dir_fd)
519 dirfd = open(name, O_RDONLY, dir_fd=topfd)
1031 return io.open(fd, mode, buffering, encoding, *args, **kwargs)
/third_party/python/Lib/test/test_zoneinfo/
H A Dtest_zoneinfo.py162 with open(file_path, "rb") as f:
179 with open(file_path, "rb") as f:
185 with open(file_path, "rb") as f:
195 with open(self.zoneinfo_data.path_from_key(key), "rb") as f:
1453 with open(self.zoneinfo_data.path_from_key(key), "rb") as f:
1484 with open(self.zoneinfo_data.path_from_key(key), "rb") as f:
1513 with open(self.zoneinfo_data.path_from_key("UTC"), "rb") as f:
1661 with open(zone_file, "rb") as f:
1677 with open(zonefile_path, "wb") as f:
1861 with open(source_jso
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dio_collector_impl.cpp130 HIVIEW_LOGE("failed to open dir=%{public}s", path.c_str()); in GetDirRegexFiles()
329 int fd = open(fileName.c_str(), O_WRONLY); in ExportDiskStats()
378 HIVIEW_LOGE("open dir=%{public}s failed.", path.c_str()); in GetEMMCPath()
416 HIVIEW_LOGE("open dir=%{public}s failed.", mmcHostPath.c_str()); in CalculateEMMCInfo()
460 int fd = open(fileName.c_str(), O_WRONLY); in ExportEMMCInfo()
462 HIVIEW_LOGE("open file=%{public}s failed.", fileName.c_str()); in ExportEMMCInfo()
506 HIVIEW_LOGE("open dir=%{public}s failed.", PROC.c_str()); in CalculateAllProcIoStats()
597 int fd = open(fileName.c_str(), O_WRONLY); in ExportAllProcIoStats()
599 HIVIEW_LOGE("open file=%{public}s failed.", fileName.c_str()); in ExportAllProcIoStats()
648 int fd = open(fileNam in ExportSysIoStats()
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
H A Dfuse_daemon_test.cpp272 * @tc.desc: test fuse open callback abnormal branch
281 // open ROOT_INODE in HWTEST_F()
287 FuseDaemon::fuseDaemonOper_.open(req, ROOT_INODE, nullptr); in HWTEST_F()
291 // open null file in HWTEST_F()
296 FuseDaemon::fuseDaemonOper_.open(req, 0, nullptr); in HWTEST_F()
300 // open readonly dlp with O_TRUNC in HWTEST_F()
312 FuseDaemon::fuseDaemonOper_.open(req, ino, &fi); in HWTEST_F()
321 FuseDaemon::fuseDaemonOper_.open(req, ino, &fi); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Avbuffer/src/
H A Davcodec_audio_avbuffer_encoder_demo.cpp201 inputFile_.open(inputFile, std::ios::in | std::ios::binary); in InitFile()
202 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
208 inputFile_.open(inputFile, std::ios::in | std::ios::binary); in InitFile()
209 std::cout << "inputFile open: " << std::endl; in InitFile()
210 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
214 inputFile_.open(inputFile, std::ios::in | std::ios::binary); in InitFile()
215 DEMO_CHECK_AND_RETURN_RET_LOG(inputFile_.is_open(), false, "Fatal: open input file failed"); in InitFile()
218 outputFile_.open(outputFile, std::ios::out | std::ios::binary); in InitFile()
219 DEMO_CHECK_AND_RETURN_RET_LOG(outputFile_.is_open(), false, "Fatal: open output file failed"); in InitFile()
281 std::cerr << "Failed to open fil in GetFileSize()
[all...]
/third_party/f2fs-tools/tools/
H A Df2fscrypt.c345 fd = open(cp, O_RDONLY | O_DIRECTORY); in parse_salt()
347 fd = open(cp, O_RDONLY); in parse_salt()
423 fd = open(argv[x], O_DIRECTORY); in set_policy()
827 fd = open(argv[i], in do_get_policy()
/third_party/f2fs-tools/fsck/
H A Ddump.c51 fd = open("dump_nat", O_CREAT|O_WRONLY|O_TRUNC, 0666); in nat_dump()
122 fd = open("dump_sit", O_CREAT|O_WRONLY|O_TRUNC, 0666); in sit_dump()
184 fd = open("dump_ssa", O_CREAT|O_WRONLY|O_TRUNC, 0666); in ssa_dump()
515 c.dump_fd = open(path, O_TRUNC|O_CREAT|O_RDWR, 0666); in dump_file()
/third_party/node/deps/v8/third_party/test262-harness/src/
H A Dtest262.py236 f = open(self.full_path)
463 f = open(static)
555 self.logf = open(logname, "w")
557 self.outfile = open(junitfile, "w")
/third_party/icu/icu4c/source/test/perf/howExpensiveIs/
H A DhowExpensiveIs.cpp114 fprintf(stderr,"Err: can't open %s for writing.\n", outName); in main()
254 /* open and close tests */
735 OpenCloseTest(pattern,unum,open,{},(UNUM_PATTERN_DECIMAL,pattern,1,TEST_LOCALE,0,&setupStatus),{})
736 OpenCloseTest(default,unum,open,{},(UNUM_DEFAULT,NULL,-1,TEST_LOCALE,0,&setupStatus),{})
739 OpenCloseTest(gb18030,ucnv,open,{},("gb18030",&setupStatus),{})
742 OpenCloseTest(root,ures,open,{},(NULL,"root",&setupStatus),{})
/third_party/lwip/src/netif/ppp/
H A Dpppos.c333 pppos->open = 1; in pppos_connect()
365 pppos->open = 1; in pppos_listen()
383 pppos->open = 0; in pppos_disconnect()
499 if (!pppos->open) { in pppos_input()
/third_party/python/Lib/test/libregrtest/
H A Dmain.py223 with open(self.next_single_filename, 'r') as fp:
234 with open(os.path.join(os_helper.SAVEDCWD, self.ns.fromfile)) as fp:
601 with open(self.next_single_filename, 'w') as fp:
640 with open(xmlpath, 'wb') as f:
/third_party/skia/third_party/externals/spirv-cross/
H A Dtest_shaders.py589 with open(path, 'rb') as f:
622 with open(json_file, 'r') as f:
658 with open(glsl, 'r') as f:
845 with open('stats.csv', 'w') as stats:
/third_party/python/Lib/test/
H A Dtest_site.py136 with open(pth_fn, 'w', encoding='utf-8') as pth_file:
377 FILE = open(self.file_path, 'w')
580 with open(_pth_file, 'w') as f:
593 with open(_pth_file, 'w') as f:

Completed in 26 milliseconds

1...<<81828384858687888990>>...159