HomeSort by relevance Sort by last modified time
    Searched defs:struct (Results 126 - 150 of 453) sorted by null

1 2 3 4 56 7 8 91011>>

  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_byteswap.py 1 import sys, unittest, struct, math, ctypes namespace
32 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
37 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
42 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
47 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
60 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
65 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
70 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
75 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
88 self.assertEqual(bin(struct.pack(">q", 0x1234567890ABCDEF)), "1234567890ABCDEF"
    [all...]
test_prototypes.py 34 import struct namespace
35 num_bits = struct.calcsize("P") * 8 # num bits in native machine address
  /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/
bdist_wininst.py 255 import struct namespace
299 header = struct.pack("<iii",
  /prebuilts/gdb/darwin-x86/lib/python2.7/json/
decoder.py 5 import struct namespace
21 nan, inf = struct.unpack('dd', _BYTES)
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
Audio_mac.py 47 import struct namespace
62 h1 = struct.pack('llHhllbbl',
72 h3 = struct.pack('hhlll',
PixMapWrapper.py 14 import struct namespace
19 # PixMap data structure element format (as used with struct)
72 self._header = struct.pack("lhhhhhhhlllhhhhlll",
89 + struct.pack(fmt, bytes) \
90 + self._header[offset + struct.calcsize(fmt):]
96 return struct.unpack(fmt, self._header[offset:offset+struct.calcsize(fmt)])[0]
applesingle.py 7 import struct namespace
54 magic, version, ig, nentry = struct.unpack(AS_HEADER_FORMAT, header)
71 restype, offset, length = struct.unpack(AS_ENTRY_FORMAT, hdr)
cfmfile.py 13 import struct namespace
86 self.memberCount) = struct.unpack("8l", data[:32])
95 data = struct.pack("8l", 0, 0, self.version, 0, 0, 0, 0, self.memberCount)
123 self.memberSize,) = struct.unpack("4lhBB4lh", data[4:42])
129 data = data + struct.pack("4lhBB4l",
144 data = data + struct.pack("hb", self.memberSize, len(self.name))
  /prebuilts/gdb/darwin-x86/lib/python2.7/
posixfile.py 154 import struct, fcntl namespace
186 flock = struct.pack('lxxxxlxxxxlhh', \
189 flock = struct.pack('hhlllii', \
192 flock = struct.pack('hhllhh', \
203 struct.unpack('lxxxxlxxxxlhh', flock)
206 struct.unpack('hhlllii', flock)
209 struct.unpack('hhllhh', flock)
212 struct.unpack('hhllhh', flock)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
buffer_tests.py 4 import struct namespace
175 if sys.maxint < (1 << 32) and struct.calcsize('P') == 4:
test_fcntl.py 7 import struct namespace
33 if struct.calcsize('l') == 8:
39 lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
49 print 'struct.pack: ', repr(lockdata)
test_ioctl.py 4 import os, struct namespace
17 rpgrp = struct.unpack("i", r)[0]
35 rpgrp = struct.unpack("i", r)[0]
78 set_winsz_opcode_maybe_neg, = struct.unpack("i",
79 struct.pack("I", termios.TIOCSWINSZ))
81 our_winsz = struct.pack("HHHH",80,25,0,0)
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_byteswap.py 1 import sys, unittest, struct, math, ctypes namespace
32 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
37 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
42 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
47 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
60 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
65 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
70 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
75 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
88 self.assertEqual(bin(struct.pack(">q", 0x1234567890ABCDEF)), "1234567890ABCDEF"
    [all...]
test_prototypes.py 34 import struct namespace
35 num_bits = struct.calcsize("P") * 8 # num bits in native machine address
  /prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/
bdist_wininst.py 255 import struct namespace
299 header = struct.pack("<iii",
  /prebuilts/gdb/linux-x86/lib/python2.7/json/
decoder.py 5 import struct namespace
21 nan, inf = struct.unpack('dd', _BYTES)
  /prebuilts/gdb/linux-x86/lib/python2.7/
posixfile.py 154 import struct, fcntl namespace
186 flock = struct.pack('lxxxxlxxxxlhh', \
189 flock = struct.pack('hhlllii', \
192 flock = struct.pack('hhllhh', \
203 struct.unpack('lxxxxlxxxxlhh', flock)
206 struct.unpack('hhlllii', flock)
209 struct.unpack('hhllhh', flock)
212 struct.unpack('hhllhh', flock)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
buffer_tests.py 4 import struct namespace
175 if sys.maxint < (1 << 32) and struct.calcsize('P') == 4:
test_fcntl.py 7 import struct namespace
33 if struct.calcsize('l') == 8:
39 lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
49 print 'struct.pack: ', repr(lockdata)
test_ioctl.py 4 import os, struct namespace
17 rpgrp = struct.unpack("i", r)[0]
35 rpgrp = struct.unpack("i", r)[0]
78 set_winsz_opcode_maybe_neg, = struct.unpack("i",
79 struct.pack("I", termios.TIOCSWINSZ))
81 our_winsz = struct.pack("HHHH",80,25,0,0)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_byteswap.py 1 import sys, unittest, struct, math, ctypes namespace
32 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
37 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
42 self.assertEqual(bin(struct.pack(">h", 0x1234)), "1234")
47 self.assertEqual(bin(struct.pack("<h", 0x1234)), "3412")
60 self.assertEqual(bin(struct.pack(">i", 0x12345678)), "12345678")
65 self.assertEqual(bin(struct.pack("<i", 0x12345678)), "78563412")
70 self.assertEqual(bin(struct.pack(">I", 0x12345678)), "12345678")
75 self.assertEqual(bin(struct.pack("<I", 0x12345678)), "78563412")
88 self.assertEqual(bin(struct.pack(">q", 0x1234567890ABCDEF)), "1234567890ABCDEF"
    [all...]
test_prototypes.py 34 import struct namespace
35 num_bits = struct.calcsize("P") * 8 # num bits in native machine address
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/
bdist_wininst.py 255 import struct namespace
299 header = struct.pack("<iii",
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
decoder.py 5 import struct namespace
21 nan, inf = struct.unpack('dd', _BYTES)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
Audio_mac.py 47 import struct namespace
62 h1 = struct.pack('llHhllbbl',
72 h3 = struct.pack('hhlll',

Completed in 1118 milliseconds

1 2 3 4 56 7 8 91011>>