Home
last modified time | relevance | path

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

/external/llvm/lib/Target/NVPTX/
DNVPTXMCExpr.cpp43 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/rust/crates/ring/src/
Ddebug.rs61 .field(&HexStr(value.as_ref())) in write_hex_tuple()
65 pub struct HexStr<'a>(pub &'a [u8]); struct
67 impl core::fmt::Debug for HexStr<'_> { implementation
Dagreement.rs169 .field("bytes", &debug::HexStr(self.as_ref())) in fmt()
209 .field("bytes", &debug::HexStr(self.bytes.as_ref())) in fmt()
/external/llvm-project/llvm/lib/Support/
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()
/external/llvm/lib/Support/
DYAMLParser.cpp724 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-10.0/llvm/lib/Support/
DYAMLParser.cpp716 std::string HexStr = utohexstr(*i); in escape() local
717 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
741 std::string HexStr = utohexstr(UnicodeScalarValue.first); in escape() local
742 if (HexStr.size() <= 2) in escape()
743 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; in escape()
744 else if (HexStr.size() <= 4) in escape()
745 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; in escape()
746 else if (HexStr.size() <= 8) in escape()
747 EscapedInput += "\\U" + std::string(8 - HexStr.size(), '0') + HexStr; in escape()
/external/llvm/lib/AsmParser/
DLLLexer.cpp819 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-10.0/llvm/lib/AsmParser/
DLLLexer.cpp953 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local
954 if (!all_of(HexStr, isxdigit)) { in LexIdentifier()
959 APInt Tmp(bits, HexStr, 16); in LexIdentifier()
/external/llvm-project/llvm/lib/AsmParser/
DLLLexer.cpp967 StringRef HexStr(TokStart + 3, len); in LexIdentifier() local
968 if (!all_of(HexStr, isxdigit)) { in LexIdentifier()
973 APInt Tmp(bits, HexStr, 16); in LexIdentifier()