Home
last modified time | relevance | path

Searched refs:ReplacementItem (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/lib/Support/
DFormatVariadic.cpp57 Optional<ReplacementItem>
71 return ReplacementItem{}; in parseReplacementItem()
89 return ReplacementItem{Spec, Index, Align, Where, Pad, Options}; in parseReplacementItem()
92 std::pair<ReplacementItem, StringRef>
98 return std::make_pair(ReplacementItem{Fmt.substr(0, BO)}, Fmt.substr(BO)); in splitLiteralAndReplacement()
108 return std::make_pair(ReplacementItem{Middle}, Right); in splitLiteralAndReplacement()
118 return std::make_pair(ReplacementItem{Fmt}, StringRef()); in splitLiteralAndReplacement()
126 return std::make_pair(ReplacementItem{Fmt.substr(0, BO2)}, in splitLiteralAndReplacement()
140 return std::make_pair(ReplacementItem{Fmt}, StringRef()); in splitLiteralAndReplacement()
143 SmallVector<ReplacementItem, 2>
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFormatVariadic.cpp56 Optional<ReplacementItem>
70 return ReplacementItem{}; in parseReplacementItem()
88 return ReplacementItem{Spec, Index, Align, Where, Pad, Options}; in parseReplacementItem()
91 std::pair<ReplacementItem, StringRef>
98 return std::make_pair(ReplacementItem{Fmt.substr(0, BO)}, Fmt.substr(BO)); in splitLiteralAndReplacement()
108 return std::make_pair(ReplacementItem{Middle}, Right); in splitLiteralAndReplacement()
118 return std::make_pair(ReplacementItem{Fmt}, StringRef()); in splitLiteralAndReplacement()
126 return std::make_pair(ReplacementItem{Fmt.substr(0, BO2)}, in splitLiteralAndReplacement()
140 return std::make_pair(ReplacementItem{Fmt}, StringRef()); in splitLiteralAndReplacement()
143 std::vector<ReplacementItem>
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatVariadic.h47 struct ReplacementItem { struct
48 ReplacementItem() = default;
49 explicit ReplacementItem(StringRef Literal) in ReplacementItem() function
51 ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where, in ReplacementItem() argument
83 std::vector<ReplacementItem> Replacements; argument
88 static std::pair<ReplacementItem, StringRef>
116 static std::vector<ReplacementItem> parseFormatString(StringRef Fmt);
118 static Optional<ReplacementItem> parseReplacementItem(StringRef Spec);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormatVariadic.h46 struct ReplacementItem { struct
47 ReplacementItem() = default;
48 explicit ReplacementItem(StringRef Literal) in ReplacementItem() argument
50 ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where, in ReplacementItem() argument
82 std::vector<ReplacementItem> Replacements; argument
87 static std::pair<ReplacementItem, StringRef>
124 static std::vector<ReplacementItem> parseFormatString(StringRef Fmt);
126 static Optional<ReplacementItem> parseReplacementItem(StringRef Spec);
/external/llvm-project/llvm/include/llvm/Support/
DFormatVariadic.h47 struct ReplacementItem { struct
48 ReplacementItem() = default;
49 explicit ReplacementItem(StringRef Literal) in ReplacementItem() function
51 ReplacementItem(StringRef Spec, size_t Index, size_t Align, AlignStyle Where, in ReplacementItem() function
73 static std::pair<ReplacementItem, StringRef> argument
103 static SmallVector<ReplacementItem, 2> parseFormatString(StringRef Fmt);
105 static Optional<ReplacementItem> parseReplacementItem(StringRef Spec);