Lines Matching refs:str
13 def ToPerfJson(self) -> str:
17 def ToPython(self) -> str:
29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
32 def __str__(self) -> str:
115 def __init__(self, operator: str, lhs: Union[int, float, Expression],
123 other_str: str,
124 rhs: bool = False) -> str:
138 other_str (str): ``other`` in the appropriate string form
142 str: possibly bracketed other_str
198 def Substitute(self, name: str, expression: Expression) -> Expression:
246 def Substitute(self, name: str, expression: Expression) -> Expression:
259 fn: str,
296 def Substitute(self, name: str, expression: Expression) -> Expression:
306 def _FixEscapes(s: str) -> str:
314 def __init__(self, name: str, legacy_name: str = ''):
331 def Substitute(self, name: str, expression: Expression) -> Expression:
338 def __init__(self, value: Union[float, str]):
358 def Substitute(self, name: str, expression: Expression) -> Expression:
365 def __init__(self, value: str):
380 def Substitute(self, name: str, expression: Expression) -> Expression:
423 groups: Set[str]
425 scale_unit: str
429 name: str,
430 description: str,
432 scale_unit: str,
458 def ToPerfJson(self) -> Dict[str, str]:
490 def __init__(self, name: str, metric_list: List[Union[Metric,
510 def ToPerfJson(self) -> str:
513 def __str__(self) -> str:
531 def ParsePerfJson(orig: str) -> Expression:
541 orig (str): String to parse.
574 def RewriteMetricsInTermsOfOthers(metrics: List[Tuple[str, str, Expression]]
575 )-> Dict[Tuple[str, str], Expression]:
583 updates: Dict[Tuple[str, str], Expression] = dict()