/external/llvm/lib/Transforms/IPO/ |
ConstantMerge.cpp | 114 // Replacements - This vector contains a list of replacements to perform. 115 SmallVector<std::pair<GlobalVariable*, GlobalVariable*>, 32> Replacements; 165 // the Replacements vector. We cannot do the replacement in this pass 199 Replacements.push_back(std::make_pair(GV, Slot)); 202 if (Replacements.empty()) 206 // Now that we have figured out which replacements must be made, do them all 209 for (unsigned i = 0, e = Replacements.size(); i != e; ++i) { 211 if (Replacements[i].first->getAlignment() || 212 Replacements[i].second->getAlignment()) [all...] |
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
Macro.h | 27 typedef std::vector<Token> Replacements; 38 Replacements replacements; member in struct:pp::Macro
|
/external/clang/include/clang/Tooling/ |
Refactoring.h | 102 /// Only replacements that are in a valid file can be applied. 136 /// \brief A set of Replacements. 138 typedef std::set<Replacement, Replacement::Less> Replacements; 140 /// \brief Apply all replacements in \p Replaces to the Rewriter \p Rewrite. 145 /// \returns true if all replacements apply. false otherwise. 146 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite); 148 /// \brief Applies all replacements in \p Replaces to \p Code. 151 /// replacements cannot be applied, this returns an empty \c string. 152 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces); 156 unsigned shiftedCodePosition(const Replacements& Replaces, unsigned Position) [all...] |
RefactoringCallbacks.h | 40 /// Collects \c tooling::Replacements while running. 44 Replacements &getReplacements(); 47 Replacements Replace;
|
/external/chromium_org/tools/clang/rewrite_scoped_array/ |
RewriteScopedArray.cpp | 29 using clang::tooling::Replacements; 36 RewriterCallback(Replacements* replacements) : replacements_(replacements) {} 40 Replacements* const replacements_; 73 Replacements replacements; local 74 RewriterCallback callback(&replacements); 88 for (Replacements::const_iterator it = replacements.begin() [all...] |
/external/chromium_org/tools/clang/empty_string/ |
EmptyStringConverter.cpp | 39 using clang::tooling::Replacements; 43 // Handles replacements for stack and heap-allocated instances, e.g.: 48 ConstructorCallback(Replacements* replacements) 49 : replacements_(replacements) {} 54 Replacements* const replacements_; 57 // Handles replacements for invocations of std::string("") in an initializer 61 InitializerCallback(Replacements* replacements) 62 : replacements_(replacements) {} 177 Replacements replacements; local [all...] |
/external/chromium_org/tools/clang/rewrite_scoped_ptr_ctor_null/ |
RewriteScopedPtrCtorNull.cpp | 39 using clang::tooling::Replacements; 49 // Handles replacements for stack and heap-allocated instances, e.g.: 55 ConstructorCallback(Replacements* replacements) 56 : replacements_(replacements) {} 61 Replacements* const replacements_; 64 // Handles replacements for invocations of scoped_ptr<T>(NULL) in an initializer 68 InitializerCallback(Replacements* replacements) 69 : replacements_(replacements) {} 174 Replacements replacements; local [all...] |
/external/chromium_org/chrome/common/cloud_print/ |
cloud_print_helpers.cc | 63 GURL::Replacements replacements; local 64 replacements.SetPathStr(path); 65 return cloud_print_server_url.ReplaceComponents(replacements); 70 GURL::Replacements replacements; local 71 replacements.SetPathStr(path); 72 return cloud_print_server_url.ReplaceComponents(replacements); 78 GURL::Replacements replacements; local 87 GURL::Replacements replacements; local 95 GURL::Replacements replacements; local 106 GURL::Replacements replacements; local 118 GURL::Replacements replacements; local 130 GURL::Replacements replacements; local 142 GURL::Replacements replacements; local 154 GURL::Replacements replacements; local 167 GURL::Replacements replacements; local [all...] |
/external/chromium/chrome/browser/printing/cloud_print/ |
cloud_print_url.cc | 50 GURL::Replacements replacements; local 51 replacements.SetPathStr(path); 53 replacements); 60 GURL::Replacements replacements; local 61 replacements.SetPathStr(path); 63 replacements);
|
/external/chromium_org/chrome/browser/net/ |
websocket_browsertest.cc | 52 GURL::Replacements replacements; local 53 replacements.SetSchemeStr(scheme); 57 "split_packet_check.html").ReplaceComponents(replacements)); 83 GURL::Replacements replacements; local 84 replacements.SetSchemeStr(scheme); 88 "split_packet_check.html").ReplaceComponents(replacements));
|
/external/chromium/googleurl/src/ |
gurl_unittest.cc | 22 void SetupReplacement(void (url_canon::Replacements<CHAR>::*func)(const CHAR*, 24 url_canon::Replacements<CHAR>* replacements, 30 (replacements->*func)(str, comp); 228 TEST(GURLTest, Replacements) { 255 GURL::Replacements repl; 256 SetupReplacement(&GURL::Replacements::SetScheme, &repl, cur.scheme); 257 SetupReplacement(&GURL::Replacements::SetUsername, &repl, cur.username); 258 SetupReplacement(&GURL::Replacements::SetPassword, &repl, cur.password); 259 SetupReplacement(&GURL::Replacements::SetHost, &repl, cur.host) [all...] |
gurl.h | 44 typedef url_canon::StdStringReplacements<std::string> Replacements; 174 // supplied versions. See the Replacements class in url_canon.h for more. 182 // Note that we use the more general url_canon::Replacements type to give 185 const url_canon::Replacements<char>& replacements) const; 187 const url_canon::Replacements<char16>& replacements) const;
|
url_canon_mailtourl.cc | 114 const Replacements<char>& replacements, 119 SetupOverrideComponents(base, replacements, &source, &parsed); 126 const Replacements<char16>& replacements, 132 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed);
|
url_canon_pathurl.cc | 105 const Replacements<char>& replacements, 110 SetupOverrideComponents(base, replacements, &source, &parsed); 117 const Replacements<char16>& replacements, 123 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed);
|
url_util.h | 184 const url_canon::Replacements<char>& replacements, 192 const url_canon::Replacements<char16>& replacements,
|
/external/chromium_org/chrome/browser/printing/cloud_print/ |
cloud_print_url.cc | 71 GURL::Replacements replacements; local 72 replacements.SetPathStr(path); 74 replacements); 81 GURL::Replacements replacements; local 82 replacements.SetPathStr(path); 84 replacements); 93 GURL::Replacements replacements; local [all...] |
/external/chromium/net/url_request/ |
url_request_throttler_manager.h | 123 GURL::Replacements url_id_replacements_;
|
/external/chromium/chrome/browser/extensions/ |
extension_resource_request_policy_apitest.cc | 32 GURL::Replacements make_host_a_com; 36 GURL::Replacements make_host_b_com;
|
/external/chromium_org/chrome/browser/history/ |
top_sites_cache.h | 159 GURL::Replacements clear_query_ref_; 163 GURL::Replacements clear_path_query_ref_;
|
/external/clang/lib/Format/ |
WhitespaceManager.h | 12 /// replacements. 27 /// \brief Manages the whitespaces around tokens and their replacements. 69 /// \brief Returns all the \c Replacements created during formatting. 70 const tooling::Replacements &generateReplacements(); 150 /// \brief Fill \c Replaces with the replacements for all effective changes. 163 tooling::Replacements Replaces;
|
/external/clang/lib/Tooling/ |
Refactoring.cpp | 126 bool applyAllReplacements(const Replacements &Replaces, Rewriter &Rewrite) { 128 for (Replacements::const_iterator I = Replaces.begin(), 140 std::string applyAllReplacements(StringRef Code, const Replacements &Replaces) { 155 for (Replacements::const_iterator I = Replaces.begin(), E = Replaces.end(); 169 unsigned shiftedCodePosition(const Replacements &Replaces, unsigned Position) { 171 for (Replacements::iterator I = Replaces.begin(), E = Replaces.end(); I != E; 186 Replacements &RefactoringTool::getReplacements() { return Replace; } 203 llvm::errs() << "Skipped some replacements.\n";
|
/external/chromium_org/url/ |
gurl_unittest.cc | 23 void SetupReplacement(void (url_canon::Replacements<CHAR>::*func)(const CHAR*, 25 url_canon::Replacements<CHAR>* replacements, 31 (replacements->*func)(str, comp); 309 TEST(GURLTest, Replacements) { 337 GURL::Replacements repl; 338 SetupReplacement(&GURL::Replacements::SetScheme, &repl, cur.scheme); 339 SetupReplacement(&GURL::Replacements::SetUsername, &repl, cur.username); 340 SetupReplacement(&GURL::Replacements::SetPassword, &repl, cur.password); 341 SetupReplacement(&GURL::Replacements::SetHost, &repl, cur.host) [all...] |
gurl.h | 20 typedef url_canon::StdStringReplacements<std::string> Replacements; 161 // supplied versions. See the Replacements class in url_canon.h for more. 169 // Note that we use the more general url_canon::Replacements type to give 172 const url_canon::Replacements<char>& replacements) const; 174 const url_canon::Replacements<base::char16>& replacements) const;
|
url_canon.h | 640 class Replacements { 642 Replacements() { [all...] |
/external/chromium_org/webkit/browser/appcache/ |
manifest_parser.cc | 195 GURL::Replacements replacements; local 196 replacements.ClearRef(); 197 url = url.ReplaceComponents(replacements); 240 GURL::Replacements replacements; local 241 replacements.ClearRef(); 242 namespace_url = namespace_url.ReplaceComponents(replacements); 288 GURL::Replacements replacements; local 318 GURL::Replacements replacements; local 344 GURL::Replacements replacements; local [all...] |