Searched refs:HexStr (Results 1 – 6 of 6) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | YAMLParser.cpp | 717 std::string HexStr = utohexstr(*i); in escape() local 718 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape() 742 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local 743 if (HexStr.size() <= 2) in escape() 744 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape() 745 else if (HexStr.size() <= 4) in escape() 746 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape() 747 else if (HexStr.size() <= 8) in escape() 748 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
|
/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 72 std::string HexStr = utohexstr(static_cast<uint64_t>(Dyn.d_tag), true); in printDynamicSection() local 73 outs() << format(" 0x%-19s", HexStr.c_str()); in printDynamicSection()
|
/external/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 819 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local 820 if (!std::all_of(HexStr.begin(), HexStr.end(), isxdigit)) { in LexIdentifier() 825 APInt Tmp(bits, HexStr, 16); in LexIdentifier()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/AsmParser/ |
D | LLLexer.cpp | 920 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local 921 if (!all_of(HexStr, isxdigit)) { in LexIdentifier() 926 APInt Tmp(bits, HexStr, 16); in LexIdentifier()
|