/third_party/python/Lib/test/ |
H A D | test_devpoll.py | 92 open_file = open(__file__, "rb")
|
H A D | test_pkg.py | 86 with open(fullname, "w") as f:
|
H A D | test_logging.py | 690 stream=open('/dev/null', 'wt', encoding='utf-8')) 2188 f = open(fn, encoding="utf-8") 4494 # bpo-26789: FileHandler keeps a reference to the builtin open() 4495 # function to be able to open or reopen the file during Python 4510 # FileHandler._open() must be called again to re-open the file. 4516 # open() function. 4517 del builtins.open 4521 with open(filename, encoding="utf-8") as fp: 4853 with open('test.log', encoding='utf-8') as f: 4873 with open('tes [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/ |
H A D | abseil.podspec.gen.py | 203 with open(args.output, "wt") as f:
|
/third_party/skia/gn/ |
H A D | find_headers.py | 23 with open(skia_h, 'w') as f:
|
/third_party/selinux/libselinux/utils/ |
H A D | avcstat.c | 150 fd = open(avcstatfile, O_RDONLY); in main() 152 die("open: \'%s\'", avcstatfile); in main()
|
/third_party/skia/bench/ |
H A D | check_bench_regressions.py | 114 for expectation in open(filename).readlines():
|
/third_party/spirv-tools/test/fuzz/ |
H A D | fuzz_test_util.cpp | 139 transformations_file.open(filename, std::ios::out | std::ios::binary); in DumpTransformationsBinary()
|
/third_party/vk-gl-cts/scripts/log/ |
H A D | bottleneck_report.py | 167 f = open(inFile, 'rb')
|
H A D | log_parser.py | 98 f = open(filename, 'rb')
|
/third_party/vk-gl-cts/scripts/verify/ |
H A D | verify.py | 41 f = open(filename, 'rt')
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | main.c | 140 fd[i] = open("/dev/null", O_RDWR); in wpa_supplicant_fd_workaround()
|
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_vulkan_header.py | 38 currentheader = open(header).read()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | eapol_test.py | 134 f = open(args.conf, "r")
|
H A D | main.c | 141 fd[i] = open("/dev/null", O_RDWR); in wpa_supplicant_fd_workaround()
|
/foundation/arkui/ui_lite/frameworks/font/ |
H A D | ui_font_vector.cpp | 279 fp = open(ttfPath.c_str(), O_RDONLY | O_BINARY); in OpenVectorFont() 281 fp = open(ttfPath.c_str(), O_RDONLY); in OpenVectorFont() 321 fpTtf = open(ttfPath.c_str(), O_RDONLY | O_BINARY); in GetTtfInfoFromTtf() 323 fpTtf = open(ttfPath.c_str(), O_RDONLY); in GetTtfInfoFromTtf()
|
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/sample/ |
H A D | venc_sample.cpp | 522 inFile_->open(inPath_, std::ios::in | std::ios::binary); in FlushInner() 622 inFile_->open(inPath_, std::ios::in | std::ios::binary); in PrepareInner() 762 outFile_->open(outPath_, std::ios::out | std::ios::binary | std::ios::ate); in OutputLoopFunc() 834 outFile_->open(outPath_, std::ios::out | std::ios::binary | std::ios::ate); in OutputLoopFuncExt()
|
/foundation/communication/ipc/ipc/test/auxiliary/native/src/ |
H A D | test_service_skeleton.cpp | 262 int fd = open("/data/dump.txt", in TestDumpService() 275 int fd = open("/data/nonblockingDump.txt", in TestAsyncDumpService() 458 int fd = open(TOKENID_DEVNODE, O_RDWR); in RpcSetSelfTokenID() 474 int fd = open(TOKENID_DEVNODE, O_RDWR); in RpcSetFirstCallerTokenID()
|
/third_party/eudev/src/udev/ |
H A D | udevd.c | 326 fd_lock = open(udev_device_get_devnode(d), O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NONBLOCK); in worker_spawn() 807 fd = open(udev_device_get_devnode(dev), O_RDONLY|O_CLOEXEC|O_NOFOLLOW|O_NONBLOCK); in synthesize_change() 1194 fd = open("/dev/null", O_RDWR); in main() 1203 log_error("cannot open /dev/null"); in main() 1207 /* open control and netlink socket */ in main() 1291 fd = open("/dev/null", O_RDWR); in main()
|
/third_party/backends/backend/ |
H A D | canon_pp.c | 95 /* The default scanner to open */ 362 /* detect_mode succeeded, so the port is open. This beholdens in sane_init() 416 * open for business again - this will only work in sane_init() 421 /* leave the port open but not claimed - this is regardless in sane_init() 566 DBG(1,"sane_open: Request to open port with no scanner " in sane_open() 572 DBG(2,"sane_open; Oi!, That scanner's already open.\n"); in sane_open() 714 "open yet\n", h); in sane_get_option_descriptor() 761 "open yet\n", h); in sane_control_option() 933 "open yet\n", h); in sane_get_parameters() 1032 "open ye in sane_start() [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_file.c | 251 fd = open(file->final_fname, O_WRONLY|O_CREAT|O_TRUNC, in snd_pcm_file_open_output_file() 254 fd = open(file->final_fname, O_WRONLY|O_CREAT|O_EXCL, in snd_pcm_file_open_output_file() 267 fd = open(tmpfname, in snd_pcm_file_open_output_file() 277 SYSERR("open %s for writing failed", in snd_pcm_file_open_output_file() 933 ifd = open(ifname, O_RDONLY); /* TODO: mind blocking mode */ in snd_pcm_file_open() 935 SYSERR("open %s for reading failed", ifname); in snd_pcm_file_open()
|
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | iogen.c | 160 int Oflags; /* open(2) flags for creating files */ 161 int Ocbits; /* open(2) cbits for creating files */ 162 int Ocblks; /* open(2) cblks for creating files */ 317 * Map open flags (-f args) to values 559 if ((outfd = open(Outpipe, O_RDWR)) == -1) { in init_output() 561 "iogen%s: Couldn't open outpipe %s with flags O_RDWR: %s\n", in init_output() 629 * open flags, and possibly a pattern (for write/writea). in form_iorequest() 828 the file open read/write */ in form_iorequest() 1017 if ((fd = open(rec->f_path, O_RDWR | O_DIRECT, 0)) != -1) { in get_file_info() 1110 if ((fd = open(pat in create_file() [all...] |
/third_party/littlefs/scripts/ |
H A D | bench.py | 46 return open(path, mode, buffering) 153 with open(self.path) as f: 455 with open(args['source']) as sf: 1020 # truncate and open logs here so they aren't disconnected between benches 1135 with open(path) as f:
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_stdio.cpp | 273 int fp = open("/dev/zero", O_RDONLY, OPEN_MODE); in Bm_function_Fdopen() 691 int fd = open("/dev/zero", O_RDONLY); in Bm_function_Flock() 693 perror("open flock"); in Bm_function_Flock() 1348 perror("ungetc open"); in Bm_function_Ungetc() 1460 int oldFd = open(oldPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat() 1462 perror("open renameat old"); in Bm_function_Renameat() 1466 int newFd = open(newPath, O_RDWR | O_CREAT, OPEN_MODE); in Bm_function_Renameat() 1468 perror("open renameat new"); in Bm_function_Renameat()
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | capture_replay_tests.py | 232 # On Mac, j value higher than 500 causes 'Too many open files' error 545 captured_context = open(capture_file, "r").readlines() 546 replayed_context = open(replay_file, "r").readlines() 570 with open(names_path, 'w') as f: 621 with open(expected_results_path, "rt") as f:
|