Home | History | Annotate | Download | only in base

Lines Matching refs:Adjustments

368     base::OffsetAdjuster::Adjustments* adjustments) {
369 if (adjustments)
370 adjustments->clear();
398 if (converted_idn && adjustments) {
399 adjustments->push_back(base::OffsetAdjuster::Adjustment(
439 base::OffsetAdjuster::Adjustments* adjustments) {
444 // Format the underlying URL and record adjustments.
446 adjustments->clear();
450 new_parsed, prefix_end, adjustments));
451 // Revise |adjustments| by shifting to the offsets to prefix that the above
453 for (base::OffsetAdjuster::Adjustments::iterator it = adjustments->begin();
454 it != adjustments->end(); ++it)
480 base::OffsetAdjuster::Adjustments* adjustments) const = 0;
496 base::OffsetAdjuster::Adjustments* adjustments) const OVERRIDE {
498 adjustments);
513 base::OffsetAdjuster::Adjustments* adjustments) const OVERRIDE {
515 base::UTF8ToUTF16WithAdjustments(component_text, adjustments) :
517 unescape_rules_, adjustments);
526 // start and length. If |adjustments| is non-NULL, appends adjustments (if
534 base::OffsetAdjuster::Adjustments* adjustments) {
543 // Transform |component_str| and modify |adjustments| appropriately.
544 base::OffsetAdjuster::Adjustments component_transform_adjustments;
548 // Shift all the adjustments made for this component so the offsets are
549 // valid for the original string and add them to |adjustments|.
550 for (base::OffsetAdjuster::Adjustments::iterator comp_iter =
554 if (adjustments) {
555 adjustments->insert(adjustments->end(),
641 base::OffsetAdjuster::Adjustments adjustments;
644 new_parsed, prefix_end, &adjustments);
645 base::OffsetAdjuster::AdjustOffsets(adjustments, offsets_for_adjustment);
662 base::OffsetAdjuster::Adjustments* adjustments) {
663 DCHECK(adjustments != NULL);
664 adjustments->clear();
680 adjustments);
713 // Update the adjustments based on removed username and/or password.
718 adjustments->push_back(base::OffsetAdjuster::Adjustment(
727 adjustments->push_back(base::OffsetAdjuster::Adjustment(
736 &url_string, &new_parsed->username, adjustments);
741 &url_string, &new_parsed->password, adjustments);
750 &url_string, &new_parsed->host, adjustments);
769 &url_string, &new_parsed->path, adjustments);
772 adjustments->push_back(base::OffsetAdjuster::Adjustment(
780 &url_string, &new_parsed->query, adjustments);
787 &url_string, &new_parsed->ref, adjustments);
793 // Because offsets in the |adjustments| are already calculated with respect
797 adjustments->insert(adjustments->begin(),