Lines Matching refs:crc
1738 ULONG crc = 0; in WriteOneSRecord() local
1748 crc += count; in WriteOneSRecord()
1757 crc += count; in WriteOneSRecord()
1758 crc += m_srec_address & 0xff; in WriteOneSRecord()
1759 crc += m_srec_address >> 8; in WriteOneSRecord()
1768 crc += count; in WriteOneSRecord()
1769 crc += m_srec_address & 0xff; in WriteOneSRecord()
1770 crc += (m_srec_address >> 8) & 0xff; in WriteOneSRecord()
1771 crc += m_srec_address >> 16; in WriteOneSRecord()
1780 crc += count; in WriteOneSRecord()
1781 crc += m_srec_address & 0xff; in WriteOneSRecord()
1782 crc += (m_srec_address >> 8) & 0xff; in WriteOneSRecord()
1783 crc += (m_srec_address >> 16) & 0xff; in WriteOneSRecord()
1784 crc += m_srec_address >> 24; in WriteOneSRecord()
1793 crc += count; in WriteOneSRecord()
1794 crc += m_srec_record_count & 0xff; in WriteOneSRecord()
1795 crc += m_srec_record_count >> 8; in WriteOneSRecord()
1804 crc += count; in WriteOneSRecord()
1805 crc += m_srec_record_count & 0xff; in WriteOneSRecord()
1806 crc += (m_srec_record_count >> 8) & 0xff; in WriteOneSRecord()
1807 crc += m_srec_record_count >> 16; in WriteOneSRecord()
1817 crc += m_srec_data[index]; in WriteOneSRecord()
1826 crc &= 0xff; in WriteOneSRecord()
1827 crc = (~(UCHAR)crc) & 0xff; in WriteOneSRecord()
1831 sprintf_s(buffer + write_size, sizeof(buffer) - write_size, "%02X", crc); in WriteOneSRecord()