Home
last modified time | relevance | path

Searched refs:HIGHEST_PROTOCOL (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xrange.py101 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
Dpickletester.py14 assert pickle.HIGHEST_PROTOCOL == cPickle.HIGHEST_PROTOCOL == 2
15 protocols = range(pickle.HIGHEST_PROTOCOL + 1)
1078 self.assertEqual(self.module.HIGHEST_PROTOCOL, 2)
Dtest_exceptions.py298 for protocol in range(p.HIGHEST_PROTOCOL + 1):
Dtest_array.py10 from cPickle import loads, dumps, HIGHEST_PROTOCOL
100 for protocol in range(HIGHEST_PROTOCOL + 1):
115 for protocol in range(HIGHEST_PROTOCOL + 1):
Dtest_bytes.py406 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
1077 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
Dtest_deque.py459 for i in range(pickle.HIGHEST_PROTOCOL + 1):
Dtest_memoryio.py385 for proto in range(2, pickle.HIGHEST_PROTOCOL):
Dtest_set.py230 for i in range(pickle.HIGHEST_PROTOCOL + 1):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpickle.py51 HIGHEST_PROTOCOL = 2 variable
200 protocol = HIGHEST_PROTOCOL
201 elif not 0 <= protocol <= HIGHEST_PROTOCOL:
202 raise ValueError("pickle protocol must be <= %d" % HIGHEST_PROTOCOL)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_runner.py232 for protocol in range(pickle.HIGHEST_PROTOCOL + 1):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
DcPickle.c18 #define HIGHEST_PROTOCOL 2 macro
3023 proto = HIGHEST_PROTOCOL; in newPicklerobject()
3024 if (proto > HIGHEST_PROTOCOL) { in newPicklerobject()
3027 proto, HIGHEST_PROTOCOL); in newPicklerobject()
4701 if (i <= HIGHEST_PROTOCOL) in load_proto()
6040 i = PyModule_AddIntConstant(m, "HIGHEST_PROTOCOL", HIGHEST_PROTOCOL); in initcPickle()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
DcPickle.c18 #define HIGHEST_PROTOCOL 2 macro
2991 proto = HIGHEST_PROTOCOL; in newPicklerobject()
2992 if (proto > HIGHEST_PROTOCOL) { in newPicklerobject()
2995 proto, HIGHEST_PROTOCOL); in newPicklerobject()
4666 if (i <= HIGHEST_PROTOCOL) in load_proto()
6005 i = PyModule_AddIntConstant(m, "HIGHEST_PROTOCOL", HIGHEST_PROTOCOL); in initcPickle()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py510 cPickle.dump(Data, Fd, cPickle.HIGHEST_PROTOCOL)