/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | deperiodize_vuids.py | 18 with open(filename, 'r', encoding='utf8', newline='\n') as f: 24 with open(filename, 'w', encoding='utf8', newline='\n') as f:
|
/third_party/skia/third_party/externals/brotli/python/tests/ |
H A D | decompress_test.py | 26 with open(temp_uncompressed, 'wb') as out_file: 27 with open(test_data, 'rb') as in_file:
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | check-c-linkage-decls.py | 15 with open (x, 'r', encoding='utf-8') as f: content = f.read () 21 with open (x, 'r', encoding='utf-8') as f: content = f.read ()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | statx.rs | 5 let f = std::fs::File::open(".").unwrap(); in test_statx_unknown_flags() 27 let f = std::fs::File::open(".").unwrap(); in test_statx_reserved()
|
/third_party/python/Lib/test/ |
H A D | test_getpath.py | 992 self.open = {} 1001 return list(self.open) 1008 self.open[key] = self.open.get(key, 0) + 1 1016 if hkey not in self.open: 1017 raise RuntimeError("key is not open") 1018 self.open[hkey] -= 1 1019 if not self.open[hkey]: 1020 del self.open[hkey] 1026 if hkey not in self.open [all...] |
/third_party/PyYAML/tests/lib/ |
H A D | test_multi_constructor.py | 32 with open(input_filename, 'rb') as file: 34 with open(code_filename, 'rb') as file:
|
/third_party/icu/tools/unicode/py/ |
H A D | parsescriptmetadata.py | 38 with open(uscript_path, "r") as uscript_file: 54 with open(smd_path, "r") as smd_file:
|
/third_party/libdrm/ |
H A D | gen_table_fourcc.py | 48 with open(filename, "r") as f: 53 with open(towrite, "w") as f:
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_gather_types_c.py | 113 spirv_info = json.JSONDecoder().decode(open(args.json, "r").read()) 118 with open(args.out, 'w') as f:
|
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
H A D | v8_fuzz_config.py | 14 with open(os.path.join(THIS_DIR, 'v8_fuzz_experiments.json')) as f: 19 with open(os.path.join(THIS_DIR, 'v8_fuzz_flags.json')) as f:
|
/third_party/node/test/parallel/ |
H A D | test-fs-open-mode-mask.js | 3 // This tests that the lower bits of mode > 0o777 still works in fs.open(). 31 const file = path.join(tmpdir.path, `open-${suffix}.txt`); 32 fs.open(file, 'w+', input, common.mustSucceed((fd) => {
|
/third_party/node/deps/v8/tools/ |
H A D | gen-v8-gn.py | 76 with open(args.output, 'r') as f: 79 with open(args.output, 'w') as f:
|
H A D | objdump-v8 | 63 codefile = open(process_codefile, "r") 65 codefile = open("code.asm", "r")
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open09.c | 22 * 1. open an O_WRONLY file, test if read failed. 23 * 2. open an O_RDONLY file, test if write failed. 57 fildes = open(tempfile, O_WRONLY); in main() 69 fildes = open(tempfile, O_RDONLY); in main()
|
H A D | open04.c | 10 * Verify that open(2) fails with EMFILE when per-process limit on the number 11 * of open file descriptors has been reached. 36 fd = open(fname, O_RDWR | O_CREAT, 0777); in setup() 50 TST_EXP_FAIL2(open(fname, O_RDWR | O_CREAT, 0777), EMFILE); in run()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
H A D | ioctl03.c | 66 int netfd = open("/dev/net/tun", O_RDWR); in verify_features() 70 netfd = open("/dev/tun", O_RDWR); in verify_features()
|
/third_party/littlefs/scripts/ |
H A D | prefix.py | 44 with open(newname+'~', 'w') as tempf: 45 with open(newname) as newf:
|
/third_party/libinput/tools/ |
H A D | razer-quirks-lister.py | 59 with open(tmpfile, "w") as output: 60 with open(quirksfile) as input:
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
H A D | 6-6.c | 45 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 47 printf("Error at open(): %s\n", strerror(errno)); in main() 57 fd = open(tmpfname, O_WRONLY, S_IRUSR | S_IWUSR); in main() 59 printf("Error at open(): %s\n", strerror(errno)); in main()
|
H A D | 6-5.c | 46 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 48 printf("Error at open(): %s\n", strerror(errno)); in main() 58 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main() 60 printf("Error at 2nd open(): %s\n", strerror(errno)); in main()
|
H A D | 6-4.c | 47 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 49 printf("Error at open(): %s\n", strerror(errno)); in main() 59 fd = open(tmpfname, O_RDONLY, S_IRUSR | S_IWUSR); in main() 61 printf("Error at 2nd open(): %s\n", strerror(errno)); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/legacy/ |
H A D | daemon.c | 45 int fd = open("/dev/null", O_RDWR); in daemon_0200() 73 int fd = open("/dev/null", O_RDWR); in daemon_0400()
|
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_dispatch_trampolines_gen.py | 171 with open(args.out_h, 'w') as f: 175 with open(args.out_c, 'w') as f:
|
H A D | vk_extensions_gen.py | 215 with open(out_h, 'w') as f: 219 with open(out_c, 'w') as f:
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | fchmodat.c | 36 fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in fchmodat_0100() 60 fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in fchmodat_0200()
|