Searched defs:Replaces (Results 1 - 18 of 18) sorted by relevance

/external/clang/unittests/Tooling/
H A DRewriterTest.cpp41 Replacements Replaces; local
42 Replaces.insert(Replacement("<file>", 6, 6, ""));
43 Replaces.insert(Replacement("<file>", 6, 0, "replaced\n"));
45 applyAllReplacements("line1\nline2\nline3\nline4", Replaces));
H A DRefactoringTest.cpp114 Replacements Replaces; local
115 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
117 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 3, 1),
119 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite));
129 std::vector<Replacement> Replaces; local
130 Replaces.push_back(Replacement(Context.Sources, Context.getLocation(ID, 2, 1),
132 Replaces.push_back(
134 EXPECT_TRUE(applyAllReplacements(Replaces, Context.Rewrite));
141 Replacements Replaces; local
142 Replaces
157 Replacements Replaces; local
170 Replacements Replaces; local
189 std::vector<Replacement> Replaces; local
205 Replacements Replaces; local
214 Replacements Replaces; local
274 Replacements Replaces; local
[all...]
/external/clang/unittests/Format/
H A DFormatTestJava.cpp27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); local
28 std::string Result = applyAllReplacements(Code, Replaces);
H A DFormatTestProto.cpp27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); local
28 std::string Result = applyAllReplacements(Code, Replaces);
H A DFormatTestSelective.cpp28 tooling::Replacements Replaces = local
31 std::string Result = applyAllReplacements(Code, Replaces);
H A DFormatTestJS.cpp28 tooling::Replacements Replaces = local
31 std::string Result = applyAllReplacements(Code, Replaces);
H A DFormatTest.cpp38 tooling::Replacements Replaces = local
44 ReplacementCount = Replaces.size();
45 std::string Result = applyAllReplacements(Code, Replaces);
/external/clang/lib/Format/
H A DWhitespaceManager.h47 /// \brief Replaces the whitespace in front of \p Tok. Only call once for
188 /// \brief Fill \c Replaces with the replacements for all effective changes.
202 tooling::Replacements Replaces; member in class:clang::format::WhitespaceManager
H A DFormat.cpp1736 // necessary replacement to 'Replaces'. 'Includes' must be in strict source
1741 tooling::Replacements &Replaces, unsigned *Cursor) {
1788 Replaces.insert(tooling::Replacement(FileName, Includes.front().Offset,
1795 tooling::Replacements Replaces; local
1797 return Replaces;
1860 sortIncludes(Style, IncludesInBlock, Ranges, FileName, Replaces,
1872 sortIncludes(Style, IncludesInBlock, Ranges, FileName, Replaces, Cursor);
1873 return Replaces;
1738 sortIncludes(const FormatStyle &Style, const SmallVectorImpl<IncludeDirective> &Includes, ArrayRef<tooling::Range> Ranges, StringRef FileName, tooling::Replacements &Replaces, unsigned *Cursor) argument
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/
H A DReplaces.java14 * Replaces SIPHeader.
24 public class Replaces class in inherits:ParametersHeader,ExtensionHeader,ReplacesHeader
31 public static final String NAME = "Replaces";
42 public Replaces() { method in class:Replaces
50 public Replaces(String callId) throws IllegalArgumentException { method in class:Replaces
188 * $Log: Replaces.java,v $
223 * Add Session Timer and Replaces headers
/external/clang/tools/clang-format/
H A DClangFormat.cpp229 static void outputReplacementsXML(const Replacements &Replaces) { argument
230 for (const auto &R : Replaces) {
258 Replacements Replaces = sortIncludes(FormatStyle, Code->getBuffer(), Ranges, local
261 tooling::applyAllReplacements(Code->getBuffer(), Replaces);
262 for (const auto &R : Replaces)
268 Replaces = tooling::mergeReplacements(Replaces, FormatChanges);
278 outputReplacementsXML(Replaces);
291 tooling::applyAllReplacements(Replaces, Rewrite);
/external/clang/lib/Tooling/Core/
H A DReplacement.cpp147 unsigned shiftedCodePositionInternal(const T &Replaces, unsigned Position) { argument
149 for (const auto& R : Replaces) {
163 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { argument
164 return shiftedCodePositionInternal(Replaces, Position);
169 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces, argument
171 return shiftedCodePositionInternal(Replaces, Position);
174 void deduplicate(std::vector<Replacement> &Replaces, argument
176 if (Replaces.empty())
195 std::sort(Replaces.begin(), Replaces
226 applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite) argument
242 applyAllReplacements(const std::vector<Replacement> &Replaces, Rewriter &Rewrite) argument
257 applyAllReplacements(StringRef Code, const Replacements &Replaces) argument
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 455 milliseconds