Searched refs:FormatAdapter (Results 1 – 8 of 8) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | FormatAdapters.h | 21 template <typename T> class FormatAdapter : public detail::format_adapter { 23 explicit FormatAdapter(T &&Item) : Item(std::forward<T>(Item)) {} in FormatAdapter() function 29 template <typename T> class AlignAdapter final : public FormatAdapter<T> { 36 : FormatAdapter<T>(std::forward<T>(Item)), Where(Where), Amount(Amount), in AlignAdapter() 45 template <typename T> class PadAdapter final : public FormatAdapter<T> { 51 : FormatAdapter<T>(std::forward<T>(Item)), Left(Left), Right(Right) {} in PadAdapter() 61 template <typename T> class RepeatAdapter final : public FormatAdapter<T> { 66 : FormatAdapter<T>(std::forward<T>(Item)), Count(Count) {} in RepeatAdapter() 76 class ErrorAdapter : public FormatAdapter<Error> { 78 ErrorAdapter(Error &&Item) : FormatAdapter(std::move(Item)) {} in ErrorAdapter()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
D | Formatters.cpp | 22 : FormatAdapter(makeArrayRef(Guid.bytes_begin(), Guid.bytes_end())) {} in GuidAdapter() 25 : FormatAdapter(std::move(Guid)) {} in GuidAdapter()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | TwineTest.cpp | 105 struct formatter : FormatAdapter<int> { in TEST() 106 explicit formatter(int &Count) : FormatAdapter(0), Count(Count) {} in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
D | FormatUtil.h | 119 : public FormatAdapter<support::detail::packed_endian_specific_integral< 126 : FormatAdapter<EndianType>(std::move(Item)) {} in EndianAdapter()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | FormatVariadicTest.cpp | 19 struct Format : public FormatAdapter<int> { 20 Format(int N) : FormatAdapter<int>(std::move(N)) {} in Format() 596 class Negative : public FormatAdapter<int> { in TEST() 598 explicit Negative(int N) : FormatAdapter<int>(std::move(N)) {} in TEST() 633 TEST(FormatVariadicTest, FormatAdapter) { in TEST() argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | Formatters.h | 28 class GuidAdapter final : public FormatAdapter<ArrayRef<uint8_t>> {
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-xray/ |
D | xray-stacks.cpp | 116 struct format_xray_record : public FormatAdapter<XRayRecord> { 119 : FormatAdapter<XRayRecord>(std::move(record)), Converter(&conv) {} in format_xray_record()
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | ProgrammersManual.rst | 334 2. Provide a **format adapter** inheriting from ``llvm::FormatAdapter<T>``. 339 struct format_int_custom : public llvm::FormatAdapter<int> { 340 explicit format_int_custom(int N) : llvm::FormatAdapter<int>(N) {} 352 If the type is detected to be derived from ``FormatAdapter<T>``, ``formatv``
|