Lines Matching refs:end_idx
612 size_t end_idx = idx; in CommDataReceived() local
619 end_idx = idx + 1; // The command is one byte long... in CommDataReceived()
624 end_idx = data.find('#', idx + 1); in CommDataReceived()
625 if (end_idx == std::string::npos || end_idx + 3 > data_size) in CommDataReceived()
627 end_idx = std::string::npos; in CommDataReceived()
633 end_idx += 3; in CommDataReceived()
641 if (end_idx == std::string::npos) in CommDataReceived()
647 idx = end_idx; in CommDataReceived()
650 if (idx < end_idx) in CommDataReceived()
654 if (m_packets_recvd == 1 && (end_idx == idx + 1) && data[idx] == '+') in CommDataReceived()
661 m_rx_packets.push_back(data.substr(idx, end_idx - idx)); in CommDataReceived()
664 idx = end_idx; in CommDataReceived()