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

  /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,
  /hardware/ril/mock-ril/src/python/
tcs.py 26 import struct namespace
90 len_msg_header_raw = struct.pack('<i', len(mhser))
97 len_msg_hdr = struct.unpack('<i', len_msg_header_raw)
  /build/tools/
merge-event-log-tags.py 30 import struct namespace
145 return struct.unpack("!I", d)[0]
  /external/webkit/WebKitTools/simplejson/
decoder.py 11 import struct namespace
16 nan, inf = struct.unpack('dd', _BYTES)
  /external/v8/tools/
stats-viewer.py 41 import struct namespace
313 result, = struct.unpack("I", word_str)
  /external/protobuf/python/google/protobuf/internal/
decoder.py 50 struct.error: Unpacking of a fixed-width field failed.
58 Something up the call stack is expected to catch IndexError and struct.error
83 import struct namespace
252 format: The format string to pass to struct.unpack().
255 value_size = struct.calcsize(format)
256 local_unpack = struct.unpack
261 # Note that we expect someone up-stack to catch struct.error and convert
encoder.py 69 import struct namespace
472 format: The format string to pass to struct.pack().
475 value_size = struct.calcsize(format)
478 local_struct_pack = struct.pack
wire_format.py 35 import struct namespace
65 # "struct" format strings that will encode/decode the specified formats.
74 if struct.calcsize(FORMAT_UINT32_LITTLE_ENDIAN) != 4:
76 if struct.calcsize(FORMAT_UINT64_LITTLE_ENDIAN) != 8:
reflection_test.py 41 import struct namespace
92 result = struct.unpack("<f", self._bytes[self._pos:self._pos+4])[0]
97 result = struct.unpack("<d", self._bytes[self._pos:self._pos+8])[0]
    [all...]
  /external/protobuf/python/google/protobuf/
reflection.py 57 import struct namespace
827 except struct.error, e:
    [all...]
  /external/sonivox/jet_tools/JetCreator/
JetFile.py 27 import struct namespace
385 jet_header = struct.pack(JET_HEADER_STRUCT, JET_HEADER_TAG, 0)
389 jet_info = struct.pack(JINF_STRUCT,
390 JET_INFO_CHUNK, struct.calcsize(JINF_STRUCT) - 8,
404 jet_copyright = struct.pack(JCOP_STRUCT, JCOP_CHUNK, size)
419 jet_app_data = struct.pack(JAPP_STRUCT, JAPP_CHUNK, size)
460 smf_header = struct.pack(JET_HEADER_STRUCT, JET_SMF_CHUNK, 0)
475 smf_header = struct.pack(JET_HEADER_STRUCT, JET_SMF_CHUNK, file_size)
491 dls_header = struct.pack(JET_HEADER_STRUCT, JET_DLS_CHUNK, file_size)
501 jet_header = struct.pack(JET_HEADER_STRUCT, JET_HEADER_TAG, file_size - struct.calcsize(JET_HEADER_STRUCT))
    [all...]
midifile.py 24 import struct namespace
987 bytes = stream.read(struct.calcsize(SMF_TRACK_HEADER_FMT))
988 riff_tag, track_len = struct.unpack(SMF_TRACK_HEADER_FMT, bytes)
    [all...]
  /prebuilt/common/jarjar/
jarjar-1.0rc8.jar 

Completed in 213 milliseconds