Lines Matching refs:Length
1566 unsigned int Length = 0; in idi_faxdata_rcv() local
1602 Length = LineBuf.Len + (InBuf.Size - InBuf.Len); in idi_faxdata_rcv()
1603 if (Length < sizeof(eicon_sff_dochead)) { in idi_faxdata_rcv()
1608 Length = ObjectSize; in idi_faxdata_rcv()
1609 if (LineBuf.Len < Length) { in idi_faxdata_rcv()
1610 Length -= LineBuf.Len; in idi_faxdata_rcv()
1613 InBuf.Len += Length; in idi_faxdata_rcv()
1614 InBuf.Next += Length; in idi_faxdata_rcv()
1616 LineBuf.Len -= Length; in idi_faxdata_rcv()
1618 memmove(LineBuf.Data, LineBuf.Data + Length, LineBuf.Len); in idi_faxdata_rcv()
1625 Length = LineBuf.Len + (InBuf.Size - InBuf.Len); in idi_faxdata_rcv()
1626 if (Length < 2) { in idi_faxdata_rcv()
1642 if (Length < ObjectSize) { in idi_faxdata_rcv()
1646 Length = ObjectSize; in idi_faxdata_rcv()
1648 if (LineBuf.Len < Length) { in idi_faxdata_rcv()
1649 aLength = Length - LineBuf.Len; in idi_faxdata_rcv()
1656 if (Length > 2) { in idi_faxdata_rcv()
1690 LineBuf.Len -= Length; in idi_faxdata_rcv()
1692 memmove(LineBuf.Data, LineBuf.Data + Length, LineBuf.Len); in idi_faxdata_rcv()
1699 Length = LineBuf.Len + (InBuf.Size - InBuf.Len); in idi_faxdata_rcv()
1700 if (Length < 1) { in idi_faxdata_rcv()
1713 if (Length < ObjHeadLen) { in idi_faxdata_rcv()
1724 if (Length < ObjectSize) { in idi_faxdata_rcv()
1734 if (Length < ObjectSize) { in idi_faxdata_rcv()
1757 if (Length < ObjHeadLen) { in idi_faxdata_rcv()
1776 if (Length < ObjectSize) { in idi_faxdata_rcv()
1780 Length = ObjectSize; in idi_faxdata_rcv()
1781 if (LineBuf.Len < Length) { in idi_faxdata_rcv()
1782 Length -= LineBuf.Len; in idi_faxdata_rcv()
1785 InBuf.Len += Length; in idi_faxdata_rcv()
1786 InBuf.Next += Length; in idi_faxdata_rcv()
1788 LineBuf.Len -= Length; in idi_faxdata_rcv()
1790 memmove(LineBuf.Data, LineBuf.Data + Length, LineBuf.Len); in idi_faxdata_rcv()
1795 Length = ObjectSize; in idi_faxdata_rcv()
1800 Length -= LineBuf.Len; in idi_faxdata_rcv()
1803 if (Length > 0) { in idi_faxdata_rcv()
1804 fax_put_rcv(ccard, chan, InBuf.Next, Length); in idi_faxdata_rcv()
1805 InBuf.Len += Length; in idi_faxdata_rcv()
1806 InBuf.Next += Length; in idi_faxdata_rcv()
1813 Length = InBuf.Size - InBuf.Len; in idi_faxdata_rcv()
1814 if ((LineBuf.Len + Length) > LineBuf.Size) { in idi_faxdata_rcv()
1816 Length); in idi_faxdata_rcv()
1818 memcpy(LineBuf.Next, InBuf.Next, Length); in idi_faxdata_rcv()
1819 LineBuf.Len += Length; in idi_faxdata_rcv()