Home
last modified time | relevance | path

Searched refs:RangeSelector (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/clang/include/clang/Tooling/Transformer/
DRangeSelector.h27 using RangeSelector = MatchConsumer<CharSourceRange>; variable
29 inline RangeSelector charRange(CharSourceRange R) { in charRange()
35 RangeSelector enclose(RangeSelector Begin, RangeSelector End);
38 RangeSelector encloseNodes(std::string BeginID, std::string EndID);
41 inline RangeSelector range(RangeSelector Begin, RangeSelector End) { in range()
46 inline RangeSelector range(std::string BeginID, std::string EndID) { in range()
51 RangeSelector before(RangeSelector Selector);
57 RangeSelector after(RangeSelector Selector);
60 inline RangeSelector between(RangeSelector R1, RangeSelector R2) { in between()
66 RangeSelector node(std::string ID);
[all …]
DRewriteRule.h106 RangeSelector TargetRange;
137 EditGenerator noopEdit(RangeSelector Anchor);
175 ASTEdit changeTo(RangeSelector Target, TextGenerator Replacement);
177 inline ASTEdit change(RangeSelector Target, TextGenerator Replacement) { in change()
197 inline ASTEdit insertBefore(RangeSelector S, TextGenerator Replacement) { in insertBefore()
203 inline ASTEdit insertAfter(RangeSelector S, TextGenerator Replacement) { in insertAfter()
208 ASTEdit remove(RangeSelector S);
212 ASTEdit addInclude(RangeSelector Target, StringRef Header,
248 inline EditGenerator shrinkTo(RangeSelector outer, RangeSelector inner) { in shrinkTo()
DParsing.h36 llvm::Expected<RangeSelector> parseRangeSelector(llvm::StringRef Input);
DStencil.h54 Stencil makeStencil(RangeSelector Selector);
/external/skia/modules/skottie/src/text/
DRangeSelector.cpp46 template <RangeSelector::Units>
50 struct UnitTraits<RangeSelector::Units::kPercentage> {
62 struct UnitTraits<RangeSelector::Units::kIndex> {
76 RangeSelector::Domain domain, in CoverageProcessor()
77 RangeSelector::Mode mode, in CoverageProcessor()
82 SkASSERT(mode == RangeSelector::Mode::kAdd); in CoverageProcessor()
86 case RangeSelector::Domain::kChars: in CoverageProcessor()
89 case RangeSelector::Domain::kCharsExcludingSpaces: in CoverageProcessor()
92 case RangeSelector::Domain::kWords: in CoverageProcessor()
95 case RangeSelector::Domain::kLines: in CoverageProcessor()
[all …]
DRangeSelector.h21 class RangeSelector final : public SkNVRefCnt<RangeSelector> {
23 static sk_sp<RangeSelector> Make(const skjson::ObjectValue*,
60 RangeSelector(Units, Domain, Mode, Shape);
DTextAnimator.h25 class RangeSelector; variable
91 TextAnimator(std::vector<sk_sp<RangeSelector>>&&,
98 const std::vector<sk_sp<RangeSelector>> fSelectors;
DTextAnimator.cpp73 std::vector<sk_sp<RangeSelector>> selectors; in Make()
80 if (auto sel = RangeSelector::Make(*jselector, abuilder, acontainer)) { in Make()
85 if (auto sel = RangeSelector::Make((*janimator)["s"], abuilder, acontainer)) { in Make()
155 TextAnimator::TextAnimator(std::vector<sk_sp<RangeSelector>>&& selectors, in TextAnimator()
/external/llvm-project/clang/lib/Tooling/Transformer/
DRangeSelector.cpp105 RangeSelector transformer::before(RangeSelector Selector) { in before()
114 RangeSelector transformer::after(RangeSelector Selector) { in after()
140 RangeSelector transformer::node(std::string ID) { in node()
153 RangeSelector transformer::statement(std::string ID) { in statement()
163 RangeSelector transformer::enclose(RangeSelector Begin, RangeSelector End) { in enclose()
182 RangeSelector transformer::encloseNodes(std::string BeginID, in encloseNodes()
187 RangeSelector transformer::member(std::string ID) { in member()
199 RangeSelector transformer::name(std::string ID) { in name()
274 RangeSelector transformer::statements(std::string ID) { in statements()
289 RangeSelector transformer::callArgs(std::string ID) { in callArgs()
[all …]
DParsing.cpp39 template <typename... Ts> using RangeSelectorOp = RangeSelector (*)(Ts...);
102 static const llvm::StringMap<RangeSelectorOp<RangeSelector>> &
104 static const llvm::StringMap<RangeSelectorOp<RangeSelector>> M = { in getUnaryRangeSelectors()
116 static const llvm::StringMap<RangeSelectorOp<RangeSelector, RangeSelector>> &
118 static const llvm::StringMap<RangeSelectorOp<RangeSelector, RangeSelector>> in getBinaryRangeSelectors()
195 ExpectedProgress<RangeSelector> parseSingle(ParseFunction<T> ParseElement, in parseSingle()
216 ExpectedProgress<RangeSelector> parsePair(ParseFunction<T> ParseElement, in parsePair()
246 static ExpectedProgress<RangeSelector>
268 Expected<RangeSelector> transformer::parseRangeSelector(llvm::StringRef Input) { in parseRangeSelector()
270 ExpectedProgress<RangeSelector> Result = parseRangeSelectorImpl(State); in parseRangeSelector()
DCMakeLists.txt8 RangeSelector.cpp
DRewriteRule.cpp76 EditGenerator transformer::noopEdit(RangeSelector Anchor) { in noopEdit()
112 ASTEdit transformer::changeTo(RangeSelector Target, TextGenerator Replacement) { in changeTo()
141 ASTEdit transformer::remove(RangeSelector S) { in remove()
155 ASTEdit transformer::addInclude(RangeSelector Target, StringRef Header, in addInclude()
DStencil.cpp79 explicit SelectorData(RangeSelector S) : Selector(std::move(S)) {} in SelectorData()
80 RangeSelector Selector;
345 Stencil transformer::detail::makeStencil(RangeSelector Selector) { in makeStencil()
/external/llvm-project/clang/unittests/Tooling/
DRangeSelectorTest.cpp60 Expected<StringRef> select(RangeSelector Selector, const TestMatch &Match) { in select()
69 Expected<CharSourceRange> selectFromTrivial(const RangeSelector &Selector) { in selectFromTrivial()
88 Expected<CharSourceRange> selectFromAssorted(RangeSelector Selector) { in selectFromAssorted()
138 RangeSelector R = before(node(CallID.str())); in TEST()
262 RangeSelector R = between(node("a0"), node("a1")); in TEST()
288 RangeSelector R = encloseNodes("a0", "a1"); in TEST()
300 RangeSelector R = enclose(node("a0"), node("a1")); in TEST()
346 RangeSelector R = statement("id"); in TEST()
/external/llvm-project/llvm/utils/gn/secondary/clang/lib/Tooling/Transformer/
DBUILD.gn15 "RangeSelector.cpp",
/external/skia/modules/skottie/
Dskottie.gni90 "$_src/text/RangeSelector.cpp",
91 "$_src/text/RangeSelector.h",
/external/skia/
DAndroid.bp2428 "modules/skottie/src/text/RangeSelector.cpp",
3582 "modules/skottie/src/text/RangeSelector.cpp",