/external/clang/unittests/Tooling/ |
D | RefactoringTest.cpp | 114 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/ |
D | Replacement.cpp | 146 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/ |
D | Replacement.h | 144 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/ |
D | ReplacesParser.java | 50 Replaces replaces = new Replaces(); in parse() 71 Replaces t = (Replaces) tp.parse(); in main()
|
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/ |
D | Replaces.java | 24 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/ |
D | ClangFormat.cpp | 228 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/ |
D | FormatTestProto.cpp | 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local 28 std::string Result = applyAllReplacements(Code, Replaces); in format()
|
D | FormatTestJava.cpp | 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local 28 std::string Result = applyAllReplacements(Code, Replaces); in format()
|
D | FormatTestJS.cpp | 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); in format() local 28 std::string Result = applyAllReplacements(Code, Replaces); in format()
|
D | FormatTest.cpp | 31 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/ |
D | control.in | 37 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…
|
D | changelog | 3315 * Suppressed Essential flag on libs, as well as useless Replaces
|
/external/clang/lib/Format/ |
D | WhitespaceManager.cpp | 45 Replaces.clear(); in reset() 92 return Replaces; in generateReplacements() 100 return Replaces; in generateReplacements() 297 Replaces.insert(tooling::Replacement( in storeReplacement()
|
D | WhitespaceManager.h | 195 tooling::Replacements Replaces; variable
|
/external/llvm/lib/Fuzzer/ |
D | dfsan_fuzzer_abi.list | 1 # Replaces __sanitizer_cov_trace_cmp with __dfsw___sanitizer_cov_trace_cmp
|
/external/llvm/cmake/modules/ |
D | LLVMProcessSources.cmake | 5 # Replaces a compiler option or switch `old' in `var' by `new'.
|
D | ChooseMSVCCRT.cmake | 36 # Replaces or adds a flag to a variable.
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | HeaderFactoryImpl.java | 1276 Replaces replaces = new Replaces(); in createReplacesHeader()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | ParserFactory.java | 272 parserTable.put(Replaces.NAME.toLowerCase(), ReplacesParser.class); in Replaces.NAME.toLowerCase()
|
/external/google-breakpad/src/testing/gtest/cmake/ |
D | internal_utils.cmake | 39 # Replaces /W3 with /W4 in defaults.
|
/external/protobuf/gtest/ |
D | CMakeLists.txt | 44 # Replaces /W3 with /W4 in defaults.
|