Lines Matching defs:str
30 def camel_to_upper(value: str) -> str:
61 def c_enum_const(type_name: str,
62 const_name: str,
63 prefix: Optional[str] = None) -> str:
76 def c_name(name: str, protect: bool = True) -> str:
156 def cgen(code: str, **kwds: object) -> str:
169 def mcgen(code: str, **kwds: object) -> str:
175 def c_fname(filename: str) -> str:
179 def guardstart(name: str) -> str:
188 def guardend(name: str) -> str:
196 def gen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]],
197 cond_fmt: str, not_fmt: str,
198 all_operator: str, any_operator: str) -> str:
200 def do_gen(ifcond: Union[str, Dict[str, Any]],
215 def gen_infix(operator: str, operands: Sequence[Any]) -> str:
223 def cgen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]]) -> str:
227 def docgen_ifcond(ifcond: Optional[Union[str, Dict[str, Any]]]) -> str:
232 def gen_if(cond: str) -> str:
240 def gen_endif(cond: str) -> str:
248 def must_match(pattern: str, string: str) -> Match[str]: