Searched refs:calledfuncs (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | trace.py | 222 def __init__(self, counts=None, calledfuncs=None, infile=None, argument 228 self.calledfuncs = calledfuncs 229 if self.calledfuncs is None: 230 self.calledfuncs = {} 231 self.calledfuncs = self.calledfuncs.copy() 241 counts, calledfuncs, callers = \ 243 self.update(self.__class__(counts, calledfuncs, callers)) 251 calledfuncs = self.calledfuncs 254 other_calledfuncs = other.calledfuncs 261 calledfuncs[key] = 1 [all …]
|
/external/python/cpython3/Lib/ |
D | trace.py | 171 def __init__(self, counts=None, calledfuncs=None, infile=None, argument 177 self.calledfuncs = calledfuncs 178 if self.calledfuncs is None: 179 self.calledfuncs = {} 180 self.calledfuncs = self.calledfuncs.copy() 191 counts, calledfuncs, callers = pickle.load(f) 192 self.update(self.__class__(counts, calledfuncs, callers)) 206 calledfuncs = self.calledfuncs 209 other_calledfuncs = other.calledfuncs 216 calledfuncs[key] = 1 [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_trace.py | 229 self.assertEqual(self.tracer.results().calledfuncs, expected) 241 self.assertEqual(self.tracer.results().calledfuncs, expected) 252 self.assertEqual(self.tracer.results().calledfuncs, expected)
|
/external/python/cpython3/Lib/test/ |
D | test_trace.py | 238 self.assertEqual(self.tracer.results().calledfuncs, expected) 250 self.assertEqual(self.tracer.results().calledfuncs, expected) 263 self.assertEqual(self.tracer.results().calledfuncs, expected)
|