Searched refs:hexdigit (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | YAML.cpp | 62 OS << hexdigit(Byte >> 4) << hexdigit(Byte & 0xf); in writeAsHex()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | StringExtras.cpp | 69 Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F); in printEscapedString()
|
| H A D | NativeFormatting.cpp | 159 *--CurPtr = hexdigit(x, !Upper); in write_hex()
|
| H A D | raw_ostream.cpp | 187 *this << hexdigit((c >> 4) & 0xF); in write_escaped() 188 *this << hexdigit((c >> 0) & 0xF); in write_escaped()
|
| /llvm-project-15.0.7/clang/tools/clang-diff/ |
| H A D | ClangDiff.cpp | 114 static char hexdigit(int N) { return N &= 0xf, N + (N < 10 ? '0' : 'a' - 10); } in hexdigit() function 336 OS << R"(\u00)" << hexdigit(C >> 4) << hexdigit(C); in printJsonString()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCFragment.cpp | 391 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump() 415 OS << hexdigit((Contents[i] >> 4) & 0xF) << hexdigit(Contents[i] & 0xF); in dump()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | StringExtras.h | 37 inline char hexdigit(unsigned X, bool LowerCase = false) { 161 *--BufPtr = hexdigit(Mod, LowerCase); 177 Output[i * 2 ] = hexdigit(c >> 4, LowerCase); in toHex() 178 Output[i * 2 + 1] = hexdigit(c & 15, LowerCase); in toHex()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | URI.cpp | 115 Out.push_back(llvm::hexdigit(C / 16)); in percentEncode() 116 Out.push_back(llvm::hexdigit(C % 16)); in percentEncode()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteClientBase.cpp | 168 m_continue_packet += llvm::hexdigit((signo / 16) % 16); in SendAsyncSignal() 169 m_continue_packet += llvm::hexdigit(signo % 16); in SendAsyncSignal()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | TextDiagnostic.cpp | 140 expandedCP.insert(expandedCP.begin()+3, llvm::hexdigit(c%16)); in printableTextForNextCharacter() 144 expandedCP.insert(expandedCP.begin()+3, llvm::hexdigit(0)); in printableTextForNextCharacter() 156 expandedByte[1] = llvm::hexdigit(byte / 16); in printableTextForNextCharacter() 157 expandedByte[2] = llvm::hexdigit(byte % 16); in printableTextForNextCharacter()
|
| /llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/ |
| H A D | Protocol.cpp | 92 out.push_back(llvm::hexdigit(c / 16)); in percentEncode() 93 out.push_back(llvm::hexdigit(c % 16)); in percentEncode()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugFrame.cpp | 973 OS << ' ' << hexdigit(Byte >> 4) << hexdigit(Byte & 0xf); in dump()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 3379 Out << '\\' << hexdigit(Name[0] >> 4) << hexdigit(Name[0] & 0x0F); in printMetadataIdentifier() 3386 Out << '\\' << hexdigit(C >> 4) << hexdigit(C & 0x0F); in printMetadataIdentifier()
|
| /llvm-project-15.0.7/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 2106 outs() << hexdigit((Contents[Addr + I] >> 4) & 0xF, true) in printSectionContents() 2107 << hexdigit(Contents[Addr + I] & 0xF, true); in printSectionContents()
|
| /llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/ |
| H A D | ELFObject.cpp | 199 *(It + I) = hexdigit(Mod, false); in toHexStr()
|