Home
last modified time | relevance | path

Searched refs:HexStr (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DYAMLParser.cpp723 std::string HexStr = utohexstr(*i); in escape() local
724 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
748 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local
749 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()
/openbsd-src/gnu/llvm/llvm/lib/AsmParser/
H A DLLLexer.cpp943 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local
944 if (!all_of(HexStr, isxdigit)) { in LexIdentifier()
949 APInt Tmp(bits, HexStr, 16); in LexIdentifier()