Home
last modified time | relevance | path

Searched refs:open_file (Results 1 – 25 of 53) sorted by relevance

123

/external/fmtlib/test/
Dos-test.cc157 static file open_file() { in open_file() function
341 file f = open_file(); in TEST()
350 file f = open_file(); in TEST()
360 file f = open_file(); in TEST()
361 file f2 = open_file(); in TEST()
368 file f = open_file(); in OpenBufferedFile()
388 file f = open_file(); in TEST()
397 file f = open_file(); in TEST()
404 std::unique_ptr<file> f(new file(open_file())); in TEST()
419 file f = open_file(); in TEST()
[all …]
/external/strace/tests-m32/
Dqual_fault.c105 open_file(const char *prefix, int proc) in open_file() function
163 int pidfd = open_file(pid_prefix, proc); in main()
177 exp_fd = open_file(exp_prefix, proc); in main()
178 got_fd = open_file(got_prefix, proc); in main()
179 out_fd = open_file(out_prefix, proc); in main()
/external/strace/tests-mx32/
Dqual_fault.c105 open_file(const char *prefix, int proc) in open_file() function
163 int pidfd = open_file(pid_prefix, proc); in main()
177 exp_fd = open_file(exp_prefix, proc); in main()
178 got_fd = open_file(got_prefix, proc); in main()
179 out_fd = open_file(out_prefix, proc); in main()
/external/strace/tests/
Dqual_fault.c105 open_file(const char *prefix, int proc) in open_file() function
163 int pidfd = open_file(pid_prefix, proc); in main()
177 exp_fd = open_file(exp_prefix, proc); in main()
178 got_fd = open_file(got_prefix, proc); in main()
179 out_fd = open_file(out_prefix, proc); in main()
/external/bc/gen/
Dstrgen.c65 static void open_file(FILE** f, const char* filename, const char* mode) { in open_file() function
135 open_file(&in, argv[1], "r"); in main()
138 open_file(&out, argv[2], "w"); in main()
/external/python/cpython3/Doc/tools/extensions/
Descape4chm.py44 with app.builder.open_file(outdir, outname + '.hhk', 'r') as f:
46 with app.builder.open_file(outdir, outname + '.hhk', 'w') as f:
/external/python/cpython2/Demo/tkinter/matt/
Dmenu-simple.py40 def open_file(): function
58 command=open_file)
Dmenu-all-types-of-entries.py40 def open_file(): function
74 command=open_file)
/external/python/cpython3/Lib/test/
Dtest_modulefinder.py293 def open_file(path): function
316 ofi = open_file(os.path.join(TEST_DIR, line.strip()))
386 with open_file(source_path) as file:
Dtest_devpoll.py92 open_file = open(__file__, "rb")
93 self.addCleanup(open_file.close)
94 fd = open_file.fileno()
Dtest_epoll.py234 open_file = open(__file__, "rb")
235 self.addCleanup(open_file.close)
236 fd = open_file.fileno()
Dtest_kqueue.py234 open_file = open(__file__, "rb")
235 self.addCleanup(open_file.close)
236 fd = open_file.fileno()
/external/autotest/contrib/
Ddhcp_failed_machines.py45 def open_file(f): function
51 with open_file(sys.argv[1]) as f:
/external/fsverity-utils/programs/
Dcmd_enable.c26 if (!open_file(&file, filename, O_RDONLY, 0)) in read_signature()
97 if (!open_file(&file, argv[0], O_RDONLY, 0)) in fsverity_cmd_enable()
Dcmd_sign.c22 if (!open_file(&file, filename, O_WRONLY|O_CREAT|O_TRUNC, 0644)) in write_signature()
92 if (!open_file(&file, argv[0], O_RDONLY, 0)) in fsverity_cmd_sign()
Dtest_sign_digest.c44 ASSERT(open_file(&file, "testdata/file.sig", O_RDONLY, 0)); in main()
Dutils.h41 bool open_file(struct filedes *file, const char *filename, int flags, int mode);
Dcmd_measure.c37 if (!open_file(&file, argv[i], O_RDONLY, 0)) in fsverity_cmd_measure()
/external/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc6.c121 int open_file(char *, int);
180 fd = open_file(filename, O_RDWR); in main()
260 int open_file(char *file, int open_mode) in open_file() function
/external/python/cpython2/Lib/test/
Dtest_modulefinder.py206 def open_file(path): function
221 ofi = open_file(os.path.join(TEST_DIR, line.strip()))
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify04.c100 static void open_file(char *file) in open_file() function
207 open_file(fname); in test01()
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c39 void open_file() in open_file() function
189 open_file(); in main()
/external/autotest/client/common_lib/
Dpidfile.py12 def open_file(self): member in PidFileManager
/external/mesa3d/src/amd/compiler/tests/
Dglsl_scraper.py272 def open_file(name, mode): function
313 with open_file(infname, 'r') as infile:
320 with open_file(outfname, 'w') as outfile:
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dtext_line_dataset_test.py170 self.assertNotIn(filename, [open_file.path for open_file in open_files])

123