Lines Matching refs:str
389 status_t HexToStr(const std::string& hex, std::string& str) {
390 str.clear();
420 str.push_back(cur);
430 status_t StrToHex(const std::string& str, std::string& hex) {
432 for (size_t i = 0; i < str.size(); i++) {
433 hex.push_back(kLookup[(str[i] & 0xF0) >> 4]);
434 hex.push_back(kLookup[str[i] & 0x0F]);
439 status_t StrToHex(const KeyBuffer& str, KeyBuffer& hex) {
441 for (size_t i = 0; i < str.size(); i++) {
442 hex.push_back(kLookup[(str.data()[i] & 0xF0) >> 4]);
443 hex.push_back(kLookup[str.data()[i] & 0x0F]);