HomeSort by relevance Sort by last modified time
    Searched defs:struct (Results 1 - 25 of 220) sorted by null

1 2 3 4 5 6 7 8 9

  /device/htc/flounder/
releasetools.py 2 import struct namespace
  /external/wpa_supplicant_8/wpa_supplicant/utils/
log2pcap.py 10 import sys, struct, re namespace
14 struct.pack('<IHHIIII',
21 pcap_file.write(struct.pack('<IIII',
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/Carbon/
ControlAccessor.py 4 import struct namespace
39 data = struct.pack(structfmt, data)
51 data = struct.unpack(structfmt, data)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
whichdb.py 5 import struct namespace
89 (magic,) = struct.unpack("=l", s)
90 except struct.error:
104 (magic,) = struct.unpack("=l", s16[-4:])
105 except struct.error:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
whichdb.py 5 import struct namespace
89 (magic,) = struct.unpack("=l", s)
90 except struct.error:
104 (magic,) = struct.unpack("=l", s16[-4:])
105 except struct.error:
  /external/lldb/include/lldb/Host/
SocketAddress.h 36 SocketAddress (const struct sockaddr &s);
37 SocketAddress (const struct sockaddr_in &s);
38 SocketAddress (const struct sockaddr_in6 &s);
39 SocketAddress (const struct sockaddr_storage &s);
50 operator=(const struct addrinfo *addr_info);
53 operator=(const struct sockaddr &s);
56 operator=(const struct sockaddr_in &s);
59 operator=(const struct sockaddr_in6 &s);
62 operator=(const struct sockaddr_storage &s);
115 SetAddress (const struct addrinfo *hints_ptr, // Optional hints where the family, protocol and other things can be specif (…)
    [all...]
  /device/asus/deb/
releasetools.py 2 import struct namespace
110 # struct bootloader_images_header {
115 # struct {
132 header_size = struct.calcsize(header_fmt)
133 magic, num_images, start_offset, bootloader_size = struct.unpack(
138 img_info_size = struct.calcsize(img_info_fmt)
140 imgs = [struct.unpack(img_info_fmt,
  /device/asus/fugu/
releasetools.py 18 import struct namespace
34 header_size = struct.calcsize(header_fmt)
35 magic, revision, reserved, reserved = struct.unpack(
43 header_v1_size = struct.calcsize(header_v1_fmt)
44 ifwi_size, droidboot_size = struct.unpack(header_v1_fmt, bootloader[offset:offset + header_v1_size])
58 c_header_size = struct.calcsize(c_header_fmt)
59 c_magic, size, flags, _, _ , _ = struct.unpack(c_header_fmt, bootloader[offset:offset + c_header_size])
  /external/lldb/examples/python/
operating_system.py 4 import struct namespace
94 return struct.pack('21Q',1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21);
96 return struct.pack('21Q',11,12,13,14,15,16,17,18,19,110,111,112,113,114,115,116,117,118,119,120,121);
98 return struct.pack('21Q',21,22,23,24,25,26,27,28,29,210,211,212,213,214,215,216,217,218,219,220,221);
100 return struct.pack('21Q',31,32,33,34,35,36,37,38,39,310,311,312,313,314,315,316,317,318,319,320,321);
102 return struct.pack('21Q',41,42,43,44,45,46,47,48,49,410,411,412,413,414,415,416,417,418,419,420,421);
  /system/core/libsparse/
simg_dump.py 18 import getopt, posixpath, signal, struct, sys namespace
56 header = struct.unpack("<I4H4I", header_bin)
98 header = struct.unpack("<2H2I", header_bin)
123 fill = struct.unpack("<I", fill_bin)
138 crc = struct.unpack("<I", crc)
145 header = struct.unpack("<12B", header_bin)
  /bootable/recovery/tools/ota/
convert-to-bmp.py 6 import struct namespace
31 "L" # size of this struct
44 fileheadersize = struct.calcsize(BMP_HEADER_FMT)
45 infoheadersize = struct.calcsize(BITMAPINFO_HEADER_FMT)
47 header = struct.pack(BMP_HEADER_FMT,
54 info = struct.pack(BITMAPINFO_HEADER_FMT,
  /build/tools/releasetools/
sparse_img.py 17 import struct namespace
38 header = struct.unpack("<I4H4I", header_bin)
71 header = struct.unpack("<2H2I", header_bin)
  /device/asus/flo/
releasetools.py 2 import struct namespace
135 # struct bootloader_images_header {
140 # struct {
157 header_size = struct.calcsize(header_fmt)
158 magic, num_images, start_offset, bootloader_size = struct.unpack(
163 img_info_size = struct.calcsize(img_info_fmt)
165 imgs = [struct.unpack(img_info_fmt,
  /device/lge/hammerhead/
releasetools.py 2 import struct namespace
120 # struct bootloader_images_header {
125 # struct {
147 header_size = struct.calcsize(header_fmt)
148 magic, num_images, start_offset, bootloader_size = struct.unpack(
153 img_info_size = struct.calcsize(img_info_fmt)
155 imgs = [struct.unpack(img_info_fmt,
  /external/clang/test/CXX/dcl.decl/dcl.name/
p1.cpp 5 struct v {};
7 struct s {
9 operator struct v() { return v(); };
16 (void)new struct s;
18 (void)&s::operator struct v;
  /external/fonttools/Lib/fontTools/ttLib/tables/
C_P_A_L_.py 9 import struct namespace
15 self.version, self.numPaletteEntries, numPalettes, numColorRecords, goffsetFirstColorRecord = struct.unpack(">HHHHL", data[:12])
20 startIndex = struct.unpack(">H", data[pos:pos+2])[0]
26 palette.append( Color(*struct.unpack(">BBBB", data[ppos:ppos+4])) )
31 dataList = [struct.pack(">HHHHL", self.version, self.numPaletteEntries, len(self.palettes), self.numPaletteEntries * len(self.palettes), 12+2*len(self.palettes))]
33 dataList.append(struct.pack(">H", i*self.numPaletteEntries))
37 dataList.append(struct.pack(">BBBB", color.blue,color.green,color.red,color.alpha))
L_T_S_H_.py 5 import struct namespace
15 version, numGlyphs = struct.unpack(">HH", data[:4])
37 return struct.pack(">HH", version, numGlyphs) + yPels.tostring()
T_S_I__0.py 4 import struct namespace
19 size = struct.calcsize(tsi0Format)
21 glyphID, textLength, textOffset = fixlongs(*struct.unpack(tsi0Format, data[:size]))
36 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
37 data = data + struct.pack(tsi0Format, 0XFFFE, 0, -1409540300) # 0xABFC1F34
39 data = data + struct.pack(tsi0Format, index, textLength, textOffset)
_g_a_s_p.py 5 import struct namespace
16 self.version, numRanges = struct.unpack(">HH", data[:4])
21 rangeMaxPPEM, rangeGaspBehavior = struct.unpack(">HH", data[:4])
32 data = data + struct.pack(">HH", rangeMaxPPEM, rangeGaspBehavior)
35 data = struct.pack(">HH", version, numRanges) + data
sbixBitmap.py 5 import struct namespace
44 gid, = struct.unpack(">H", self.rawdata[sbixBitmapHeaderFormatSize:])
59 self.gid = struct.pack(">H", ttFont.getGlyphID(self.glyphName))
99 self.imageData = struct.pack(">H", ttFont.getGlyphID(attrs["glyphname"]))
sbixBitmapSet.py 6 import struct namespace
43 firstBitmapOffset, = struct.unpack(">L", \
52 myOffset, = struct.unpack(">L", self.data[start : start + sbixBitmapOffsetEntryFormatSize])
  /external/linux-tools-perf/src/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
EventClass.py 11 import struct namespace
57 flags, ip, ax, bx, cx, dx, si, di, bp, sp = struct.unpack('QQQQQQQQQQ', tmp_buf)
86 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
  /external/linux-tools-perf/src/tools/perf/scripts/python/
event_analyzing_sample.py 20 import struct namespace
  /external/lldb/test/pexpect-2.4/examples/
script.py 22 import signal, fcntl, termios, struct namespace
88 s = struct.pack ("HHHH", 0, 0, 0, 0)
89 a = struct.unpack ('HHHH', fcntl.ioctl(sys.stdout.fileno(), TIOCGWINSZ , s))
  /external/v8/tools/testrunner/server/
compression.py 35 import struct namespace
47 payload = struct.pack('>i', len(compressed)) + compressed
80 size = struct.unpack(">i", size)[0]

Completed in 802 milliseconds

1 2 3 4 5 6 7 8 9