Lines Matching defs:end_idx
1076 // end_idx must be one past the last valid packet byte. Start
1079 size_t end_idx = idx;
1085 end_idx = idx + 1; // The command is one byte long...
1090 end_idx = data.find('#', idx + 1);
1091 if (end_idx == std::string::npos || end_idx + 3 > data_size) {
1092 end_idx = std::string::npos;
1096 end_idx += 3;
1104 if (end_idx == std::string::npos) {
1112 idx = end_idx;
1113 } else if (idx < end_idx) {
1116 if (m_packets_recvd == 1 && (end_idx == idx + 1) && data[idx] == '+') {
1123 m_rx_packets.push_back(data.substr(idx, end_idx - idx));
1127 idx = end_idx;