Lines Matching refs:s
147 s = f"""\
163 s += f" {scc[0].dep_ordinal:<3} {scc[0].path}\n"
165 s += """
170 out_comment(s, blank_before=False)
183 s = f"""\
191 s += f"""
196 s += f"""
213 s += ("\n(Descriptions have moved to the Devicetree Bindings Index\n"
216 out_comment(s)
978 def str2ident(s: str) -> str:
981 return re.sub('[-,.@/+]', '_', s.lower())
1025 s = f"#define {macro.ljust(width)}{warn} {val}"
1027 s = f"#define {macro}{warn} {val}"
1029 print(s, file=header_file)
1032 def out_comment(s: str, blank_before=True) -> None:
1040 if "\n" in s:
1050 for line in s.splitlines():
1072 def escape(s: str) -> str:
1075 return s.translate(ESCAPE_TABLE)
1078 def quote_str(s: str) -> str:
1085 def escape_unquoted(s: str) -> str:
1091 return s.replace("\r", " ").replace("\n", " ")
1094 def err(s: str) -> NoReturn:
1095 raise Exception(s)