Home
last modified time | relevance | path

Searched refs:replacements (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium/googleurl/src/
Durl_util_unittest.cc75 url_canon::Replacements<char> replacements; in TEST() local
76 replacements.SetRef("test", url_parse::Component(0, 4)); in TEST()
77 url_util::ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, in TEST()
79 url_util::ReplaceComponents("", 0, parsed, replacements, NULL, &output, in TEST()
81 replacements.ClearRef(); in TEST()
82 replacements.SetHost("test", url_parse::Component(0, 4)); in TEST()
83 url_util::ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, in TEST()
85 url_util::ReplaceComponents("", 0, parsed, replacements, NULL, &output, in TEST()
88 replacements.ClearHost(); in TEST()
89 url_util::ReplaceComponents(NULL, 0, parsed, replacements, NULL, &output, in TEST()
[all …]
Durl_util.cc274 const url_canon::Replacements<CHAR>& replacements, in DoReplaceComponents() argument
283 (!replacements.IsSchemeOverridden() && in DoReplaceComponents()
286 (replacements.IsSchemeOverridden() && in DoReplaceComponents()
287 CompareSchemeComponent(replacements.sources().scheme, in DoReplaceComponents()
288 replacements.components().scheme, in DoReplaceComponents()
290 return url_canon::ReplaceFileURL(spec, parsed, replacements, in DoReplaceComponents()
295 (!replacements.IsSchemeOverridden() && in DoReplaceComponents()
298 (replacements.IsSchemeOverridden() && in DoReplaceComponents()
299 IsStandardScheme(replacements.sources().scheme, in DoReplaceComponents()
300 replacements.components().scheme))) { in DoReplaceComponents()
[all …]
Dgurl.cc224 const url_canon::Replacements<char>& replacements) const { in ReplaceComponents()
237 spec_.data(), static_cast<int>(spec_.length()), parsed_, replacements, in ReplaceComponents()
246 const url_canon::Replacements<char16>& replacements) const { in ReplaceComponents()
259 spec_.data(), static_cast<int>(spec_.length()), parsed_, replacements, in ReplaceComponents()
272 url_canon::Replacements<char> replacements; in GetOrigin() local
273 replacements.ClearUsername(); in GetOrigin()
274 replacements.ClearPassword(); in GetOrigin()
275 replacements.ClearPath(); in GetOrigin()
276 replacements.ClearQuery(); in GetOrigin()
277 replacements.ClearRef(); in GetOrigin()
[all …]
Durl_canon_relative.cc399 Replacements<CHAR> replacements; in DoResolveRelativeHost() local
400 replacements.SetUsername(relative_url, relative_parsed.username); in DoResolveRelativeHost()
401 replacements.SetPassword(relative_url, relative_parsed.password); in DoResolveRelativeHost()
402 replacements.SetHost(relative_url, relative_parsed.host); in DoResolveRelativeHost()
403 replacements.SetPort(relative_url, relative_parsed.port); in DoResolveRelativeHost()
404 replacements.SetPath(relative_url, relative_parsed.path); in DoResolveRelativeHost()
405 replacements.SetQuery(relative_url, relative_parsed.query); in DoResolveRelativeHost()
406 replacements.SetRef(relative_url, relative_parsed.ref); in DoResolveRelativeHost()
408 return ReplaceStandardURL(base_url, base_parsed, replacements, in DoResolveRelativeHost()
Durl_canon_pathurl.cc105 const Replacements<char>& replacements, in ReplacePathURL() argument
110 SetupOverrideComponents(base, replacements, &source, &parsed); in ReplacePathURL()
117 const Replacements<char16>& replacements, in ReplacePathURL() argument
123 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); in ReplacePathURL()
Durl_canon_mailtourl.cc114 const Replacements<char>& replacements, in ReplaceMailtoURL() argument
119 SetupOverrideComponents(base, replacements, &source, &parsed); in ReplaceMailtoURL()
126 const Replacements<char16>& replacements, in ReplaceMailtoURL() argument
132 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); in ReplaceMailtoURL()
Durl_canon_stdurl.cc175 const Replacements<char>& replacements, in ReplaceStandardURL() argument
181 SetupOverrideComponents(base, replacements, &source, &parsed); in ReplaceStandardURL()
190 const Replacements<char16>& replacements, in ReplaceStandardURL() argument
197 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); in ReplaceStandardURL()
Durl_canon_fileurl.cc190 const Replacements<char>& replacements, in ReplaceFileURL() argument
196 SetupOverrideComponents(base, replacements, &source, &parsed); in ReplaceFileURL()
203 const Replacements<char16>& replacements, in ReplaceFileURL() argument
210 SetupUTF16OverrideComponents(base, replacements, &utf8, &source, &parsed); in ReplaceFileURL()
Durl_canon.h754 const Replacements<char>& replacements,
760 const Replacements<char16>& replacements,
769 const Replacements<char>& replacements,
775 const Replacements<char16>& replacements,
784 const Replacements<char>& replacements,
789 const Replacements<char16>& replacements,
797 const Replacements<char>& replacements,
802 const Replacements<char16>& replacements,
Durl_util.h137 const url_canon::Replacements<char>& replacements,
144 const url_canon::Replacements<char16>& replacements,
Dgurl.h180 const url_canon::Replacements<char>& replacements) const;
182 const url_canon::Replacements<char16>& replacements) const;
Dgurl_unittest.cc24 url_canon::Replacements<CHAR>* replacements, in SetupReplacement() argument
30 (replacements->*func)(str, comp); in SetupReplacement()
/external/webkit/WebCore/platform/
DKURLGoogle.cpp313 void KURLGooglePrivate::replaceComponents(const Replacements& replacements) in replaceComponents() argument
319 … utf8String().length(), m_parsed, replacements, 0, &output, &newParsed); in replaceComponents()
575 KURLGooglePrivate::Replacements replacements; in setProtocol() local
576 replacements.SetScheme(CharactersOrEmpty(protocol), in setProtocol()
578 m_url.replaceComponents(replacements); in setProtocol()
584 KURLGooglePrivate::Replacements replacements; in setHost() local
585 replacements.SetHost(CharactersOrEmpty(host), in setHost()
587 m_url.replaceComponents(replacements); in setHost()
600 KURLGooglePrivate::Replacements replacements; in setHostAndPort() local
602 replacements.SetHost(CharactersOrEmpty(host), in setHostAndPort()
[all …]
/external/proguard/src/proguard/classfile/editor/
DCodeAttributeEditor.java63 …/*private*/public Instruction[] replacements = new Instruction[ClassConstants.TYPICAL_CODE_LE… field in CodeAttributeEditor
102 replacements = new Instruction[codeLength]; in reset()
111 replacements[index] = null; in reset()
181 replacements[instructionOffset] = instruction; in replaceInstruction()
201 replacements[instructionOffset] = new CompositeInstruction(instructions); in replaceInstruction()
291 replacements[instructionOffset] != null || in isModified()
461 Instruction replacementInstruction = replacements[offset]; in canPerformSimpleReplacements()
487 Instruction replacementInstruction = replacements[offset]; in performSimpleReplacements()
602 Instruction replacementInstruction = replacements[oldOffset]; in mapInstruction()
688 Instruction replacementInstruction = replacements[oldOffset]; in moveInstruction()
/external/chromium/net/url_request/
Durl_request_file_dir_job.cc225 GURL::Replacements replacements; in IsRedirectResponse() local
226 replacements.SetPathStr(new_path); in IsRedirectResponse()
228 *location = request_->url().ReplaceComponents(replacements); in IsRedirectResponse()
Durl_request_job.cc377 GURL::Replacements replacements; in NotifyHeadersComplete() local
380 replacements.SetRef(url.spec().data(), in NotifyHeadersComplete()
382 new_location = new_location.ReplaceComponents(replacements); in NotifyHeadersComplete()
Durl_request_view_net_internals_job.cc747 GURL::Replacements replacements; in IsRedirectResponse() local
748 replacements.ClearQuery(); in IsRedirectResponse()
749 *location = request_->url().ReplaceComponents(replacements); in IsRedirectResponse()
Durl_request_http_job.cc60 url_canon::Replacements<char> replacements; in Factory() local
62 replacements.SetScheme(kNewScheme, in Factory()
64 GURL new_location = request->url().ReplaceComponents(replacements); in Factory()
Durl_request_unittest.cc1210 GURL::Replacements replacements; in TEST_F() local
1213 replacements.SetUsernameStr(username); in TEST_F()
1214 replacements.SetPasswordStr(password); in TEST_F()
1215 GURL url_with_identity = url_requiring_auth.ReplaceComponents(replacements); in TEST_F()
/external/webkit/JavaScriptCore/runtime/
DStringPrototype.cpp335 Vector<UString, 16> replacements; in stringProtoFuncReplace() local
372 replacements.append(result.toString(cachedCall.newCallFrame(exec))); in stringProtoFuncReplace()
414replacements.append(call(exec, replacement, callType, callData, exec->globalThisValue(), args).toS… in stringProtoFuncReplace()
418replacements.append(substituteBackreferences(replacementString, source, ovector, reg)); in stringProtoFuncReplace()
432 if (!lastIndex && replacements.isEmpty()) in stringProtoFuncReplace()
438 …ourceVal, source, sourceRanges.data(), sourceRanges.size(), replacements.data(), replacements.size… in stringProtoFuncReplace()
/external/libvpx/examples/includes/geshi/
Dgeshi.php4078 $keywords = $replacements = array();
4082 $replacements[] = $replacements[] = number_format($time = $this->get_time(), 3);
4086 $replacements[] = $replacements[] = $this->language_data['LANG_NAME'];
4090 $replacements[] = $replacements[] = GESHI_VERSION;
4104 $replacements[] = $replacements[] = $speed;
4106 return str_replace($keywords, $replacements, $instr);
/external/chromium/net/base/
Dnet_util.cc1505 GURL::Replacements replacements; in SimplifyUrlForRequest() local
1506 replacements.ClearUsername(); in SimplifyUrlForRequest()
1507 replacements.ClearPassword(); in SimplifyUrlForRequest()
1508 replacements.ClearRef(); in SimplifyUrlForRequest()
1509 return url.ReplaceComponents(replacements); in SimplifyUrlForRequest()
/external/elfutils/m4/
Dlib-ld.m410 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
/external/bison/m4/
Dlib-ld_gl.m48 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
/external/protobuf/vsprojects/
Dreadme.txt53 libraries will *not* be usable as drop-in replacements.

12