HomeSort by relevance Sort by last modified time
    Searched full:marshal (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
buffer_tests.py 12 def marshal(self, x): member in class:MixinBytesBufferCommonTests
14 raise RuntimeError('test class must provide a marshal method')
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
    [all...]
test_marshal.py 5 import marshal namespace
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")
    [all...]
test_getargs.py 10 # marshal.loads() uses PyArg_ParseTuple(args, "s#:loads")
15 import marshal namespace
25 self.assertRaises(UnicodeError, marshal.loads, arg)
test_imp.py 63 with test_support.CleanImport('marshal'):
64 import marshal namespace
65 imp.reload(marshal)
double_const.py 9 # the marshal format for doubles. It's also possible that repr() doesn't
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
buffer_tests.py 12 def marshal(self, x): member in class:MixinBytesBufferCommonTests
14 raise RuntimeError('test class must provide a marshal method')
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
    [all...]
test_marshal.py 5 import marshal namespace
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")
    [all...]
test_getargs.py 10 # marshal.loads() uses PyArg_ParseTuple(args, "s#:loads")
15 import marshal namespace
25 self.assertRaises(UnicodeError, marshal.loads, arg)
test_imp.py 63 with test_support.CleanImport('marshal'):
64 import marshal namespace
65 imp.reload(marshal)
double_const.py 9 # the marshal format for doubles. It's also possible that repr() doesn't
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
marshal.h 2 /* Interface for marshal.c */
longintrepr.h 8 /* This is published for the benefit of "friend" marshal.c only. */
34 - the marshal code currently expects that PyLong_SHIFT is a multiple of 15
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
marshal.h 2 /* Interface for marshal.c */
  /external/clang/test/SemaTemplate/
destructor-template.cpp 64 template <typename T> struct Marshal {
69 template <typename T> int Marshal<T>::gc() {
76 Marshal<int>::gc();
  /external/chromium_org/tools/stats_viewer/
stats_table.cs 174 return memory_.ToInt64() + Marshal.SizeOf(typeof(StatsFileHeader));
188 Marshal.SizeOf(typeof(int)));
201 Marshal.SizeOf(typeof(int)));
241 header_ = (StatsFileHeader)Marshal.PtrToStructure(memory_, header_.GetType());
260 Marshal.WriteInt32((IntPtr) offset, 0);
261 offset += Marshal.SizeOf(typeof(int));
276 Marshal.SizeOf(typeof(int)));
280 int pid = Marshal.ReadInt32((IntPtr)pid_offset);
283 rv += Marshal.ReadInt32((IntPtr)data_offset);
285 data_offset += Marshal.SizeOf(typeof(int));
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/config/
config.c.in 37 /* This module lives in marshal.c */
38 {"marshal", PyMarshal_Init},
config.c 58 /* This module lives in marshal.c */
59 {"marshal", PyMarshal_Init},
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/config/
config.c.in 37 /* This module lives in marshal.c */
38 {"marshal", PyMarshal_Init},
config.c 60 /* This module lives in marshal.c */
61 {"marshal", PyMarshal_Init},
  /external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
proxy.h 102 R Marshal(talk_base::Thread* t) {
122 R Marshal(talk_base::Thread* t) {
142 R Marshal(talk_base::Thread* t) {
163 R Marshal(talk_base::Thread* t) {
184 R Marshal(talk_base::Thread* t) {
207 R Marshal(talk_base::Thread* t) {
232 call.Marshal(owner_thread_);\
243 return call.Marshal(owner_thread_);\
249 return call.Marshal(owner_thread_);\
255 return call.Marshal(owner_thread_);
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
appletrawmain.py 14 import marshal namespace
58 __code__ = marshal.load(_fp)
63 del argvemulator, os, sys, marshal, _dir, _fp
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityServiceInfoTest.java 33 // fully populate the service info to marshal
37 // marshal and unmarshal the service info
105 * Fully populates the {@link AccessibilityServiceInfo} to marshal.
  /external/chromium_org/third_party/jinja2/
bccache.py 19 import marshal namespace
30 # marshal works better on 3.x, one hack less required
33 marshal_dump = marshal.dump
34 marshal_load = marshal.load
40 marshal.dump(code, f)
42 f.write(marshal.dumps(code))
46 return marshal.load(f)
47 return marshal.loads(f.read())
  /frameworks/base/core/java/android/hardware/camera2/impl/
MetadataMarshalClass.java 24 * Marshal the specified object instance (value) into a byte buffer.
34 int marshal(T value, ByteBuffer buffer, int nativeType, boolean sizeOnly); method in interface:MetadataMarshalClass
MetadataMarshalSize.java 27 public int marshal(Size value, ByteBuffer buffer, int nativeType, boolean sizeOnly) { method in class:MetadataMarshalSize

Completed in 1251 milliseconds

1 2 3 4 5 6