Lines Matching refs:m
16 import math as m namespace
39 x = m.inf
41 x = -m.inf
44 assert isinstance(x, int) or m.isinf(x), x
48 if self.x == m.inf:
50 elif self.x == -m.inf:
56 assert not m.isinf(self.x)
73 if diff == +m.inf:
75 elif diff == -m.inf:
83 if m.isinf(new) and m.isinf(old):
85 elif m.isinf(new):
86 return +m.inf
87 elif m.isinf(old):
88 return -m.inf
168 m = line_pattern.match(line)
169 if m:
170 if not m.group('dir'):
172 dirs[int(m.group('no'))] = m.group('path')
175 dir = int(m.group('dir'))
177 files[int(m.group('no'))] = os.path.join(
179 m.group('path'))
181 files[int(m.group('no'))] = m.group('path')
207 m = info_pattern.match(line)
208 if m:
209 if m.group('tag'):
213 is_struct = (m.group('tag') == 'DW_TAG_structure_type')
214 elif m.group('name'):
215 s_name = m.group('name')
216 elif m.group('file'):
217 s_file = int(m.group('file'))
218 elif m.group('size'):
219 s_size = int(m.group('size'))
404 '+∞%' if t == +m.inf
405 else '-∞%' if t == -m.inf
410 '+∞%' if t == +m.inf
411 else '-∞%' if t == -m.inf