/external/clang/lib/Tooling/Core/ |
Replacement.cpp | 146 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { 148 for (Replacements::iterator I = Replaces.begin(), E = Replaces.end(); I != E; 161 unsigned shiftedCodePosition(const std::vector<Replacement> &Replaces, 164 for (std::vector<Replacement>::const_iterator I = Replaces.begin(), 165 E = Replaces.end(); 176 void deduplicate(std::vector<Replacement> &Replaces, 178 if (Replaces.empty()) 197 std::sort(Replaces.begin(), Replaces.end(), LessNoPath) [all...] |
/external/clang/include/clang/Tooling/Core/ |
Replacement.h | 138 /// \brief Apply all replacements in \p Replaces to the Rewriter \p Rewrite. 144 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite); 146 /// \brief Apply all replacements in \p Replaces to the Rewriter \p Rewrite. 152 bool applyAllReplacements(const std::vector<Replacement> &Replaces, 155 /// \brief Applies all replacements in \p Replaces to \p Code. 159 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces); 161 /// \brief Calculates how a code \p Position is shifted when \p Replaces are 163 unsigned shiftedCodePosition(const Replacements& Replaces, unsigned Position); 165 /// \brief Calculates how a code \p Position is shifted when \p Replaces are 168 /// \pre Replaces[i].getOffset() <= Replaces[i+1].getOffset() [all...] |
/external/clang/unittests/Tooling/ |
RefactoringTest.cpp | 114 Replacements Replaces; 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; 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; 142 Replaces.insert(Replacement(Context.Sources, Context.getLocation(ID, 2, 1) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/extensions/ |
ReplacesParser.java | 9 // Parser for Replaces Header (RFC3891) 12 // Replaces = "Replaces" HCOLON callid *(SEMI replaces-param) 13 // replaces-param = to-tag / from-tag / early-flag / generic-param 50 Replaces replaces = new Replaces(); local 54 super.parse(replaces); 55 replaces.setCallId(callId) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/ |
Replaces.java | 14 * Replaces SIPHeader. 24 public class Replaces 31 public static final String NAME = "Replaces"; 42 public Replaces() { 50 public Replaces(String callId) throws IllegalArgumentException { 188 * $Log: Replaces.java,v $ 223 * Add Session Timer and Replaces headers
|
/external/clang/unittests/Format/ |
FormatTestProto.cpp | 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 28 std::string Result = applyAllReplacements(Code, Replaces);
|
FormatTestJava.cpp | 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 28 std::string Result = applyAllReplacements(Code, Replaces);
|
FormatTestJS.cpp | 27 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 28 std::string Result = applyAllReplacements(Code, Replaces);
|
FormatTest.cpp | 31 tooling::Replacements Replaces = reformat(Style, Code, Ranges); 32 ReplacementCount = Replaces.size(); 33 std::string Result = applyAllReplacements(Code, Replaces); [all...] |
/external/clang/tools/clang-format/ |
ClangFormat.cpp | 228 tooling::Replacements Replaces = reformat(FormatStyle, Sources, ID, Ranges); 234 << tooling::shiftedCodePosition(Replaces, Cursor) 236 for (tooling::Replacements::const_iterator I = Replaces.begin(), 237 E = Replaces.end(); 248 tooling::applyAllReplacements(Replaces, Rewrite); 255 << tooling::shiftedCodePosition(Replaces, Cursor) << " }\n";
|
/external/clang/lib/Format/ |
WhitespaceManager.h | 47 /// \brief Replaces the whitespace in front of \p Tok. Only call once for 60 /// \brief Inserts or replaces whitespace in the middle of a token. 123 // The kind of the token whose whitespace this change replaces, or in which 181 /// \brief Fill \c Replaces with the replacements for all effective changes. 195 tooling::Replacements Replaces;
|
WhitespaceManager.cpp | 45 Replaces.clear(); 92 return Replaces; 100 return Replaces; 297 Replaces.insert(tooling::Replacement(
|
/ndk/sources/android/support/ |
Android.mk | 130 # Replaces broken implementations in x86 libm.so
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
ParserFactory.java | 272 parserTable.put(Replaces.NAME.toLowerCase(), ReplacesParser.class);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
HeaderFactoryImpl.java | 1276 Replaces replaces = new Replaces(); local [all...] |
/external/v8/src/ |
liveedit-debugger.js | 299 // Replaces function's Code. [all...] |