Searched refs:calcsize (Results 1 – 25 of 64) sorted by relevance
123
/external/bison/build-aux/ |
D | gendocs.sh | 197 calcsize() function 257 info_tgz_size=`calcsize "$outdir/$PACKAGE.info.tar.gz"` 267 dvi_gz_size=`calcsize $PACKAGE.dvi.gz` 273 pdf_size=`calcsize $PACKAGE.pdf` 280 ascii_size=`calcsize $PACKAGE.txt` 282 ascii_gz_size=`calcsize "$outdir/$PACKAGE.txt.gz"` 297 eval html_$1_tgz_size=`calcsize "$outdir/${PACKAGE}.html_$1.tar.gz"` 310 html_mono_size=`calcsize $PACKAGE.html` 312 html_mono_gz_size=`calcsize "$outdir/$PACKAGE.html.gz"` 326 html_node_tgz_size=`calcsize "$outdir/$PACKAGE.html_node.tar.gz"` [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_struct.py | 53 self.assertRaises(struct.error, struct.calcsize, 'Z') 55 sz = struct.calcsize('i') 56 self.assertEqual(sz * 3, struct.calcsize('iii')) 60 sz = struct.calcsize(fmt) 61 sz3 = struct.calcsize(fmt3) 145 self.assertEqual(struct.calcsize(xfmt), len(res)) 163 size = struct.calcsize(format) 169 signed_size = struct.calcsize(byteorder + format_pair[0]) 170 unsigned_size = struct.calcsize(byteorder + format_pair[1]) 174 self.assertEqual(struct.calcsize('b'), 1) [all …]
|
D | test_sys.py | 483 self.P = struct.calcsize('P') 530 calcsize = struct.calcsize 594 check({}, size('3P2P') + 8*calcsize('P2P')) 596 check(x, size('3P2P') + 8*calcsize('P2P') + 16*calcsize('P2P')) 722 check(set(sample), s + newsize*calcsize('lP')) 723 check(frozenset(sample), s + newsize*calcsize('lP')) 730 check('', calcsize(vh + 'lic')) 731 check('abc', calcsize(vh + 'lic') + 3) 773 expected = sys.getsizeof(base) + struct.calcsize(extra)
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_structures.py | 4 from struct import calcsize 68 (calcsize("c%c0%c" % (code, code)), code)) 76 (calcsize("%c" % (code)), code)) 81 self.assertEqual(alignment(X), calcsize("s")) 82 self.assertEqual(sizeof(X), calcsize("3s")) 88 self.assertEqual(sizeof(Y), calcsize("3si")) 94 self.assertEqual(sizeof(SI), calcsize("3s0i 3si 0i")) 101 self.assertEqual(sizeof(IS), calcsize("3si 3s 0i")) 107 self.assertEqual(sizeof(XX), calcsize("3s 3s 0s")) 180 longlong_size = struct.calcsize("q") [all …]
|
D | test_numbers.py | 14 size = struct.calcsize(fmt) 138 size = struct.calcsize(t._type_) 149 align = struct.calcsize("c%c" % code) - struct.calcsize(code)
|
/external/fonttools/Lib/fontTools/misc/ |
D | sstruct.py | 103 length = calcsize(fmt) 106 def calcsize(fmt): function 108 return struct.calcsize(formatstring) 187 print('size:', calcsize(fmt))
|
D | homeResFile.py | 61 "\0" * sstruct.calcsize(_FCBPBFormat), self)
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
D | mbim_channel.py | 347 if len(fragment) < struct.calcsize(self.MESSAGE_HEADER_FORMAT): 358 fragment = fragment[struct.calcsize(self.MESSAGE_HEADER_FORMAT):] 359 if len(fragment) < struct.calcsize(self.FRAGMENT_HEADER_FORMAT):
|
D | mbim_channel_unittest.py | 346 packet = self._create_buffer(struct.calcsize(packet_format)) 351 struct.calcsize(packet_format), 360 fragment = self._create_buffer(struct.calcsize(fragment_header_format)) 365 struct.calcsize(fragment_header_format),
|
D | mbim_channel_endpoint.py | 148 struct.calcsize(self.USB_PACKET_HEADER_FORMAT), 156 if len(in_data) != struct.calcsize(self.USB_PACKET_HEADER_FORMAT):
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_L_C_.py | 52 indexSubTableArraySize = struct.calcsize(indexSubTableArrayFormat) 55 indexSubHeaderSize = struct.calcsize(indexSubHeaderFormat) 58 codeOffsetPairSize = struct.calcsize(codeOffsetPairFormat) 152 dataSize += sstruct.calcsize(bitmapSizeTableFormatPart1) 153 dataSize += len(('hori', 'vert')) * sstruct.calcsize(sbitLineMetricsFormat) 154 dataSize += sstruct.calcsize(bitmapSizeTableFormatPart2) 425 offsetDataSize = struct.calcsize(dataFormat)
|
D | _s_b_i_x.py | 51 sbixHeaderFormatSize = sstruct.calcsize(sbixHeaderFormat) 58 sbixBitmapSetOffsetFormatSize = sstruct.calcsize(sbixBitmapSetOffsetFormat)
|
D | _n_a_m_e.py | 18 nameRecordSize = sstruct.calcsize(nameRecordFormat) 55 stringOffset = 6 + n * sstruct.calcsize(nameRecordFormat)
|
D | sbixBitmapSet.py | 19 sbixBitmapSetHeaderFormatSize = sstruct.calcsize(sbixBitmapSetHeaderFormat) 20 sbixBitmapOffsetEntryFormatSize = sstruct.calcsize(sbixBitmapOffsetEntryFormat)
|
D | S_V_G_.py | 67 SVG_format_0Size = sstruct.calcsize(SVG_format_0) 75 SVG_format_1Size = sstruct.calcsize(SVG_format_1) 85 doc_index_entry_format_0Size = sstruct.calcsize(doc_index_entry_format_0)
|
D | T_S_I__0.py | 19 size = struct.calcsize(tsi0Format)
|
/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 284 ttcHeaderSize = sstruct.calcsize(ttcHeaderFormat) 295 sfntDirectorySize = sstruct.calcsize(sfntDirectoryFormat) 305 sfntDirectoryEntrySize = sstruct.calcsize(sfntDirectoryEntryFormat) 324 woffDirectorySize = sstruct.calcsize(woffDirectoryFormat) 335 woffDirectoryEntrySize = sstruct.calcsize(woffDirectoryEntryFormat)
|
/external/protobuf/python/google/protobuf/internal/ |
D | wire_format.py | 74 if struct.calcsize(FORMAT_UINT32_LITTLE_ENDIAN) != 4: 76 if struct.calcsize(FORMAT_UINT64_LITTLE_ENDIAN) != 8:
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | wire_format.py | 74 if struct.calcsize(FORMAT_UINT32_LITTLE_ENDIAN) != 4: 76 if struct.calcsize(FORMAT_UINT64_LITTLE_ENDIAN) != 8:
|
/external/python/cpython2/Lib/plat-mac/ |
D | PixMapWrapper.py | 90 + self._header[offset + struct.calcsize(fmt):] 96 return struct.unpack(fmt, self._header[offset:offset+struct.calcsize(fmt)])[0]
|
/external/avb/ |
D | avbtool | 673 header_bin = self._image.read(struct.calcsize(self.HEADER_FORMAT)) 684 if file_hdr_sz != struct.calcsize(self.HEADER_FORMAT): 687 if chunk_hdr_sz != struct.calcsize(ImageChunk.FORMAT): 704 header_bin = self._image.read(struct.calcsize(ImageChunk.FORMAT)) 707 data_sz = total_sz - struct.calcsize(ImageChunk.FORMAT) 815 struct.calcsize(ImageChunk.FORMAT))) 844 struct.calcsize(ImageChunk.FORMAT))) 876 4 + struct.calcsize(ImageChunk.FORMAT))) 980 struct.calcsize(ImageChunk.FORMAT) + num_to_keep) 984 struct.calcsize(ImageChunk.FORMAT) + 4) [all …]
|
/external/autotest/client/site_tests/security_DeviceJail_Lockdown/ |
D | security_DeviceJail_Lockdown.py | 28 (struct.calcsize('iiP') << 16)
|
/external/autotest/client/bin/input/ |
D | linux_ioctl.py | 43 return struct.calcsize(t)
|
/external/python/cpython2/Doc/library/ |
D | struct.rst | 61 (``len(string)`` must equal ``calcsize(fmt)``). 69 least ``calcsize(fmt)``). 74 .. function:: calcsize(fmt) 307 >>> calcsize('hhl') 328 >>> calcsize('ci') 330 >>> calcsize('ic')
|
/external/python/cpython2/Lib/ctypes/ |
D | __init__.py | 14 from struct import calcsize as _calcsize 147 from struct import calcsize 151 actual, required = sizeof(typ), calcsize(typecode)
|
123