Home
last modified time | relevance | path

Searched refs:marshal (Results 1 – 25 of 31) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dbuffer_tests.py12 def marshal(self, x): member in MixinBytesBufferCommonTests
17 self.assertFalse(self.marshal(b'').islower())
18 self.assertTrue(self.marshal(b'a').islower())
19 self.assertFalse(self.marshal(b'A').islower())
20 self.assertFalse(self.marshal(b'\n').islower())
21 self.assertTrue(self.marshal(b'abc').islower())
22 self.assertFalse(self.marshal(b'aBc').islower())
23 self.assertTrue(self.marshal(b'abc\n').islower())
24 self.assertRaises(TypeError, self.marshal(b'abc').islower, 42)
27 self.assertFalse(self.marshal(b'').isupper())
[all …]
Dtest_marshal.py5 import marshal
16 s = marshal.dumps(expected)
17 got = marshal.loads(s)
19 marshal.dump(expected, file(test_support.TESTFN, "wb"))
20 got = marshal.load(file(test_support.TESTFN, "rb"))
42 got = marshal.loads(s)
51 new = marshal.loads(marshal.dumps(b))
54 marshal.dump(b, file(test_support.TESTFN, "wb"))
55 new = marshal.load(file(test_support.TESTFN, "rb"))
67 s = marshal.dumps(f)
[all …]
Dtest_getargs.py15 import marshal
25 self.assertRaises(UnicodeError, marshal.loads, arg)
Dtest_imp.py64 import marshal
65 imp.reload(marshal)
Dsortperf.py11 import marshal
31 marshal.dump(result, fp)
43 result = marshal.load(fp)
Dtest_bool.py303 import marshal
304 self.assertIs(marshal.loads(marshal.dumps(True)), True)
305 self.assertIs(marshal.loads(marshal.dumps(False)), False)
Dtest_import.py2 import marshal
342 code = marshal.load(f)
354 marshal.dump(code, f)
Dtest_zipimport.py3 import marshal
29 data = marshal.dumps(co)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/
Ddumppyc.py3 import marshal
17 co = marshal.load(f)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dmakefreeze.py1 import marshal
47 str = marshal.dumps(m.__code__)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpy_compile.py8 import marshal
126 marshal.dump(codeobject, fc)
DcProfile.py84 import marshal
87 marshal.dump(self.stats, f)
Dimputil.py23 import marshal
438 marshal.dump(code, f)
593 code = marshal.load(f)
Dpkgutil.py21 import marshal
28 return marshal.load(stream)
Dpstats.py38 import marshal
122 self.stats = marshal.load(f)
179 marshal.dump(self.stats, f)
Dprofile.py39 import marshal
424 marshal.dump(self.stats, f)
Dihooks.py314 import marshal
316 code = marshal.load(file)
Dmodulefinder.py7 import marshal
296 co = marshal.load(fp)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/
Dnewslist.py35 import sys, nntplib, marshal, time, os
265 tree = marshal.load(dump)
273 groups = marshal.dump(tree, dump)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dgencodec.py29 import re, os, marshal, codecs
366 marshal.dump(d,f)
408 map = marshal.load(open(os.path.join(dir,mapname),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/
DPythonReadMe.txt46 edk2 errno imp marshal
195 marshal Python/marshal.c
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dpkgutil.py21 import marshal
28 return marshal.load(stream)
Dmodulefinder.py7 import marshal
296 co = marshal.load(fp)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/
DPy2710ReadMe.txt62 edk2 errno imp marshal
217 marshal Python/marshal.c
DPython2710.inf73 PyMod-$(PYTHON_VERSION)/Python/marshal.c

12