/third_party/python/Lib/test/ |
D | test_marshal.py | 5 import marshal 18 new = marshal.loads(marshal.dumps(sample, *extra)) 22 marshal.dump(sample, f, *extra) 24 new = marshal.load(f) 45 got = marshal.loads(s) 52 got = marshal.loads(b'I\xfe\xdc\xba\x98\x76\x54\x32\x10') 54 got = marshal.loads(b'I\x01\x23\x45\x67\x89\xab\xcd\xef') 56 got = marshal.loads(b'I\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f') 58 got = marshal.loads(b'I\xf7\xe6\xd5\xc4\xb3\xa2\x91\x80') 76 s = marshal.dumps(f, 2) [all …]
|
D | audit-tests.py | 111 import marshal 113 payload = marshal.dumps(o) 116 assertEqual(o, marshal.loads(marshal.dumps(o))) 120 marshal.dump(o, f) 122 assertEqual(o, marshal.load(f)) 127 assertSequenceEqual(actual, [(o, marshal.version)] * 2)
|
D | sortperf.py | 11 import marshal 31 marshal.dump(result, fp) 43 result = marshal.load(fp)
|
D | test_bool.py | 265 import marshal 266 self.assertIs(marshal.loads(marshal.dumps(True)), True) 267 self.assertIs(marshal.loads(marshal.dumps(False)), False)
|
/third_party/python/Doc/library/ |
D | marshal.rst | 1 :mod:`marshal` --- Internal Python object serialization 4 .. module:: marshal 23 :mod:`shelve`. The :mod:`marshal` module exists mainly to support reading and 25 Therefore, the Python maintainers reserve the right to modify the marshal format 29 supports a substantially wider range of objects than marshal. 33 The :mod:`marshal` module is not intended to be secure against erroneous or 69 .. audit-event:: marshal.dumps value,version marshal.dump 75 (e.g. because the data has a different Python version's incompatible marshal 79 .. audit-event:: marshal.load "" marshal.load 89 it raises a single ``marshal.load`` event for the entire load operation. [all …]
|
D | persistence.rst | 8 persistent form on disk. The :mod:`pickle` and :mod:`marshal` modules can turn 21 marshal.rst
|
/third_party/jinja2/ |
D | _compat.py | 3 import marshal 40 marshal_dump = marshal.dump 41 marshal_load = marshal.load 82 marshal.dump(code, f) 84 f.write(marshal.dumps(code)) 88 return marshal.load(f) 89 return marshal.loads(f.read())
|
D | bccache.py | 10 import marshal 77 self.code = marshal.load(f) 88 marshal.dump(self.code, f)
|
/third_party/skia/third_party/externals/jinja2/ |
D | _compat.py | 3 import marshal 40 marshal_dump = marshal.dump 41 marshal_load = marshal.load 82 marshal.dump(code, f) 84 f.write(marshal.dumps(code)) 88 return marshal.load(f) 89 return marshal.loads(f.read())
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | bccache.py | 22 import marshal 32 marshal_dump = marshal.dump 33 marshal_load = marshal.load 38 marshal.dump(code, f) 40 f.write(marshal.dumps(code)) 44 return marshal.load(f) 45 return marshal.loads(f.read())
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
D | marshal_XML.py | 59 self.marshal = element.get('marshal') 69 if self.marshal is not None: 70 return self.marshal
|
D | gl_marshal.py | 226 p.size_string(marshal = 1), p.get_base_type_string(), 231 p.size_string(marshal = 1), p.get_base_type_string(), 280 … out('variable_data += {0};'.format(p.size_string(False, marshal = 1))) 282 out('variable_data += {0};'.format(p.size_string(False, marshal = 1))) 329 out('int {0}_size = {1};'.format(p.name, p.size_string(marshal = 1)))
|
D | gl_API.dtd | 42 marshal NMTOKEN #IMPLIED attribute 128 marshal - One of "sync", "async", or "custom", defaulting to 133 generated but a custom implementation will be present in marshal.c. 138 marshal_call_before - insert the string at the beginning of the marshal 140 marshal_call_after - insert the string at the end of the marshal function
|
D | gl_XML.py | 566 def size_string(self, use_parens = 1, marshal = 0): argument 575 if self.counter or self.count_parameter_list or (self.marshal_count and marshal): 578 if self.marshal_count and marshal:
|
/third_party/python/Tools/pynche/ |
D | Switchboard.py | 45 import marshal 65 self.__optiondb = marshal.load(fp) 124 marshal.dump(self.__optiondb, fp)
|
/third_party/python/Tools/freeze/ |
D | regen_frozen.py | 4 import marshal 21 co_bytes = marshal.dumps(co)
|
D | makefreeze.py | 1 import marshal 46 str = marshal.dumps(m.__code__)
|
/third_party/python/Modules/ |
D | config.c.in | 38 /* This module lives in marshal.c */ 39 {"marshal", PyMarshal_Init},
|
/third_party/python/Tools/unicode/ |
D | gencodec.py | 29 import re, os, marshal, codecs 370 marshal.dump(d,f) 412 map = marshal.load(f)
|
/third_party/libffi/src/riscv/ |
D | ffi.c | 209 static void marshal(call_builder *cb, ffi_type *type, int var, void *data) { in marshal() function 366 marshal(&cb, &ffi_type_pointer, 0, &rvalue); in ffi_call_int() 370 marshal(&cb, cif->arg_types[i], i >= cif->riscv_nfixedargs, avalue[i]); in ffi_call_int() 479 marshal(&cb, cif->rtype, 0, rvalue); in ffi_closure_inner()
|
/third_party/python/Lib/ |
D | cProfile.py | 45 import marshal 48 marshal.dump(self.stats, f)
|
D | pstats.py | 26 import marshal 142 self.stats = marshal.load(f) 197 marshal.dump(self.stats, f)
|
/third_party/python/Doc/c-api/ |
D | utilities.rst | 17 marshal.rst
|
/third_party/python/Lib/idlelib/ |
D | rpc.py | 32 import marshal 47 co = marshal.loads(ms) 54 ms = marshal.dumps(co)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a2.rst | 290 marshal.dumps() is now 20-25% faster on average. 299 marshal.dumps() with protocols 3 and 4 is now 40-50% faster on average.
|