/scripts/ |
A D | rustdoc_test_gen.rs | 62 let joined_potential_components = potential_components.join("_") + ".rs"; in find_real_path() 64 .join("rust/kernel") in find_real_path() 65 .join(prefix) in find_real_path() 66 .join(&joined_potential_components) in find_real_path() 72 .join(prefix) in find_real_path() 73 .join(joined_potential_components), in find_real_path() 81 let prefix = prefix.join(components_prefix.join("_")); in find_real_path() 82 if srctree.join("rust/kernel").join(&prefix).is_dir() { in find_real_path()
|
A D | checktransupdate.py | 40 return "/".join(opaths) 171 linux_path = os.path.join(script_path, "..") 189 ab_item = os.path.join(pwd, item) 235 linux_path = os.path.join(script_path, "..") 277 os.path.join(linux_path, "Documentation"), ["translations", "output"], "rst" 289 new_file = os.sep.join(new_path_parts)
|
A D | test_doc_build.py | 215 self.log("$ " + " ".join(cmd), verbose) 233 cmd=" ".join(cmd), 270 ver = ".".join(map(str, cur_ver)) 288 pip = os.path.join(venv_dir, "bin/pip") 312 bin_dir = os.path.join(venv_dir, "bin") 409 DEFAULT_VERS += "\n - ".join(map(lambda v: f"{v[0]}.{v[1]}.{v[2]}",
|
A D | checkkconfigsymbols.py | 128 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims))) 186 print("%s: %s" % (yel("Referencing files"), ", ".join(files))) 191 print("%s: %s" % (sims_out, ', '.join(sims))) 318 pool.join()
|
A D | gen-crc-consts.py | 179 print('\t.bswap_mask = {' + ', '.join(str(i) for i in reversed(range(16))) + '},') 220 print('\t\t' + ''.join(f'{i:2}, ' for i in range(16)).rstrip())
|
A D | make_fit.py | 155 fsw.property('fdt', bytes(''.join(f'fdt-{x}\x00' for x in files), "ascii")) 237 cmd_fname = os.path.join(path, f'.{basename}.cmd')
|
A D | macro_checker.py | 113 path = os.path.join(dir_path, dentry)
|
A D | get_abi.py | 20 sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
|
A D | kernel-doc.py | 108 sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
|
A D | check-uapi.sh | 58 join() { function 118 changed_enumerators_regexp = $(join , "${enum_regex[@]}")
|
A D | bpf_doc.py | 890 print('%s ' % (" ".join(helper.attrs)), end='') 957 bpfh = os.path.join(linuxRoot, 'include/uapi/linux/bpf.h')
|
A D | spdxcheck.py | 376 fname = os.path.join(os.path.dirname(__file__), 'spdxexclude')
|
/scripts/kconfig/tests/ |
A D | conftest.py | 18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf')) 66 shutil.copyfile(os.path.join(self._test_dir, dot_config), 67 os.path.join(temp_dir, '.config')) 94 with open(os.path.join(temp_dir, out_file)) as f: 104 print("[command]\n{}\n".format(' '.join(command))) 154 defconfig_path = os.path.join(self._test_dir, defconfig) 159 all_config_path = os.path.join(self._test_dir, all_config) 234 with open(os.path.join(self._test_dir, expected)) as f:
|
/scripts/clang-tools/ |
A D | gen_compile_commands.py | 86 exclude_dirs = [ os.path.join(directory, d) for d in _EXCLUDE_DIRS ] 96 yield os.path.join(dirpath, filename) 109 return os.path.join(dir, '.' + base + '.cmd') 176 abs_path = os.path.realpath(os.path.join(root_directory, file_path))
|
A D | run-clang-tools.py | 69 pargs = ["clang-tidy", "-p", args.path, "-checks=" + ",".join(checks)]
|
/scripts/lib/abi/ |
A D | system_symbols.py | 74 k += " links: " + ",".join(names[1:]) 97 path = os.path.join(root, entry.name) 170 self.re_ignore = re.compile("|".join(dont_walk)) 267 print(", ".join(ref))
|
A D | abi_parser.py | 358 name = os.path.join(root, entry.name) 572 m += ", ".join(str(x) for x in lines) 575 self.log.warning("%s is defined %d times: %s", what, len(f), "; ".join(f)) 621 print("Defined on file(s):\t" + ", ".join(files))
|
/scripts/dtc/ |
A D | dt-extract-compatibles | 92 compat_str = ' '.join(compatibles) 105 yield os.path.join(path, f)
|
/scripts/gdb/linux/ |
A D | timerlist.py | 64 text += "".join([x for x in print_active_timers(base)]) 86 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts]) 178 return "".join(str(chunks))
|
A D | genpd.py | 62 ', '.join(child_names)))
|
A D | symbols.py | 171 textaddr=textaddr, sections="".join(args))
|
A D | slab.py | 231 gdb.write(','.join(str(cpu) for cpu in loc['cpus']))
|
/scripts/lib/kdoc/ |
A D | kdoc_files.py | 50 name = os.path.join(dirname, entry.name) 76 f = os.path.join(self.srctree, fname)
|
A D | kdoc_parser.py | 148 return '\n'.join(self._contents) + '\n' 461 dtype = ' '.join(first_arg) 538 definition_body = r'\{(.*)\}\s*' + "(?:" + '|'.join(qualifiers) + ")?" 688 oldmember = "".join(t)
|
/scripts/crypto/ |
A D | gen-hash-testvecs.py | 73 line = prefix + ''.join(f'0x{b:02x}, ' for b in value[i:i+bytes_per_line])
|