Home
last modified time | relevance | path

Searched refs:last_byte (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/core/
Dmemory_cache_http_server_unittest.py28 last_byte = file_size - 1
30 self.CheckContentHeaders('0-', '0-%d' % last_byte, file_size)
33 self.CheckContentHeaders('100-', '100-%d' % last_byte, file_size - 100)
39 self.CheckContentHeaders('-228', '%d-%d' % (file_size - 228, last_byte),
43 self.CheckContentHeaders('100-5', '100-%d' % last_byte, file_size - 100)
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_fax.cpp113 int last_byte = (endpos - 1) / 8; in FaxFillBits() local
114 if (first_byte == last_byte) { in FaxFillBits()
125 dest_buf[last_byte] -= 1 << (7 - i); in FaxFillBits()
127 if (last_byte > first_byte + 1) { in FaxFillBits()
128 FXSYS_memset(dest_buf + first_byte + 1, 0, last_byte - first_byte - 1); in FaxFillBits()
788 uint8_t last_byte = 0; in Encode() local
792 m_pLineBuf[0] = last_byte; in Encode()
795 last_byte = m_pLineBuf[dest_bitpos / 8]; in Encode()
800 m_DestBuf.AppendByte(last_byte); in Encode()
/external/libavc/encoder/
Dih264e_cabac.c265 WORD32 last_byte; in ih264e_cabac_flush() local
309 last_byte = (rem_bits >> (bits_left - 8)) & 0xFF; in ih264e_cabac_flush()
310 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, last_byte, zero_run); in ih264e_cabac_flush()
315 last_byte = (rem_bits << (8 - bits_left)) in ih264e_cabac_flush()
317 last_byte &= 0xFF; in ih264e_cabac_flush()
318 PUTBYTE_EPB(pu1_strm_buf, u4_strm_buf_offset, last_byte, zero_run); in ih264e_cabac_flush()
/external/chromium-trace/catapult/third_party/Paste/paste/
Dhttpheaders.py992 def compose(self, first_byte=None, last_byte=None, total_length=None): argument
993 retval = "bytes %d-%d/%d" % (first_byte, last_byte, total_length)
994 assert last_byte == -1 or first_byte <= last_byte
995 assert last_byte < total_length
Dfileapp.py159 CONTENT_RANGE.update(headers, first_byte=lower, last_byte=upper,
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/
Dtransfer.py926 last_byte = self.__GetLastByte(
928 if last_byte + 1 != end:
929 self.stream.seek(last_byte)