Home
last modified time | relevance | path

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

12

/scripts/coccinelle/api/
Dsimple_open.cocci2 /// Remove an open coded simple_open() function
13 @ open depends on patch @
28 @ has_open depends on open @
30 identifier open.open_f;
34 -.open = open_f,
35 +.open = simple_open,
62 .open = open_f@p,
Dstream_open.cocci198 // XXX .open = nonseekable_open -> .open = stream_open
199 // XXX .open = func -> openfunc -> nonseekable_open
211 .open = openfunc,
279 .open = openfunc,
327 .open = openfunc,
/scripts/
Dmake_fit.py178 with open(comp_fname.name, 'wb') as outf:
189 with open(comp_fname.name, 'rb') as compf:
210 with open(fname, 'rb') as inf:
228 with open(fname, 'rb') as inf:
238 with open(cmd_fname, 'r', encoding='ascii') as inf:
272 with open(args.kernel, 'rb') as inf:
306 with open(args.output, 'wb') as outf:
315 with open(args.output, 'rb') as inf:
Djobserver-exec35 reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK)
36 writer = os.open(path, os.O_WRONLY)
41 reader = os.open("/proc/self/fd/%d" % (reader),
Ddiffconfig97 a = readconfig(open(configa_filename))
98 b = readconfig(open(configb_filename))
138 devnull = os.open(os.devnull, os.O_WRONLY)
Dgenerate_rust_analyzer.py24 with open(objtree / "include" / "generated" / "rustc_cfg") as fd:
126 return f"{target}.o" in open(build_file).read()
Dshow_delta95 lines = open(filein,"r").readlines()
Dspdxcheck.py63 for l in open(el.path, encoding="utf-8").readlines():
300 with open(el.path, 'rb') as fd:
312 with open(fname) as fd:
384 parser.parse_lines(open(p, 'rb'), args.maxlines, p)
Dcheckkconfigsymbols.py393 with open(sfile, "r", encoding='utf-8', errors='replace') as stream:
441 with open(kfile, "r", encoding='utf-8', errors='replace') as stream:
476 devnull = os.open(os.devnull, os.O_WRONLY)
Dmacro_checker.py78 with open(file_path, "r") as f:
Drustdoc_test_gen.rs156 File::open(path).unwrap().read_to_string(&mut body).unwrap(); in main()
Dinsert-sys-cert.c207 fd = open(file_name, O_RDWR); in map_file()
234 fd = open(file_name, O_RDONLY); in read_file()
Drecordmcount.c186 fd_map = open(fname, O_RDONLY); in mmap_file()
344 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode); in write_file()
Drust_is_available_test.py31 with open(path, "w") as file_:
97 with open(cls.nonexecutable, "w") as file_:
/scripts/clang-tools/
Dgen_compile_commands.py139 with open(modorder) as f:
147 with open(mod) as m:
212 with open(cmdfile, 'rt') as f:
223 with open(output, 'wt') as f:
Drun-clang-tools.py88 with open(args.path, "r") as f:
94 devnull = os.open(os.devnull, os.O_WRONLY)
/scripts/dtc/
Ddt-extract-compatibles59 with open(file, 'r', encoding='utf-8') as f:
80 with open(file, 'r', encoding='utf-8') as f:
Dutil.c255 fd = open(filename, O_RDONLY); in utilfdt_read_err()
311 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666); in utilfdt_write_err()
/scripts/gdb/linux/
Dconfig.py38 with open(filename, 'wb') as f:
Dproc.py267 f = open(filename, 'wb')
/scripts/kconfig/tests/
Dconftest.py94 with open(os.path.join(temp_dir, out_file)) as f:
234 with open(os.path.join(self._test_dir, expected)) as f:
/scripts/gendwarfksyms/
Dgendwarfksyms.c154 fd = open(argv[n], O_RDONLY); in main()
/scripts/kconfig/
Dconfdata.c54 fd1 = open(file1, O_RDONLY); in is_same()
58 fd2 = open(file2, O_RDONLY); in is_same()
145 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_touch_dep()
Dqconf.h91 void setAllOpen(bool open);
/scripts/basic/
Dfixdep.c219 fd = open(filename, O_RDONLY); in read_file()

12