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/ |
D | test_xrange.py | 101 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|
D | pickletester.py | 14 assert pickle.HIGHEST_PROTOCOL == cPickle.HIGHEST_PROTOCOL == 2 15 protocols = range(pickle.HIGHEST_PROTOCOL + 1) 1078 self.assertEqual(self.module.HIGHEST_PROTOCOL, 2)
|
D | test_exceptions.py | 298 for protocol in range(p.HIGHEST_PROTOCOL + 1):
|
D | test_array.py | 10 from cPickle import loads, dumps, HIGHEST_PROTOCOL 100 for protocol in range(HIGHEST_PROTOCOL + 1): 115 for protocol in range(HIGHEST_PROTOCOL + 1):
|
D | test_bytes.py | 406 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 1077 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|
D | test_deque.py | 459 for i in range(pickle.HIGHEST_PROTOCOL + 1):
|
D | test_memoryio.py | 385 for proto in range(2, pickle.HIGHEST_PROTOCOL):
|
D | test_set.py | 230 for i in range(pickle.HIGHEST_PROTOCOL + 1):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | pickle.py | 51 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/ |
D | test_runner.py | 232 for protocol in range(pickle.HIGHEST_PROTOCOL + 1):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | cPickle.c | 18 #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/ |
D | cPickle.c | 18 #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/ |
D | Misc.py | 513 cPickle.dump(Data, Fd, cPickle.HIGHEST_PROTOCOL)
|