Searched refs:HexStr (Results 1 – 2 of 2) sorted by relevance
723 std::string HexStr = utohexstr(*i); in escape() local724 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()748 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local749 if (HexStr.size() <= 2) in escape()750 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()751 else if (HexStr.size() <= 4) in escape()752 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()753 else if (HexStr.size() <= 8) in escape()754 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
943 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local944 if (!all_of(HexStr, isxdigit)) { in LexIdentifier()949 APInt Tmp(bits, HexStr, 16); in LexIdentifier()