Searched defs:text_utf8 (Results 1 - 5 of 5) sorted by relevance

/external/chromium/chrome/browser/net/
H A Durl_fixer_upper.cc34 const std::string& text_utf8,
40 text_utf8.substr(0, component_utf8.begin);
41 std::string component_string = text_utf8.substr(component_utf8.begin,
50 void UTF8PartsToUTF16Parts(const std::string& text_utf8, argument
53 if (IsStringASCII(text_utf8)) {
59 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.scheme);
61 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.username);
63 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.password);
65 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.host);
67 UTF8ComponentToUTF16Component(text_utf8, parts_utf
33 UTF8ComponentToUTF16Component( const std::string& text_utf8, const url_parse::Component& component_utf8) argument
568 std::string text_utf8 = WideToUTF8(text.value()); local
570 std::string text_utf8 = text.value(); local
577 std::string text_utf8 = UTF16ToUTF8(text); local
[all...]
/external/chromium_org/chrome/common/net/
H A Durl_fixer_upper.cc34 const std::string& text_utf8,
40 text_utf8.substr(0, component_utf8.begin);
41 std::string component_string = text_utf8.substr(component_utf8.begin,
50 void UTF8PartsToUTF16Parts(const std::string& text_utf8, argument
53 if (IsStringASCII(text_utf8)) {
59 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.scheme);
61 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.username);
63 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.password);
65 UTF8ComponentToUTF16Component(text_utf8, parts_utf8.host);
67 UTF8ComponentToUTF16Component(text_utf8, parts_utf
33 UTF8ComponentToUTF16Component( const std::string& text_utf8, const url_parse::Component& component_utf8) argument
488 std::string text_utf8 = UTF16ToUTF8(text); local
627 std::string text_utf8 = WideToUTF8(text.value()); local
629 std::string text_utf8 = text.value(); local
[all...]
/external/chromium/chrome/browser/autocomplete/
H A Dautocomplete_popup_view_gtk.cc206 // UTF-16 offsets in the classification into text_utf8 byte offsets.
208 std::string text_utf8 = prefix_text + UTF16ToUTF8(localized_text); local
243 text_utf8.insert(offset, lre);
264 pango_layout_set_text(layout, text_utf8.data(), text_utf8.size());
/external/chromium_org/chrome/browser/ui/gtk/omnibox/
H A Domnibox_popup_view_gtk.cc203 // UTF-16 offsets in the classification into text_utf8 byte offsets.
205 std::string text_utf8 = prefix_text + UTF16ToUTF8(localized_text); local
240 text_utf8.insert(offset, lre);
261 pango_layout_set_text(layout, text_utf8.data(), text_utf8.length());
/external/chromium_org/chrome/browser/ui/gtk/
H A Dgtk_util.cc716 std::string text_utf8 = UTF16ToUTF8(text); local
717 if (text_utf8.length() > 2000)
718 text_utf8 = text_utf8.substr(0, 2000);
720 pango_layout_set_text(layout, text_utf8.data(), text_utf8.length());

Completed in 277 milliseconds