Home
last modified time | relevance | path

Searched refs:Replaces (Results 1 – 21 of 21) sorted by relevance

/external/clang/unittests/Tooling/
DRefactoringTest.cpp114 Replacements Replaces; in TEST_F() local
115 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1), in TEST_F()
117 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 3, 1), in TEST_F()
119 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
129 std::vector<Replacement> Replaces; in TEST_F() local
130 Replaces.push_back(Replacement(Context.Sources, Context.getLocation(ID, 2, 1), in TEST_F()
132 Replaces.push_back( in TEST_F()
134 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite)); in TEST_F()
141 Replacements Replaces; in TEST_F() local
142 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1), in TEST_F()
[all …]
/external/clang/lib/Tooling/Core/
DReplacement.cpp146 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { in shiftedCodePosition() argument
148 for (Replacements::iterator I = Replaces.begin(), E = Replaces.end(); I != E; in shiftedCodePosition()
161 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces, in shiftedCodePosition() argument
164 for (std::vector<Replacement>::const_iterator I = Replaces.begin(), in shiftedCodePosition()
165 E = Replaces.end(); in shiftedCodePosition()
176 void deduplicate(std::vector<Replacement> &Replaces, in deduplicate() argument
178 if (Replaces.empty()) in deduplicate()
197 std::sort(Replaces.begin(), Replaces.end(), LessNoPath); in deduplicate()
198 Replaces.erase(std::unique(Replaces.begin(), Replaces.end(), EqualNoPath), in deduplicate()
199 Replaces.end()); in deduplicate()
[all …]
/external/clang/include/clang/Tooling/Core/
DReplacement.h144 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
152 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
159 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
163 unsigned shiftedCodePosition(const Replacements& Replaces, unsigned Position);
169 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces,
179 void deduplicate(std::vector<Replacement> &Replaces,
201 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
209 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
216 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
/external/nist-sip/java/gov/nist/javax/sip/parser/extensions/
DReplacesParser.java50 Replaces replaces = new Replaces(); in parse()
71 Replaces t = (Replaces) tp.parse(); in main()
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/
DReplaces.java24 public class Replaces class
42 public Replaces() { in Replaces() method in Replaces
50 public Replaces(String callId) throws IllegalArgumentException { in Replaces() method in Replaces
/external/clang/tools/clang-format/
DClangFormat.cpp228 tooling::Replacements Replaces = reformat(FormatStyle, Sources, ID, Ranges); in format() local
234 << tooling::shiftedCodePosition(Replaces, Cursor) in format()
236 for (tooling::Replacements::const_iterator I = Replaces.begin(), in format()
237 E = Replaces.end(); in format()
248 tooling::applyAllReplacements(Replaces, Rewrite); in format()
255 << tooling::shiftedCodePosition(Replaces, Cursor) << " }\n"; in format()
/external/clang/unittests/Format/
DFormatTestProto.cpp27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local
28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestJava.cpp27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local
28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTestJS.cpp27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local
28 std::string Result = applyAllReplacements(Code, Replaces); in format()
DFormatTest.cpp31 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local
32 ReplacementCount = Replaces.size(); in format()
33 std::string Result = applyAllReplacements(Code, Replaces); in format()
/external/e2fsprogs/debian/
Dcontrol.in37 Replaces: e2fsprogs (<< 1.34-1)
50 Replaces: e2fslibs-dev (<< 1.33-2), libkrb5-dev (<< 1.3)
62 Replaces: e2fsprogs (<< 1.34-1)
90 Replaces: e2fsprogs (<< 1.34-1)
107 Replaces: e2fsprogs (<= 1.40.3-1ubuntu1)
143 Replaces: e2fslibs-dev (<< 1.15)
208 Replaces: e2fsprogs (<< 1.34-1)
228 Replaces: libkrb5-dev (<< 1.3)
248 Replaces: hurd (<= 20040301-1), libblkid1 (<< 1.38+1.39-WIP-2005.12.10-2), libuuid1 (<< 1.38+1.39-W…
Dchangelog3315 * Suppressed Essential flag on libs, as well as useless Replaces
/external/clang/lib/Format/
DWhitespaceManager.cpp45 Replaces.clear(); in reset()
92 return Replaces; in generateReplacements()
100 return Replaces; in generateReplacements()
297 Replaces.insert(tooling::Replacement( in storeReplacement()
DWhitespaceManager.h195 tooling::Replacements Replaces; variable
/external/llvm/lib/Fuzzer/
Ddfsan_fuzzer_abi.list1 # Replaces __sanitizer_cov_trace_cmp with __dfsw___sanitizer_cov_trace_cmp
/external/llvm/cmake/modules/
DLLVMProcessSources.cmake5 # Replaces a compiler option or switch `old' in `var' by `new'.
DChooseMSVCCRT.cmake36 # Replaces or adds a flag to a variable.
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryImpl.java1276 Replaces replaces = new Replaces(); in createReplacesHeader()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DParserFactory.java272 parserTable.put(Replaces.NAME.toLowerCase(), ReplacesParser.class); in Replaces.NAME.toLowerCase()
/external/google-breakpad/src/testing/gtest/cmake/
Dinternal_utils.cmake39 # Replaces /W3 with /W4 in defaults.
/external/protobuf/gtest/
DCMakeLists.txt44 # Replaces /W3 with /W4 in defaults.