Home | History | Annotate | Download | only in source

Lines Matching defs:end_idx

609             // end_idx must be one past the last valid packet byte. Start
612 size_t end_idx = idx;
619 end_idx = idx + 1; // The command is one byte long...
624 end_idx = data.find('#', idx + 1);
625 if (end_idx == std::string::npos || end_idx + 3 > data_size)
627 end_idx = std::string::npos;
633 end_idx += 3;
641 if (end_idx == std::string::npos)
647 idx = end_idx;
650 if (idx < end_idx)
654 if (m_packets_recvd == 1 && (end_idx == idx + 1) && data[idx] == '+')
661 m_rx_packets.push_back(data.substr(idx, end_idx - idx));
664 idx = end_idx;