Home
last modified time | relevance | path

Searched refs:open (Results 476 - 500 of 9314) sorted by relevance

1...<<11121314151617181920>>...373

/third_party/node/test/parallel/
H A Dtest-fs-writev-promises.js19 const handle = await fs.open(filename, 'w');
37 const handle = await fs.open(filename, 'w');
53 const handle = await fs.open(getFileName(), 'w');
H A Dtest-inspector-open.js5 // Test inspector open()/close()/url() API. It uses ephemeral ports so can be
26 child.send({ cmd: 'open', args: [kFirstOpen] });
36 // Inspector is already open, and won't be reopened, so args don't matter.
37 child.send({ cmd: 'open', args: [kOpenWhileOpen] });
46 // Reopen didn't do anything, the port was already open, and has not changed.
67 child.send({ cmd: 'open', args: [kReOpen] });
96 if (msg.cmd === 'open') {
98 inspector.open(0, false, undefined);
101 inspector.open(0, false, undefined);
106 inspector.open(
[all...]
/third_party/node/deps/v8/tools/unittests/
H A Dv8_presubmit_test.py37 with open(file_name, "w") as f:
59 with open(modified_file, "w") as f:
76 with open(modified_file, "w") as f:
/third_party/node/deps/v8/tools/
H A Dandroid-run.py64 output = open(outname).read()
65 errors = open(errname).read()
84 tmp_file = open(fname, "w")
/third_party/node/tools/icu/
H A Dshrink-icu-src.py43 with open(infp, 'rb') as inf:
91 for line in open(uvernum_h).readlines():
138 with open(readme_name, 'w') as out_file:
/third_party/notofonts/scripts/
H A Dversionator.py29 IOS_VERSION = plistlib.load(open(IOS_VERSION_PATH, "rb"))["CFBundleExecutable"]
98 with open("noto-fedora.src.rpm", "wb") as file:
122 notoversions, open("docs/versions.json", "w"), indent=True, sort_keys=True
/third_party/musl/porting/linux/user/include/fortify/
H A Dfcntl.h33 * Even in musl FORTIFY, the following is the easiest way to call a real open.
35 int __open_real(const char*, int, ...) __DIAGNOSE_RENAME(open); variable
44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
46 __DIAGNOSE_ERROR_IF(__DIAGNOSE_OPEN_MODES_USEFUL(flags), "'open' " OPEN_TOO_FEW_ARGS_ERROR)
56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes)
58 __DIAGNOSE_WARNING_IF(!__DIAGNOSE_OPEN_MODES_USEFUL(flags) && modes, "'open' " OPEN_USELESS_MODES_WARNING)
/third_party/libdrm/tests/etnaviv/
H A Dwrite_bmp.c108 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666); in bmp_dump32()
110 printf("Failed to open %s: %s\n", filename, strerror(errno)); in bmp_dump32()
124 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666); in bmp_dump32_noflip()
126 printf("Failed to open %s: %s\n", filename, strerror(errno)); in bmp_dump32_noflip()
140 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666); in bmp_dump32_ex()
142 printf("Failed to open %s: %s\n", filename, strerror(errno)); in bmp_dump32_ex()
/third_party/ltp/testcases/lib/
H A Dtst_rod.c93 if (open(stdin_path, O_RDONLY) < 0) { in main()
95 "%s: Failed to open '%s' for reading: %s\n", in main()
107 if (open(stdout_path, O_CREAT|O_WRONLY|O_TRUNC, 0777) < 0) { in main()
109 "%s: Failed to open '%s' for writing: %s\n", in main()
116 int fd = open(stderr_path, O_CREAT|O_WRONLY|O_TRUNC, 0777); in main()
127 "%s: Failed to open '%s' for writing: %s\n", in main()
/third_party/ltp/testcases/network/rpc/basic_tests/rpc01/
H A Drpc_server.c69 open("/dev/null", O_RDONLY); in main()
70 open("/dev/null", O_WRONLY); in main()
73 if ((i = open("/dev/tty", O_RDWR)) >= 0) { in main()
/third_party/ltp/testcases/kernel/security/tomoyo/
H A Dtomoyo_accept_test.c29 set_profile(i, "file::open"); in set_level()
80 close(open(buffer, O_CREAT, 0644)); in test()
82 fd = open(buffer, flags, 0644); in test()
86 fprintf(stderr, "%d: open(%04o) failed\n", level, in test()
89 fd = open(buffer, flags, 0644) in test()
93 fprintf(stderr, "%d: open(%04o) failed\n", level, flags); in test()
96 fd = open(buffer, flags, 0644); in test()
100 fprintf(stderr, "%d: open(%04o) failed\n", level, flags); in test()
108 fd = open(buffer, flags, 0644); in test()
111 fprintf(stderr, "%d: open( in test()
[all...]
/third_party/ltp/testcases/kernel/syscalls/setfsuid/
H A Dsetfsuid04.c24 * and then tries to open the file with RDWR permissions.
88 /* Test 1: Check the process with new uid cannot open the file in do_master_child()
91 TEST(open(testfile, O_RDWR)); in do_master_child()
95 printf("open succeeded unexpectedly\n"); in do_master_child()
100 printf("open failed with EACCESS as expected\n"); in do_master_child()
102 printf("open returned unexpected errno - %d\n", TEST_ERRNO); in do_master_child()
106 /* Test 2: Check a son process cannot open the file in do_master_child()
116 /* Test to open the file in son process */ in do_master_child()
117 TEST(open(testfile, O_RDWR)); in do_master_child()
121 printf("open succeede in do_master_child()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dsplice.c38 int fromfd = open(fromfile, O_RDWR | O_CREAT, TEST_MODE); in splice_0100()
43 int tofd = open(tofile, O_RDWR | O_CREAT, TEST_MODE); in splice_0100()
83 int fromfd = open(path, O_RDONLY); in splice_0200()
H A Dutimes.c34 int fd = open(path, O_RDWR | O_RSYNC | O_CREAT, 0664); in utimes_0100()
68 int fd = open(path, O_RDWR | O_RSYNC | O_CREAT, 0664); in utimes_0200()
97 int fd = open(path, O_RDWR | O_RSYNC | O_CREAT, 0664); in utimes_time64_0100()
/third_party/mesa3d/src/util/
H A Dos_file.c16 #define open _open macro
32 int fd = open(filename, O_CREAT | O_EXCL | O_WRONLY, filemode); in os_file_create_unique()
134 int fd = open(filename, O_RDONLY | O_BINARY); in os_read_file()
136 /* errno set by open() */ in os_read_file()
/third_party/musl/include/fortify/linux/
H A Dfcntl.h33 * Even in musl FORTIFY, the following is the easiest way to call a real open.
35 int __open_real(const char*, int, ...) __DIAGNOSE_RENAME(open); variable
44 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags)
46 __DIAGNOSE_ERROR_IF(__DIAGNOSE_OPEN_MODES_USEFUL(flags), "'open' " OPEN_TOO_FEW_ARGS_ERROR)
56 int open(const char* const __DIAGNOSE_PASS_OBJECT_SIZE path, int flags, unsigned modes)
58 __DIAGNOSE_WARNING_IF(!__DIAGNOSE_OPEN_MODES_USEFUL(flags) && modes, "'open' " OPEN_USELESS_MODES_WARNING)
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfutimesat.c32 int dir_fd = open(path, O_RDONLY | O_DIRECTORY); in futimesat_0100()
34 t_error("%s open failed\n", __func__); in futimesat_0100()
84 int dir_fd = open(path, O_RDONLY | O_DIRECTORY); in futimesat_0200()
86 t_error("%s open failed\n", __func__); in futimesat_0200()
139 int dir_fd = open(path, O_RDONLY | O_DIRECTORY); in futimesat_time64_0200()
141 t_error("%s open failed\n", __func__); in futimesat_time64_0200()
/third_party/python/Lib/idlelib/
H A Dsearch.py31 instance and open the dialog. If text is selected, it is
36 return _setup(text).open(text, pat) # Open is inherited from SDBase.
43 from the last dialog. If there was no prior search, open the
57 search, open the search dialog.
80 If no search was previously run, open a new search dialog. In
94 self.open(text)
153 _setup(text).open(text)
/third_party/python/Lib/distutils/tests/
H A Dtest_msvc9compiler.py145 f = open(manifest, 'w')
155 f = open(manifest)
169 f = open(manifest, 'w')
/third_party/skia/third_party/externals/angle2/src/
H A Dcommit_id.py32 with open(packed_refs_full_path) as fin:
44 with open(ref_file_full_path, 'w') as fout:
106 hfile = open(output_file, 'w')
/third_party/skia/tools/
H A Drewrite_includes.py90 lines = open(file_path).readlines()
93 output = StringIO() if args.dry_run else open(file_path, 'w')
110 if args.dry_run and output.getvalue() != open(file_path).read():
/third_party/skia/tools/skiaserve/tester/
H A Dtester.py30 with open(path, 'wb+') as fd:
36 with open(path, 'wb+') as fd:
58 with open(self.skp, 'rb') as payload:
/third_party/toybox/toys/other/
H A Dacpi.c55 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) { in acpi_callback()
94 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) { in temp_callback()
119 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, &dfd)), O_RDONLY))) { in cool_callback()
/third_party/python/Lib/test/
H A Dtest_ioctl.py11 tty = open("/dev/tty", "rb")
13 raise unittest.SkipTest("Unable to open /dev/tty")
34 with open("/dev/tty", "rb") as tty:
51 with open("/dev/tty", "rb") as tty:
/third_party/rust/crates/io-lifetimes/examples/
H A Downing-wrapper.rs129 let file = std::fs::File::open("Cargo.toml").unwrap(); in main()
138 let file = std::fs::File::open("Cargo.toml").unwrap(); in main()
147 let file = std::fs::File::open("Cargo.toml").unwrap(); in main()

Completed in 10 milliseconds

1...<<11121314151617181920>>...373