Home
last modified time | relevance | path

Searched refs:count_opcode (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dpickletester.py60 def count_opcode(code, pickle): function
1826 self.assertEqual(count_opcode(pickle.PROTO, pickled), 0)
2044 num_appends = count_opcode(pickle.APPENDS, s)
2053 num_appends = count_opcode(pickle.APPENDS, s)
2067 num_setitems = count_opcode(pickle.SETITEMS, s)
2076 num_setitems = count_opcode(pickle.SETITEMS, s)
2089 num_additems = count_opcode(pickle.ADDITEMS, s)
2101 num_additems = count_opcode(pickle.ADDITEMS, s)
2389 count_opcode(pickle.FRAME, pickled))
2422 n_frames = count_opcode(pickle.FRAME, pickled)
[all …]
/external/python/cpython2/Lib/test/
Dpickletester.py87 def count_opcode(code, pickle): function
1354 num_appends = count_opcode(pickle.APPENDS, s)
1363 num_appends = count_opcode(pickle.APPENDS, s)
1376 num_setitems = count_opcode(pickle.SETITEMS, s)
1385 num_setitems = count_opcode(pickle.SETITEMS, s)