Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 4035) sorted by relevance

12345678910>>...162

/third_party/skia/third_party/externals/tint/src/
Dintrinsic_table.inl32 /// Match may close open types and numbers in state.
59 /// Match may close open types and numbers in state.
86 /// Match may close open types and numbers in state.
113 /// Match may close open types and numbers in state.
140 /// Match may close open types and numbers in state.
173 /// Match may close open types and numbers in state.
206 /// Match may close open types and numbers in state.
239 /// Match may close open types and numbers in state.
280 /// Match may close open types and numbers in state.
327 /// Match may close open types and numbers in state.
[all …]
/third_party/python/Lib/test/
Dtest_dbm_dumb.py38 with contextlib.closing(dumbdbm.open(_fname, 'c')) as f:
48 f = dumbdbm.open(_fname, 'c', 0o637)
66 f = dumbdbm.open(_fname)
74 with contextlib.closing(dumbdbm.open(_fname, 'w')) as f:
83 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f:
100 with contextlib.closing(dumbdbm.open(_fname)) as f:
104 with contextlib.closing(dumbdbm.open(_fname)) as f:
110 with contextlib.closing(dumbdbm.open(_fname)) as f:
113 with contextlib.closing(dumbdbm.open(_fname)) as f:
118 with contextlib.closing(dumbdbm.open(_fname, 'r')) as f:
[all …]
Dmake_ssl_certs.py134 with open(req_file, 'w') as f:
163 with open(cert_file, 'r') as f:
165 with open(key_file, 'r') as f:
179 with open(os.path.join('cadir','index.txt'),'a+') as f:
181 with open(os.path.join('cadir','crl.txt'),'a+') as f:
183 with open(os.path.join('cadir','index.txt.attr'),'w+') as f:
186 with open(os.path.join('cadir','serial'), 'w') as f:
229 with open('ssl_cert.pem', 'w') as f:
231 with open('ssl_key.pem', 'w') as f:
237 with open('keycert.pem', 'w') as f:
[all …]
Dtest_tarfile.py58 open = io.FileIO variable in TarTest
69 open = gzip.GzipFile if gzip else None variable in GzipTest
76 open = bz2.BZ2File if bz2 else None variable in Bz2Test
83 open = lzma.LZMAFile if lzma else None variable in LzmaTest
92 self.tar = tarfile.open(self.tarname, mode=self.mode,
113 with open(os.path.join(TEMPDIR, "ustar/regtype"), "r") as fobj1:
131 with open(os.path.join(TEMPDIR, "ustar/regtype"), "r") as fobj1:
140 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") as fobj:
237 self.tar = tarfile.open(self.tarname, mode=self.mode)
328 with open(tmpname, "wb"):
[all …]
Dtest_file.py20 self.f = self.open(TESTFN, 'wb')
49 self.f = self.open(TESTFN, 'rb')
57 self.f = self.open(TESTFN, encoding="utf-8")
66 self.f = self.open(TESTFN, 'rb')
136 open = io.open variable in CAutoFileTests
139 open = staticmethod(pyio.open) variable in PyAutoFileTests
149 self.open(TESTFN, 'wb').close()
152 f = self.open(TESTFN, mode)
179 f = self.open(TESTFN, bad_mode)
193 f = self.open(TESTFN, 'wb', s)
[all …]
Dtest_dbm_gnu.py33 self.g = gdbm.open(filename, 'c')
37 self.g = gdbm.open(filename, 'c')
64 self.assertRaises(gdbm.error, gdbm.open, filename, 'r')
66 self.g = gdbm.open(filename, 'c')
70 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close())
78 self.g = gdbm.open(filename, mode)
85 self.g = gdbm.open(filename, mode + flag)
89 self.g = gdbm.open(filename, 'c')
110 with gdbm.open(filename, 'c') as db:
113 with gdbm.open(filename, 'r') as db:
[all …]
Daudiotests.py56 f = self.fout = self.module.open(testfile, 'wb')
64 with self.module.open(testfile, 'rb') as f:
83 with self.module.open(TESTFN, 'wb'):
86 with open(TESTFN, 'wb') as testfile:
87 with self.module.open(testfile):
91 with open(TESTFN, 'wb') as testfile:
92 with self.module.open(testfile) as f:
98 with open(TESTFN, 'rb') as testfile:
99 with self.module.open(testfile) as f:
112 with self.module.open(TESTFN, 'wb') as f:
[all …]
Dtest_gzip.py323 with open(self.filename, 'rb') as fRead:
387 with open(self.filename, 'rb') as fRead:
418 with open(self.filename, "ab") as f:
429 with open(self.filename, 'wb') as file:
477 fd = os.open(self.filename, os.O_WRONLY | os.O_CREAT)
484 with open(self.filename, "r+b") as f:
496 with open(self.filename, mode) as f:
502 with open(self.filename, mode) as f:
589 with gzip.open(self.filename, "wb") as f:
591 with gzip.open(self.filename, "rb") as f:
[all …]
Dtest_aifc.py152 f = aifc.open(findfile('Sine-1000Hz-300ms.aif'))
161 self.f = aifc.open(non_aifc_file, 'rb')
168 self.fout = aifc.open(TESTFN, 'wb')
171 f = self.f = aifc.open(TESTFN, 'wb')
176 f = aifc.open(TESTFN, 'rb')
188 fout = aifc.open(io.BytesIO(), 'wb')
197 fout = aifc.open(io.BytesIO(), 'wb')
206 fout = self.fout = aifc.open(TESTFN, 'wb')
213 f = aifc.open(TESTFN, 'rb')
258 aifc.open(TESTFN, 'wrong_mode')
[all …]
Dtest_largefile.py31 with self.open(TESTFN, mode) as f:
47 with cls.open(TESTFN, 'wb'):
65 with self.open(TESTFN, "rb") as f:
73 with self.open(TESTFN, 'rb') as f:
104 with self.open(TESTFN, 'rb') as f:
117 with self.open(TESTFN, 'r+b') as f:
151 with self.open(TESTFN, 'rb') as f:
169 open = staticmethod(io.open) variable in TestCopyfile
180 with open(TESTFN2, 'rb') as f:
188 open = staticmethod(io.open) variable in TestSocketSendfile
[all …]
Dtest_dbm_ndbm.py13 self.d = dbm.ndbm.open(self.filename, 'c')
21 self.d = dbm.ndbm.open(self.filename, 'c')
44 self.d = dbm.ndbm.open(self.filename, 'c')
57 self.d = dbm.ndbm.open(self.filename, mode)
63 with dbm.ndbm.open(self.filename, 'c') as db:
66 with dbm.ndbm.open(self.filename, 'r') as db:
75 with dbm.ndbm.open(self.filename, 'c') as db:
77 with dbm.ndbm.open(self.filename, 'r') as db:
83 with dbm.ndbm.open(self.filename, 'c') as db:
85 with dbm.ndbm.open(self.filename, 'r') as db:
[all …]
Dtest_pipes.py31 with t.open(TESTFN, 'w') as f:
33 with open(TESTFN) as f:
39 with open(TESTFN, 'w') as f:
44 with open(TESTFN2) as f:
50 with open(TESTFN, 'w') as f:
54 f = t.open(TESTFN, 'r')
63 with open(TESTFN, 'w') as f:
65 with open(TESTFN2, 'w') as f:
69 with open(TESTFN2) as f:
75 with open(TESTFN, 'w') as f:
[all …]
Dtest_pdb.py1377 with open(filename, 'w') as f:
1389 with open(init_file, 'w') as f:
1391 with open(main_file, 'w') as f:
1397 with open(os_helper.TESTFN, 'wb') as f:
1453 with open(os_helper.TESTFN, 'wb') as f:
1494 with open('bar.py', 'w') as f:
1506 with open(os_helper.TESTFN, 'wb') as f:
1532 with open(os_helper.TESTFN, 'wb') as f:
1595 with open('.pdbrc', 'w') as f:
1598 with open('main.py', 'w') as f:
[all …]
Dtest_mmap.py34 f = open(TESTFN, 'bw+')
114 f = open(TESTFN, 'rb')
127 with open(TESTFN, "wb") as fp:
129 with open(TESTFN, "rb") as f:
176 with open(TESTFN, "rb") as fp:
181 with open(TESTFN, "r+b") as f:
198 with open(TESTFN, 'r+b') as f:
202 with open(TESTFN, "r+b") as f:
210 with open(TESTFN, 'rb') as f:
216 with open(TESTFN, "r+b") as f:
[all …]
Dtest_uu.py184 with open(self.tmpin, 'wb') as fin:
187 with open(self.tmpin, 'rb') as fin:
188 with open(self.tmpout, 'wb') as fout:
191 with open(self.tmpout, 'rb') as fout:
197 with open(self.tmpout, 'rb') as fout:
202 with open(self.tmpin, 'wb') as f:
205 with open(self.tmpin, 'rb') as f:
208 with open(self.tmpout, 'rb') as f:
214 with open(self.tmpin, 'wb') as f:
219 with open(self.tmpout, 'rb') as f:
[all …]
/third_party/node/test/parallel/
Dtest-fs-open.js41 fs.open(__filename, common.mustSucceed());
43 fs.open(__filename, 'r', common.mustSucceed());
45 fs.open(__filename, 'rs', common.mustSucceed());
47 fs.open(__filename, 'r', 0, common.mustSucceed());
49 fs.open(__filename, 'r', null, common.mustSucceed());
52 await fs.promises.open(__filename);
53 await fs.promises.open(__filename, 'r');
59 () => fs.open(__filename, 'r', 'boom', common.mustNotCall()),
68 () => fs.open(__filename, ...extra),
78 () => fs.open(i, 'r', common.mustNotCall()),
[all …]
Dtest-fs-promises-file-handle-writeFile.js10 const { open, writeFile } = fs.promises;
21 const fileHandle = await open(filePathForHandle, 'w+');
36 const fileHandle = await open(filePathForHandle, 'w+');
87 const fileHandle = await open(dest, 'w+');
102 const fileHandle = await open(otherDest, 'w+');
114 const fileHandle = await open(dest, 'w+');
125 const fileHandle = await open(dest, 'w+');
141 const fileHandle = await open(dest, 'w+');
153 const fileHandle = await open(dest, 'w+');
164 const fileHandle = await open(dest, 'w+');
[all …]
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_new_test.c50 result = open("/etc/fstab", O_RDONLY); in test_read_etc_fstab()
55 result = open("/dev/null", O_WRONLY); in test_write_dev_null()
141 int fd = open("/dev/null", O_RDWR); in test_ioctl_dev_null()
200 result = open("/tmp/testfile0", O_RDONLY, 0600); in test_file_open_0()
205 result = open("/tmp/testfile1", O_CREAT | O_RDONLY, 0600); in test_file_open_1()
210 result = open("/tmp/testfile2", O_TRUNC | O_RDONLY, 0600); in test_file_open_2()
215 result = open("/tmp/testfile3", O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_3()
220 result = open("/tmp/testfile4", O_APPEND | O_RDONLY, 0600); in test_file_open_4()
225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600); in test_file_open_5()
230 result = open("/tmp/testfile6", O_APPEND | O_TRUNC | O_RDONLY, 0600); in test_file_open_6()
[all …]
Dtomoyo_rewrite_test.c71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600)); in stage_rewrite_test()
77 fd = open(REWRITE_PATH, O_RDONLY); in stage_rewrite_test()
82 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
88 fd = open(REWRITE_PATH, O_WRONLY); in stage_rewrite_test()
93 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); in stage_rewrite_test()
98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test()
105 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
122 fd = open(REWRITE_PATH, O_RDONLY); in stage_rewrite_test()
127 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test()
132 fd = open(REWRITE_PATH, O_WRONLY); in stage_rewrite_test()
[all …]
Dtomoyo_new_file_test.c190 fd = open("/dev/null", O_RDONLY); in stage_file_test()
195 fd = open("/dev/null", O_RDONLY); in stage_file_test()
202 fd = open("/dev/null", O_RDONLY); in stage_file_test()
207 fd = open("/dev/null", O_RDONLY); in stage_file_test()
214 fd = open("/dev/null", O_RDONLY); in stage_file_test()
219 fd = open("/dev/null", O_RDONLY); in stage_file_test()
226 fd = open("/dev/null", O_RDONLY); in stage_file_test()
231 fd = open("/dev/null", O_RDONLY); in stage_file_test()
252 fd = open(filename, O_WRONLY); in stage_file_test()
257 fd = open(filename, O_WRONLY); in stage_file_test()
[all …]
/third_party/libsnd/
Dmake_lite.py116 source_code = open (filename, 'r').read ()
121 open (filename, 'w').write (source_code)
124 source_code = open (filename, 'r').read ()
128 open (filename, 'w').write (source_code)
131 source_code = open (filename, 'r').read ()
135 open (filename, 'w').write (source_code)
138 source_code = open (filename, 'r').read ()
142 open (filename, 'w').write (source_code)
145 source_code = open (filename, 'r').read ()
149 open (filename, 'w').write (source_code)
[all …]
/third_party/musl/libc-test/src/functionalext/trace/
Dtrace_marker.c79 int out_fd = open(OUTFILE, O_WRONLY | O_CREAT, TEST_MODE); in dump_trace()
106 int trace_fd = open("/sys/kernel/tracing/trace", O_CLOEXEC | O_RDONLY); in trace_marker_0010()
108 trace_fd = open("/sys/kernel/debug/tracing/trace", O_CLOEXEC | O_RDONLY); in trace_marker_0010()
157 int trace_fd = open("/sys/kernel/tracing/trace", O_CLOEXEC | O_RDONLY); in trace_marker_0020()
159 trace_fd = open("/sys/kernel/debug/tracing/trace", O_CLOEXEC | O_RDONLY); in trace_marker_0020()
208 int trace_fd = open("/sys/kernel/tracing/trace", O_CLOEXEC | O_RDONLY); in trace_marker_0030()
210 trace_fd = open("/sys/kernel/debug/tracing/trace", O_CLOEXEC | O_RDONLY); in trace_marker_0030()
266 int trace_fd = open("/sys/kernel/tracing/trace", O_CLOEXEC | O_RDONLY | O_APPEND); in trace_marker_0040()
268 trace_fd = open("/sys/kernel/debug/tracing/trace", O_CLOEXEC | O_RDONLY | O_APPEND); in trace_marker_0040()
304 int trace_fd = open("/sys/kernel/tracing/trace", O_CLOEXEC | O_RDONLY | O_APPEND); in trace_marker_0040()
[all …]
/third_party/gstreamer/gstplugins_bad/po/
Den_GB.po30 msgid "Failed to open DVD device '%s'."
49 msgid "Could not open sndfile stream for reading."
50 msgstr "Could not open file \"%s\" for reading."
83 msgid "Could not open frontend device \"%s\"."
95 msgid "Could not open file \"%s\" for reading."
96 msgstr "Could not open file \"%s\" for reading."
131 #~ msgid "Could not open file \"%s\" for writing."
132 #~ msgstr "Could not open file \"%s\" for writing."
134 #~ msgid "Could not open device \"%s\" for reading and writing."
135 #~ msgstr "Could not open device \"%s\" for reading and writing."
[all …]
/third_party/libxml2/test/relaxng/
DtutorA.rng16 <ref name="open-name-class"/>
19 <ref name="open-patterns"/>
27 <ref name="open-name-class"/>
38 <ref name="open-patterns"/>
42 <ref name="open-patterns"/>
46 <ref name="open-patterns"/>
50 <ref name="open-patterns"/>
54 <ref name="open-patterns"/>
58 <ref name="open-patterns"/>
62 <ref name="open-patterns"/>
[all …]
Dambig_name-class.rng16 <ref name="open-name-class"/>
19 <ref name="open-patterns"/>
27 <ref name="open-name-class"/>
38 <ref name="open-patterns"/>
42 <ref name="open-patterns"/>
46 <ref name="open-patterns"/>
50 <ref name="open-patterns"/>
54 <ref name="open-patterns"/>
58 <ref name="open-patterns"/>
62 <ref name="open-patterns"/>
[all …]

12345678910>>...162