Lines Matching refs:i
57 for (std::string::size_type i = 0; i < data.size(); ++i) { in StringToHex() local
58 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex()
59 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
67 for (int i = 0; i < byteLength; ++i) { in StringToHex() local
68 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex()
69 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
77 for (std::size_t i = 0; i < data.size(); ++i) { in StringToHex() local
78 unsigned char temp = static_cast<unsigned char>(data[i]) >> HEX_OFFSET; in StringToHex()
79 ss << HEX_TABLE[temp] << HEX_TABLE[static_cast<unsigned char>(data[i]) & 0xf]; in StringToHex()
92 for (size_t i = 0; i < str.length() - 1; i += STEP_2BIT) { in HexToString() local
93 std::string byte = str.substr(i, hexStep); in HexToString()
111 for (int i = 0; i < (sz - 1); i += STEP_2BIT) { in HexToByteVector() local
112 …auto temp = static_cast<uint8_t>((HexCharToInt(str.at(i)) << HEX_OFFSET) | HexCharToInt(str.at(i +… in HexToByteVector()