Searched refs:HexStr (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXMCExpr.cpp | 43 std::string HexStr(utohexstr(API.getZExtValue())); in printImpl() local 44 if (HexStr.length() < NumHex) in printImpl() 45 OS << std::string(NumHex - HexStr.length(), '0'); in printImpl()
|
/external/llvm/lib/Support/ |
D | YAMLParser.cpp | 724 std::string HexStr = utohexstr(*i); in escape() local 725 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape() 746 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local 747 if (HexStr.size() <= 2) in escape() 748 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape() 749 else if (HexStr.size() <= 4) in escape() 750 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape() 751 else if (HexStr.size() <= 8) in escape() 752 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 799 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local 800 if (!std::all_of(HexStr.begin(), HexStr.end(), isxdigit)) { in LexIdentifier() 805 APInt Tmp(bits, HexStr, 16); in LexIdentifier()
|