Home
last modified time | relevance | path

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

12

/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/
DRefactoring.cpp145 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite) { in applyAllReplacements() argument
147 for (Replacements::const_iterator I = Replaces.begin(), in applyAllReplacements()
148 E = Replaces.end(); in applyAllReplacements()
161 bool applyAllReplacements(const std::vector<Replacement> &Replaces, in applyAllReplacements() argument
164 for (std::vector<Replacement>::const_iterator I = Replaces.begin(), in applyAllReplacements()
165 E = Replaces.end(); in applyAllReplacements()
176 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces) { in applyAllReplacements() argument
191 for (Replacements::const_iterator I = Replaces.begin(), E = Replaces.end(); in applyAllReplacements()
205 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { in shiftedCodePosition() argument
207 for (Replacements::iterator I = Replaces.begin(), E = Replaces.end(); I != E; in shiftedCodePosition()
[all …]
/external/clang/include/clang/Tooling/
DRefactoring.h145 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite);
153 bool applyAllReplacements(const std::vector<Replacement> &Replaces,
160 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces);
164 unsigned shiftedCodePosition(const Replacements& Replaces, unsigned Position);
170 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces,
180 void deduplicate(std::vector<Replacement> &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.cpp230 tooling::Replacements Replaces = reformat(FormatStyle, Lex, Sources, Ranges); in format() local
234 for (tooling::Replacements::const_iterator I = Replaces.begin(), in format()
235 E = Replaces.end(); in format()
246 tooling::applyAllReplacements(Replaces, Rewrite); in format()
253 << 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()
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…
/external/clang/lib/Format/
DWhitespaceManager.cpp43 Replaces.clear(); in reset()
90 return Replaces; in generateReplacements()
98 return Replaces; in generateReplacements()
288 Replaces.insert(tooling::Replacement( in storeReplacement()
DWhitespaceManager.h195 tooling::Replacements Replaces; variable
/external/chromium_org/chrome/installer/linux/debian/
Dcontrol.template10 Replaces: @@REPLACES@@
/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/llvm/test/Instrumentation/MemorySanitizer/
Dwrap_indirect_calls.ll7 ; Replaces indirect call to %f with a call to whatever is returned from the
/external/chromium_org/ppapi/api/private/
Dppb_net_address_private.idl70 * Replaces the port in the given source address. Returns PP_TRUE on success.
/external/chromium_org/chrome/browser/policy/
Dpolicy_path_parser_mac.mm40 // Replaces all variable occurrences in the policy string with the respective
/external/chromium_org/remoting/host/win/
Dchromoting_lib_idl.templ27 [ id(3), helpstring("Replaces the existing daemon's configuration with "
/external/chromium_org/ppapi/api/trusted/
Dppb_char_set_trusted.idl28 * Replaces the error or unrepresentable character with a substitution
/external/nist-sip/java/gov/nist/javax/sip/parser/
DParserFactory.java272 parserTable.put(Replaces.NAME.toLowerCase(), ReplacesParser.class); in Replaces.NAME.toLowerCase()
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryImpl.java1276 Replaces replaces = new Replaces(); in createReplacesHeader()
/external/chromium_org/courgette/
Ddescription.md139 **Courgette instruction**: Replaces machine instructions in the
/external/chromium_org/testing/gtest/cmake/
Dinternal_utils.cmake39 # Replaces /W3 with /W4 in defaults.
/external/chromium_org/chrome/installer/gcapi_mac/
Dgcapi.mm90 // Replaces "~~" with |home_dir|.

12