Home
last modified time | relevance | path

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

/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.cocci199 // XXX .open = nonseekable_open -> .open = stream_open
200 // XXX .open = func -> openfunc -> nonseekable_open
212 .open = openfunc,
280 .open = openfunc,
328 .open = openfunc,
/scripts/
Ddiffconfig97 a = readconfig(open(configa_filename))
98 b = readconfig(open(configb_filename))
138 devnull = os.open(os.devnull, os.O_WRONLY)
Djobserver-exec30 reader = os.open("/proc/self/fd/%d" % (reader),
Dshow_delta95 lines = open(filein,"r").readlines()
Dspdxcheck.py47 for l in open(el.path, encoding="utf-8").readlines():
216 with open(el.path, 'rb') as fd:
269 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)
Dinsert-sys-cert.c207 fd = open(file_name, O_RDWR); in map_file()
234 fd = open(file_name, O_RDONLY); in read_file()
Drecordmcount.c178 fd_map = open(fname, O_RDONLY); in mmap_file()
336 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode); in write_file()
Dsorttable.c81 fd = open(fname, O_RDWR); in mmap_file()
Dbpf_doc.py86 self.reader = open(filename, 'r')
Dasn1_compiler.c594 fd = open(filename, O_RDONLY); in main()
Dcheckpatch.pl1876 my ($linenr, $remain, $outer, $open, $close, $off) = @_;
1911 } elsif ($c eq $open) {
/scripts/clang-tools/
Dgen_compile_commands.py153 with open(modorder) as f:
161 with open(mod) as m:
229 with open(cmdfile, 'rt') as f:
240 with open(output, 'wt') as f:
Drun-clang-tools.py69 with open(args.path, "r") as f:
75 devnull = os.open(os.devnull, os.O_WRONLY)
/scripts/gdb/linux/
Dconfig.py38 with open(filename, 'wb') as f:
Dproc.py265 f = open(filename, 'wb')
/scripts/kconfig/tests/
Dconftest.py94 with open(os.path.join(temp_dir, out_file)) as f:
230 with open(os.path.join(self._test_dir, expected)) as f:
/scripts/dtc/
Dutil.c244 fd = open(filename, O_RDONLY); in utilfdt_read_err()
300 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666); in utilfdt_write_err()
/scripts/kconfig/
Dconfdata.c49 fd1 = open(file1, O_RDONLY); in is_same()
53 fd2 = open(file2, O_RDONLY); in is_same()
143 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_touch_dep()
153 fd = open(depfile_path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in conf_touch_dep()
Dqconf.h91 void setAllOpen(bool open);
Dqconf.cc920 void ConfigList::setAllOpen(bool open) in setAllOpen() argument
925 (*it)->setExpanded(open); in setAllOpen()
/scripts/basic/
Dfixdep.c236 fd = open(filename, O_RDONLY); in read_file()
/scripts/gcc-plugins/
Dlatent_entropy_plugin.c106 urandom_fd = open("/dev/urandom", O_RDONLY); in get_random_const()
/scripts/mod/
Dmodpost.c118 fd = open(filename, O_RDONLY); in read_text_file()
454 fd = open(filename, O_RDONLY); in grab_file()