Home
last modified time | relevance | path

Searched refs:open (Results 376 - 400 of 2966) sorted by relevance

1...<<11121314151617181920>>...119

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Ddeperiodize_vuids.py18 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 Ddecompress_test.py26 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 Dcheck-c-linkage-decls.py15 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 Dstatx.rs5 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 Dtest_getpath.py992 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 Dtest_multi_constructor.py32 with open(input_filename, 'rb') as file:
34 with open(code_filename, 'rb') as file:
/third_party/icu/tools/unicode/py/
H A Dparsescriptmetadata.py38 with open(uscript_path, "r") as uscript_file:
54 with open(smd_path, "r") as smd_file:
/third_party/libdrm/
H A Dgen_table_fourcc.py48 with open(filename, "r") as f:
53 with open(towrite, "w") as f:
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_gather_types_c.py113 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 Dv8_fuzz_config.py14 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 Dtest-fs-open-mode-mask.js3 // 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 Dgen-v8-gn.py76 with open(args.output, 'r') as f:
79 with open(args.output, 'w') as f:
H A Dobjdump-v863 codefile = open(process_codefile, "r")
65 codefile = open("code.asm", "r")
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen09.c22 * 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 Dopen04.c10 * 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 Dioctl03.c66 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 Dprefix.py44 with open(newname+'~', 'w') as tempf:
45 with open(newname) as newf:
/third_party/libinput/tools/
H A Drazer-quirks-lister.py59 with open(tmpfile, "w") as output:
60 with open(quirksfile) as input:
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D6-6.c45 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 D6-5.c46 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 D6-4.c47 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 Ddaemon.c45 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 Dvk_dispatch_trampolines_gen.py171 with open(args.out_h, 'w') as f:
175 with open(args.out_c, 'w') as f:
H A Dvk_extensions_gen.py215 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 Dfchmodat.c36 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()

Completed in 9 milliseconds

1...<<11121314151617181920>>...119