Lines Matching defs:block
139 def block(self, prefix: str, suffix: str = "") -> None:
146 with self.block(".ob_base =", ","):
151 with self.block(".ob_base =", ","):
165 with self.block("struct"):
169 with self.block(f"{name} =", ";"):
191 with self.block("struct"):
198 with self.block(f"{name} =", ";"):
200 with self.block("._ascii =", ","):
204 with self.block(".state =", ","):
212 with self.block("._compact =", ","):
213 with self.block("._base =", ","):
217 with self.block(".state =", ","):
222 with self.block(f"._data =", ","):
260 with self.block(f"{name} =", ";"):
305 with self.block("struct"):
307 with self.block("struct", "_object;"):
311 with self.block(f"{name} =", ";"):
312 with self.block("._object =", ","):
315 with self.block(f".ob_item =", ","):
329 with self.block("struct"):
332 with self.block(f"{name} =", ";"):
360 with self.block(f"static PyFloatObject {name} =", ";"):
366 with self.block(f"static PyComplexObject {name} =", ";"):
384 with self.block(f"static void {module}_do_patchups(void)"):
471 with printer.block(f"void\n_Py_Deepfreeze_Fini(void)"):
474 with printer.block(f"int\n_Py_Deepfreeze_Init(void)"):
476 with printer.block(f"if ({p} < 0)"):