/third_party/fsverity-utils/programs/ |
H A D | cmd_enable.c | 26 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()
|
H A D | cmd_sign.c | 22 if (!open_file(&file, filename, O_WRONLY|O_CREAT|O_TRUNC, 0644)) in write_signature() 116 if (!open_file(&file, argv[0], O_RDONLY, 0)) in fsverity_cmd_sign()
|
H A D | test_sign_digest.c | 44 ASSERT(open_file(&file, "testdata/file.sig", O_RDONLY, 0)); in main()
|
H A D | cmd_measure.c | 37 if (!open_file(&file, argv[i], O_RDONLY, 0)) in fsverity_cmd_measure()
|
H A D | utils.h | 41 bool open_file(struct filedes *file, const char *filename, int flags, int mode);
|
H A D | cmd_dump_metadata.c | 128 if (!open_file(&file, argv[1], O_RDONLY, 0)) in fsverity_cmd_dump_metadata()
|
H A D | cmd_digest.c | 73 if (!open_file(&file, argv[i], O_RDONLY, 0)) in fsverity_cmd_digest()
|
H A D | fsverity.c | 272 return open_file(file, arg, O_WRONLY|O_CREAT|O_TRUNC, 0644); in parse_out_metadata_option()
|
H A D | utils.c | 107 bool open_file(struct filedes *file, const char *filename, int flags, int mode) in open_file() function
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
H A D | sched_tc6.c | 121 int open_file(char *, int); 180 fd = open_file(filename, O_RDWR); in main() 254 | open_file () | 260 int open_file(char *file, int open_mode) in open_file() function
|
/third_party/python/Lib/test/ |
H A D | test_modulefinder.py | 290 def open_file(path): function 313 ofi = open_file(os.path.join(test_dir, line.strip())) 387 with open_file(source_path) as file:
|
H A D | test_devpoll.py | 92 open_file = open(__file__, "rb") 93 self.addCleanup(open_file.close) 94 fd = open_file.fileno()
|
H A D | test_epoll.py | 232 open_file = open(__file__, "rb") 233 self.addCleanup(open_file.close) 234 fd = open_file.fileno()
|
H A D | test_kqueue.py | 234 open_file = open(__file__, "rb") 235 self.addCleanup(open_file.close) 236 fd = open_file.fileno()
|
H A D | test_tempfile.py | 1548 with open(temp_path / "a_file.txt", "w+t") as open_file: 1549 open_file.write("Hello world!\n") 1704 with open(temp_path / "a_file.txt", "w+t") as open_file: 1705 open_file.write("Hello world!\n") 1765 open_file = open(temp_dir_2 / "open_file.txt", "w") 1766 open_file.write("Hello world!")
|
/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
H A D | fanotify04.c | 90 static void open_file(char *file) in open_file() function 183 open_file(fname); in test01()
|
/third_party/mesa3d/src/amd/compiler/tests/ |
H A D | glsl_scraper.py | 272 def open_file(name, mode): function 313 with open_file(infname, 'r') as infile: 320 with open_file(outfname, 'w') as outfile:
|
/third_party/ltp/metadata/ |
H A D | metaparse.c | 222 static FILE *open_file(const char *dir, const char *fname) in open_file() function 256 inc = open_file(includepath, fname); in open_include() 265 inc = open_file(cmdline_includepath[i], fname); in open_include()
|
/third_party/elfutils/src/ |
H A D | elfcmp.c | 40 static Elf *open_file (const char *fname, int *fdp, Ebl **eblp); 161 Elf *elf1 = open_file (fname1, &fd1, &ebl1); in main() 166 Elf *elf2 = open_file (fname2, &fd2, &ebl2); in main() 729 open_file (const char *fname, int *fdp, Ebl **eblp) in open_file() function
|
H A D | elfclassify.c | 48 /* Set by open_file. */ 81 open_file (void) in open_file() function 129 if (!open_file ()) in open_elf()
|
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g_common.h | 179 struct open_file *open_files; /* only defined in lowntfs-3g */
|
H A D | lowntfs-3g.c | 214 struct open_file { struct 215 struct open_file *next; 216 struct open_file *previous; 1606 struct open_file *of; in ntfs_fuse_open() 1679 of = (struct open_file*)malloc(sizeof(struct open_file)); in ntfs_fuse_open() 1688 of->previous = (struct open_file*)NULL; in ntfs_fuse_open() 1731 struct open_file *of; in ntfs_fuse_read() 1733 of = (struct open_file*)(long)fi->fh; in ntfs_fuse_read() 1812 struct open_file *o in ntfs_fuse_write() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | concatdec.c | 333 static int open_file(AVFormatContext *avf, unsigned fileno) in open_file() function 684 if ((ret = open_file(avf, 0)) < 0) in concat_read_header() 701 return open_file(avf, fileno); in open_next_file() 871 if ((ret = open_file(avf, left)) < 0) in real_seek() 883 if ((ret = open_file(avf, left + 1)) < 0) in real_seek()
|
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
H A D | segment.c | 284 * open_file() -- open and validate file when registering a file segment. 287 static int open_file(segment_t * segp) in open_file() function 541 return open_file(segp); in segment_register()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsundelete.c | 1891 * open_file - Open a file to write to 1901 static int open_file(const char *pathname) in open_file() function 2048 fd = open_file(pathname); in undelete_file() 2078 fd = open_file(pathname); in undelete_file() 2388 fd = open_file(pathname); in copy_mft()
|