| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | FormatVariadic.cpp | 94 formatv_object_base::splitLiteralAndReplacement(StringRef Fmt) { in splitLiteralAndReplacement() argument 95 while (!Fmt.empty()) { in splitLiteralAndReplacement() 97 if (Fmt.front() != '{') { in splitLiteralAndReplacement() 98 std::size_t BO = Fmt.find_first_of('{'); in splitLiteralAndReplacement() 99 return std::make_pair(ReplacementItem{Fmt.substr(0, BO)}, Fmt.substr(BO)); in splitLiteralAndReplacement() 102 StringRef Braces = Fmt.take_while([](char C) { return C == '{'; }); in splitLiteralAndReplacement() 107 StringRef Middle = Fmt.take_front(NumEscapedBraces); in splitLiteralAndReplacement() 108 StringRef Right = Fmt.drop_front(NumEscapedBraces * 2); in splitLiteralAndReplacement() 114 std::size_t BC = Fmt.find_first_of('}'); in splitLiteralAndReplacement() 119 return std::make_pair(ReplacementItem{Fmt}, StringRef()); in splitLiteralAndReplacement() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | FormatVariadic.h | 68 StringRef Fmt; 75 splitLiteralAndReplacement(StringRef Fmt); 77 formatv_object_base(StringRef Fmt, in formatv_object_base() argument 79 : Fmt(Fmt), Adapters(Adapters) {} in formatv_object_base() 86 for (auto &R : parseFormatString(Fmt)) { in format() 104 static SmallVector<ReplacementItem, 2> parseFormatString(StringRef Fmt); 152 formatv_object(StringRef Fmt, Tuple &&Params) in formatv_object() argument 153 : formatv_object_base(Fmt, ParameterPointers), in formatv_object() 251 inline auto formatv(const char *Fmt, Ts &&... Vals) -> formatv_object<decltype( 256 Fmt,
|
| H A D | Format.h | 40 const char *Fmt; 49 format_object_base(const char *fmt) : Fmt(fmt) {} in format_object_base() 97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 99 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...); 124 inline format_object<Ts...> format(const char *Fmt, const Ts &... Vals) { 125 return format_object<Ts...>(Fmt, Vals...);
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 87 raw_string_ostream Fmt(FmtBuf); in getRelocationValueString() local 106 Fmt << *SecName; in getRelocationValueString() 112 Fmt << demangle(std::string(*SymName)); in getRelocationValueString() 114 Fmt << *SymName; in getRelocationValueString() 117 Fmt << "*ABS*"; in getRelocationValueString() 120 Fmt << (Addend < 0 in getRelocationValueString() 125 Fmt.flush(); in getRelocationValueString() 195 const char *Fmt = in printDynamicSection() local 209 outs() << format(Fmt, (uint64_t)Dyn.d_un.d_val); in printDynamicSection() 278 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders() local [all …]
|
| H A D | WasmDump.cpp | 37 raw_string_ostream Fmt(FmtBuf); in getWasmRelocationValueString() local 41 Fmt << Rel.Index; in getWasmRelocationValueString() 49 Fmt << (Rel.Addend < 0 ? "" : "+") << Rel.Addend; in getWasmRelocationValueString() 50 Fmt.flush(); in getWasmRelocationValueString()
|
| H A D | COFFDump.cpp | 93 auto print = [](const char *K, auto V, const char *Fmt = "%d\n") { in printPEHeader() argument 94 outs() << format("%-23s ", K) << format(Fmt, V); in printPEHeader() 97 const char *Fmt = "%d\n") { print(K, uint16_t(V), Fmt); }; in printPEHeader() argument 99 const char *Fmt = "%d\n") { print(K, uint32_t(V), Fmt); }; in printPEHeader() argument
|
| H A D | llvm-objdump.cpp | 480 StringRef Fmt = Is64Bits ? "%016" PRIx64 ": " : "%08" PRIx64 ": "; in printRelocation() local 488 OS << format(Fmt.data(), Address); in printRelocation() 2153 StringRef Fmt = Obj->getBytesInAddress() > 4 ? "%016" PRIx64 : in printRelocations() local 2195 outs() << format(Fmt.data(), Address) << " " in printRelocations() 2226 StringRef Fmt = Obj->getBytesInAddress() > 4 ? "%016" PRIx64 : "%08" PRIx64; in printDynamicRelocations() local 2235 outs() << format(Fmt.data(), Address) << ' ' in printDynamicRelocations() 2472 const char *Fmt = O.getBytesInAddress() > 4 ? "%016" PRIx64 : "%08" PRIx64; in printSymbol() local 2474 outs() << format(Fmt, Address) << " " in printSymbol() 2530 outs() << '\t' << format(Fmt, static_cast<uint64_t>(Symbol.getAlignment())); in printSymbol() 2533 << format(Fmt, cast<XCOFFObjectFile>(O).getSymbolSize( in printSymbol() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Builtins.cpp | 177 bool &HasVAListArg, const char *Fmt) const { in isLike() 178 assert(Fmt && "Not passed a format string"); in isLike() 179 assert(::strlen(Fmt) == 2 && in isLike() 181 assert(::toupper(Fmt[0]) == Fmt[1] && in isLike() 184 const char *Like = ::strpbrk(getRecord(ID).Attributes, Fmt); in isLike() 188 HasVAListArg = (*Like == Fmt[1]); in isLike()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIO.cpp | 154 void Printf(const char *Fmt, ...) { in Printf() argument 156 va_start(ap, Fmt); in Printf() 157 vfprintf(OutputFile, Fmt, ap); in Printf() 162 void VPrintf(bool Verbose, const char *Fmt, ...) { in VPrintf() argument 165 va_start(ap, Fmt); in VPrintf() 166 vfprintf(OutputFile, Fmt, ap); in VPrintf()
|
| H A D | FuzzerIO.h | 61 void Printf(const char *Fmt, ...); 62 void VPrintf(bool Verbose, const char *Fmt, ...);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | LinePrinter.h | 63 template <typename... Ts> void formatLine(const char *Fmt, Ts &&...Items) { in formatLine() argument 64 printLine(formatv(Fmt, std::forward<Ts>(Items)...)); in formatLine() 66 template <typename... Ts> void format(const char *Fmt, Ts &&...Items) { in format() argument 67 print(formatv(Fmt, std::forward<Ts>(Items)...)); in format()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | AMDGPUEmitPrintf.cpp | 182 static void locateCStrings(SparseBitVector<8> &BV, Value *Fmt) { in locateCStrings() argument 184 if (!getConstantStringInfo(Fmt, Str) || Str.empty()) in locateCStrings() 215 auto Fmt = Args[0]; in emitAMDGPUPrintfCall() local 217 locateCStrings(SpecIsCString, Fmt); in emitAMDGPUPrintfCall() 220 Desc = appendString(Builder, Desc, Fmt, NumOps == 1); in emitAMDGPUPrintfCall()
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/afl/ |
| H A D | afl_driver.cpp | 168 static void Printf(const char *Fmt, ...) { in Printf() argument 170 va_start(ap, Fmt); in Printf() 171 vfprintf(output_file, Fmt, ap); in Printf()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Frontend/ |
| H A D | FrontendOptions.h | 152 unsigned Fmt : 3; variable 178 : Lang(L), Fmt(F), Preprocessed(PP), HeaderUnit(HU), IsHeader(HD) {} in Lang() 181 Format getFormat() const { return static_cast<Format>(Fmt); } in getFormat() 190 bool isUnknown() const { return Lang == Language::Unknown && Fmt == Source; } in isUnknown()
|
| /openbsd-src/gnu/llvm/lldb/tools/lldb-test/ |
| H A D | FormatUtil.h | 48 template <typename... Ts> void formatLine(const char *Fmt, Ts &&... Items) { in formatLine() argument 49 printLine(llvm::formatv(Fmt, std::forward<Ts>(Items)...)); in formatLine()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/ |
| H A D | BuildLibCalls.h | 159 Value *emitSNPrintf(Value *Dest, Value *Size, Value *Fmt, 164 Value *emitSPrintf(Value *Dest, Value *Fmt, ArrayRef<Value *> VariadicArgs, 184 Value *emitVSNPrintf(Value *Dest, Value *Size, Value *Fmt, Value *VAList, 188 Value *emitVSPrintf(Value *Dest, Value *Fmt, Value *VAList, IRBuilderBase &B,
|
| /openbsd-src/gnu/llvm/llvm/tools/lli/ |
| H A D | ExecutionUtils.cpp | 48 template <typename... Ts> static void outsv(const char *Fmt, Ts &&...Vals) { in outsv() argument 49 outs() << formatv(Fmt, Vals...); in outsv()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-debuginfo-analyzer/ |
| H A D | llvm-debuginfo-analyzer.cpp | 31 static void error(std::error_code EC, char const *Fmt, const Ts &...Vals) { in error() argument 36 Stream << format(Fmt, Vals...); in error()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPrintfRuntimeBinding.cpp | 105 SmallVectorImpl<char> &OpConvSpecifiers, StringRef Fmt, in getConversionSpecifiers() argument 116 while ((CurFmtSpecifierIdx = Fmt.find_first_of( in getConversionSpecifiers() 119 StringRef CurFmt = Fmt.substr(PrevFmtSpecifierIdx, in getConversionSpecifiers() 130 OpConvSpecifiers.push_back(Fmt[CurFmtSpecifierIdx]); in getConversionSpecifiers()
|
| /openbsd-src/regress/lib/libcrypto/x509/bettertls/certificates/ |
| H A D | 1348.key | 26 c7TFp+EzwkYwpPhEdELUCpzfrNipGdkFspSNxIIlVJHqhqph+Fmt+w==
|
| H A D | 3179.key | 22 0g4ZGZs/spiyhRW79U7/w9KY6JpWz4LUOcBzP4HQtJjCMKjism7gQtwfwjP4+Fmt
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | Twine.h | 315 /*implicit*/ Twine(const formatv_object_base &Fmt) in Twine() argument 317 LHS.formatvObject = &Fmt; in Twine()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/f/ |
| H A D | str-io.fin | 31 Fmt FMT
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CLog.h | 86 Logger &operator<<(const llvm::format_object_base &Fmt);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFContext.h | 393 std::error_code EC, char const *Fmt, in checkAddressSizeSupported() argument 399 Stream << format(Fmt, Vals...) in checkAddressSizeSupported()
|