Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DYAMLParser.cpp709 std::string HexStr = utohexstr(*i); in escape() local
710 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
734 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local
735 if (HexStr.size() <= 2) in escape()
736 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
737 else if (HexStr.size() <= 4) in escape()
738 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
739 else if (HexStr.size() <= 8) in escape()
740 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/AsmParser/
H A DLLLexer.cpp975 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local
976 if (!all_of(HexStr, isxdigit)) { in LexIdentifier()
981 APInt Tmp(bits, HexStr, 16); in LexIdentifier()