Searched refs:hash_pos (Results 1 – 2 of 2) sorted by relevance
692 size_t hash_pos = m_bytes.find('#'); in CheckForPacket() local693 if (hash_pos != std::string::npos) { in CheckForPacket()694 if (hash_pos + 2 < m_bytes.size()) { in CheckForPacket()695 checksum_idx = hash_pos + 1; in CheckForPacket()700 content_length = hash_pos - 1; in CheckForPacket()703 hash_pos + 3; // Skip the # and the two hex checksum bytes in CheckForPacket()
799 size_t hash_pos = filter_line.find('#'); in LoadFilterFile() local804 if (hash_pos != std::string::npos && hash_pos > 0 && in LoadFilterFile()805 filter_line[hash_pos - 1] != ' ') { in LoadFilterFile()812 TrimWhitespaceASCII(filter_line.substr(0, hash_pos), TRIM_ALL) in LoadFilterFile()