text 23 android_webview/java/src/org/chromium/android_webview/AwContents.java import android.text.TextUtils; text 12 android_webview/test/shell/src/org/chromium/android_webview/shell/AwShellActivity.java import android.text.TextUtils; text 49 ash/accelerators/exit_warning_handler.cc const base::string16& text, text 54 ash/accelerators/exit_warning_handler.cc text, text 743 ash/extended_desktop_unittest.cc EXPECT_EQ("a", base::UTF16ToASCII(textfield->text())); text 749 ash/extended_desktop_unittest.cc EXPECT_EQ("ab", base::UTF16ToASCII(textfield->text())); text 756 ash/extended_desktop_unittest.cc EXPECT_EQ("abc", base::UTF16ToASCII(textfield->text())); text 766 ash/extended_desktop_unittest.cc EXPECT_EQ("abcd", base::UTF16ToASCII(textfield->text())); text 772 ash/extended_desktop_unittest.cc EXPECT_EQ("abcde", base::UTF16ToASCII(textfield->text())); text 117 ash/ime/candidate_window_view.cc void SetText(const base::string16& text) { text 118 ash/ime/candidate_window_view.cc label_->SetText(text); text 228 ash/ime/candidate_window_view.cc void CandidateWindowView::UpdatePreeditText(const base::string16& text) { text 229 ash/ime/candidate_window_view.cc preedit_->SetText(text); text 64 ash/ime/candidate_window_view.h void UpdatePreeditText(const base::string16& text); text 106 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(shortcut, base::UTF16ToUTF8(row->shortcut_label_->text())); text 107 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(candidate, base::UTF16ToUTF8(row->candidate_label_->text())); text 108 ash/ime/candidate_window_view_unittest.cc EXPECT_EQ(annotation, base::UTF16ToUTF8(row->annotation_label_->text())); text 55 ash/shelf/shelf_tooltip_manager.cc void SetText(const base::string16& text); text 111 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { text 112 ash/shelf/shelf_tooltip_manager.cc label_->SetText(text); text 163 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { text 176 ash/shelf/shelf_tooltip_manager.cc CreateBubble(anchor, text); text 181 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { text 192 ash/shelf/shelf_tooltip_manager.cc CreateBubble(anchor, text); text 344 ash/shelf/shelf_tooltip_manager.cc const base::string16& text) { text 348 ash/shelf/shelf_tooltip_manager.cc text_ = text; text 51 ash/shelf/shelf_tooltip_manager.h void ShowDelayed(views::View* anchor, const base::string16& text); text 54 ash/shelf/shelf_tooltip_manager.h void ShowImmediately(views::View* anchor, const base::string16& text); text 100 ash/shelf/shelf_tooltip_manager.h void CreateBubble(views::View* anchor, const base::string16& text); text 290 ash/shell/app_list.cc base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query); text 46 ash/shell/lock_view.cc base::string16 text = base::ASCIIToUTF16("LOCKED!"); text 47 ash/shell/lock_view.cc int string_width = gfx::GetStringWidth(text, font_list_); text 48 ash/shell/lock_view.cc canvas->DrawStringRect(text, font_list_, SK_ColorRED, text 59 ash/sticky_keys/sticky_keys_overlay.cc const base::string16& text, text 108 ash/sticky_keys/sticky_keys_overlay.cc const base::string16& text, text 112 ash/sticky_keys/sticky_keys_overlay.cc text, text 284 ash/system/bluetooth/tray_bluetooth.cc HoverHighlightView* AddScrollListItem(const base::string16& text, text 289 ash/system/bluetooth/tray_bluetooth.cc views::Label* label = container->AddCheckableLabel(text, style, checked); text 70 ash/system/chromeos/audio/audio_detailed_view.cc void AudioDetailedView::AddScrollListInfoItem(const base::string16& text) { text 72 ash/system/chromeos/audio/audio_detailed_view.cc text, text 98 ash/system/chromeos/audio/audio_detailed_view.cc const base::string16& text, text 102 ash/system/chromeos/audio/audio_detailed_view.cc container->AddCheckableLabel(text, style, checked); text 34 ash/system/chromeos/audio/audio_detailed_view.h void AddScrollListInfoItem(const base::string16& text); text 36 ash/system/chromeos/audio/audio_detailed_view.h HoverHighlightView* AddScrollListItem(const base::string16& text, text 61 ash/system/chromeos/network/network_state_list_detailed_view.cc views::Label* CreateInfoBubbleLabel(const base::string16& text) { text 62 ash/system/chromeos/network/network_state_list_detailed_view.cc views::Label* label = new views::Label(text); text 70 ash/system/chromeos/network/network_state_list_detailed_view.cc views::Label* CreateMenuInfoLabel(const base::string16& text) { text 71 ash/system/chromeos/network/network_state_list_detailed_view.cc views::Label* label = new views::Label(text); text 545 ash/system/chromeos/network/network_state_list_detailed_view.cc int index, const base::string16& text, views::Label** label) { text 547 ash/system/chromeos/network/network_state_list_detailed_view.cc *label = CreateMenuInfoLabel(text); text 551 ash/system/chromeos/network/network_state_list_detailed_view.cc (*label)->SetText(text); text 622 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text = rb.GetLocalizedString(status_message_id); text 623 ash/system/chromeos/network/network_state_list_detailed_view.cc if (CreateOrUpdateInfoLabel(index++, text, &no_cellular_networks_view_)) text 636 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text = rb.GetLocalizedString(message_id); text 637 ash/system/chromeos/network/network_state_list_detailed_view.cc if (CreateOrUpdateInfoLabel(index++, text, &no_wifi_networks_view_)) text 647 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text = text 649 ash/system/chromeos/network/network_state_list_detailed_view.cc if (CreateOrUpdateInfoLabel(index++, text, &scanning_view_)) text 670 ash/system/chromeos/network/network_state_list_detailed_view.cc base::string16 text; text 672 ash/system/chromeos/network/network_state_list_detailed_view.cc text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_NETWORK_NO_VPN); text 674 ash/system/chromeos/network/network_state_list_detailed_view.cc text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_NO_NETWORKS); text 675 ash/system/chromeos/network/network_state_list_detailed_view.cc if (CreateOrUpdateInfoLabel(index++, text, &scanning_view_)) text 94 ash/system/chromeos/network/network_state_list_detailed_view.h int index, const base::string16& text, views::Label** label); text 45 ash/system/chromeos/network/tray_sms.cc std::string* text) { text 48 ash/system/chromeos/network/tray_sms.cc if (!message->GetStringWithoutPathExpansion(kSmsTextKey, text)) text 221 ash/system/chromeos/network/tray_sms.cc std::string number, text; text 222 ash/system/chromeos/network/tray_sms.cc if (!GetMessageFromDictionary(message, &number, &text)) { text 228 ash/system/chromeos/network/tray_sms.cc number, text); text 248 ash/system/chromeos/network/tray_sms.cc const std::string& text) text 252 ash/system/chromeos/network/tray_sms.cc owner, SmsMessageView::VIEW_NOTIFICATION, message_index_, number, text); text 258 ash/system/chromeos/network/tray_sms.cc const std::string& text) { text 261 ash/system/chromeos/network/tray_sms.cc message_index_, number, text); text 324 ash/system/chromeos/network/tray_sms.cc std::string number, text; text 325 ash/system/chromeos/network/tray_sms.cc if (GetLatestMessage(&index, &number, &text)) text 326 ash/system/chromeos/network/tray_sms.cc notification_ = new SmsNotificationView(this, index, number, text); text 376 ash/system/chromeos/network/tray_sms.cc std::string* text) { text 383 ash/system/chromeos/network/tray_sms.cc if (!GetMessageFromDictionary(message, number, text)) text 410 ash/system/chromeos/network/tray_sms.cc std::string number, text; text 411 ash/system/chromeos/network/tray_sms.cc if (GetLatestMessage(&index, &number, &text)) text 412 ash/system/chromeos/network/tray_sms.cc notification_->Update(index, number, text); text 42 ash/system/chromeos/network/tray_sms.h bool GetLatestMessage(size_t* index, std::string* number, std::string* text); text 69 ash/system/chromeos/power/power_status_view_unittest.cc return view()->time_status_label_->text(); text 87 ash/system/chromeos/power/power_status_view_unittest.cc return view()->status_label_->text(); text 91 ash/system/chromeos/power/power_status_view_unittest.cc return view()->time_label_->text(); text 52 ash/system/chromeos/settings/tray_settings.cc base::string16 text = rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_SETTINGS); text 53 ash/system/chromeos/settings/tray_settings.cc label_ = new views::Label(text); text 55 ash/system/chromeos/settings/tray_settings.cc SetAccessibleName(text); text 109 ash/system/chromeos/settings/tray_settings.cc label_->text() + base::ASCIIToUTF16(", ") + text 105 ash/system/chromeos/tray_caps_lock.cc state->name = text_label_->text(); text 426 ash/system/chromeos/tray_display.cc return static_cast<DisplayView*>(default_)->label()->text(); text 47 ash/system/tray/hover_highlight_view.cc const base::string16& text, text 56 ash/system/tray/hover_highlight_view.cc text_label_ = new views::Label(text); text 63 ash/system/tray/hover_highlight_view.cc SetAccessibleName(text); text 66 ash/system/tray/hover_highlight_view.cc views::Label* HoverHighlightView::AddLabel(const base::string16& text, text 69 ash/system/tray/hover_highlight_view.cc text_label_ = new views::Label(text); text 89 ash/system/tray/hover_highlight_view.cc SetAccessibleName(text); text 93 ash/system/tray/hover_highlight_view.cc views::Label* HoverHighlightView::AddCheckableLabel(const base::string16& text, text 111 ash/system/tray/hover_highlight_view.cc text_label_ = new views::Label(text); text 119 ash/system/tray/hover_highlight_view.cc SetAccessibleName(text); text 122 ash/system/tray/hover_highlight_view.cc return AddLabel(text, style); text 31 ash/system/tray/hover_highlight_view.h const base::string16& text, text 37 ash/system/tray/hover_highlight_view.h views::Label* AddLabel(const base::string16& text, text 43 ash/system/tray/hover_highlight_view.h views::Label* AddCheckableLabel(const base::string16& text, text 72 ash/system/tray/tray_bar_button_with_title.cc base::string16 text = rb.GetLocalizedString(title_id); text 73 ash/system/tray/tray_bar_button_with_title.cc title_->SetText(text); text 16 ash/system/tray/tray_popup_label_button.cc const base::string16& text) text 17 ash/system/tray/tray_popup_label_button.cc : views::LabelButton(listener, text) { text 19 ash/system/tray/tray_popup_label_button.h const base::string16& text); text 105 ash/system/tray_accessibility.cc base::string16 text; text 107 ash/system/tray_accessibility.cc text.append(l10n_util::GetStringUTF16( text 111 ash/system/tray_accessibility.cc if (!text.empty()) text 112 ash/system/tray_accessibility.cc text.append(base::ASCIIToUTF16(" ")); text 113 ash/system/tray_accessibility.cc text.append(l10n_util::GetStringUTF16( text 116 ash/system/tray_accessibility.cc views::Label* label = new views::Label(text); text 243 ash/system/tray_accessibility.cc const base::string16& text, text 247 ash/system/tray_accessibility.cc container->AddCheckableLabel(text, style, checked); text 75 ash/system/tray_accessibility.h HoverHighlightView* AddScrollListItem(const base::string16& text, text 7 base/android/java/src/org/chromium/base/CommandLine.java import android.text.TextUtils; text 152 base/android/jni_array_unittest.cc char text[16]; text 154 base/android/jni_array_unittest.cc snprintf(text, sizeof text, "%d", i); text 156 base/android/jni_array_unittest.cc env, reinterpret_cast<uint8*>(text), text 157 base/android/jni_array_unittest.cc static_cast<size_t>(strlen(text))); text 170 base/android/jni_array_unittest.cc snprintf(text, sizeof text, "%d", i); text 171 base/android/jni_array_unittest.cc EXPECT_STREQ(text, vec[i].c_str()); text 118 base/containers/stack_container_unittest.cc StackVector<wchar_t, 16> text; text 119 base/containers/stack_container_unittest.cc text->push_back(L'A'); text 120 base/containers/stack_container_unittest.cc EXPECT_ALIGNED(&text[0], ALIGNOF(wchar_t)); text 70 base/debug/stack_trace_posix.cc void DemangleSymbols(std::string* text) { text 77 base/debug/stack_trace_posix.cc while (search_from < text->size()) { text 80 base/debug/stack_trace_posix.cc text->find(kMangledSymbolPrefix, search_from); text 87 base/debug/stack_trace_posix.cc text->find_first_not_of(kSymbolCharacters, mangled_start); text 89 base/debug/stack_trace_posix.cc mangled_end = text->size(); text 92 base/debug/stack_trace_posix.cc text->substr(mangled_start, mangled_end - mangled_start); text 100 base/debug/stack_trace_posix.cc text->erase(mangled_start, mangled_end - mangled_start); text 102 base/debug/stack_trace_posix.cc text->insert(mangled_start, demangled_symbol.get()); text 22 base/i18n/bidi_line_iterator.cc bool BiDiLineIterator::Open(const string16& text, text 27 base/i18n/bidi_line_iterator.cc bidi_ = ubidi_openSized(static_cast<int>(text.length()), 0, &error); text 32 base/i18n/bidi_line_iterator.cc ubidi_setPara(bidi_, text.data(), static_cast<int>(text.length()), text 26 base/i18n/bidi_line_iterator.h bool Open(const string16& text, bool right_to_left, bool url); text 324 base/i18n/break_iterator_unittest.cc string16 text; text 327 base/i18n/break_iterator_unittest.cc text.append(characters.back()); text 329 base/i18n/break_iterator_unittest.cc BreakIterator iter(text, BreakIterator::BREAK_CHARACTER); text 14 base/i18n/icu_encoding_detection.cc bool DetectEncoding(const std::string& text, std::string* encoding) { text 15 base/i18n/icu_encoding_detection.cc if (IsStringASCII(text)) { text 22 base/i18n/icu_encoding_detection.cc ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), text 37 base/i18n/icu_encoding_detection.cc bool DetectAllEncodings(const std::string& text, text 41 base/i18n/icu_encoding_detection.cc ucsdet_setText(detector, text.data(), static_cast<int32_t>(text.length()), text 18 base/i18n/icu_encoding_detection.h BASE_I18N_EXPORT bool DetectEncoding(const std::string& text, text 25 base/i18n/icu_encoding_detection.h BASE_I18N_EXPORT bool DetectAllEncodings(const std::string& text, text 268 base/i18n/icu_string_conversions.cc bool ConvertToUtf8AndNormalize(const std::string& text, text 274 base/i18n/icu_string_conversions.cc text, charset.c_str(), OnStringConversionError::FAIL, &utf16)) text 64 base/i18n/icu_string_conversions.h BASE_I18N_EXPORT bool ConvertToUtf8AndNormalize(const std::string& text, text 150 base/i18n/rtl.cc TextDirection GetFirstStrongCharacterDirection(const string16& text) { text 151 base/i18n/rtl.cc const UChar* string = text.c_str(); text 152 base/i18n/rtl.cc size_t length = text.length(); text 166 base/i18n/rtl.cc TextDirection GetLastStrongCharacterDirection(const string16& text) { text 167 base/i18n/rtl.cc const UChar* string = text.c_str(); text 168 base/i18n/rtl.cc size_t position = text.length(); text 181 base/i18n/rtl.cc TextDirection GetStringDirection(const string16& text) { text 182 base/i18n/rtl.cc const UChar* string = text.c_str(); text 183 base/i18n/rtl.cc size_t length = text.length(); text 209 base/i18n/rtl.cc bool AdjustStringForLocaleDirection(string16* text) { text 210 base/i18n/rtl.cc if (!IsRTL() || text->empty()) text 215 base/i18n/rtl.cc bool has_rtl_chars = StringContainsStrongRTLChars(*text); text 217 base/i18n/rtl.cc WrapStringWithLTRFormatting(text); text 219 base/i18n/rtl.cc WrapStringWithRTLFormatting(text); text 224 base/i18n/rtl.cc bool UnadjustStringForLocaleDirection(string16* text) { text 225 base/i18n/rtl.cc if (!IsRTL() || text->empty()) text 228 base/i18n/rtl.cc *text = StripWrappingBidiControlCharacters(*text); text 232 base/i18n/rtl.cc bool AdjustStringForLocaleDirection(string16* text) { text 258 base/i18n/rtl.cc if (text->empty()) text 263 base/i18n/rtl.cc bool has_rtl_chars = StringContainsStrongRTLChars(*text); text 265 base/i18n/rtl.cc WrapStringWithRTLFormatting(text); text 266 base/i18n/rtl.cc text->insert(static_cast<size_t>(0), static_cast<size_t>(1), text 268 base/i18n/rtl.cc text->push_back(kLeftToRightMark); text 270 base/i18n/rtl.cc WrapStringWithRTLFormatting(text); text 271 base/i18n/rtl.cc text->insert(static_cast<size_t>(0), static_cast<size_t>(1), text 273 base/i18n/rtl.cc text->push_back(kRightToLeftMark); text 275 base/i18n/rtl.cc WrapStringWithLTRFormatting(text); text 276 base/i18n/rtl.cc text->insert(static_cast<size_t>(0), static_cast<size_t>(1), text 278 base/i18n/rtl.cc text->push_back(kRightToLeftMark); text 286 base/i18n/rtl.cc bool UnadjustStringForLocaleDirection(string16* text) { text 287 base/i18n/rtl.cc if (text->empty()) text 291 base/i18n/rtl.cc char16 begin = text->at(begin_index); text 297 base/i18n/rtl.cc size_t end_index = text->length() - 1; text 298 base/i18n/rtl.cc char16 end = text->at(end_index); text 305 base/i18n/rtl.cc text->substr(begin_index, end_index - begin_index + 1); text 306 base/i18n/rtl.cc *text = StripWrappingBidiControlCharacters(unmarked_text); text 312 base/i18n/rtl.cc bool StringContainsStrongRTLChars(const string16& text) { text 313 base/i18n/rtl.cc const UChar* string = text.c_str(); text 314 base/i18n/rtl.cc size_t length = text.length(); text 333 base/i18n/rtl.cc void WrapStringWithLTRFormatting(string16* text) { text 334 base/i18n/rtl.cc if (text->empty()) text 338 base/i18n/rtl.cc text->insert(static_cast<size_t>(0), static_cast<size_t>(1), text 342 base/i18n/rtl.cc text->push_back(kPopDirectionalFormatting); text 345 base/i18n/rtl.cc void WrapStringWithRTLFormatting(string16* text) { text 346 base/i18n/rtl.cc if (text->empty()) text 350 base/i18n/rtl.cc text->insert(static_cast<size_t>(0), static_cast<size_t>(1), text 354 base/i18n/rtl.cc text->push_back(kPopDirectionalFormatting); text 375 base/i18n/rtl.cc string16 GetDisplayStringInLTRDirectionality(const string16& text) { text 378 base/i18n/rtl.cc if (IsRTL() || GetFirstStrongCharacterDirection(text) == RIGHT_TO_LEFT) { text 379 base/i18n/rtl.cc string16 text_mutable(text); text 383 base/i18n/rtl.cc return text; text 386 base/i18n/rtl.cc string16 StripWrappingBidiControlCharacters(const string16& text) { text 387 base/i18n/rtl.cc if (text.empty()) text 388 base/i18n/rtl.cc return text; text 390 base/i18n/rtl.cc char16 begin = text[begin_index]; text 396 base/i18n/rtl.cc size_t end_index = text.length() - 1; text 397 base/i18n/rtl.cc if (text[end_index] == kPopDirectionalFormatting) text 399 base/i18n/rtl.cc return text.substr(begin_index, end_index - begin_index + 1); text 74 base/i18n/rtl.h const string16& text); text 76 base/i18n/rtl.h const string16& text); text 84 base/i18n/rtl.h BASE_I18N_EXPORT TextDirection GetStringDirection(const string16& text); text 108 base/i18n/rtl.h BASE_I18N_EXPORT bool AdjustStringForLocaleDirection(string16* text); text 111 base/i18n/rtl.h BASE_I18N_EXPORT bool UnadjustStringForLocaleDirection(string16* text); text 116 base/i18n/rtl.h BASE_I18N_EXPORT bool StringContainsStrongRTLChars(const string16& text); text 121 base/i18n/rtl.h BASE_I18N_EXPORT void WrapStringWithLTRFormatting(string16* text); text 126 base/i18n/rtl.h BASE_I18N_EXPORT void WrapStringWithRTLFormatting(string16* text); text 136 base/i18n/rtl.h const string16& text) WARN_UNUSED_RESULT; text 144 base/i18n/rtl.h const string16& text) WARN_UNUSED_RESULT; text 44 base/i18n/rtl_unittest.cc const wchar_t* text; text 109 base/i18n/rtl_unittest.cc GetFirstStrongCharacterDirection(WideToUTF16(cases[i].text))); text 118 base/i18n/rtl_unittest.cc const wchar_t* text; text 171 base/i18n/rtl_unittest.cc GetLastStrongCharacterDirection(WideToUTF16(cases[i].text))); text 176 base/i18n/rtl_unittest.cc const wchar_t* text; text 249 base/i18n/rtl_unittest.cc GetStringDirection(WideToUTF16(cases[i].text))); text 62 base/strings/safe_sprintf_unittest.cc static const char text[] = "hello world"; text 68 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, -1, text)); text 72 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(-1, SafeSNPrintf(buf, 0, text)); text 76 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSNPrintf(buf, 1, text)); text 83 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSNPrintf(buf, 2, text)); text 84 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(text[0], buf[0]); text 91 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, text 92 base/strings/safe_sprintf_unittest.cc SafeSNPrintf(buf, sizeof(buf), text)); text 93 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::string(text), std::string(buf)); text 94 base/strings/safe_sprintf_unittest.cc EXPECT_TRUE(!memcmp(buf + sizeof(text), ref + sizeof(text), text 95 base/strings/safe_sprintf_unittest.cc sizeof(buf) - sizeof(text))); text 99 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSPrintf(buf, text)); text 100 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::string(text), std::string(buf)); text 101 base/strings/safe_sprintf_unittest.cc EXPECT_TRUE(!memcmp(buf + sizeof(text), ref + sizeof(text), text 102 base/strings/safe_sprintf_unittest.cc sizeof(buf) - sizeof(text))); text 125 base/strings/safe_sprintf_unittest.cc const char text[] = "hello world"; text 140 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, text 148 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, text 150 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(text[0], buf[0]); text 157 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, text 159 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::string(text), std::string(buf)); text 160 base/strings/safe_sprintf_unittest.cc EXPECT_TRUE(!memcmp(buf + sizeof(text), ref + sizeof(text), text 161 base/strings/safe_sprintf_unittest.cc sizeof(buf) - sizeof(text))); text 165 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(static_cast<ssize_t>(sizeof(text))-1, SafeSPrintf(buf, fmt, ' ')); text 166 base/strings/safe_sprintf_unittest.cc EXPECT_EQ(std::string(text), std::string(buf)); text 167 base/strings/safe_sprintf_unittest.cc EXPECT_TRUE(!memcmp(buf + sizeof(text), ref + sizeof(text), text 168 base/strings/safe_sprintf_unittest.cc sizeof(buf) - sizeof(text))); text 266 base/strings/string_util.cc STR CollapseWhitespaceT(const STR& text, text 269 base/strings/string_util.cc result.resize(text.size()); text 277 base/strings/string_util.cc for (typename STR::const_iterator i(text.begin()); i != text.end(); ++i) { text 307 base/strings/string_util.cc string16 CollapseWhitespace(const string16& text, text 309 base/strings/string_util.cc return CollapseWhitespaceT(text, trim_sequences_with_line_breaks); text 312 base/strings/string_util.cc std::string CollapseWhitespaceASCII(const std::string& text, text 314 base/strings/string_util.cc return CollapseWhitespaceT(text, trim_sequences_with_line_breaks); text 224 base/strings/string_util.h const string16& text, text 227 base/strings/string_util.h const std::string& text, text 182 base/third_party/xdg_mime/xdgmimeglob.c xdg_unichar_t *text, text 190 base/third_party/xdg_mime/xdgmimeglob.c character = text[0]; text 244 base/third_party/xdg_mime/xdgmimeglob.c text++; text 245 base/third_party/xdg_mime/xdgmimeglob.c if (*text == 0) text 287 base/third_party/xdg_mime/xdgmimeglob.c node->child = _xdg_glob_hash_insert_ucs4 (node->child, text, mime_type, weight, case_sensitive); text 295 base/third_party/xdg_mime/xdgmimeglob.c const char *text, text 304 base/third_party/xdg_mime/xdgmimeglob.c unitext = _xdg_convert_to_ucs4 (text, &len); text 59 base/third_party/xdg_mime/xdgmimeglob.h const char *text, text 256 cc/layers/heads_up_display_layer_impl.cc const std::string& text, text 267 cc/layers/heads_up_display_layer_impl.cc canvas->drawText(text.c_str(), text.length(), x, y, *paint); text 274 cc/layers/heads_up_display_layer_impl.cc const std::string& text, text 278 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, paint, text, align, size, pos.x(), pos.y()); text 488 cc/layers/heads_up_display_layer_impl.cc std::string text = text 492 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, &paint, text, SkPaint::kRight_Align, kFontHeight, stat1_pos); text 496 cc/layers/heads_up_display_layer_impl.cc text = base::StringPrintf("%6.1f MB over", text 499 cc/layers/heads_up_display_layer_impl.cc text = base::StringPrintf("%6.1f MB max ", text 502 cc/layers/heads_up_display_layer_impl.cc DrawText(canvas, &paint, text, SkPaint::kRight_Align, kFontHeight, stat2_pos); text 81 cc/layers/heads_up_display_layer_impl.h const std::string& text, text 88 cc/layers/heads_up_display_layer_impl.h const std::string& text, text 7 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java import android.text.TextUtils; text 11 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java import android.text.format.DateFormat; text 146 chrome/android/java/src/org/chromium/chrome/browser/CertificateViewer.java java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext); text 31 chrome/android/java/src/org/chromium/chrome/browser/ChromeBrowserProvider.java import android.text.TextUtils; text 12 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java import android.text.Html; text 13 chrome/android/java/src/org/chromium/chrome/browser/IntentHelper.java import android.text.TextUtils; text 10 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java import android.text.TextUtils; text 13 chrome/android/java/src/org/chromium/chrome/browser/NavigationPopup.java import android.text.TextUtils; text 11 chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java import android.text.TextUtils; text 167 chrome/android/java/src/org/chromium/chrome/browser/Tab.java public void onSaveToClipboard(String text, boolean isUrl) { text 168 chrome/android/java/src/org/chromium/chrome/browser/Tab.java mClipboard.setText(text, text); text 173 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java private boolean speak(int utteranceId, String text, String lang, text 188 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java int result = mTextToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, params); text 7 chrome/android/java/src/org/chromium/chrome/browser/UrlUtilities.java import android.text.TextUtils; text 13 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java import android.text.Html; text 14 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java import android.text.TextUtils; text 99 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java holder.text = (TextView) convertView.findViewById(R.id.menu_item_text); text 118 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java holder.text.setText(item.getTitle()); text 121 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java holder.text.setEnabled(isEnabled); text 199 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java public TextView text; text 10 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerManager.java import android.text.TextUtils; text 432 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java String text; text 437 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java text = res.getString(R.string.app_banner_open); text 443 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java text = mAppData.installButtonText(); text 445 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java getContext().getString(R.string.app_banner_install_accessibility, text)); text 447 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java text = res.getString(R.string.app_banner_installing); text 452 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java mInstallButtonView.setText(text); text 12 chrome/android/java/src/org/chromium/chrome/browser/banners/InstallerDelegate.java import android.text.TextUtils; text 67 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuItemDelegate.java void onSaveToClipboard(String text, boolean isUrl); text 9 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java import android.text.TextUtils; text 7 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java import android.text.TextUtils; text 51 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/EmptyChromeContextMenuItemDelegate.java public void onSaveToClipboard(String text, boolean isUrl) { text 8 chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBar.java import android.text.SpannableStringBuilder; text 9 chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBar.java import android.text.Spanned; text 10 chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBar.java import android.text.TextUtils; text 11 chrome/android/java/src/org/chromium/chrome/browser/infobar/ConfirmInfoBar.java import android.text.style.ClickableSpan; text 8 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java import android.text.TextUtils; text 9 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java import android.text.method.LinkMovementMethod; text 8 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java import android.text.Spannable; text 9 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java import android.text.SpannableString; text 10 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java import android.text.SpannableStringBuilder; text 11 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java import android.text.TextUtils; text 12 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java import android.text.style.ClickableSpan; text 9 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java import android.text.SpannableString; text 10 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java import android.text.TextUtils; text 11 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateLanguagePanel.java import android.text.style.ForegroundColorSpan; text 10 chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java import java.text.NumberFormat; text 7 chrome/android/java/src/org/chromium/chrome/browser/omaha/ResponseParser.java import android.text.TextUtils; text 7 chrome/android/java/src/org/chromium/chrome/browser/omaha/XMLParser.java import android.text.TextUtils; text 7 chrome/android/java/src/org/chromium/chrome/browser/printing/TabPrinter.java import android.text.TextUtils; text 50 chrome/android/java/src/org/chromium/chrome/browser/share/ShareDialogAdapter.java TextView text = (TextView) view.findViewById(R.id.text); text 53 chrome/android/java/src/org/chromium/chrome/browser/share/ShareDialogAdapter.java text.setText(getItem(position).loadLabel(mManager)); text 26 chrome/android/java/src/org/chromium/chrome/browser/util/HashUtil.java public Params(String text) { text 27 chrome/android/java/src/org/chromium/chrome/browser/util/HashUtil.java mText = text; text 9 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillDialogControllerTest.java import android.text.TextUtils; text 8 chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillPopupTest.java import android.text.TextUtils; text 10 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java import android.text.TextUtils; text 8 chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellTab.java import android.text.TextUtils; text 12 chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java import android.text.TextUtils; text 37 chrome/browser/autocomplete/autocomplete_classifier.cc const base::string16& text, text 46 chrome/browser/autocomplete/autocomplete_classifier.cc text, base::string16::npos, base::string16(), GURL(), text 46 chrome/browser/autocomplete/autocomplete_classifier.h void Classify(const base::string16& text, text 213 chrome/browser/autocomplete/autocomplete_controller.cc const base::string16 old_input_text(input_.text()); text 227 chrome/browser/autocomplete/autocomplete_controller.cc const bool minimal_changes = (input_.text() == old_input_text) && text 259 chrome/browser/autocomplete/autocomplete_controller.cc (input.text().length() < 6)) { text 262 chrome/browser/autocomplete/autocomplete_controller.cc input.text().length()); text 43 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& text, text 59 chrome/browser/autocomplete/autocomplete_input.cc DCHECK(cursor_position <= text.length() || text 61 chrome/browser/autocomplete/autocomplete_input.cc << "Text: '" << text << "', cp: " << cursor_position; text 64 chrome/browser/autocomplete/autocomplete_input.cc if ((base::TrimWhitespace(text, base::TRIM_LEADING, &text_) & text 66 chrome/browser/autocomplete/autocomplete_input.cc AdjustCursorPositionIfNecessary(text.length() - text_.length(), text 102 chrome/browser/autocomplete/autocomplete_input.cc base::string16* text) { text 103 chrome/browser/autocomplete/autocomplete_input.cc if (type != FORCED_QUERY || text->empty() || (*text)[0] != L'?') text 106 chrome/browser/autocomplete/autocomplete_input.cc text->erase(0, 1); text 127 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& text, text 132 chrome/browser/autocomplete/autocomplete_input.cc size_t first_non_white = text.find_first_not_of(base::kWhitespaceUTF16, 0); text 136 chrome/browser/autocomplete/autocomplete_input.cc if (text.at(first_non_white) == L'?') { text 149 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 parsed_scheme(URLFixerUpper::SegmentURL(text, parts)); text 163 chrome/browser/autocomplete/autocomplete_input.cc *canonicalized_url = URLFixerUpper::FixupURL(base::UTF16ToUTF8(text), text 225 chrome/browser/autocomplete/autocomplete_input.cc Type http_type = Parse(http_scheme_prefix + text, desired_tld, text 279 chrome/browser/autocomplete/autocomplete_input.cc const base::string16 host(text.substr(parts->host.begin, parts->host.len)); text 344 chrome/browser/autocomplete/autocomplete_input.cc if (url_parse::ParsePort(text.c_str(), parts->port) == text 380 chrome/browser/autocomplete/autocomplete_input.cc char c = text[parts->path.end() - 1]; text 433 chrome/browser/autocomplete/autocomplete_input.cc const base::string16& text, text 438 chrome/browser/autocomplete/autocomplete_input.cc Parse(text, base::string16(), &parts, &scheme_str, NULL); text 447 chrome/browser/autocomplete/autocomplete_input.cc (static_cast<int>(text.length()) > after_scheme_and_colon)) { text 449 chrome/browser/autocomplete/autocomplete_input.cc base::string16 real_url(text.substr(after_scheme_and_colon)); text 518 chrome/browser/autocomplete/autocomplete_input.cc void AutocompleteInput::UpdateText(const base::string16& text, text 521 chrome/browser/autocomplete/autocomplete_input.cc DCHECK(cursor_position <= text.length() || text 523 chrome/browser/autocomplete/autocomplete_input.cc << "Text: '" << text << "', cp: " << cursor_position; text 524 chrome/browser/autocomplete/autocomplete_input.cc text_ = text; text 136 chrome/browser/autocomplete/autocomplete_input.h AutocompleteInput(const base::string16& text, text 150 chrome/browser/autocomplete/autocomplete_input.h base::string16* text); text 160 chrome/browser/autocomplete/autocomplete_input.h static Type Parse(const base::string16& text, text 170 chrome/browser/autocomplete/autocomplete_input.h static void ParseForEmphasizeComponents(const base::string16& text, text 188 chrome/browser/autocomplete/autocomplete_input.h static bool HasHTTPScheme(const base::string16& text); text 191 chrome/browser/autocomplete/autocomplete_input.h const base::string16& text() const { return text_; } text 200 chrome/browser/autocomplete/autocomplete_input.h void UpdateText(const base::string16& text, text 257 chrome/browser/autocomplete/autocomplete_input_unittest.cc EXPECT_EQ(input_cases[i].normalized_input, input.text()); text 204 chrome/browser/autocomplete/autocomplete_match.cc const base::string16& text, text 207 chrome/browser/autocomplete/autocomplete_match.cc ClassifyLocationInString(text.find(find_text), find_text.length(), text 208 chrome/browser/autocomplete/autocomplete_match.cc text.length(), style, classification); text 327 chrome/browser/autocomplete/autocomplete_match.cc base::string16 AutocompleteMatch::SanitizeString(const base::string16& text) { text 331 chrome/browser/autocomplete/autocomplete_match.cc base::TrimWhitespace(text, base::TRIM_LEADING, &result); text 490 chrome/browser/autocomplete/autocomplete_match.cc const base::string16& text, text 492 chrome/browser/autocomplete/autocomplete_match.cc if (text.empty()) { text 498 chrome/browser/autocomplete/autocomplete_match.cc DCHECK(!classifications.empty()) << "No classification for \"" << text << '"'; text 500 chrome/browser/autocomplete/autocomplete_match.cc << "Classification misses beginning for \"" << text << '"'; text 510 chrome/browser/autocomplete/autocomplete_match.cc << " Classification for \"" << text << "\" with offset of " << i->offset text 513 chrome/browser/autocomplete/autocomplete_match.cc DCHECK_LT(i->offset, text.length()) text 514 chrome/browser/autocomplete/autocomplete_match.cc << " Classification of [" << i->offset << "," << text.length() text 515 chrome/browser/autocomplete/autocomplete_match.cc << "] is out of bounds for \"" << text << "\". Provider: " text 125 chrome/browser/autocomplete/autocomplete_match.h const base::string16& text, text 163 chrome/browser/autocomplete/autocomplete_match.h static base::string16 SanitizeString(const base::string16& text); text 362 chrome/browser/autocomplete/autocomplete_match.h const base::string16& text, text 138 chrome/browser/autocomplete/autocomplete_provider.cc const base::string16& input_text = input->text(); text 220 chrome/browser/autocomplete/autocomplete_result.cc input.text(); text 453 chrome/browser/autocomplete/base_search_provider.cc kACMatchPropertyInputText, base::UTF16ToUTF8(input.text())); text 468 chrome/browser/autocomplete/base_search_provider.cc (base::CollapseWhitespace(input.text(), false) == text 479 chrome/browser/autocomplete/base_search_provider.cc StartsWith(suggestion.suggestion(), input.text(), false)) { text 481 chrome/browser/autocomplete/base_search_provider.cc suggestion.suggestion().substr(input.text().length()); text 490 chrome/browser/autocomplete/base_search_provider.cc match.search_terms_args->original_query = input.text(); text 755 chrome/browser/autocomplete/base_search_provider.cc query != input.text() || !root_list->GetList(1, &results_list)) text 816 chrome/browser/autocomplete/base_search_provider.cc base::CollapseWhitespace(input.text(), false); text 837 chrome/browser/autocomplete/base_search_provider.cc relevances != NULL, input.text(), languages)); text 45 chrome/browser/autocomplete/bookmark_provider.cc if (input.text().empty() || text 92 chrome/browser/autocomplete/bookmark_provider.cc bookmark_model_->GetBookmarksWithTitlesMatching(input.text(), text 74 chrome/browser/autocomplete/builtin_provider.cc base::string16 text = input.text(); text 75 chrome/browser/autocomplete/builtin_provider.cc bool starting_chrome = StartsWith(kChrome, text, false); text 76 chrome/browser/autocomplete/builtin_provider.cc if (starting_chrome || StartsWith(kAbout, text, false)) { text 81 chrome/browser/autocomplete/builtin_provider.cc bool highlight = starting_chrome || text.length() > kAboutSchemeLength; text 83 chrome/browser/autocomplete/builtin_provider.cc size_t offset = starting_chrome ? text.length() : kChrome.length(); text 95 chrome/browser/autocomplete/builtin_provider.cc GURL url = URLFixerUpper::FixupURL(base::UTF16ToUTF8(text), std::string()); text 80 chrome/browser/autocomplete/extension_app_provider.cc app.should_match_against_launch_url ? app.launch_url : input.text(); text 85 chrome/browser/autocomplete/extension_app_provider.cc input.text().length(), app.name.length(), ACMatchClassification::NONE, text 90 chrome/browser/autocomplete/extension_app_provider.cc input.text().length(), app.launch_url.length(), text 95 chrome/browser/autocomplete/extension_app_provider.cc input.text().length(), text 110 chrome/browser/autocomplete/extension_app_provider.cc if (input.text().empty()) text 119 chrome/browser/autocomplete/extension_app_provider.cc input.text().begin(), input.text().end(), text 131 chrome/browser/autocomplete/extension_app_provider.cc input.text().begin(), input.text().end(), text 68 chrome/browser/autocomplete/history_provider.cc (!input.text().empty() && text 69 chrome/browser/autocomplete/history_provider.cc IsWhitespace(input.text()[input.text().length() - 1])); text 84 chrome/browser/autocomplete/history_quick_provider.cc if (input.text().length() < 6) { text 87 chrome/browser/autocomplete/history_quick_provider.cc base::IntToString(input.text().length()); text 109 chrome/browser/autocomplete/history_quick_provider.cc autocomplete_input_.text(), text 150 chrome/browser/autocomplete/history_quick_provider.cc autocomplete_input_.text().substr( text 179 chrome/browser/autocomplete/history_quick_provider.cc (autocomplete_input_.text()[ text 136 chrome/browser/autocomplete/history_quick_provider_unittest.cc void RunTest(const base::string16 text, text 243 chrome/browser/autocomplete/history_quick_provider_unittest.cc void HistoryQuickProviderTest::RunTest(const base::string16 text, text 249 chrome/browser/autocomplete/history_quick_provider_unittest.cc SCOPED_TRACE(text); // Minimal hint to query being run. text 251 chrome/browser/autocomplete/history_quick_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, base::string16(), text 419 chrome/browser/autocomplete/history_url_provider.cc const base::string16& text, text 434 chrome/browser/autocomplete/history_url_provider.cc DCHECK(!trim_http || !AutocompleteInput::HasHTTPScheme(text)); text 451 chrome/browser/autocomplete/history_url_provider.cc base::UTF8ToUTF16(destination_url.spec()), text); text 457 chrome/browser/autocomplete/history_url_provider.cc AutocompleteMatch::ClassifyMatchInString(text, match.contents, text 462 chrome/browser/autocomplete/history_url_provider.cc best_prefix->prefix.length() - offset, text.length(), text 519 chrome/browser/autocomplete/history_url_provider.cc params->input.text(), params->input.canonicalized_url(), text 541 chrome/browser/autocomplete/history_url_provider.cc base::UTF16ToUTF8(i->prefix + params->input.text()), text 701 chrome/browser/autocomplete/history_url_provider.cc const bool trim_http = !AutocompleteInput::HasHTTPScheme(input.text()); text 707 chrome/browser/autocomplete/history_url_provider.cc input.text(), input.canonicalized_url(), trim_http)); text 801 chrome/browser/autocomplete/history_url_provider.cc ClassifyDescription(input.text(), match->description); text 869 chrome/browser/autocomplete/history_url_provider.cc input.text().substr(input.parts().host.begin, input.parts().host.len))); text 929 chrome/browser/autocomplete/history_url_provider.cc GURL search_base = ConvertToHostOnly(match, params.input.text()); text 940 chrome/browser/autocomplete/history_url_provider.cc substr(0, match.input_location + params.input.text().length()); text 1077 chrome/browser/autocomplete/history_url_provider.cc history_match.input_location + params.input.text().length(); text 1117 chrome/browser/autocomplete/history_url_provider.cc ClassifyDescription(params.input.text(), match.description); text 177 chrome/browser/autocomplete/history_url_provider.h AutocompleteMatch SuggestExactInput(const base::string16& text, text 186 chrome/browser/autocomplete/history_url_provider_unittest.cc void RunTest(const base::string16 text, text 194 chrome/browser/autocomplete/history_url_provider_unittest.cc void RunTest(const base::string16 text, text 200 chrome/browser/autocomplete/history_url_provider_unittest.cc return RunTest(text, desired_tld, prevent_inline_autocomplete, text 275 chrome/browser/autocomplete/history_url_provider_unittest.cc const base::string16 text, text 281 chrome/browser/autocomplete/history_url_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, desired_tld, GURL(), text 302 chrome/browser/autocomplete/history_url_provider_unittest.cc ASSERT_EQ(num_results, matches_.size()) << "Input text: " << text text 907 chrome/browser/autocomplete/history_url_provider_unittest.cc input.text(), input.canonicalized_url(), test_cases[i].trim_http)); text 161 chrome/browser/autocomplete/keyword_provider.cc EndsWith(input->text(), remaining_input, true)) { text 162 chrome/browser/autocomplete/keyword_provider.cc int offset = input->text().length() - input->cursor_position(); text 166 chrome/browser/autocomplete/keyword_provider.cc DCHECK_LE(offset, static_cast<int>(input->text().length())); text 185 chrome/browser/autocomplete/keyword_provider.cc const base::string16& text) const { text 186 chrome/browser/autocomplete/keyword_provider.cc const base::string16 keyword(TemplateURLService::CleanUserInputKeyword(text)); text 217 chrome/browser/autocomplete/keyword_provider.cc const base::string16& text, text 223 chrome/browser/autocomplete/keyword_provider.cc keyword.length(), SplitReplacementStringFromInput(text, true), true, 0); text 395 chrome/browser/autocomplete/keyword_provider.cc SplitKeywordFromInput(input.text(), true, remaining_input)); text 85 chrome/browser/autocomplete/keyword_provider.h base::string16 GetKeywordForText(const base::string16& text) const; text 88 chrome/browser/autocomplete/keyword_provider.h AutocompleteMatch CreateVerbatimMatch(const base::string16& text, text 284 chrome/browser/autocomplete/keyword_provider_unittest.cc const std::string text; text 324 chrome/browser/autocomplete/keyword_provider_unittest.cc AutocompleteInput input(ASCIIToUTF16(cases[i].text), text 336 chrome/browser/autocomplete/keyword_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].updated_text), input.text()); text 79 chrome/browser/autocomplete/search_provider.cc bool HasMultipleWords(const base::string16& text) { text 80 chrome/browser/autocomplete/search_provider.cc base::i18n::BreakIterator i(text, base::i18n::BreakIterator::BREAK_WORD); text 255 chrome/browser/autocomplete/search_provider.cc else if (keyword_input_.text().empty()) text 286 chrome/browser/autocomplete/search_provider.cc if (input.text().empty()) { text 581 chrome/browser/autocomplete/search_provider.cc url_db->GetMostRecentKeywordSearchTerms(default_url->id(), input_.text(), text 590 chrome/browser/autocomplete/search_provider.cc keyword_input_.text(), num_matches, &keyword_history_results_); text 623 chrome/browser/autocomplete/search_provider.cc UpdateMatchContentsClass(input_.text(), &default_results_); text 624 chrome/browser/autocomplete/search_provider.cc if (!keyword_input_.text().empty()) text 625 chrome/browser/autocomplete/search_provider.cc UpdateMatchContentsClass(keyword_input_.text(), &keyword_results_); text 718 chrome/browser/autocomplete/search_provider.cc RemoveStaleResults(input_.text(), GetVerbatimRelevance(NULL), text 721 chrome/browser/autocomplete/search_provider.cc if (!keyword_input_.text().empty()) { text 722 chrome/browser/autocomplete/search_provider.cc RemoveStaleResults(keyword_input_.text(), text 728 chrome/browser/autocomplete/search_provider.cc if (keyword_input_.text().empty()) { text 773 chrome/browser/autocomplete/search_provider.cc TemplateURLRef::SearchTermsArgs search_term_args(input.text()); text 826 chrome/browser/autocomplete/search_provider.cc base::CollapseWhitespace(input_.text(), false); text 835 chrome/browser/autocomplete/search_provider.cc if (!keyword_input_.text().empty()) { text 850 chrome/browser/autocomplete/search_provider.cc base::CollapseWhitespace(keyword_input_.text(), false); text 1025 chrome/browser/autocomplete/search_provider.cc is_keyword ? keyword_input_.text() : input_.text(); text 1250 chrome/browser/autocomplete/search_provider.cc keyword_input_.text() : input_.text(), text 178 chrome/browser/autocomplete/search_provider_unittest.cc void QueryForInput(const base::string16& text, text 184 chrome/browser/autocomplete/search_provider_unittest.cc void QueryForInputAndSetWYTMatch(const base::string16& text, text 341 chrome/browser/autocomplete/search_provider_unittest.cc void SearchProviderTest::QueryForInput(const base::string16& text, text 345 chrome/browser/autocomplete/search_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, base::string16(), GURL(), text 357 chrome/browser/autocomplete/search_provider_unittest.cc const base::string16& text, text 359 chrome/browser/autocomplete/search_provider_unittest.cc QueryForInput(text, false, false); text 368 chrome/browser/autocomplete/search_provider_unittest.cc text, false)))), text 117 chrome/browser/autocomplete/shortcuts_backend.cc void ShortcutsBackend::AddOrUpdateShortcut(const base::string16& text, text 119 chrome/browser/autocomplete/shortcuts_backend.cc const base::string16 text_lowercase(base::i18n::ToLower(text)); text 127 chrome/browser/autocomplete/shortcuts_backend.cc it->second.id, text, MatchToMatchCore(match, profile_), now, text 133 chrome/browser/autocomplete/shortcuts_backend.cc base::GenerateGUID(), text, MatchToMatchCore(match, profile_), now, 1)); text 208 chrome/browser/autocomplete/shortcuts_backend.cc std::make_pair(base::i18n::ToLower(it->second.text), it->second)); text 230 chrome/browser/autocomplete/shortcuts_backend.cc std::make_pair(base::i18n::ToLower(shortcut.text), shortcut)); text 249 chrome/browser/autocomplete/shortcuts_backend.cc std::make_pair(base::i18n::ToLower(shortcut.text), shortcut)); text 76 chrome/browser/autocomplete/shortcuts_backend.h void AddOrUpdateShortcut(const base::string16& text, text 255 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcuts_map().find(shortcut.text)); text 265 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcut_iter = shortcuts_map().find(shortcut.text); text 295 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(shortcut1.id, shortcuts_map().find(shortcut1.text)->second.id); text 296 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(shortcut2.id, shortcuts_map().find(shortcut2.text)->second.id); text 297 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(shortcut3.id, shortcuts_map().find(shortcut3.text)->second.id); text 298 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(shortcut4.id, shortcuts_map().find(shortcut4.text)->second.id); text 303 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(0U, shortcuts_map().count(shortcut1.text)); text 304 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(0U, shortcuts_map().count(shortcut2.text)); text 306 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcuts_map().find(shortcut3.text)); text 310 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcuts_map().find(shortcut4.text)); text 58 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& text, text 62 chrome/browser/autocomplete/shortcuts_provider.cc const URLPrefix* best_prefix = URLPrefix::BestURLPrefix(text, prefix_suffix); text 65 chrome/browser/autocomplete/shortcuts_provider.cc if (URLPrefix::PrefixMatch(www_prefix, text, prefix_suffix)) text 96 chrome/browser/autocomplete/shortcuts_provider.cc if (input.text().empty()) text 104 chrome/browser/autocomplete/shortcuts_provider.cc if (input.text().length() < 6) { text 107 chrome/browser/autocomplete/shortcuts_provider.cc base::IntToString(input.text().size()); text 158 chrome/browser/autocomplete/shortcuts_provider.cc base::string16 term_string(base::i18n::ToLower(input.text())); text 164 chrome/browser/autocomplete/shortcuts_provider.cc fixed_up_term_string = fixed_up_input.text(); text 249 chrome/browser/autocomplete/shortcuts_provider.cc base::UTF16ToUTF8(shortcut.text)); text 309 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& text) { text 312 chrome/browser/autocomplete/shortcuts_provider.cc base::i18n::BreakIterator word_iter(text, text 342 chrome/browser/autocomplete/shortcuts_provider.cc const base::string16& text, text 351 chrome/browser/autocomplete/shortcuts_provider.cc if (text.empty()) text 356 chrome/browser/autocomplete/shortcuts_provider.cc base::string16 text_lowercase(base::i18n::ToLower(text)); text 432 chrome/browser/autocomplete/shortcuts_provider.cc DCHECK_LE(terms.length(), shortcut.text.length()); text 441 chrome/browser/autocomplete/shortcuts_provider.cc sqrt(static_cast<double>(terms.length()) / shortcut.text.length()); text 70 chrome/browser/autocomplete/shortcuts_provider.h static WordMap CreateWordMapForString(const base::string16& text); text 95 chrome/browser/autocomplete/shortcuts_provider.h const base::string16& text, text 48 chrome/browser/autocomplete/shortcuts_provider_unittest.cc std::string text; text 200 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest(const base::string16& text, ACMatchClassifications matches); text 210 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ClassifyTest::ClassifyTest(const base::string16& text, text 212 chrome/browser/autocomplete/shortcuts_provider_unittest.cc : text_(text), text 266 chrome/browser/autocomplete/shortcuts_provider_unittest.cc void RunTest(const base::string16 text, text 319 chrome/browser/autocomplete/shortcuts_provider_unittest.cc cur.guid, ASCIIToUTF16(cur.text), text 346 chrome/browser/autocomplete/shortcuts_provider_unittest.cc const base::string16 text, text 352 chrome/browser/autocomplete/shortcuts_provider_unittest.cc AutocompleteInput input(text, base::string16::npos, base::string16(), GURL(), text 397 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("go")); text 401 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, ASCIIToUTF16("ogle.com")); text 409 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, ASCIIToUTF16("ogle.com")); text 414 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("abcdef.com"); text 418 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, base::string16()); text 421 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); text 425 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("que"); text 429 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, ASCIIToUTF16("ry")); text 437 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, ASCIIToUTF16("ry")); text 442 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("query"); text 445 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, base::string16()); text 448 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); text 453 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("word"); text 458 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, base::string16()); text 465 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("about:o")); text 469 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, ASCIIToUTF16("mnibox")); text 477 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, ASCIIToUTF16("mnibox")); text 481 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("www/real sp"); text 485 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, text 494 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, text 499 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("notrailing.com/"); text 504 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); text 508 chrome/browser/autocomplete/shortcuts_provider_unittest.cc text = ASCIIToUTF16("http:///foo.com"); text 513 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, true, expected_urls, expected_url, base::string16()); text 517 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("NEWS")); text 529 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, "http://slashdot.org/", base::string16()); text 533 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("dupl")); text 538 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, "http://duplicate.com/", text 543 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("just")); text 551 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, "http://www.testsite.com/b.html", text 556 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("just a")); text 564 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, "http://www.testsite.com/d.html", text 569 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("ago")); text 577 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, "http://www.daysagotest.com/a.html", text 788 chrome/browser/autocomplete/shortcuts_provider_unittest.cc base::string16 text(ASCIIToUTF16("echo")); text 794 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, expected_urls, expected_url, ASCIIToUTF16(" echo")); text 812 chrome/browser/autocomplete/shortcuts_provider_unittest.cc RunTest(text, false, ExpectedURLs(), std::string(), base::string16()); text 42 chrome/browser/autocomplete/url_prefix.cc const URLPrefix* URLPrefix::BestURLPrefix(const base::string16& text, text 46 chrome/browser/autocomplete/url_prefix.cc if (PrefixMatch(*i, text, prefix_suffix)) text 53 chrome/browser/autocomplete/url_prefix.cc const base::string16& text, text 55 chrome/browser/autocomplete/url_prefix.cc return StartsWith(text, prefix.prefix + prefix_suffix, false); text 30 chrome/browser/autocomplete/url_prefix.h static const URLPrefix* BestURLPrefix(const base::string16& text, text 37 chrome/browser/autocomplete/url_prefix.h const base::string16& text, text 92 chrome/browser/autocomplete/zero_suggest_provider.cc permanent_text_ = input.text(); text 196 chrome/browser/bookmarks/bookmark_html_writer.cc bool Write(const std::string& text) { text 197 chrome/browser/bookmarks/bookmark_html_writer.cc if (!text.length()) text 199 chrome/browser/bookmarks/bookmark_html_writer.cc size_t wrote = file_->WriteAtCurrentPos(text.c_str(), text.length()); text 200 chrome/browser/bookmarks/bookmark_html_writer.cc bool result = (wrote == text.length()); text 207 chrome/browser/bookmarks/bookmark_html_writer.cc bool Write(const std::string& text, TextType type) { text 208 chrome/browser/bookmarks/bookmark_html_writer.cc DCHECK(IsStringUTF8(text)); text 214 chrome/browser/bookmarks/bookmark_html_writer.cc utf8_string = text; text 219 chrome/browser/bookmarks/bookmark_html_writer.cc utf8_string = net::EscapeForHTML(text); text 25 chrome/browser/bookmarks/bookmark_index.cc base::string16 Normalize(const base::string16& text) { text 29 chrome/browser/bookmarks/bookmark_index.cc icu::UnicodeString unicode_text(text.data(), text.length()); text 33 chrome/browser/bookmarks/bookmark_index.cc return text; text 742 chrome/browser/bookmarks/bookmark_model.cc const base::string16& text, text 748 chrome/browser/bookmarks/bookmark_model.cc index_->GetBookmarksWithTitlesMatching(text, max_count, matches); text 402 chrome/browser/bookmarks/bookmark_model.h const base::string16& text, text 72 chrome/browser/bookmarks/bookmark_utils.cc bool DoesBookmarkTextContainWords(const base::string16& text, text 76 chrome/browser/bookmarks/bookmark_utils.cc words[i], text, NULL, NULL)) { text 375 chrome/browser/chrome_browser_main_win.cc const base::string16 text = text 379 chrome/browser/chrome_browser_main_win.cc ui::MessageBox(NULL, text, caption, flags); text 65 chrome/browser/chrome_process_finder_win.cc std::string Escape(const std::string& text, const Charmap& charmap, text 68 chrome/browser/chrome_process_finder_win.cc escaped.reserve(text.length() * 3); text 69 chrome/browser/chrome_process_finder_win.cc for (unsigned int i = 0; i < text.length(); ++i) { text 70 chrome/browser/chrome_process_finder_win.cc unsigned char c = static_cast<unsigned char>(text[i]); text 91 chrome/browser/chrome_process_finder_win.cc std::string EscapeQueryParamValue(const std::string& text, bool use_plus) { text 92 chrome/browser/chrome_process_finder_win.cc return Escape(text, kQueryCharmap, use_plus); text 76 chrome/browser/chromeos/accessibility/speech_monitor.cc utterance_queue_.push_back(utterance->text()); text 333 chrome/browser/chromeos/drive/search_metadata.cc const std::string& text, text 340 chrome/browser/chromeos/drive/search_metadata.cc base::string16 text16 = base::UTF8ToUTF16(text); text 46 chrome/browser/chromeos/drive/search_metadata.h const std::string& text, text 30 chrome/browser/chromeos/drive/search_metadata_unittest.cc const std::string& text, text 35 chrome/browser/chromeos/drive/search_metadata_unittest.cc return FindAndHighlight(text, &query, highlighted_text); text 155 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc const base::string16& text, unsigned int cursor, bool visible) { text 157 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc if (!visible || text.empty()) { text 164 chrome/browser/chromeos/input_method/candidate_window_controller_impl.cc candidate_window_view_->UpdatePreeditText(text); text 74 chrome/browser/chromeos/input_method/candidate_window_controller_impl.h virtual void UpdatePreeditText(const base::string16& text, text 134 chrome/browser/chromeos/input_method/input_method_engine.cc const char* text, text 151 chrome/browser/chromeos/input_method/input_method_engine.cc composition_text_->set_text(base::UTF8ToUTF16(text)); text 199 chrome/browser/chromeos/input_method/input_method_engine.cc bool InputMethodEngine::CommitText(int context_id, const char* text, text 211 chrome/browser/chromeos/input_method/input_method_engine.cc IMEBridge::Get()->GetInputContextHandler()->CommitText(text); text 593 chrome/browser/chromeos/input_method/input_method_engine.cc void InputMethodEngine::SetSurroundingText(const std::string& text, text 597 chrome/browser/chromeos/input_method/input_method_engine.cc text, text 54 chrome/browser/chromeos/input_method/input_method_engine.h const char* text, text 61 chrome/browser/chromeos/input_method/input_method_engine.h virtual bool CommitText(int context_id, const char* text, text 97 chrome/browser/chromeos/input_method/input_method_engine.h virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos, text 478 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_EQ(base::UTF8ToUTF16("COMPOSITION_TEXT"), composition_text.text()); text 510 chrome/browser/chromeos/input_method/input_method_engine_browsertests.cc EXPECT_TRUE(composition_text.text().empty()); text 164 chrome/browser/chromeos/input_method/input_method_engine_interface.h const std::string& text, text 181 chrome/browser/chromeos/input_method/input_method_engine_interface.h const char* text, text 193 chrome/browser/chromeos/input_method/input_method_engine_interface.h virtual bool CommitText(int context_id, const char* text, text 476 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 text; text 481 chrome/browser/chromeos/input_method/input_method_util.cc text = base::UTF8ToUTF16(kMappingFromIdToIndicatorText[i].indicator_text); text 487 chrome/browser/chromeos/input_method/input_method_util.cc if (text.empty() && IsKeyboardLayout(input_method.id())) { text 491 chrome/browser/chromeos/input_method/input_method_util.cc text = base::UTF8ToUTF16(it->second); text 500 chrome/browser/chromeos/input_method/input_method_util.cc if (text.empty()) { text 504 chrome/browser/chromeos/input_method/input_method_util.cc text = StringToUpperASCII(base::UTF8ToUTF16(language_code)).substr( text 507 chrome/browser/chromeos/input_method/input_method_util.cc DCHECK(!text.empty()) << input_method.id(); text 508 chrome/browser/chromeos/input_method/input_method_util.cc return text; text 550 chrome/browser/chromeos/input_method/input_method_util.cc base::string16 text = TranslateString( text 552 chrome/browser/chromeos/input_method/input_method_util.cc if (text == standard_input_method_text || text 559 chrome/browser/chromeos/input_method/input_method_util.cc text = language_name + base::UTF8ToUTF16(" - ") + text; text 562 chrome/browser/chromeos/input_method/input_method_util.cc DCHECK(!text.empty()); text 563 chrome/browser/chromeos/input_method/input_method_util.cc return text; text 27 chrome/browser/chromeos/input_method/mock_input_method_engine.cc const char* text, text 42 chrome/browser/chromeos/input_method/mock_input_method_engine.cc const char* text, text 134 chrome/browser/chromeos/input_method/mock_input_method_engine.cc void MockInputMethodEngine::SetSurroundingText(const std::string& text, text 44 chrome/browser/chromeos/input_method/mock_input_method_engine.h const char* text, text 51 chrome/browser/chromeos/input_method/mock_input_method_engine.h virtual bool CommitText(int context_id, const char* text, text 87 chrome/browser/chromeos/input_method/mock_input_method_engine.h virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos, text 78 chrome/browser/chromeos/input_method/textinput_surroundingtext_browsertest.cc composition_text.text = sample_text; text 35 chrome/browser/chromeos/options/passphrase_textfield.cc if (show_fake_ && text().empty()) text 41 chrome/browser/chromeos/options/passphrase_textfield.cc return changed_ ? base::UTF16ToUTF8(text()) : std::string(); text 318 chrome/browser/chromeos/options/vpn_config_view.cc base::string16 server = server_textfield_->text(); text 1029 chrome/browser/chromeos/options/vpn_config_view.cc std::string untrimmed = base::UTF16ToUTF8(textfield->text()); text 417 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_textfield_->text().length() < kMinWirelessPasswordLen) text 752 chrome/browser/chromeos/options/wifi_config_view.cc std::string untrimmed = base::UTF16ToUTF8(ssid_textfield_->text()); text 761 chrome/browser/chromeos/options/wifi_config_view.cc result = base::UTF16ToUTF8(passphrase_textfield_->text()); text 840 chrome/browser/chromeos/options/wifi_config_view.cc return base::UTF16ToUTF8(subject_match_textfield_->text()); text 857 chrome/browser/chromeos/options/wifi_config_view.cc return base::UTF16ToUTF8(identity_textfield_->text()); text 862 chrome/browser/chromeos/options/wifi_config_view.cc return base::UTF16ToUTF8(identity_anonymous_textfield_->text()); text 93 chrome/browser/chromeos/options/wimax_config_view.cc return passphrase_textfield_ && !passphrase_textfield_->text().empty(); text 180 chrome/browser/chromeos/options/wimax_config_view.cc return base::UTF16ToUTF8(identity_textfield_->text()); text 185 chrome/browser/chromeos/options/wimax_config_view.cc passphrase_textfield_->text()) : text 29 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc FixedWidthLabel(const base::string16& text, int width); text 40 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc FixedWidthLabel::FixedWidthLabel(const base::string16& text, int width) text 41 chrome/browser/chromeos/power/idle_action_warning_dialog_view.cc : Label(text), text 247 chrome/browser/chromeos/system/tray_accessibility_browsertest.cc return tray()->detailed_popup_->label_for_test()->text(); text 48 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 text = l10n_util::GetStringFUTF16(IDS_ECHO_CONSENT_DIALOG_TEXT, text 53 chrome/browser/chromeos/ui/echo_dialog_view.cc label_ = new views::StyledLabel(text, this); text 81 chrome/browser/chromeos/ui/echo_dialog_view.cc base::string16 text = l10n_util::GetStringFUTF16( text 84 chrome/browser/chromeos/ui/echo_dialog_view.cc label_ = new views::StyledLabel(text, this); text 192 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc void AddLabel(const base::string16& text, text 196 chrome/browser/chromeos/ui/idle_app_name_notification_view.cc label->SetText(text); text 113 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::string16 text = message->GetShownTextForTest(); text 116 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc EXPECT_EQ(name, text.substr(0, name.length())); text 124 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc base::string16 text = message->GetShownTextForTest(); text 127 chrome/browser/chromeos/ui/idle_app_name_notification_view_unittest.cc EXPECT_EQ(error, text); text 15 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc const base::string16& text) text 16 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc : text_(text) { text 36 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc const base::string16& text) { text 38 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc new chromeos::ScreenCaptureNotificationUIChromeOS(text)); text 17 chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.h explicit ScreenCaptureNotificationUIChromeOS(const base::string16& text); text 45 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool Write(const base::string16& text) = 0; text 149 chrome/browser/diagnostics/diagnostics_writer.cc virtual bool Write(const base::string16& text) OVERRIDE { text 151 chrome/browser/diagnostics/diagnostics_writer.cc printf("%s", base::UTF16ToUTF8(text).c_str()); text 62 chrome/browser/errorpage_browsertest.cc const std::string& text) { text 67 chrome/browser/errorpage_browsertest.cc text.c_str()); text 344 chrome/browser/extensions/api/history/history_api.cc base::string16 search_text = base::UTF8ToUTF16(params->query.text); text 39 chrome/browser/extensions/api/input/input.cc base::string16 text; text 40 chrome/browser/extensions/api/input/input.cc EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &text)); text 42 chrome/browser/extensions/api/input/input.cc return keyboard::InsertText(text, ash::Shell::GetPrimaryRootWindow()); text 257 chrome/browser/extensions/api/input_ime/input_ime_api.cc const std::string& text, text 264 chrome/browser/extensions/api/input_ime/input_ime_api.cc info.text = text; text 478 chrome/browser/extensions/api/input_ime/input_ime_api.cc engine->SetComposition(params.context_id, params.text.c_str(), text 517 chrome/browser/extensions/api/input_ime/input_ime_api.cc engine->CommitText(params.context_id, params.text.c_str(), &error_))); text 274 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc std::string text; text 275 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc EXPECT_TRUE(last_message_parsed_->GetString("echo.text", &text)); text 276 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc EXPECT_EQ("Hello.", text); text 286 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc EXPECT_TRUE(last_message_parsed_->GetString("echo.foo", &text)); text 287 chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc EXPECT_EQ("bar", text); text 19 chrome/browser/extensions/api/music_manager_private/device_id.cc const std::string& text, text 25 chrome/browser/extensions/api/music_manager_private/device_id.cc hmac.Sign(text, &digest[0], digest.size()); text 148 chrome/browser/extensions/api/terminal/terminal_private_api.cc const std::string& text) { text 149 chrome/browser/extensions/api/terminal/terminal_private_api.cc bool success = chromeos::ProcessProxyRegistry::Get()->SendInput(pid, text); text 113 chrome/browser/extensions/extension_action.h void SetBadgeText(int tab_id, const std::string& text) { text 114 chrome/browser/extensions/extension_action.h SetValue(&badge_text_, tab_id, text); text 102 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 121 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 129 chrome/browser/extensions/user_script_master_unittest.cc const std::string text("default to @include *"); text 133 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 139 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 145 chrome/browser/extensions/user_script_master_unittest.cc UserScriptMaster::ScriptReloader::ParseMetadataHeader(text, &script); text 151 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 163 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 169 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 177 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 181 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 190 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 195 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 204 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 213 chrome/browser/extensions/user_script_master_unittest.cc const std::string text( text 222 chrome/browser/extensions/user_script_master_unittest.cc text, &script)); text 112 chrome/browser/first_run/first_run_browsertest.cc void SetMasterPreferencesForTest(const char text[]) { text 113 chrome/browser/first_run/first_run_browsertest.cc text_.reset(new std::string(text)); text 161 chrome/browser/google/google_update_win.cc STDMETHOD(OnComplete)(LegacyCompletionCodes code, const TCHAR* text) { text 172 chrome/browser/google/google_update_win.cc error_message_ = text; text 369 chrome/browser/history/query_parser.cc bool QueryParser::DoesQueryMatch(const base::string16& text, text 376 chrome/browser/history/query_parser.cc base::string16 lower_text = base::i18n::ToLower(text); text 387 chrome/browser/history/query_parser.cc if (lower_text.length() != text.length()) { text 453 chrome/browser/history/query_parser.cc void QueryParser::ExtractQueryWords(const base::string16& text, text 455 chrome/browser/history/query_parser.cc base::i18n::BreakIterator iter(text, base::i18n::BreakIterator::BREAK_WORD); text 91 chrome/browser/history/query_parser.h bool DoesQueryMatch(const base::string16& text, text 101 chrome/browser/history/query_parser.h void ExtractQueryWords(const base::string16& text, text 93 chrome/browser/history/query_parser_unittest.cc const std::string text; text 124 chrome/browser/history/query_parser_unittest.cc parser.DoesQueryMatch(base::UTF8ToUTF16(data[i].text), text 144 chrome/browser/history/query_parser_unittest.cc const std::string text; text 158 chrome/browser/history/query_parser_unittest.cc parser.ParseQueryWords(base::UTF8ToUTF16(data[i].text), &results); text 35 chrome/browser/history/shortcuts_database.cc s->BindString16(1, shortcut.text); text 94 chrome/browser/history/shortcuts_database.cc const base::string16& text, text 99 chrome/browser/history/shortcuts_database.cc text(text), text 72 chrome/browser/history/shortcuts_database.h const base::string16& text, text 81 chrome/browser/history/shortcuts_database.h base::string16 text; // The user's original input string. text 30 chrome/browser/history/shortcuts_database_unittest.cc std::string text; text 125 chrome/browser/history/shortcuts_database_unittest.cc info.guid, ASCIIToUTF16(info.text), text 55 chrome/browser/history/snippet.h const base::string16& text() const { return text_; } text 128 chrome/browser/history/snippet_unittest.cc star_snippet += snippet.text().substr(pos, match->first - pos); text 130 chrome/browser/history/snippet_unittest.cc star_snippet += snippet.text().substr(match->first, text 135 chrome/browser/history/snippet_unittest.cc star_snippet += snippet.text().substr(pos); text 834 chrome/browser/metrics/metrics_log.cc static_cast<int>(Tokenize(log.text, base::kWhitespaceUTF16, &terms)); text 842 chrome/browser/metrics/metrics_log.cc omnibox_event->set_typed_length(log.text.length()); text 217 chrome/browser/net/url_info.cc static std::string RemoveJs(const std::string& text) { text 218 chrome/browser/net/url_info.cc std::string output(text); text 36 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc const std::string& text, text 42 chrome/browser/notifications/sync_notifier/chrome_notifier_delegate_unittest.cc syncer::SyncData sync_data = CreateSyncData(title, text, app_icon_url, text 153 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc const std::string& text, text 159 chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc SyncData sync_data = CreateSyncData(title, text, app_icon_url, image_url, text 78 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc const std::string& text, text 122 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc simple_expanded_layout->set_text(text); text 123 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc simple_collapsed_layout->set_description(text); text 124 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.cc simple_collapsed_layout->set_annotation(text); text 98 chrome/browser/notifications/sync_notifier/sync_notifier_test_utils.h const std::string& text, text 109 chrome/browser/notifications/sync_notifier/synced_notification.cc base::string16 text = base::UTF8ToUTF16(GetText()); text 238 chrome/browser/notifications/sync_notifier/synced_notification.cc DVLOG(1) << "Showing Synced Notification! " << heading << " " << text text 469 chrome/browser/notifications/sync_notifier/synced_notification.cc simple_expanded_layout().text(); text 8 chrome/browser/omnibox/omnibox_log.cc const base::string16& text, text 18 chrome/browser/omnibox/omnibox_log.cc : text(text), text 22 chrome/browser/omnibox/omnibox_log.h const base::string16& text, text 35 chrome/browser/omnibox/omnibox_log.h base::string16 text; text 157 chrome/browser/password_manager/chrome_password_manager_client.cc const std::string& text) { text 159 chrome/browser/password_manager/chrome_password_manager_client.cc logger_->LogSavePasswordProgress(text); text 51 chrome/browser/password_manager/chrome_password_manager_client.h virtual void LogSavePasswordProgress(const std::string& text) OVERRIDE; text 48 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc const std::string text("abcd1234"); text 51 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc client->LogSavePasswordProgress(text); text 55 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc EXPECT_CALL(logger, LogSavePasswordProgress(text)).Times(1); text 56 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc client->LogSavePasswordProgress(text); text 60 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc client->LogSavePasswordProgress(text); text 2653 chrome/browser/policy/policy_browsertest.cc std::string text; text 2666 chrome/browser/policy/policy_browsertest.cc &text)); text 2667 chrome/browser/policy/policy_browsertest.cc ASSERT_FALSE(text.empty()); text 2670 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(kExpectedLabel, text.substr(0, kExpectedLabel.size())); text 2672 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(std::string::npos, text.find("<br>1 ---")); text 2674 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(std::string::npos, text.find("<br>35 ---")); text 2676 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(std::string::npos, text.find("<br>82 ---")); text 325 chrome/browser/predictors/autocomplete_action_predictor.cc if (log.text.length() < kMinimumUserTextLength) text 336 chrome/browser/predictors/autocomplete_action_predictor.cc const base::string16 lower_user_text(base::i18n::ToLower(log.text)); text 376 chrome/browser/renderer_context_menu/render_view_context_menu.cc void EscapeAmpersands(base::string16* text) { text 378 chrome/browser/renderer_context_menu/render_view_context_menu.cc base::ReplaceChars(*text, ampersand, base::ASCIIToUTF16("&&"), text); text 369 chrome/browser/renderer_context_menu/spelling_menu_observer.cc const base::string16& text, text 58 chrome/browser/renderer_context_menu/spelling_menu_observer.h const base::string16& text, text 222 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc base::string16 text; text 223 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc clipboard->ReadText(type, &text); text 224 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc if (!text.empty()) { text 226 chrome/browser/renderer_host/pepper/pepper_flash_clipboard_message_filter.cc clipboard_string = base::UTF16ToUTF8(text); text 137 chrome/browser/speech/extension_api/tts_engine_extension_api.cc args->Set(0, base::Value::CreateStringValue(utterance->text())); text 141 chrome/browser/speech/extension_api/tts_extension_api.cc std::string text; text 142 chrome/browser/speech/extension_api/tts_extension_api.cc EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &text)); text 143 chrome/browser/speech/extension_api/tts_extension_api.cc if (text.size() > 32768) { text 269 chrome/browser/speech/extension_api/tts_extension_api.cc utterance->set_text(text); text 222 chrome/browser/speech/speech_recognition_bubble.cc void SpeechRecognitionBubbleBase::SetMessage(const base::string16& text) { text 224 chrome/browser/speech/speech_recognition_bubble.cc message_text_ = text; text 106 chrome/browser/speech/speech_recognition_bubble.h virtual void SetMessage(const base::string16& text) = 0; text 149 chrome/browser/speech/speech_recognition_bubble.h virtual void SetMessage(const base::string16& text) OVERRIDE; text 67 chrome/browser/speech/speech_recognition_bubble_controller.cc const base::string16& text) { text 69 chrome/browser/speech/speech_recognition_bubble_controller.cc request.message = text; text 53 chrome/browser/speech/speech_recognition_bubble_controller.h void SetBubbleMessage(const base::string16& text); text 212 chrome/browser/speech/tts_controller.cc utterance->text(), text 118 chrome/browser/speech/tts_controller.h void set_text(const std::string& text) { text_ = text; } text 119 chrome/browser/speech/tts_controller.h const std::string& text() const { return text_; } text 81 chrome/browser/speech/tts_message_filter.cc utterance->set_text(request.text); text 77 chrome/browser/spellchecker/feedback_sender.cc const base::string16& text) { text 81 chrome/browser/spellchecker/feedback_sender.cc text, text 265 chrome/browser/spellchecker/feedback_sender.cc const base::string16& text, text 283 chrome/browser/spellchecker/feedback_sender.cc if (!IsInBounds(result_it->location, result_it->length, text.length())) text 298 chrome/browser/spellchecker/feedback_sender.cc BuildFeedback(*result_it, text)); text 97 chrome/browser/spellchecker/feedback_sender.h const base::string16& text, text 114 chrome/browser/spellchecker/spellcheck_message_filter.cc const base::string16& text, text 116 chrome/browser/spellchecker/spellcheck_message_filter.cc DCHECK(!text.empty()); text 123 chrome/browser/spellchecker/spellcheck_message_filter.cc std::not1(SpellCheckMarker::IsValidPredicate(text.length()))), text 125 chrome/browser/spellchecker/spellcheck_message_filter.cc CallSpellingService(text, route_id, identifier, markers); text 133 chrome/browser/spellchecker/spellcheck_message_filter.cc const base::string16& text, text 142 chrome/browser/spellchecker/spellcheck_message_filter.cc render_process_id_, text, markers, &results_copy); text 148 chrome/browser/spellchecker/spellcheck_message_filter.cc std::string text_copy = base::UTF16ToUTF8(text); text 164 chrome/browser/spellchecker/spellcheck_message_filter.cc route_id, identifier, success, text, results_copy)); text 170 chrome/browser/spellchecker/spellcheck_message_filter.cc const base::string16& text, text 180 chrome/browser/spellchecker/spellcheck_message_filter.cc text, text 41 chrome/browser/spellchecker/spellcheck_message_filter.h const base::string16& text, text 51 chrome/browser/spellchecker/spellcheck_message_filter.h const base::string16& text, text 61 chrome/browser/spellchecker/spellcheck_message_filter.h const base::string16& text, text 39 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void RequestCheck(const base::string16& text, text 46 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void RequestRemoteCheck(const base::string16& text); text 49 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void RequestLocalCheck(const base::string16& text, int document_tag); text 56 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, text 93 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, text 98 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc DCHECK(!text.empty()); text 112 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc RequestRemoteCheck(text); text 113 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc RequestLocalCheck(text, document_tag_); text 116 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void SpellingRequest::RequestRemoteCheck(const base::string16& text) { text 126 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc text, text 131 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc void SpellingRequest::RequestLocalCheck(const base::string16& text, text 135 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc text, text 164 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, text 175 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc text, text 275 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc const base::string16& text, text 277 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc DCHECK(!text.empty()); text 284 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc std::not1(SpellCheckMarker::IsValidPredicate(text.length()))), text 290 chrome/browser/spellchecker/spellcheck_message_filter_mac.cc text, route_id, identifier, ToDocumentTag(route_id), markers); text 47 chrome/browser/spellchecker/spellcheck_message_filter_mac.h const base::string16& text, text 36 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc const base::string16& text, text 39 chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc route_id, identifier, markers, success, text, results); text 94 chrome/browser/spellchecker/spellcheck_platform_mac.h const base::string16& text, text 53 chrome/browser/spellchecker/spelling_service_client.cc const base::string16& text, text 57 chrome/browser/spellchecker/spelling_service_client.cc callback.Run(false, text, std::vector<SpellCheckResult>()); text 72 chrome/browser/spellchecker/spelling_service_client.cc std::string encoded_text = base::GetQuotedJSONString(text); text 100 chrome/browser/spellchecker/spelling_service_client.cc spellcheck_fetchers_[fetcher] = new TextCheckCallbackData(callback, text); text 236 chrome/browser/spellchecker/spelling_service_client.cc base::string16 text) text 238 chrome/browser/spellchecker/spelling_service_client.cc text(text) { text 261 chrome/browser/spellchecker/spelling_service_client.cc callback_data->callback.Run(success, callback_data->text, results); text 87 chrome/browser/spellchecker/spelling_service_client.h const base::string16& text, text 101 chrome/browser/spellchecker/spelling_service_client.h base::string16 text); text 109 chrome/browser/spellchecker/spelling_service_client.h base::string16 text; text 37 chrome/browser/spellchecker/spelling_service_client_unittest.cc const std::string& text, text 44 chrome/browser/spellchecker/spelling_service_client_unittest.cc text_(text) { text 68 chrome/browser/spellchecker/spelling_service_client_unittest.cc std::string text; text 69 chrome/browser/spellchecker/spelling_service_client_unittest.cc EXPECT_TRUE(value->GetString("params.text", &text)); text 70 chrome/browser/spellchecker/spelling_service_client_unittest.cc EXPECT_EQ(text_, text); text 129 chrome/browser/spellchecker/spelling_service_client_unittest.cc const std::string& text, text 132 chrome/browser/spellchecker/spelling_service_client_unittest.cc request_text_ = text; text 141 chrome/browser/spellchecker/spelling_service_client_unittest.cc void SetExpectedTextCheckResult(bool success, const char* text) { text 143 chrome/browser/spellchecker/spelling_service_client_unittest.cc corrected_text_.assign(base::UTF8ToUTF16(text)); text 156 chrome/browser/spellchecker/spelling_service_client_unittest.cc base::string16 text(base::UTF8ToUTF16(request_text_)); text 157 chrome/browser/spellchecker/spelling_service_client_unittest.cc EXPECT_EQ(text, request_text); text 160 chrome/browser/spellchecker/spelling_service_client_unittest.cc text.replace(it->location, it->length, it->replacement); text 162 chrome/browser/spellchecker/spelling_service_client_unittest.cc EXPECT_EQ(corrected_text_, text); text 197 chrome/browser/spellchecker/spelling_service_client_unittest.cc const base::string16& text, text 199 chrome/browser/spellchecker/spelling_service_client_unittest.cc client_.VerifyResponse(success, text, results); text 14 chrome/browser/spellchecker/word_trimmer.cc const base::string16& text, text 16 chrome/browser/spellchecker/word_trimmer.cc if (*start > text.length() || *start > end) text 17 chrome/browser/spellchecker/word_trimmer.cc return text; text 18 chrome/browser/spellchecker/word_trimmer.cc base::i18n::BreakIterator iter(text, base::i18n::BreakIterator::BREAK_WORD); text 20 chrome/browser/spellchecker/word_trimmer.cc return text; text 47 chrome/browser/spellchecker/word_trimmer.cc return text; text 49 chrome/browser/spellchecker/word_trimmer.cc return text.substr(first, last - first); text 29 chrome/browser/spellchecker/word_trimmer.h const base::string16& text, text 300 chrome/browser/translate/translate_infobar_delegate.cc base::string16 text = l10n_util::GetStringFUTF16( text 305 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(0, offset)); text 306 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(offset)); text 312 chrome/browser/translate/translate_infobar_delegate.cc base::string16 text = l10n_util::GetStringFUTF16( text 321 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(0, offsets[0])); text 322 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(offsets[0], offsets[1] - offsets[0])); text 323 chrome/browser/translate/translate_infobar_delegate.cc strings->push_back(text.substr(offsets[1])); text 154 chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc ASSERT_TRUE(model->search_box()->text().empty()); text 70 chrome/browser/ui/app_list/search/app_result.cc set_title(title.text()); text 35 chrome/browser/ui/app_list/search/omnibox_provider.cc const base::string16& text, text 60 chrome/browser/ui/app_list/search/omnibox_provider.cc tag_styles, tag_start, text.length())); text 98 chrome/browser/ui/app_list/search/search_controller.cc base::TrimWhitespace(search_box_->text(), base::TRIM_ALL, &query); text 140 chrome/browser/ui/app_list/search/search_controller.cc history_->AddLaunchEvent(base::UTF16ToUTF8(search_box_->text()), text 168 chrome/browser/ui/app_list/search/search_controller.cc history_->GetKnownResults(base::UTF16ToUTF8(search_box_->text())) text 16 chrome/browser/ui/app_list/search/tokenized_string.cc TokenizedString::TokenizedString(const base::string16& text) text 17 chrome/browser/ui/app_list/search/tokenized_string.cc : text_(text) { text 24 chrome/browser/ui/app_list/search/tokenized_string.h explicit TokenizedString(const base::string16& text); text 27 chrome/browser/ui/app_list/search/tokenized_string.h const base::string16& text() const { return text_; } text 41 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc void TestEveryChar(const std::string& text, const std::string& expects) { text 42 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TokenizedString tokens(base::UTF8ToUTF16(text)); text 55 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc void TestNextToken(const std::string& text, const std::string& expects) { text 56 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TokenizedString tokens(base::UTF8ToUTF16(text)); text 69 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc void TestFirstTwoCharInEveryToken(const std::string& text, text 71 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TokenizedString tokens(base::UTF8ToUTF16(text)); text 90 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc const char* text; text 92 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = ""; text 93 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, ""); text 94 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, ""); text 95 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, ""); text 97 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "!@#$%^&*()<<<**>>>"; text 98 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, ""); text 99 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, ""); text 100 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, ""); text 104 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc const char* text; text 106 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "c"; text 107 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "c0!"); text 108 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "c0!"); text 109 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "c0!"); text 111 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "Simple"; text 112 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "s0! i1 m2 p3 l4 e5"); text 113 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "s0!"); text 114 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "s0! i1"); text 116 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "ScratchPad"; text 117 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "s0! c1 r2 a3 t4 c5 h6 p7! a8 d9"); text 118 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "s0! p7!"); text 119 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "s0! c1 p7! a8"); text 121 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "Chess2.0"; text 122 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "c0! h1 e2 s3 s4 25! .6 07"); text 123 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "c0! 25!"); text 124 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "c0! h1 25! .6"); text 126 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "Cut the rope"; text 127 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "c0! u1 t2 t4! h5 e6 r8! o9 p10 e11"); text 128 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "c0! t4! r8!"); text 129 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "c0! u1 t4! h5 r8! o9"); text 131 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "AutoCAD WS"; text 132 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "a0! u1 t2 o3 c4! a5 d6 w8! s9"); text 133 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "a0! c4! w8!"); text 134 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "a0! u1 c4! a5 w8! s9"); text 136 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "Great TweetDeck"; text 137 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "g0! r1 e2 a3 t4 t6! w7 e8 e9 t10 d11! e12 c13 k14"); text 138 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "g0! t6! d11!"); text 139 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "g0! r1 t6! w7 d11! e12"); text 141 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "Draw-It!"; text 142 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "d0! r1 a2 w3 i5! t6"); text 143 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "d0! i5!"); text 144 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "d0! r1 i5! t6"); text 146 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc text = "Faxing & Signing"; text 147 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestEveryChar(text, "f0! a1 x2 i3 n4 g5 s9! i10 g11 n12 i13 n14 g15"); text 148 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestNextToken(text, "f0! s9!"); text 149 chrome/browser/ui/app_list/search/tokenized_string_char_iterator_unittest.cc TestFirstTwoCharInEveryToken(text, "f0! a1 s9! i10"); text 46 chrome/browser/ui/app_list/search/tokenized_string_match.cc const TokenizedString& text) { text 53 chrome/browser/ui/app_list/search/tokenized_string_match.cc TokenizedStringCharIterator text_iter(text); text 92 chrome/browser/ui/app_list/search/tokenized_string_match.cc if (text.text().length()) text 93 chrome/browser/ui/app_list/search/tokenized_string_match.cc relevance_ /= text.text().length(); text 99 chrome/browser/ui/app_list/search/tokenized_string_match.cc const base::string16& text) { text 101 chrome/browser/ui/app_list/search/tokenized_string_match.cc const TokenizedString tokenized_text(text); text 33 chrome/browser/ui/app_list/search/tokenized_string_match.h bool Calculate(const TokenizedString& query, const TokenizedString& text); text 36 chrome/browser/ui/app_list/search/tokenized_string_match.h bool Calculate(const base::string16& query, const base::string16& text); text 17 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc std::string MatchHit(const base::string16& text, text 19 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc base::string16 marked = text; text 34 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const char* text; text 47 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); text 48 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc EXPECT_FALSE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)) text 50 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc << " : text=" << kTestCases[i].text text 57 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const char* text; text 73 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); text 74 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc EXPECT_TRUE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)); text 75 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc EXPECT_EQ(kTestCases[i].expect, MatchHit(text, match)); text 81 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const char* text; text 101 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); text 103 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc match_low.Calculate(base::UTF8ToUTF16(kTestCases[i].query_low), text)); text 105 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc base::UTF8ToUTF16(kTestCases[i].query_high), text)); text 108 chrome/browser/ui/app_list/search/tokenized_string_match_unittest.cc << " : text=" << kTestCases[i].text text 39 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("ScratchPad")); text 40 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 45 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Chess2.0")); text 46 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 51 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Cut the rope")); text 52 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 57 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("AutoCAD WS")); text 58 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 63 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Great TweetDeck")); text 64 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 69 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Draw-It!")); text 70 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 75 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("Faxing & Signing")); text 76 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 81 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc base::string16 text(base::UTF8ToUTF16("!@#$%^&*()<<<**>>>")); text 82 chrome/browser/ui/app_list/search/tokenized_string_unittest.cc TokenizedString tokens(text); text 359 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text; text 364 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text = l10n_util::GetStringUTF16( text 370 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text = l10n_util::GetStringUTF16( text 381 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (!text.empty()) { text 384 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text)); text 562 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc phone_message.text = l10n_util::GetStringUTF16( text 914 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc state.string.text = l10n_util::GetStringUTF16( text 937 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc state.string.text = l10n_util::GetStringUTF16( text 1165 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = text 1171 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text = l10n_util::GetStringFUTF16( text 1173 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text, text 1182 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc legal_documents_text_ = text; text 1864 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = l10n_util::GetStringUTF16(problem.description_id); text 1866 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ValidityMessage(text, sure)); text 1873 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = InputValidityMessage(section, type, iter->second); text 1884 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc DCHECK(text.empty()); text 1885 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text = l10n_util::GetStringUTF16( text 1891 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc messages.Set(type, ValidityMessage(text, sure)); text 1909 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc year_message.text = l10n_util::GetStringUTF16( text 1911 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc month_message.text = l10n_util::GetStringUTF16( text 1925 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc ccv_message.text = l10n_util::GetStringUTF16( text 2093 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc base::string16 text = l10n_util::GetStringUTF16( text 2099 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc text); text 144 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc return !messages.GetMessageOrDefault(field).text.empty(); text 149 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc return !message.text.empty() && !message.sure; text 686 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(message.text.empty()); text 3216 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_FALSE(messages.GetMessageOrDefault(ADDRESS_HOME_ZIP).text.empty()); text 3219 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(messages.GetMessageOrDefault(ADDRESS_HOME_COUNTRY).text.empty()); text 16 chrome/browser/ui/autofill/autofill_dialog_types.cc return message.sure && !message.text.empty(); text 138 chrome/browser/ui/autofill/autofill_dialog_types.cc ValidityMessage::ValidityMessage(const base::string16& text, bool sure) text 139 chrome/browser/ui/autofill/autofill_dialog_types.cc : text(text), sure(sure) {} text 150 chrome/browser/ui/autofill/autofill_dialog_types.cc if (!iter->second.text.empty()) text 172 chrome/browser/ui/autofill/autofill_dialog_types.cc if (!iter->second.text.empty()) text 172 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 text; text 202 chrome/browser/ui/autofill/autofill_dialog_types.h ValidityMessage(const base::string16& text, bool sure); text 206 chrome/browser/ui/autofill/autofill_dialog_types.h base::string16 text; text 23 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc base::string16 text(base::ASCIIToUTF16("Notification without anchor text")); text 24 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc DialogNotification notification(DialogNotification::WALLET_ERROR, text); text 27 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc text = base::ASCIIToUTF16("Notification with |anchor text|"); text 28 chrome/browser/ui/autofill/autofill_dialog_types_unittest.cc notification = DialogNotification(DialogNotification::WALLET_ERROR, text); text 45 chrome/browser/ui/autofill/autofill_dialog_view_tester.h const base::string16& text) = 0; text 30 chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h const base::string16& text) OVERRIDE; text 117 chrome/browser/ui/cocoa/autofill/autofill_section_container.h - (void)setFieldValue:(NSString*)text text 121 chrome/browser/ui/cocoa/autofill/autofill_section_container.h - (void)setSuggestionFieldValue:(NSString*)text; text 52 chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h - (void)showInputField:(NSString*)text withIcon:(NSImage*)icon; text 399 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h - (BookmarkButtonCell*)cellForCustomButtonWithText:(NSString*)text text 19 chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h text:(NSString*)text text 45 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h text:(NSString*)text text 50 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h + (id)buttonCellWithText:(NSString*)text text 57 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h text:(NSString*)text text 62 chrome/browser/ui/cocoa/bookmarks/bookmark_button_cell.h - (id)initWithText:(NSString*)text text 46 chrome/browser/ui/cocoa/constrained_window/constrained_window_alert.h - (void)setLinkText:(NSString*)text text 36 chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h virtual void SetWindowTextAndCaretPos(const base::string16& text, text 26 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h text:(const base::string16&)text; text 34 chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.h explicit ScreenCaptureNotificationUICocoa(const base::string16& text); text 71 chrome/browser/ui/cocoa/status_bubble_mac.h void SetText(const base::string16& text, bool is_url); text 67 chrome/browser/ui/cocoa/url_drop_target.h - (void)dropText:(NSString*)text inView:(NSView*)view at:(NSPoint)point; text 26 chrome/browser/ui/find_bar/find_bar_state.h void set_last_prepopulate_text(const base::string16& text) { text 27 chrome/browser/ui/find_bar/find_bar_state.h last_prepopulate_text_ = text; text 21 chrome/browser/ui/find_bar/find_bar_state_factory.cc base::string16 text = state->last_prepopulate_text(); text 23 chrome/browser/ui/find_bar/find_bar_state_factory.cc if (text.empty() && p->IsOffTheRecord()) { text 26 chrome/browser/ui/find_bar/find_bar_state_factory.cc text = state->last_prepopulate_text(); text 29 chrome/browser/ui/find_bar/find_bar_state_factory.cc return text; text 176 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc void AutofillPopupViewGtk::SetLayoutText(const base::string16& text, text 194 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.cc gtk_util::SetLayoutText(layout_, text); text 72 chrome/browser/ui/gtk/autofill/autofill_popup_view_gtk.h void SetLayoutText(const base::string16& text, text 1372 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc guchar* text = gtk_selection_data_get_text(selection_data); text 1373 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc if (!text) text 1375 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc GURL url(reinterpret_cast<char*>(text)); text 1376 chrome/browser/ui/gtk/bookmarks/bookmark_bar_gtk.cc g_free(text); text 113 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc base::string16 text; text 117 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc const base::string16& text, text 120 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc text(text), text 156 chrome/browser/ui/gtk/bookmarks/bookmark_utils_gtk.cc canvas.DrawStringRectWithFlags(data->text, gfx::FontList(), data->text_color, text 35 chrome/browser/ui/gtk/certificate_viewer_gtk.cc void AddTitle(GtkTable* table, int row, const std::string& text) { text 37 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::CreateBoldLabel(text), text 42 chrome/browser/ui/gtk/certificate_viewer_gtk.cc void AddKeyValue(GtkTable* table, int row, const std::string& text, text 47 chrome/browser/ui/gtk/certificate_viewer_gtk.cc gtk_util::LeftAlignMisc(gtk_label_new(text.c_str()))), text 72 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc std::string text; text 77 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc text = l10n_util::GetStringFUTF8( text 81 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc text = l10n_util::GetStringFUTF8( text 87 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc text = l10n_util::GetStringFUTF8( text 91 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc text = l10n_util::GetStringFUTF8( text 95 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc text = l10n_util::GetStringFUTF8( text 99 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc text = l10n_util::GetStringFUTF8( text 105 chrome/browser/ui/gtk/crypto_module_password_dialog_gtk.cc GtkWidget* label = gtk_label_new(text.c_str()); text 31 chrome/browser/ui/gtk/edit_search_engine_dialog.cc void LowercaseInsertTextHandler(GtkEditable *editable, const gchar *text, text 33 chrome/browser/ui/gtk/edit_search_engine_dialog.cc base::string16 original_text = base::UTF8ToUTF16(text); text 70 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc gchar* text = gtk_widget_get_tooltip_text(button); text 71 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc std::string tooltip(text); text 72 chrome/browser/ui/gtk/extensions/browser_action_test_util_gtk.cc g_free(text); text 645 chrome/browser/ui/gtk/find_bar_gtk.cc style->text[GTK_STATE_NORMAL], style->base[GTK_STATE_NORMAL]); text 49 chrome/browser/ui/gtk/gtk_chrome_link_button.cc g_free(button->text); text 50 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->text = NULL; text 73 chrome/browser/ui/gtk/gtk_chrome_link_button.cc gchar* text = button->text; text 86 chrome/browser/ui/gtk/gtk_chrome_link_button.cc text); text 87 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->pressed_markup = g_markup_printf_escaped(kLinkMarkup, "red", text); text 90 chrome/browser/ui/gtk/gtk_chrome_link_button.cc text); text 93 chrome/browser/ui/gtk/gtk_chrome_link_button.cc text); text 95 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->pressed_markup = g_strdup_printf(kLinkMarkup, "red", text); text 98 chrome/browser/ui/gtk/gtk_chrome_link_button.cc text); text 113 chrome/browser/ui/gtk/gtk_chrome_link_button.cc color_spec, text); text 115 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->native_markup = g_strdup_printf(kLinkMarkup, color_spec, text); text 230 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->text = NULL; text 240 chrome/browser/ui/gtk/gtk_chrome_link_button.cc GtkWidget* gtk_chrome_link_button_new(const char* text) { text 242 chrome/browser/ui/gtk/gtk_chrome_link_button.cc GTK_CHROME_LINK_BUTTON(lb)->text = g_strdup(text); text 250 chrome/browser/ui/gtk/gtk_chrome_link_button.cc GTK_CHROME_LINK_BUTTON(lb)->text = g_strdup(markup); text 269 chrome/browser/ui/gtk/gtk_chrome_link_button.cc const char* text) { text 270 chrome/browser/ui/gtk/gtk_chrome_link_button.cc g_free(button->text); text 271 chrome/browser/ui/gtk/gtk_chrome_link_button.cc button->text = g_strdup(text); text 48 chrome/browser/ui/gtk/gtk_chrome_link_button.h gchar* text; text 57 chrome/browser/ui/gtk/gtk_chrome_link_button.h GtkWidget* gtk_chrome_link_button_new(const char* text); text 69 chrome/browser/ui/gtk/gtk_chrome_link_button.h const char* text); text 401 chrome/browser/ui/gtk/gtk_theme_service.cc GtkWidget* GtkThemeService::BuildChromeLinkButton(const std::string& text) { text 402 chrome/browser/ui/gtk/gtk_theme_service.cc GtkWidget* link_button = gtk_chrome_link_button_new(text.c_str()); text 414 chrome/browser/ui/gtk/gtk_theme_service.cc GtkWidget* GtkThemeService::BuildLabel(const std::string& text, text 416 chrome/browser/ui/gtk/gtk_theme_service.cc GtkWidget* label = gtk_label_new(text.empty() ? NULL : text.c_str()); text 445 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor text; text 448 chrome/browser/ui/gtk/gtk_theme_service.cc text = style->text[GTK_STATE_NORMAL]; text 451 chrome/browser/ui/gtk/gtk_theme_service.cc text = GetGdkColor(ThemeProperties::COLOR_BOOKMARK_TEXT); text 459 chrome/browser/ui/gtk/gtk_theme_service.cc color.red = (text.red + (bg.red * kBgWeight)) / (1 + kBgWeight); text 460 chrome/browser/ui/gtk/gtk_theme_service.cc color.green = (text.green + (bg.green * kBgWeight)) / (1 + kBgWeight); text 461 chrome/browser/ui/gtk/gtk_theme_service.cc color.blue = (text.blue + (bg.blue * kBgWeight)) / (1 + kBgWeight); text 777 chrome/browser/ui/gtk/gtk_theme_service.cc GdkColor ntp_foreground = entry_style->text[GTK_STATE_NORMAL]; text 833 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->text[GTK_STATE_SELECTED]); text 837 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->text[GTK_STATE_ACTIVE]); text 841 chrome/browser/ui/gtk/gtk_theme_service.cc gfx::GdkColorToSkColor(entry_style->text[GTK_STATE_NORMAL]); text 1106 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor text_color = style->text[GTK_STATE_NORMAL]; text 1118 chrome/browser/ui/gtk/gtk_theme_service.cc const GdkColor color = style->text[GTK_STATE_SELECTED]; text 94 chrome/browser/ui/gtk/gtk_theme_service.h GtkWidget* BuildChromeLinkButton(const std::string& text); text 99 chrome/browser/ui/gtk/gtk_theme_service.h GtkWidget* BuildLabel(const std::string& text, const GdkColor& color); text 286 chrome/browser/ui/gtk/gtk_util.cc const char* text, ...) { text 288 chrome/browser/ui/gtk/gtk_util.cc va_start(ap, text); text 293 chrome/browser/ui/gtk/gtk_util.cc for (guint row = 0; text; ++row) { text 296 chrome/browser/ui/gtk/gtk_util.cc GtkWidget* label = gtk_label_new(text); text 307 chrome/browser/ui/gtk/gtk_util.cc text = va_arg(ap, const char*); text 334 chrome/browser/ui/gtk/gtk_util.cc GtkWidget* CreateBoldLabel(const std::string& text) { text 336 chrome/browser/ui/gtk/gtk_util.cc char* markup = g_markup_printf_escaped(kBoldLabelMarkup, text.c_str()); text 599 chrome/browser/ui/gtk/gtk_util.cc GtkWidget* AddButtonToDialog(GtkWidget* dialog, const gchar* text, text 601 chrome/browser/ui/gtk/gtk_util.cc GtkWidget* button = gtk_button_new_with_label(text); text 712 chrome/browser/ui/gtk/gtk_util.cc void SetLayoutText(PangoLayout* layout, const base::string16& text) { text 717 chrome/browser/ui/gtk/gtk_util.cc std::string text_utf8 = base::UTF16ToUTF8(text); text 895 chrome/browser/ui/gtk/gtk_util.cc *normal_text = style->text[GTK_STATE_NORMAL]; text 897 chrome/browser/ui/gtk/gtk_util.cc *selected_text = style->text[GTK_STATE_SELECTED]; text 46 chrome/browser/ui/gtk/gtk_util.h const char* text, ...); text 57 chrome/browser/ui/gtk/gtk_util.h GtkWidget* CreateBoldLabel(const std::string& text); text 165 chrome/browser/ui/gtk/gtk_util.h GtkWidget* AddButtonToDialog(GtkWidget* dialog, const gchar* text, text 196 chrome/browser/ui/gtk/gtk_util.h void SetLayoutText(PangoLayout* layout, const base::string16& text); text 148 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc GtkWidget* text = gtk_label_new( text 150 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc gtk_label_set_line_wrap(GTK_LABEL(text), TRUE); text 151 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc gtk_box_pack_start(GTK_BOX(vbox), text, FALSE, FALSE, 0); text 29 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc base::string16 text = text 34 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(text.substr(0, offset))), text 47 chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc CreateLabel(base::UTF16ToUTF8(text.substr(offset))), text 184 chrome/browser/ui/gtk/infobars/infobar_gtk.cc GtkWidget* InfoBarGtk::CreateLabel(const std::string& text) { text 186 chrome/browser/ui/gtk/infobars/infobar_gtk.cc return theme_service_->BuildLabel(text, ui::kGdkBlack); text 189 chrome/browser/ui/gtk/infobars/infobar_gtk.cc GtkWidget* InfoBarGtk::CreateLinkButton(const std::string& text) { text 191 chrome/browser/ui/gtk/infobars/infobar_gtk.cc return theme_service_->BuildChromeLinkButton(text); text 195 chrome/browser/ui/gtk/infobars/infobar_gtk.cc GtkWidget* InfoBarGtk::CreateMenuButton(const std::string& text) { text 203 chrome/browser/ui/gtk/infobars/infobar_gtk.cc GtkWidget* label = gtk_label_new(text.c_str()); text 94 chrome/browser/ui/gtk/infobars/infobar_gtk.h GtkWidget* CreateLabel(const std::string& text); text 97 chrome/browser/ui/gtk/infobars/infobar_gtk.h GtkWidget* CreateLinkButton(const std::string& text); text 101 chrome/browser/ui/gtk/infobars/infobar_gtk.h static GtkWidget* CreateMenuButton(const std::string& text); text 27 chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.cc std::string text = base::UTF16ToUTF8(GetDelegate()->GetMessageInfoBarText()); text 28 chrome/browser/ui/gtk/infobars/translate_message_infobar_gtk.cc gtk_box_pack_start(GTK_BOX(new_hbox), CreateLabel(text.c_str()), FALSE, FALSE, text 63 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc gchar* text = gtk_widget_get_tooltip_text(GetZoomWidget()); text 64 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc std::string tooltip(text); text 65 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc g_free(text); text 100 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc size_t GetUTF8Offset(const base::string16& text, size_t text_offset) { text 101 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc return base::UTF16ToUTF8(text.substr(0, text_offset)).length(); text 367 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc const base::string16& text, text 380 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc base::string16 localized_text = text; text 83 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.h const base::string16& text, text 86 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc const base::string16& text, text 93 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk_unittest.cc text, text 68 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc size_t GetUTF8Offset(const base::string16& text, size_t text_offset) { text 69 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc return base::UTF16ToUTF8(text.substr(0, text_offset)).size(); text 489 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::SetWindowTextAndCaretPos(const base::string16& text, text 494 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc SetTextAndSelectedRange(text, range); text 792 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc style->text[GTK_STATE_NORMAL], style->base[GTK_STATE_NORMAL]); text 1160 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gchar* text = gtk_clipboard_wait_for_text(x_clipboard); text 1161 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc sanitized_text_for_paste_and_go_ = text ? text 1163 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::CollapseWhitespace(base::UTF8ToUTF16(text), true)) : text 1165 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_free(text); text 1298 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc guchar* text = gtk_selection_data_get_text(selection_data); text 1299 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (!text) text 1303 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::UTF8ToUTF16(reinterpret_cast<char*>(text)); text 1304 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_free(text); text 1341 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text = base::UTF8ToUTF16(GetSelectedText()); text 1343 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (text.empty()) text 1350 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AdjustTextForCopy(selection.selection_min(), IsSelectAll(), &text, text 1353 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc selected_text_ = base::UTF16ToUTF8(text); text 1374 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc const gchar* text, text 1387 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (len == 1 && (text[0] == '\n' || text[0] == '\r')) text 1390 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc for (const gchar* p = text; *p && (p - text) < len; text 1512 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text(base::UTF8ToUTF16(GetSelectedText())); text 1514 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AdjustTextForCopy(selection.selection_min(), IsSelectAll(), &text, text 1525 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc data.ReadFromTuple(url, text); text 1542 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc OwnPrimarySelection(base::UTF16ToUTF8(text)); text 1575 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text(GetText()); text 1576 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc AutocompleteInput::ParseForEmphasizeComponents(text, &scheme, &host); text 1582 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc bool grey_out_url = text.substr(scheme.begin, scheme.len) == text 1593 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc text_buffer_, &start, 0, GetUTF8Offset(text, host.begin)); text 1595 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc text_buffer_, &end, 0, GetUTF8Offset(text, host.end())); text 1603 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc CharRange scheme_range = CharRange(GetUTF8Offset(text, scheme.begin), text 1604 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc GetUTF8Offset(text, scheme.end())); text 1623 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc bool OmniboxViewGtk::OnPerformDropImpl(const base::string16& text) { text 1625 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::CollapseWhitespace(text, true))); text 1655 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc style->text[GTK_STATE_NORMAL], style->base[GTK_STATE_NORMAL]); text 1659 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc &style->text[GTK_STATE_NORMAL], NULL); text 1725 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::OwnPrimarySelection(const std::string& text) { text 1726 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc primary_selection_text_ = text; text 1945 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc void OmniboxViewGtk::SetTextAndSelectedRange(const base::string16& text, text 1947 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (text != GetText()) { text 1948 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc std::string utf8 = base::UTF16ToUTF8(text); text 2107 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc gchar* text = gtk_text_iter_get_text(&start, &end); text 2108 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc size_t text_len = strlen(text); text 2110 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc result = std::string(text, text_len); text 2111 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc g_free(text); text 2117 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc base::string16 text = base::UTF8ToUTF16(GetSelectedText()); text 2119 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc if (text.empty()) text 2126 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc model()->AdjustTextForCopy(selection.selection_min(), IsSelectAll(), &text, text 2129 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc selected_text_ = base::UTF16ToUTF8(text); text 75 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h virtual void SetWindowTextAndCaretPos(const base::string16& text, text 221 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h bool OnPerformDropImpl(const base::string16& text); text 232 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h void OwnPrimarySelection(const std::string& text); text 270 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.h void SetTextAndSelectedRange(const base::string16& text, text 20 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc explicit ScreenCaptureNotificationUIGtk(const base::string16& text); text 53 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc const base::string16& text) text 54 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc : text_(base::UTF16ToUTF8(text)), text 286 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc const base::string16& text) { text 288 chrome/browser/ui/gtk/screen_capture_notification_ui_gtk.cc new ScreenCaptureNotificationUIGtk(text)); text 37 chrome/browser/ui/gtk/update_recommended_dialog.cc std::string text( text 40 chrome/browser/ui/gtk/update_recommended_dialog.cc GtkWidget* label = gtk_label_new(text.c_str()); text 65 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* CreateTextLabel(const std::string& text, text 69 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* label = theme_service->BuildLabel(text, color); text 181 chrome/browser/ui/gtk/zoom_bubble_gtk.cc base::string16 text = text 184 chrome/browser/ui/gtk/zoom_bubble_gtk.cc base::UTF16ToUTF8(text).c_str()); text 864 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColor ntp_foreground = entry_style->text[GTK_STATE_NORMAL]; text 921 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColorToSkColor(entry_style->text[GTK_STATE_SELECTED]); text 925 chrome/browser/ui/libgtk2ui/gtk2_ui.cc GdkColorToSkColor(entry_style->text[GTK_STATE_ACTIVE]); text 1276 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const GdkColor text_color = style->text[GTK_STATE_NORMAL]; text 1287 chrome/browser/ui/libgtk2ui/gtk2_ui.cc const GdkColor color = style->text[GTK_STATE_SELECTED]; text 193 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetMenuItemStyle()->text[GTK_STATE_NORMAL]; text 195 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetMenuItemStyle()->text[GTK_STATE_INSENSITIVE]; text 197 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetMenuItemStyle()->text[GTK_STATE_SELECTED]; text 209 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetMenuItemStyle()->text[GTK_STATE_INSENSITIVE]; text 216 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetLabelStyle()->text[GTK_STATE_NORMAL]; text 218 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetLabelStyle()->text[GTK_STATE_INSENSITIVE]; text 226 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetButtonStyle()->text[GTK_STATE_NORMAL]; text 228 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetButtonStyle()->text[GTK_STATE_INSENSITIVE]; text 232 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetButtonStyle()->text[GTK_STATE_PRELIGHT]; text 236 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->text[GTK_STATE_NORMAL]; text 240 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->text[GTK_STATE_INSENSITIVE]; text 244 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->text[GTK_STATE_SELECTED]; text 254 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetTreeStyle()->text[GTK_STATE_NORMAL]; text 259 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetTreeStyle()->text[GTK_STATE_SELECTED]; text 283 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->text[GTK_STATE_NORMAL]; text 285 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GetEntryStyle()->text[GTK_STATE_SELECTED]; text 290 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->text[GTK_STATE_NORMAL], text 296 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc entry_style->text[GTK_STATE_SELECTED], text 301 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return NormalURLColor(GetEntryStyle()->text[GTK_STATE_NORMAL]); text 305 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return SelectedURLColor(entry_style->text[GTK_STATE_SELECTED], text 310 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GdkAlphaBlend(win_style->text[GTK_STATE_NORMAL], text 315 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GdkAlphaBlend(win_style->text[GTK_STATE_PRELIGHT], text 320 chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc return GdkAlphaBlend(win_style->text[GTK_STATE_SELECTED], text 233 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc gchar* text) { text 237 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc const base::string16& text_in_utf16 = base::UTF8ToUTF16(text); text 299 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc const base::string16& text) { text 302 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc text.length() == 1 && text 303 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc text[0] == gdk_keyval_to_unicode(gdk_event_key_keyval_)) { text 91 chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h bool Trap(const base::string16& text); text 27 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc const base::string16& text, text 34 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc Profile::FromBrowserContext(web_contents->GetBrowserContext()), text, text 40 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc const base::string16& text, text 45 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc text_(text), text 19 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h const base::string16& text, text 29 chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h const base::string16& text, text 111 chrome/browser/ui/omnibox/omnibox_controller.cc prefetch_suggestion.text = match_to_prefetch->contents; text 329 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::SetUserText(const base::string16& text) { text 331 chrome/browser/ui/omnibox/omnibox_edit_model.cc InternalSetUserText(text); text 443 chrome/browser/ui/omnibox/omnibox_edit_model.cc base::string16* text, text 458 chrome/browser/ui/omnibox/omnibox_edit_model.cc *text = base::UTF8ToUTF16(url->spec()); text 468 chrome/browser/ui/omnibox/omnibox_edit_model.cc *text, KeywordIsSelected(), true, ClassifyPage(), &match, NULL); text 483 chrome/browser/ui/omnibox/omnibox_edit_model.cc if (text->compare(0, http.length(), http) != 0) text 484 chrome/browser/ui/omnibox/omnibox_edit_model.cc *text = http + *text; text 584 chrome/browser/ui/omnibox/omnibox_edit_model.cc bool OmniboxEditModel::CanPasteAndGo(const base::string16& text) const { text 589 chrome/browser/ui/omnibox/omnibox_edit_model.cc ClassifyStringForPasteAndGo(text, &match, NULL); text 593 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::PasteAndGo(const base::string16& text) { text 594 chrome/browser/ui/omnibox/omnibox_edit_model.cc DCHECK(CanPasteAndGo(text)); text 600 chrome/browser/ui/omnibox/omnibox_edit_model.cc ClassifyStringForPasteAndGo(text, &match, &alternate_nav_url); text 601 chrome/browser/ui/omnibox/omnibox_edit_model.cc view_->OpenMatch(match, CURRENT_TAB, alternate_nav_url, text, text 605 chrome/browser/ui/omnibox/omnibox_edit_model.cc bool OmniboxEditModel::IsPasteAndSearch(const base::string16& text) const { text 607 chrome/browser/ui/omnibox/omnibox_edit_model.cc ClassifyStringForPasteAndGo(text, &match, NULL); text 634 chrome/browser/ui/omnibox/omnibox_edit_model.cc UserTextFromDisplayText(view_->GetText()) : old_input.text(), text 641 chrome/browser/ui/omnibox/omnibox_edit_model.cc input.text(), input.canonicalized_url(), false)); text 1038 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text, text 1076 chrome/browser/ui/omnibox/omnibox_edit_model.cc view_->OnTemporaryTextMaybeChanged(DisplayTextFromUserText(text), text 1082 chrome/browser/ui/omnibox/omnibox_edit_model.cc inline_autocomplete_text_ = text; text 1264 chrome/browser/ui/omnibox/omnibox_edit_model.cc void OmniboxEditModel::InternalSetUserText(const base::string16& text) { text 1265 chrome/browser/ui/omnibox/omnibox_edit_model.cc user_text_ = text; text 1280 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text) const { text 1282 chrome/browser/ui/omnibox/omnibox_edit_model.cc KeywordProvider::SplitReplacementStringFromInput(text, false) : text; text 1286 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text) const { text 1287 chrome/browser/ui/omnibox/omnibox_edit_model.cc return KeywordIsSelected() ? (keyword_ + base::char16(' ') + text) : text; text 1429 chrome/browser/ui/omnibox/omnibox_edit_model.cc const base::string16& text, text 1434 chrome/browser/ui/omnibox/omnibox_edit_model.cc text, false, false, ClassifyPage(), match, alternate_nav_url); text 137 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16* text, text 157 chrome/browser/ui/omnibox/omnibox_edit_model.h void SetUserText(const base::string16& text); text 180 chrome/browser/ui/omnibox/omnibox_edit_model.h bool CanPasteAndGo(const base::string16& text) const; text 183 chrome/browser/ui/omnibox/omnibox_edit_model.h void PasteAndGo(const base::string16& text); text 187 chrome/browser/ui/omnibox/omnibox_edit_model.h bool IsPasteAndSearch(const base::string16& text) const; text 306 chrome/browser/ui/omnibox/omnibox_edit_model.h const base::string16& text, text 373 chrome/browser/ui/omnibox/omnibox_edit_model.h void InternalSetUserText(const base::string16& text); text 384 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 DisplayTextFromUserText(const base::string16& text) const; text 385 chrome/browser/ui/omnibox/omnibox_edit_model.h base::string16 UserTextFromDisplayText(const base::string16& text) const; text 424 chrome/browser/ui/omnibox/omnibox_edit_model.h void ClassifyStringForPasteAndGo(const base::string16& text, text 36 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual void SetUserText(const base::string16& text, text 41 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual void SetWindowTextAndCaretPos(const base::string16& text, text 45 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc text_ = text; text 55 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc const base::string16& text, text 58 chrome/browser/ui/omnibox/omnibox_navigation_observer.cc : text_(text), text 55 chrome/browser/ui/omnibox/omnibox_navigation_observer.h const base::string16& text, text 25 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 OmniboxView::StripJavascriptSchemas(const base::string16& text) { text 28 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 out(text); text 37 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 OmniboxView::SanitizeTextForPaste(const base::string16& text) { text 42 chrome/browser/ui/omnibox/omnibox_view.cc for (size_t i = 0; i < text.size(); ++i) { text 43 chrome/browser/ui/omnibox/omnibox_view.cc if (IsWhitespace(text[i]) && text[i] != '\n' && text[i] != '\r') { text 44 chrome/browser/ui/omnibox/omnibox_view.cc const base::string16 collapsed = base::CollapseWhitespace(text, false); text 53 chrome/browser/ui/omnibox/omnibox_view.cc return StripJavascriptSchemas(base::CollapseWhitespace(text, true)); text 62 chrome/browser/ui/omnibox/omnibox_view.cc base::string16 text; text 63 chrome/browser/ui/omnibox/omnibox_view.cc clipboard->ReadText(ui::CLIPBOARD_TYPE_COPY_PASTE, &text); text 64 chrome/browser/ui/omnibox/omnibox_view.cc return SanitizeTextForPaste(text); text 151 chrome/browser/ui/omnibox/omnibox_view.cc void OmniboxView::SetUserText(const base::string16& text) { text 152 chrome/browser/ui/omnibox/omnibox_view.cc SetUserText(text, text, true); text 155 chrome/browser/ui/omnibox/omnibox_view.cc void OmniboxView::SetUserText(const base::string16& text, text 159 chrome/browser/ui/omnibox/omnibox_view.cc model_->SetUserText(text); text 99 chrome/browser/ui/omnibox/omnibox_view.h void SetUserText(const base::string16& text); text 100 chrome/browser/ui/omnibox/omnibox_view.h virtual void SetUserText(const base::string16& text, text 106 chrome/browser/ui/omnibox/omnibox_view.h virtual void SetWindowTextAndCaretPos(const base::string16& text, text 245 chrome/browser/ui/omnibox/omnibox_view.h static base::string16 StripJavascriptSchemas(const base::string16& text); text 254 chrome/browser/ui/omnibox/omnibox_view.h static base::string16 SanitizeTextForPaste(const base::string16& text); text 132 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc void SetClipboardText(const base::string16& text) { text 135 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc writer.WriteText(text); text 1187 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 text = ASCIIToUTF16(kSearchKeyword); text 1192 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1193 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->GetText()); text 1198 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1204 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1205 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->GetText()); text 1213 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1223 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1224 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->GetText()); text 1292 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc base::string16 text = ASCIIToUTF16(kSearchKeyword); text 1295 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1306 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_NE(text, omnibox_view->model()->keyword()); text 1314 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc ASSERT_EQ(text, omnibox_view->model()->keyword()); text 1481 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->autocomplete_controller()->input().text(); text 1494 chrome/browser/ui/omnibox/omnibox_view_browsertest.cc omnibox_view->model()->autocomplete_controller()->input().text()); text 294 chrome/browser/ui/pdf/pdf_browsertest.cc std::string text; text 295 chrome/browser/ui/pdf/pdf_browsertest.cc clipboard->ReadAsciiText(ui::CLIPBOARD_TYPE_COPY_PASTE, &text); text 296 chrome/browser/ui/pdf/pdf_browsertest.cc ASSERT_EQ("adipiscing", text); text 21 chrome/browser/ui/screen_capture_notification_ui.h const base::string16& text); text 88 chrome/browser/ui/search/instant_search_prerenderer.cc if (last_instant_suggestion_.text == suggestion.text) text 91 chrome/browser/ui/search/instant_search_prerenderer.cc if (last_instant_suggestion_.text.empty() && text 158 chrome/browser/ui/search/instant_search_prerenderer.cc return last_instant_suggestion_.text == query; text 77 chrome/browser/ui/search/instant_search_prerenderer.h return last_instant_suggestion_.text; text 108 chrome/browser/ui/search/instant_test_utils.cc void InstantTestBase::SetOmniboxText(const std::string& text) { text 110 chrome/browser/ui/search/instant_test_utils.cc omnibox()->SetUserText(base::UTF8ToUTF16(text)); text 71 chrome/browser/ui/search/instant_test_utils.h void SetOmniboxText(const std::string& text); text 130 chrome/browser/ui/search/search_ipc_router.cc void SearchIPCRouter::Submit(const base::string16& text) { text 134 chrome/browser/ui/search/search_ipc_router.cc Send(new ChromeViewMsg_SearchBoxSubmit(routing_id(), text)); text 296 chrome/browser/ui/search/search_ipc_router.cc const base::string16& text) const { text 304 chrome/browser/ui/search/search_ipc_router.cc delegate_->PasteIntoOmnibox(text); text 75 chrome/browser/ui/search/search_ipc_router.h virtual void PasteIntoOmnibox(const base::string16& text) = 0; text 156 chrome/browser/ui/search/search_ipc_router.h void Submit(const base::string16& text); text 200 chrome/browser/ui/search/search_ipc_router.h void OnPasteAndOpenDropDown(int page_id, const base::string16& text) const; text 586 chrome/browser/ui/search/search_ipc_router_unittest.cc base::string16 text; text 587 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(0); text 590 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id, text)); text 603 chrome/browser/ui/search/search_ipc_router_unittest.cc base::string16 text; text 604 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(1); text 609 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), text)); text 616 chrome/browser/ui/search/search_ipc_router_unittest.cc base::string16 text; text 617 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_CALL(*mock_delegate(), PasteIntoOmnibox(text)).Times(0); text 629 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), text)); text 243 chrome/browser/ui/search/search_tab_helper.cc void SearchTabHelper::Submit(const base::string16& text) { text 244 chrome/browser/ui/search/search_tab_helper.cc ipc_router_.Submit(text); text 553 chrome/browser/ui/search/search_tab_helper.cc void SearchTabHelper::PasteIntoOmnibox(const base::string16& text) { text 562 chrome/browser/ui/search/search_tab_helper.cc base::string16 text_to_paste = text.empty() ? omnibox->GetClipboardText() : text 563 chrome/browser/ui/search/search_tab_helper.cc omnibox->SanitizeTextForPaste(text); text 81 chrome/browser/ui/search/search_tab_helper.h void Submit(const base::string16& text); text 175 chrome/browser/ui/search/search_tab_helper.h virtual void PasteIntoOmnibox(const base::string16& text) OVERRIDE; text 31 chrome/browser/ui/toolbar/test_toolbar_model.h void set_text(const base::string16& text) { text_ = text; } text 233 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc base::string16 text = base::UTF8ToUTF16(app_->description()); text 234 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc if (text.length() > kMaxLength) { text 235 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc text = text.substr(0, kMaxLength); text 236 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc text += base::ASCIIToUTF16(" ... "); text 239 chrome/browser/ui/views/apps/app_info_dialog/app_info_summary_tab.cc views::Label* app_description_label = new views::Label(text); text 74 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc const base::string16& text) { text 75 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc view_->GroupForSection(section)->suggested_info->textfield()->SetText(text); text 28 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h const base::string16& text) OVERRIDE; text 383 chrome/browser/ui/views/autofill/autofill_dialog_views.cc explicit LoadingAnimationView(const base::string16& text) : text 394 chrome/browser/ui/views/autofill/autofill_dialog_views.cc container_->AddChildView(new views::Label(text, font_list)); text 589 chrome/browser/ui/views/autofill/autofill_dialog_views.cc message_view_->SetVisible(!state.string.text.empty()); text 590 chrome/browser/ui/views/autofill/autofill_dialog_views.cc message_view_->SetText(state.string.text); text 1127 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16& text) { text 1130 chrome/browser/ui/views/autofill/autofill_dialog_views.cc size_t position = text.find(line_return); text 1132 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_->SetText(text); text 1135 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_->SetText(text.substr(0, position)); text 1136 chrome/browser/ui/views/autofill/autofill_dialog_views.cc label_line_2_->SetText(text.substr(position + line_return.length())); text 1277 chrome/browser/ui/views/autofill/autofill_dialog_views.cc const base::string16 text = delegate_->LegalDocumentsText(); text 1278 chrome/browser/ui/views/autofill/autofill_dialog_views.cc legal_document_view_->SetText(text); text 1280 chrome/browser/ui/views/autofill/autofill_dialog_views.cc if (!text.empty()) { text 1291 chrome/browser/ui/views/autofill/autofill_dialog_views.cc footnote_view_->SetVisible(!text.empty()); text 2166 chrome/browser/ui/views/autofill/autofill_dialog_views.cc SetValidityForInput(iter->second, message.text); text 2173 chrome/browser/ui/views/autofill/autofill_dialog_views.cc SetValidityForInput(iter->second, message.text); text 2183 chrome/browser/ui/views/autofill/autofill_dialog_views.cc SetValidityForInput(group->suggested_info->textfield(), message.text); text 2260 chrome/browser/ui/views/autofill/autofill_dialog_views.cc base::string16 text = textfield ? text 2269 chrome/browser/ui/views/autofill/autofill_dialog_views.cc text, text 404 chrome/browser/ui/views/autofill/autofill_dialog_views.h void SetLabelText(const base::string16& text); text 80 chrome/browser/ui/views/autofill/decorated_textfield.cc void DecoratedTextfield::SetTooltipIcon(const base::string16& text) { text 81 chrome/browser/ui/views/autofill/decorated_textfield.cc if (!icon_view_ && text.empty()) text 87 chrome/browser/ui/views/autofill/decorated_textfield.cc if (!text.empty()) { text 88 chrome/browser/ui/views/autofill/decorated_textfield.cc icon_view_.reset(new TooltipIcon(text)); text 154 chrome/browser/ui/views/autofill/decorated_textfield.cc icon_view_->SetVisible(editable_ || !text().empty()); text 44 chrome/browser/ui/views/autofill/decorated_textfield.h void SetTooltipIcon(const base::string16& text); text 51 chrome/browser/ui/views/autofill/expanding_textfield.cc void ExpandingTextfield::SetText(const base::string16& text) { text 52 chrome/browser/ui/views/autofill/expanding_textfield.cc textfields_.front()->SetText(text); text 54 chrome/browser/ui/views/autofill/expanding_textfield.cc base::SplitStringDontTrim(text, '\n', &strings); text 73 chrome/browser/ui/views/autofill/expanding_textfield.cc base::string16 text = textfields_.front()->text(); text 76 chrome/browser/ui/views/autofill/expanding_textfield.cc text += base::ASCIIToUTF16("\n") + (*iter++)->text(); text 78 chrome/browser/ui/views/autofill/expanding_textfield.cc base::TrimWhitespace(text, base::TRIM_ALL, &text); text 79 chrome/browser/ui/views/autofill/expanding_textfield.cc return text; text 99 chrome/browser/ui/views/autofill/expanding_textfield.cc void ExpandingTextfield::SetTooltipIcon(const base::string16& text) { text 100 chrome/browser/ui/views/autofill/expanding_textfield.cc textfields_.front()->SetTooltipIcon(text); text 37 chrome/browser/ui/views/autofill/expanding_textfield.h void SetText(const base::string16& text); text 59 chrome/browser/ui/views/autofill/expanding_textfield.h void SetTooltipIcon(const base::string16& text); text 198 chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc GetWidget(), location, url_, text(), profile_); text 1832 chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc EXPECT_EQ(ASCIIToUTF16("d"), button->text()); text 361 chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc const base::string16 new_title = title_tf_->text(); text 427 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::UTF16ToUTF8(url_tf_->text()), std::string()); text 547 chrome/browser/ui/views/bookmarks/bookmark_editor_view.cc base::string16 new_title(title_tf_->text()); text 77 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc void SetURLText(const base::string16& text) { text 79 chrome/browser/ui/views/bookmarks/bookmark_editor_view_unittest.cc editor_->url_tf_->SetText(text); text 30 chrome/browser/ui/views/confirm_bubble_views.cc DCHECK(!label->text().empty()); text 459 chrome/browser/ui/views/content_setting_bubble_contents.cc base::string16 title = button->text(); text 130 chrome/browser/ui/views/create_application_shortcut_view.cc base::string16 text = description; text 131 chrome/browser/ui/views/create_application_shortcut_view.cc if (text.length() > kMaxLength) { text 132 chrome/browser/ui/views/create_application_shortcut_view.cc text = text.substr(0, kMaxLength); text 133 chrome/browser/ui/views/create_application_shortcut_view.cc text += kEllipsis; text 137 chrome/browser/ui/views/create_application_shortcut_view.cc description_->SetText(text); text 139 chrome/browser/ui/views/create_application_shortcut_view.cc description_ = new views::Label(text); text 398 chrome/browser/ui/views/create_application_shortcut_view.cc const base::string16& text, bool checked) { text 399 chrome/browser/ui/views/create_application_shortcut_view.cc views::Checkbox* checkbox = new views::Checkbox(text); text 66 chrome/browser/ui/views/create_application_shortcut_view.h views::Checkbox* AddCheckbox(const base::string16& text, bool checked); text 64 chrome/browser/ui/views/crypto_module_password_dialog_view.cc callback_.Run(base::UTF16ToUTF8(password_entry_->text())); text 85 chrome/browser/ui/views/crypto_module_password_dialog_view.cc std::string text; text 90 chrome/browser/ui/views/crypto_module_password_dialog_view.cc text = l10n_util::GetStringFUTF8( text 94 chrome/browser/ui/views/crypto_module_password_dialog_view.cc text = l10n_util::GetStringFUTF8( text 100 chrome/browser/ui/views/crypto_module_password_dialog_view.cc text = l10n_util::GetStringFUTF8( text 104 chrome/browser/ui/views/crypto_module_password_dialog_view.cc text = l10n_util::GetStringFUTF8( text 108 chrome/browser/ui/views/crypto_module_password_dialog_view.cc text = l10n_util::GetStringFUTF8( text 112 chrome/browser/ui/views/crypto_module_password_dialog_view.cc text = l10n_util::GetStringFUTF8( text 118 chrome/browser/ui/views/crypto_module_password_dialog_view.cc reason_label_ = new views::Label(base::UTF8ToUTF16(text)); text 22 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc void Capture(const std::string& text) { text 23 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc text_ = text; text 48 chrome/browser/ui/views/crypto_module_password_dialog_view_unittest.cc EXPECT_EQ(empty, dialog_->password_entry_->text()); text 1238 chrome/browser/ui/views/download/download_item_view.cc base::string16 label_text = dangerous_download_label_->text(); text 1315 chrome/browser/ui/views/download/download_item_view.cc new_name = dangerous_download_label_->text(); text 85 chrome/browser/ui/views/edit_search_engine_dialog.cc return (controller_->IsKeywordValid(keyword_tf_->text()) && text 86 chrome/browser/ui/views/edit_search_engine_dialog.cc controller_->IsTitleValid(title_tf_->text()) && text 87 chrome/browser/ui/views/edit_search_engine_dialog.cc controller_->IsURLValid(base::UTF16ToUTF8(url_tf_->text()))); text 98 chrome/browser/ui/views/edit_search_engine_dialog.cc controller_->AcceptAddOrEdit(title_tf_->text(), keyword_tf_->text(), text 99 chrome/browser/ui/views/edit_search_engine_dialog.cc base::UTF16ToUTF8(url_tf_->text())); text 234 chrome/browser/ui/views/edit_search_engine_dialog.cc Textfield* EditSearchEngineDialog::CreateTextfield(const base::string16& text) { text 236 chrome/browser/ui/views/edit_search_engine_dialog.cc text_field->SetText(text); text 242 chrome/browser/ui/views/edit_search_engine_dialog.cc UpdateImageView(keyword_iv_, controller_->IsKeywordValid(keyword_tf_->text()), text 245 chrome/browser/ui/views/edit_search_engine_dialog.cc controller_->IsURLValid(base::UTF16ToUTF8(url_tf_->text())), text 247 chrome/browser/ui/views/edit_search_engine_dialog.cc UpdateImageView(title_iv_, controller_->IsTitleValid(title_tf_->text()), text 62 chrome/browser/ui/views/edit_search_engine_dialog.h views::Textfield* CreateTextfield(const base::string16& text); text 254 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc if (extension && base::UTF8ToUTF16(extension->name()) == title_tf_->text()) text 259 chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc install_info.title = title_tf_->text(); text 176 chrome/browser/ui/views/find_bar_view.cc return find_text_->text(); text 188 chrome/browser/ui/views/find_bar_view.cc return match_count_text_->text(); text 199 chrome/browser/ui/views/find_bar_view.cc if (find_text_->text() != find_text && !find_text_->IsIMEComposing()) { text 234 chrome/browser/ui/views/find_bar_view.cc if (select_all && !find_text_->text().empty()) text 364 chrome/browser/ui/views/find_bar_view.cc if (!find_text_->text().empty()) { text 367 chrome/browser/ui/views/find_bar_view.cc find_tab_helper->StartFinding(find_text_->text(), text 405 chrome/browser/ui/views/find_bar_view.cc base::string16 find_string = find_text_->text(); text 424 chrome/browser/ui/views/find_bar_view.cc if (!sender->IsIMEComposing() && sender->text() != last_searched_text_) text 425 chrome/browser/ui/views/find_bar_view.cc Find(sender->text()); text 91 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc base::string16 text; text 113 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc text = cache.GetNameOfProfileAtIndex(index); text 124 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc if (!text.empty()) text 125 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc avatar_button_->SetText(text); text 191 chrome/browser/ui/views/frame/browser_root_view.cc base::string16 text; text 192 chrome/browser/ui/views/frame/browser_root_view.cc if (!data.GetString(&text) || text.empty()) text 194 chrome/browser/ui/views/frame/browser_root_view.cc text = AutocompleteMatch::SanitizeString(text); text 199 chrome/browser/ui/views/frame/browser_root_view.cc text, false, false, AutocompleteInput::INVALID_SPEC, &match, NULL); text 48 chrome/browser/ui/views/infobars/after_translate_infobar.cc if (!label_1_->text().empty()) text 58 chrome/browser/ui/views/infobars/after_translate_infobar.cc if (!label_2_->text().empty()) text 62 chrome/browser/ui/views/infobars/after_translate_infobar.cc x += label_2_->text().empty() ? text 69 chrome/browser/ui/views/infobars/after_translate_infobar.cc if (!label_3_->text().empty()) text 188 chrome/browser/ui/views/infobars/after_translate_infobar.cc int width = (label_1_->text().empty() ? 0 : kButtonInLabelSpacing) + text 190 chrome/browser/ui/views/infobars/after_translate_infobar.cc (label_2_->text().empty() ? 0 : kButtonInLabelSpacing); text 193 chrome/browser/ui/views/infobars/after_translate_infobar.cc (label_2_->text().empty() ? text 196 chrome/browser/ui/views/infobars/after_translate_infobar.cc (label_3_->text().empty() ? 0 : kButtonInLabelSpacing); text 49 chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc labels->back()->SetText(labels->back()->text() + gfx::kEllipsisUTF16); text 44 chrome/browser/ui/views/infobars/before_translate_infobar.cc if (!label_1_->text().empty()) text 53 chrome/browser/ui/views/infobars/before_translate_infobar.cc x = (label_2_->text().empty() ? x : label_2_->bounds().right()) + text 85 chrome/browser/ui/views/infobars/before_translate_infobar.cc base::string16 text( text 89 chrome/browser/ui/views/infobars/before_translate_infobar.cc label_1_ = CreateLabel(text.substr(0, offset)); text 99 chrome/browser/ui/views/infobars/before_translate_infobar.cc label_2_ = CreateLabel(text.substr(offset)); text 180 chrome/browser/ui/views/infobars/before_translate_infobar.cc return (label_1_->text().empty() ? 0 : kButtonInLabelSpacing) + text 182 chrome/browser/ui/views/infobars/before_translate_infobar.cc (label_2_->text().empty() ? 0 : kButtonInLabelSpacing) + text 47 chrome/browser/ui/views/infobars/confirm_infobar.cc if (!label_->text().empty()) text 126 chrome/browser/ui/views/infobars/confirm_infobar.cc int width = (label_->text().empty() || (!ok_button_ && !cancel_button_)) ? text 131 chrome/browser/ui/views/infobars/confirm_infobar.cc return width + ((link_->text().empty() || !width) ? 0 : kEndOfLabelSpacing); text 93 chrome/browser/ui/views/infobars/infobar_view.cc views::Label* InfoBarView::CreateLabel(const base::string16& text) const { text 96 chrome/browser/ui/views/infobars/infobar_view.cc text, rb.GetFontList(ui::ResourceBundle::MediumFont)); text 104 chrome/browser/ui/views/infobars/infobar_view.cc views::Link* InfoBarView::CreateLink(const base::string16& text, text 107 chrome/browser/ui/views/infobars/infobar_view.cc views::Link* link = new views::Link(text); text 118 chrome/browser/ui/views/infobars/infobar_view.cc const base::string16& text, text 133 chrome/browser/ui/views/infobars/infobar_view.cc NULL, text, menu_button_listener, true); text 150 chrome/browser/ui/views/infobars/infobar_view.cc const base::string16& text, text 167 chrome/browser/ui/views/infobars/infobar_view.cc views::LabelButton* label_button = new views::LabelButton(listener, text); text 52 chrome/browser/ui/views/infobars/infobar_view.h views::Label* CreateLabel(const base::string16& text) const; text 56 chrome/browser/ui/views/infobars/infobar_view.h views::Link* CreateLink(const base::string16& text, text 62 chrome/browser/ui/views/infobars/infobar_view.h const base::string16& text, text 68 chrome/browser/ui/views/infobars/infobar_view.h const base::string16& text, text 42 chrome/browser/ui/views/infobars/translate_infobar_base.cc const base::string16& text) { text 44 chrome/browser/ui/views/infobars/translate_infobar_base.cc button->SetText(text); text 24 chrome/browser/ui/views/infobars/translate_infobar_base.h const base::string16& text); text 28 chrome/browser/ui/views/infobars/translate_message_infobar.cc if (!label_->text().empty()) text 71 chrome/browser/ui/views/infobars/translate_message_infobar.cc return button_->width() + (label_->text().empty() ? 0 : kEndOfLabelSpacing); text 688 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::SetImeInlineAutocompletion(const base::string16& text) { text 689 chrome/browser/ui/views/location_bar/location_bar_view.cc ime_inline_autocomplete_view_->SetText(text); text 690 chrome/browser/ui/views/location_bar/location_bar_view.cc ime_inline_autocomplete_view_->SetVisible(!text.empty()); text 693 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::SetGrayTextAutocompletion(const base::string16& text) { text 694 chrome/browser/ui/views/location_bar/location_bar_view.cc if (suggested_text_view_->text() != text) { text 695 chrome/browser/ui/views/location_bar/location_bar_view.cc suggested_text_view_->SetText(text); text 696 chrome/browser/ui/views/location_bar/location_bar_view.cc suggested_text_view_->SetVisible(!text.empty()); text 703 chrome/browser/ui/views/location_bar/location_bar_view.cc return HasValidSuggestText() ? suggested_text_view_->text() text 941 chrome/browser/ui/views/location_bar/location_bar_view.cc base::i18n::GetStringDirection(suggested_text_view_->text())) text 984 chrome/browser/ui/views/location_bar/location_bar_view.cc gfx::GetStringWidth(ime_inline_autocomplete_view_->text(), text 222 chrome/browser/ui/views/location_bar/location_bar_view.h void SetImeInlineAutocompletion(const base::string16& text); text 225 chrome/browser/ui/views/location_bar/location_bar_view.h void SetGrayTextAutocompletion(const base::string16& text); text 25 chrome/browser/ui/views/location_bar/location_icon_view.cc base::string16 text; text 27 chrome/browser/ui/views/location_bar/location_icon_view.cc ui::CLIPBOARD_TYPE_SELECTION, &text); text 28 chrome/browser/ui/views/location_bar/location_icon_view.cc text = OmniboxView::SanitizeTextForPaste(text); text 31 chrome/browser/ui/views/location_bar/location_icon_view.cc if (model->CanPasteAndGo(text)) text 32 chrome/browser/ui/views/location_bar/location_icon_view.cc model->PasteAndGo(text); text 54 chrome/browser/ui/views/location_bar/selected_keyword_view.cc full_label_ : partial_label_).text()); text 82 chrome/browser/ui/views/location_bar/selected_keyword_view.cc full_label_.text() : partial_name); text 87 chrome/browser/ui/views/login_view.cc return username_field_->text(); text 91 chrome/browser/ui/views/login_view.cc return password_field_->text(); text 103 chrome/browser/ui/views/login_view.cc if (username_field_->text().empty()) { text 124 chrome/browser/ui/views/new_avatar_button.cc text(), text 276 chrome/browser/ui/views/omnibox/omnibox_result_view.cc DCHECK(!render_text->text().empty()); text 347 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const base::string16& text) const { text 352 chrome/browser/ui/views/omnibox/omnibox_result_view.cc render_text->SetText(text); text 357 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const base::string16& text, text 360 chrome/browser/ui/views/omnibox/omnibox_result_view.cc scoped_ptr<gfx::RenderText> render_text(CreateRenderText(text)); text 361 chrome/browser/ui/views/omnibox/omnibox_result_view.cc const size_t text_length = render_text->text().length(); text 103 chrome/browser/ui/views/omnibox/omnibox_result_view.h const base::string16& text) const; text 108 chrome/browser/ui/views/omnibox/omnibox_result_view.h const base::string16& text, text 385 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->ClearKeyword(text()); text 500 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const bool was_select_all = !text().empty() && IsSelectAll(); text 522 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return text(); text 525 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetUserText(const base::string16& text, text 529 chrome/browser/ui/views/omnibox/omnibox_view_views.cc OmniboxView::SetUserText(text, display_text, update_popup); text 532 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetWindowTextAndCaretPos(const base::string16& text, text 537 chrome/browser/ui/views/omnibox/omnibox_view_views.cc SetTextAndSelectedRange(text, range); text 547 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16 current_text(text()); text 557 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return text() == GetSelectedText(); text 592 chrome/browser/ui/views/omnibox/omnibox_view_views.cc sel.GetMax() < text().length() || text 624 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (display_text == text()) text 653 chrome/browser/ui/views/omnibox/omnibox_view_views.cc text_before_change_ = text(); text 660 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16 new_text = text(); text 832 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->ClearKeyword(text()); text 838 chrome/browser/ui/views/omnibox/omnibox_view_views.cc (!HasSelection() && GetCursorPosition() == text().length()); text 843 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (GetCursorPosition() == text().length()) { text 930 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 text( text 932 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (model()->CanPasteAndGo(text)) { text 933 chrome/browser/ui/views/omnibox/omnibox_view_views.cc model()->PasteAndGo(text); text 938 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 text; text 939 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (data.GetString(&text)) { text 940 chrome/browser/ui/views/omnibox/omnibox_view_views.cc base::string16 collapsed_text(base::CollapseWhitespace(text, true)); text 991 chrome/browser/ui/views/omnibox/omnibox_view_views.cc return static_cast<int>(text().length()); text 1002 chrome/browser/ui/views/omnibox/omnibox_view_views.cc AutocompleteInput::ParseForEmphasizeComponents(text(), &scheme, &host); text 1003 chrome/browser/ui/views/omnibox/omnibox_view_views.cc bool grey_out_url = text().substr(scheme.begin, scheme.len) == text 1033 chrome/browser/ui/views/omnibox/omnibox_view_views.cc void OmniboxViewViews::SetTextAndSelectedRange(const base::string16& text, text 1035 chrome/browser/ui/views/omnibox/omnibox_view_views.cc SetText(text); text 1045 chrome/browser/ui/views/omnibox/omnibox_view_views.cc const base::string16 text(GetClipboardText()); text 1046 chrome/browser/ui/views/omnibox/omnibox_view_views.cc if (!text.empty()) { text 1052 chrome/browser/ui/views/omnibox/omnibox_view_views.cc InsertOrReplaceText(text); text 86 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void SetUserText(const base::string16& text, text 89 chrome/browser/ui/views/omnibox/omnibox_view_views.h virtual void SetWindowTextAndCaretPos(const base::string16& text, text 167 chrome/browser/ui/views/omnibox/omnibox_view_views.h void SetTextAndSelectedRange(const base::string16& text, text 220 chrome/browser/ui/views/password_generation_bubble_view.cc render_view_host_->GetRoutingID(), textfield_->text())); text 111 chrome/browser/ui/views/pdf_password_dialog.cc callback_.Run(true, message_box_view_->text_box()->text()); text 105 chrome/browser/ui/views/profile_chooser_view.cc const base::string16& text, text 119 chrome/browser/ui/views/profile_chooser_view.cc const base::string16& text, text 122 chrome/browser/ui/views/profile_chooser_view.cc : views::LabelButton(listener, text) { text 218 chrome/browser/ui/views/profile_chooser_view.cc const base::string16& text, text 220 chrome/browser/ui/views/profile_chooser_view.cc : views::LabelButton(this, text), text 655 chrome/browser/ui/views/profile_chooser_view.cc base::string16 new_profile_name = name_textfield->text(); text 262 chrome/browser/ui/views/sad_tab_view.cc views::Label* SadTabView::CreateLabel(const base::string16& text) { text 263 chrome/browser/ui/views/sad_tab_view.cc views::Label* label = new views::Label(text); text 269 chrome/browser/ui/views/sad_tab_view.cc views::Link* SadTabView::CreateLink(const base::string16& text) { text 270 chrome/browser/ui/views/sad_tab_view.cc views::Link* link = new views::Link(text); text 59 chrome/browser/ui/views/sad_tab_view.h views::Label* CreateLabel(const base::string16& text); text 60 chrome/browser/ui/views/sad_tab_view.h views::Link* CreateLink(const base::string16& text); text 81 chrome/browser/ui/views/screen_capture_notification_ui_views.cc explicit ScreenCaptureNotificationUIViews(const base::string16& text); text 126 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const base::string16& text) text 127 chrome/browser/ui/views/screen_capture_notification_ui_views.cc : text_(text), text 335 chrome/browser/ui/views/screen_capture_notification_ui_views.cc const base::string16& text) { text 337 chrome/browser/ui/views/screen_capture_notification_ui_views.cc new ScreenCaptureNotificationUIViews(text)); text 73 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::string16 text = l10n_util::GetStringFUTF16( text 77 chrome/browser/ui/views/ssl_client_certificate_selector.cc items_.push_back(text); text 130 chrome/browser/ui/views/ssl_client_certificate_selector.cc base::string16 text = l10n_util::GetStringFUTF16( text 133 chrome/browser/ui/views/ssl_client_certificate_selector.cc views::Label* label = new views::Label(text); text 139 chrome/browser/ui/views/status_bubble_views.cc void SetText(const base::string16& text, bool should_animate_open); text 218 chrome/browser/ui/views/status_bubble_views.cc void StatusBubbleViews::StatusView::SetText(const base::string16& text, text 220 chrome/browser/ui/views/status_bubble_views.cc if (text.empty()) { text 225 chrome/browser/ui/views/status_bubble_views.cc if (text != text_) { text 226 chrome/browser/ui/views/status_bubble_views.cc text_ = text; text 66 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc base::string16 text; text 68 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc GetTooltipText(gfx::Point(), &text); text 69 chrome/browser/ui/views/toolbar/browser_action_test_util_views.cc return base::UTF16ToUTF8(text); text 57 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuButton(const base::string16& text, text 66 chrome/browser/ui/views/website_settings/permission_selector_view.cc virtual void SetText(const base::string16& text) OVERRIDE; text 86 chrome/browser/ui/views/website_settings/permission_selector_view.cc PermissionMenuButton::PermissionMenuButton(const base::string16& text, text 89 chrome/browser/ui/views/website_settings/permission_selector_view.cc : MenuButton(NULL, text, this, show_menu_marker), text 118 chrome/browser/ui/views/website_settings/permission_selector_view.cc void PermissionMenuButton::SetText(const base::string16& text) { text 119 chrome/browser/ui/views/website_settings/permission_selector_view.cc MenuButton::SetText(text); text 125 chrome/browser/ui/views/website_settings/permission_selector_view.cc state->value = text(); text 709 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc const base::string16& text, text 767 chrome/browser/ui/views/website_settings/website_settings_popup_view.cc views::Label* description_label = new views::Label(text); text 119 chrome/browser/ui/views/website_settings/website_settings_popup_view.h const base::string16& text, text 18 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc const std::string& text) text 20 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc text_ = base::UTF8ToUTF16(text); text 26 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc const std::string& text, const std::string& accept_label, text 29 chrome/browser/ui/website_settings/mock_permission_bubble_request.cc text_ = base::UTF8ToUTF16(text); text 15 chrome/browser/ui/website_settings/mock_permission_bubble_request.h explicit MockPermissionBubbleRequest(const std::string& text); text 16 chrome/browser/ui/website_settings/mock_permission_bubble_request.h explicit MockPermissionBubbleRequest(const std::string& text, text 400 chrome/browser/ui/webui/about_ui.cc std::string WrapWithTag(const std::string& tag, const std::string& text) { text 401 chrome/browser/ui/webui/about_ui.cc return "<" + tag + ">" + text + "</" + tag + ">"; text 405 chrome/browser/ui/webui/about_ui.cc std::string WrapWithTD(const std::string& text) { text 406 chrome/browser/ui/webui/about_ui.cc return "<td>" + text + "</td>"; text 410 chrome/browser/ui/webui/about_ui.cc std::string WrapWithTR(const std::string& text) { text 411 chrome/browser/ui/webui/about_ui.cc return "<tr>" + text + "</tr>"; text 237 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc void AppLaunchSplashScreenHandler::SetLaunchText(const std::string& text) { text 238 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc CallJS("updateMessage", text); text 54 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.h void SetLaunchText(const std::string& text); text 313 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc const std::string& text) { text 314 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc CallJS("setLabelText", id, text); text 102 chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h void UpdateLabel(const std::string& id, const std::string& text); text 131 chrome/browser/ui/webui/chromeos/login/locally_managed_user_creation_screen_handler.h void UpdateText(const std::string& element_id, const base::string16& text); text 183 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::string16 text; text 187 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc ash::network_icon::ICON_TYPE_LIST, &icon_image, &text, &animating); text 199 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc base::StringValue title(text); text 778 chrome/browser/ui/webui/history_ui.cc page.snippet().text(), text 1009 chrome/browser/ui/webui/history_ui.cc const GURL HistoryUI::GetHistoryURLWithSearchText(const base::string16& text) { text 1011 chrome/browser/ui/webui/history_ui.cc net::EscapeQueryParamValue(base::UTF16ToUTF8(text), true)); text 215 chrome/browser/ui/webui/history_ui.h static const GURL GetHistoryURLWithSearchText(const base::string16& text); text 70 chrome/browser/ui/webui/ntp/android/promo_handler.cc std::string ReplaceSimpleMarkupWithHtml(std::string text) { text 83 chrome/browser/ui/webui/ntp/android/promo_handler.cc ReplaceSubstringsAfterOffset(&text, 0, "LINE_BREAK", LINE_BREAK); text 85 chrome/browser/ui/webui/ntp/android/promo_handler.cc &text, 0, "SYNCGRAPHIC_IMAGE", SYNCGRAPHIC_IMAGE); text 86 chrome/browser/ui/webui/ntp/android/promo_handler.cc ReplaceSubstringsAfterOffset(&text, 0, "BEGIN_HIGHLIGHT", BEGIN_HIGHLIGHT); text 87 chrome/browser/ui/webui/ntp/android/promo_handler.cc ReplaceSubstringsAfterOffset(&text, 0, "END_HIGHLIGHT", END_HIGHLIGHT); text 88 chrome/browser/ui/webui/ntp/android/promo_handler.cc ReplaceSubstringsAfterOffset(&text, 0, "BEGIN_LINK", BEGIN_LINK); text 89 chrome/browser/ui/webui/ntp/android/promo_handler.cc ReplaceSubstringsAfterOffset(&text, 0, "END_LINK", END_LINK); text 90 chrome/browser/ui/webui/ntp/android/promo_handler.cc return BEGIN_PROMO_AREA + text + END_PROMO_AREA; text 252 chrome/browser/ui/webui/ntp/android/promo_handler.cc DCHECK(!promo.text().empty()); text 265 chrome/browser/ui/webui/ntp/android/promo_handler.cc result->SetString("promoMessage", ReplaceSimpleMarkupWithHtml(promo.text())); text 79 chrome/browser/ui/webui/ntp/new_tab_ui.cc const char* GetHtmlTextDirection(const base::string16& text) { text 80 chrome/browser/ui/webui/ntp/new_tab_ui.cc if (base::i18n::IsRTL() && base::i18n::StringContainsStrongRTLChars(text)) text 83 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc const base::string16& host = controller_->input().text().substr( text 68 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc const std::string& text) { text 69 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc base::StringValue text_string_value(text); text 18 chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.h virtual void LogSavePasswordProgress(const std::string& text) OVERRIDE; text 379 chrome/browser/usb/usb_device_handle.cc base::char16 text[256] = { 0 }; text 382 chrome/browser/usb/usb_device_handle.cc reinterpret_cast<unsigned char*>(&text[0]), sizeof(text)); text 385 chrome/browser/usb/usb_device_handle.cc if ((text[0] >> 8) != LIBUSB_DT_STRING) text 387 chrome/browser/usb/usb_device_handle.cc if ((text[0] & 255) > size) text 391 chrome/browser/usb/usb_device_handle.cc *serial = base::string16(text + 1, size); text 33 chrome/browser/web_resource/notification_promo_mobile_ntp.h const std::string& text() const { return text_; } text 78 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc EXPECT_EQ(mobile_promo_.text(), promo_text_); text 100 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc EXPECT_EQ(prefs_mobile_promo.text(), text 101 chrome/browser/web_resource/promo_resource_service_mobile_ntp_unittest.cc mobile_promo_.text()); text 97 chrome/common/badge_util.cc const base::string16& text, text 106 chrome/common/badge_util.cc std::string badge_text = base::UTF16ToUTF8(text); text 144 chrome/common/badge_util.cc const std::string& text, text 149 chrome/common/badge_util.cc if (text.empty()) text 167 chrome/common/badge_util.cc SkScalar sk_text_width = text_paint->measureText(text.c_str(), text.size()); text 221 chrome/common/badge_util.cc text.c_str(), text.size(), text 34 chrome/common/badge_util.h const base::string16& text, text 40 chrome/common/badge_util.h const std::string& text, text 210 chrome/common/extensions/message_bundle.cc bool MessageBundle::ReplaceMessages(std::string* text, text 212 chrome/common/extensions/message_bundle.cc return ReplaceMessagesWithExternalDictionary(dictionary_, text, error); text 220 chrome/common/extensions/message_bundle.cc const SubstitutionMap& dictionary, std::string* text, std::string* error) { text 221 chrome/common/extensions/message_bundle.cc return ReplaceVariables(dictionary, kMessageBegin, kMessageEnd, text, error); text 83 chrome/common/extensions/message_bundle.h bool ReplaceMessages(std::string* text, std::string* error) const; text 86 chrome/common/extensions/message_bundle.h const SubstitutionMap& dictionary, std::string* text, std::string* error); text 389 chrome/common/extensions/message_bundle_unittest.cc std::string text = test_cases[i].original; text 395 chrome/common/extensions/message_bundle_unittest.cc &text, text 397 chrome/common/extensions/message_bundle_unittest.cc EXPECT_EQ(test_cases[i].result, text); text 16 chrome/common/icon_with_badge_image_source.cc const std::string& text, text 23 chrome/common/icon_with_badge_image_source.cc text_(text), text 26 chrome/common/icon_with_badge_image_source.h const std::string& text, text 12 chrome/common/instant_types.cc : text(in_text), text 30 chrome/common/instant_types.h base::string16 text; text 157 chrome/common/metrics/metrics_log_manager_unittest.cc std::string text = "proto"; text 158 chrome/common/metrics/metrics_log_manager_unittest.cc log.SwapLogText(&text); text 93 chrome/common/net/url_fixer_upper.cc void PrepareStringForFileOps(const base::FilePath& text, text 96 chrome/common/net/url_fixer_upper.cc base::TrimWhitespace(text.value(), base::TRIM_ALL, output); text 99 chrome/common/net/url_fixer_upper.cc TrimWhitespaceUTF8(text.value(), base::TRIM_ALL, output); text 106 chrome/common/net/url_fixer_upper.cc bool ValidPathForFile(const base::FilePath::StringType& text, text 108 chrome/common/net/url_fixer_upper.cc base::FilePath file_path = base::MakeAbsoluteFilePath(base::FilePath(text)); text 122 chrome/common/net/url_fixer_upper.cc std::string FixupHomedir(const std::string& text) { text 123 chrome/common/net/url_fixer_upper.cc DCHECK(text.length() > 0 && text[0] == '~'); text 125 chrome/common/net/url_fixer_upper.cc if (text.length() == 1 || text[1] == '/') { text 132 chrome/common/net/url_fixer_upper.cc return text; text 133 chrome/common/net/url_fixer_upper.cc return home + text.substr(1); text 145 chrome/common/net/url_fixer_upper.cc return kHome + text.substr(1); text 154 chrome/common/net/url_fixer_upper.cc std::string FixupPath(const std::string& text) { text 155 chrome/common/net/url_fixer_upper.cc DCHECK(!text.empty()); text 159 chrome/common/net/url_fixer_upper.cc base::FilePath input_path(base::UTF8ToWide(text)); text 166 chrome/common/net/url_fixer_upper.cc base::FilePath input_path(text); text 181 chrome/common/net/url_fixer_upper.cc return text; text 223 chrome/common/net/url_fixer_upper.cc inline void FixupUsername(const std::string& text, text 230 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); text 235 chrome/common/net/url_fixer_upper.cc inline void FixupPassword(const std::string& text, text 243 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); text 246 chrome/common/net/url_fixer_upper.cc void FixupHost(const std::string& text, text 258 chrome/common/net/url_fixer_upper.cc std::string domain(text, part.begin, part.len); text 275 chrome/common/net/url_fixer_upper.cc void FixupPort(const std::string& text, text 283 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); text 286 chrome/common/net/url_fixer_upper.cc inline void FixupPath(const std::string& text, text 296 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); text 299 chrome/common/net/url_fixer_upper.cc inline void FixupQuery(const std::string& text, text 307 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); text 310 chrome/common/net/url_fixer_upper.cc inline void FixupRef(const std::string& text, text 318 chrome/common/net/url_fixer_upper.cc url->append(text, part.begin, part.len); text 345 chrome/common/net/url_fixer_upper.cc bool GetValidScheme(const std::string& text, text 351 chrome/common/net/url_fixer_upper.cc if (!url_parse::ExtractScheme(text.data(), static_cast<int>(text.length()), text 361 chrome/common/net/url_fixer_upper.cc if (!url_canon::CanonicalizeScheme(text.data(), *scheme_component, text 378 chrome/common/net/url_fixer_upper.cc if (HasPort(text, *scheme_component)) text 388 chrome/common/net/url_fixer_upper.cc std::string SegmentURLInternal(std::string* text, url_parse::Parsed* parts) { text 393 chrome/common/net/url_fixer_upper.cc TrimWhitespaceUTF8(*text, base::TRIM_ALL, &trimmed); text 410 chrome/common/net/url_fixer_upper.cc if (!GetValidScheme(*text, &parts->scheme, &scheme)) { text 414 chrome/common/net/url_fixer_upper.cc size_t semicolon = text->find(';'); text 416 chrome/common/net/url_fixer_upper.cc (*text)[semicolon] = ':'; text 417 chrome/common/net/url_fixer_upper.cc if (GetValidScheme(*text, &parts->scheme, &scheme)) text 420 chrome/common/net/url_fixer_upper.cc (*text)[semicolon] = ';'; text 425 chrome/common/net/url_fixer_upper.cc scheme = StartsWithASCII(*text, "ftp.", false) ? text 441 chrome/common/net/url_fixer_upper.cc url_parse::ParseFileSystemURL(text->data(), text 442 chrome/common/net/url_fixer_upper.cc static_cast<int>(text->length()), parts); text 448 chrome/common/net/url_fixer_upper.cc url_parse::ParseStandardURL(text->data(), static_cast<int>(text->length()), text 455 chrome/common/net/url_fixer_upper.cc std::string::iterator first_nonwhite = text->begin(); text 456 chrome/common/net/url_fixer_upper.cc while ((first_nonwhite != text->end()) && IsWhitespace(*first_nonwhite)) text 462 chrome/common/net/url_fixer_upper.cc std::string text_to_parse(text->begin(), first_nonwhite); text 464 chrome/common/net/url_fixer_upper.cc text_to_parse.append(first_nonwhite, text->end()); text 487 chrome/common/net/url_fixer_upper.cc std::string URLFixerUpper::SegmentURL(const std::string& text, text 489 chrome/common/net/url_fixer_upper.cc std::string mutable_text(text); text 493 chrome/common/net/url_fixer_upper.cc base::string16 URLFixerUpper::SegmentURL(const base::string16& text, text 495 chrome/common/net/url_fixer_upper.cc std::string text_utf8 = base::UTF16ToUTF8(text); text 502 chrome/common/net/url_fixer_upper.cc GURL URLFixerUpper::FixupURL(const std::string& text, text 505 chrome/common/net/url_fixer_upper.cc TrimWhitespaceUTF8(text, base::TRIM_ALL, &trimmed); text 518 chrome/common/net/url_fixer_upper.cc if (!StartsWithASCII(text, view_source + view_source, false)) { text 527 chrome/common/net/url_fixer_upper.cc return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); text 532 chrome/common/net/url_fixer_upper.cc return GURL(text); text 584 chrome/common/net/url_fixer_upper.cc const base::FilePath& text) { text 594 chrome/common/net/url_fixer_upper.cc PrepareStringForFileOps(text, &trimmed); text 635 chrome/common/net/url_fixer_upper.cc std::string text_utf8 = base::WideToUTF8(text.value()); text 637 chrome/common/net/url_fixer_upper.cc std::string text_utf8 = text.value(); text 33 chrome/common/net/url_fixer_upper.h std::string SegmentURL(const std::string& text, url_parse::Parsed* parts); text 34 chrome/common/net/url_fixer_upper.h base::string16 SegmentURL(const base::string16& text, text 57 chrome/common/net/url_fixer_upper.h GURL FixupURL(const std::string& text, const std::string& desired_tld); text 69 chrome/common/net/url_fixer_upper.h const base::FilePath& text); text 24 chrome/common/net/url_util.cc base::string16 text = url.SchemeIs(content::kMailToScheme) ? text 30 chrome/common/net/url_util.cc scw.WriteURL(text); text 19 chrome/common/net/x509_certificate_model_openssl.cc std::string AlternativeWhenEmpty(const std::string& text, text 21 chrome/common/net/x509_certificate_model_openssl.cc return text.empty() ? alternative : text; text 152 chrome/common/render_messages.h IPC_STRUCT_TRAITS_MEMBER(text) text 17 chrome/common/tts_messages.h IPC_STRUCT_TRAITS_MEMBER(text) text 18 chrome/common/tts_utterance_request.h std::string text; text 51 chrome/installer/util/master_preferences_unittest.cc const char text[] = text 79 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); text 125 chrome/installer/util/master_preferences_unittest.cc const char text[] = text 138 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); text 185 chrome/installer/util/master_preferences_unittest.cc const char text[] = text 197 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file(), text, strlen(text))); text 245 chrome/installer/util/master_preferences_unittest.cc const char text[] = text 255 chrome/installer/util/master_preferences_unittest.cc EXPECT_TRUE(base::WriteFile(prefs_file, text, strlen(text))); text 70 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc ExtractionState(const base::string16& text, base::TimeTicks start_time_ticks) text 78 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc text.data(), text.size(), text 256 chrome/renderer/searchbox/searchbox.cc void SearchBox::Paste(const base::string16& text) { text 258 chrome/renderer/searchbox/searchbox.cc render_view()->GetRoutingID(), render_view()->GetPageId(), text)); text 86 chrome/renderer/searchbox/searchbox.h void Paste(const base::string16& text); text 767 chrome/renderer/searchbox/searchbox_extension.cc UTF16ToV8String(isolate, suggestion.text)); text 1055 chrome/renderer/searchbox/searchbox_extension.cc base::string16 text; text 1057 chrome/renderer/searchbox/searchbox_extension.cc text = V8ValueToUTF16(args[0]); text 1059 chrome/renderer/searchbox/searchbox_extension.cc DVLOG(1) << render_view << " Paste: " << text; text 1060 chrome/renderer/searchbox/searchbox_extension.cc SearchBox::Get(render_view)->Paste(text); text 44 chrome/renderer/spellchecker/custom_dictionary_engine.cc const base::string16& text, text 52 chrome/renderer/spellchecker/custom_dictionary_engine.cc size_t(misspelling_start + misspelling_len) <= text.length() && text 53 chrome/renderer/spellchecker/custom_dictionary_engine.cc dictionary_.count(text.substr(misspelling_start, misspelling_len)) > 0; text 28 chrome/renderer/spellchecker/custom_dictionary_engine.h bool SpellCheckWord(const base::string16& text, text 74 chrome/renderer/spellchecker/spellcheck.cc SpellcheckRequest(const base::string16& text, text 76 chrome/renderer/spellchecker/spellcheck.cc : text_(text), completion_(completion) { text 199 chrome/renderer/spellchecker/spellcheck.cc const base::string16& text, text 205 chrome/renderer/spellchecker/spellcheck.cc size_t length = text.length(); text 216 chrome/renderer/spellchecker/spellcheck.cc if (SpellCheckWord(&text[offset], text 227 chrome/renderer/spellchecker/spellcheck.cc text, misspelling_start + offset, misspelling_length)) { text 302 chrome/renderer/spellchecker/spellcheck.cc const base::string16& text, text 309 chrome/renderer/spellchecker/spellcheck.cc text, completion)); text 342 chrome/renderer/spellchecker/spellcheck.cc SpellCheckParagraph(param->text(), &results); text 357 chrome/renderer/spellchecker/spellcheck.cc const base::char16* text = line_text.c_str(); text 367 chrome/renderer/spellchecker/spellcheck.cc if (SpellCheckWord(text + word_location, word_length, 0, text 80 chrome/renderer/spellchecker/spellcheck.h const base::string16& text, text 94 chrome/renderer/spellchecker/spellcheck.h void RequestTextChecking(const base::string16& text, text 55 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& text, text 59 chrome/renderer/spellchecker/spellcheck_provider.cc if (text.empty() || !HasWordCharacters(text, 0)) { text 65 chrome/renderer/spellchecker/spellcheck_provider.cc if (SatisfyRequestFromCache(text, completion)) text 81 chrome/renderer/spellchecker/spellcheck_provider.cc text, text 87 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16(text), text 129 chrome/renderer/spellchecker/spellcheck_provider.cc const WebString& text, text 133 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16 word(text); text 150 chrome/renderer/spellchecker/spellcheck_provider.cc const blink::WebString& text, text 162 chrome/renderer/spellchecker/spellcheck_provider.cc spellcheck_->SpellCheckParagraph(text, results); text 163 chrome/renderer/spellchecker/spellcheck_provider.cc UMA_HISTOGRAM_COUNTS("SpellCheck.api.paragraph", text.length()); text 167 chrome/renderer/spellchecker/spellcheck_provider.cc const WebString& text, text 176 chrome/renderer/spellchecker/spellcheck_provider.cc RequestTextChecking(text, completion, spellcheck_markers); text 177 chrome/renderer/spellchecker/spellcheck_provider.cc UMA_HISTOGRAM_COUNTS("SpellCheck.api.async", text.length()); text 243 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& text, text 245 chrome/renderer/spellchecker/spellcheck_provider.cc const base::char16* data = text.data(); text 246 chrome/renderer/spellchecker/spellcheck_provider.cc int length = text.length(); text 310 chrome/renderer/spellchecker/spellcheck_provider.cc const base::string16& text, text 319 chrome/renderer/spellchecker/spellcheck_provider.cc base::string16 request(text); text 323 chrome/renderer/spellchecker/spellcheck_provider.cc if (text_length == last_length || !HasWordCharacters(text, last_length)) { text 329 chrome/renderer/spellchecker/spellcheck_provider.cc U16_PREV(text.data(), 0, length, code); text 42 chrome/renderer/spellchecker/spellcheck_provider.h const base::string16& text, text 67 chrome/renderer/spellchecker/spellcheck_provider.h bool SatisfyRequestFromCache(const base::string16& text, text 72 chrome/renderer/spellchecker/spellcheck_provider.h const blink::WebString& text, text 77 chrome/renderer/spellchecker/spellcheck_provider.h const blink::WebString& text, text 82 chrome/renderer/spellchecker/spellcheck_provider.h const blink::WebString& text, text 98 chrome/renderer/spellchecker/spellcheck_provider.h const base::string16& text, text 104 chrome/renderer/spellchecker/spellcheck_provider.h bool HasWordCharacters(const base::string16& text, int index) const; text 138 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc base::string16 text = ASCIIToUTF16("Icland is an icland "); text 140 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc blink::WebString(text), &completion, std::vector<SpellCheckMarker>()); text 142 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc << text << "\""; text 145 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc base::string16 substring = text.substr(0, kSubstringLength); text 153 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc blink::WebString(text), &completion, std::vector<SpellCheckMarker>()); text 155 chrome/renderer/spellchecker/spellcheck_provider_hunspell_unittest.cc << text << "\""; text 26 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc base::string16 text; text 36 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc ¶meters.text, text 65 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc EXPECT_EQ(read_parameters.text, base::UTF8ToUTF16("hello ")); text 89 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc EXPECT_EQ(read_parameters1.text, base::UTF8ToUTF16("hello ")); text 93 chrome/renderer/spellchecker/spellcheck_provider_mac_unittest.cc EXPECT_EQ(read_parameters2.text, base::UTF8ToUTF16("bye ")); text 64 chrome/renderer/spellchecker/spellcheck_provider_test.cc const base::string16& text, text 76 chrome/renderer/spellchecker/spellcheck_provider_test.cc text_.assign(text); text 83 chrome/renderer/spellchecker/spellcheck_provider_test.cc last_request_ = text; text 46 chrome/renderer/spellchecker/spellcheck_provider_test.h const base::string16& text, text 930 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16("apple"); text 932 chrome/renderer/spellchecker/spellcheck_unittest.cc TestSpellCheckParagraph(text, expected); text 937 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16("zz"); text 942 chrome/renderer/spellchecker/spellcheck_unittest.cc TestSpellCheckParagraph(text, expected); text 947 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16("zz, zz"); text 954 chrome/renderer/spellchecker/spellcheck_unittest.cc TestSpellCheckParagraph(text, expected); text 961 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16( text 968 chrome/renderer/spellchecker/spellcheck_unittest.cc TestSpellCheckParagraph(text, expected); text 976 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::UTF8ToUTF16( text 996 chrome/renderer/spellchecker/spellcheck_unittest.cc TestSpellCheckParagraph(text, expected); text 1017 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("hello"); text 1018 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(text, &completion); text 1029 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("apple, zz"); text 1030 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(text, &completion); text 1044 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("apple, zz, orange, zz"); text 1045 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(text, &completion); text 1062 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text[3] = { text 1069 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(text[i], &completion[i]); text 1087 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text = base::ASCIIToUTF16("zz"); text 1089 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(text, &completion); text 1102 chrome/renderer/spellchecker/spellcheck_unittest.cc const base::string16 text[3] = { text 1110 chrome/renderer/spellchecker/spellcheck_unittest.cc spell_check()->RequestTextChecking(text[i], &completion[i]); text 1134 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 text = base::ASCIIToUTF16("zz"); text 1141 chrome/renderer/spellchecker/spellcheck_unittest.cc text, text 1154 chrome/renderer/spellchecker/spellcheck_unittest.cc base::string16 text = base::ASCIIToUTF16("I have bean to USA."); text 1161 chrome/renderer/spellchecker/spellcheck_unittest.cc text, text 342 chrome/renderer/spellchecker/spellcheck_worditerator.cc bool SpellcheckWordIterator::SetText(const base::char16* text, size_t length) { text 347 chrome/renderer/spellchecker/spellcheck_worditerator.cc ubrk_setText(iterator_, text, length, &status); text 358 chrome/renderer/spellchecker/spellcheck_worditerator.cc text_ = text; text 125 chrome/renderer/spellchecker/spellcheck_worditerator.h bool SetText(const base::char16* text, size_t length); text 180 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc const wchar_t* text; text 217 chrome/renderer/spellchecker/spellcheck_worditerator_unittest.cc base::string16 input_word(base::WideToUTF16(kTestCases[i].text)); text 67 chrome/renderer/tts_dispatcher.cc utterance.text = web_utterance.text().utf8(); text 45 chrome/renderer/web_apps.cc int ParseSingleIconSize(const base::string16& text) { text 47 chrome/renderer/web_apps.cc if (text.empty() || !(text[0] >= L'1' && text[0] <= L'9')) text 51 chrome/renderer/web_apps.cc for (size_t i = 1; i < text.length(); ++i) { text 52 chrome/renderer/web_apps.cc if (!(text[i] >= L'0' && text[i] <= L'9')) text 56 chrome/renderer/web_apps.cc if (!base::StringToInt(text, &output)) text 64 chrome/renderer/web_apps.cc gfx::Size ParseIconSize(const base::string16& text) { text 66 chrome/renderer/web_apps.cc base::SplitStringDontTrim(text, L'x', &sizes); text 101 chrome/renderer/web_apps.cc bool ParseIconSizes(const base::string16& text, text 106 chrome/renderer/web_apps.cc base::SplitStringAlongWhitespace(text, &size_strings); text 27 chrome/renderer/web_apps.h bool ParseIconSizes(const base::string16& text, std::vector<gfx::Size>* sizes, text 8 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java import android.text.SpannableString; text 9 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java import android.text.style.ClickableSpan; text 34 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java TextView text = (TextView) view.findViewById(R.id.infobar_message); text 36 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java SpannableString spannable = (SpannableString) text.getText(); text 48 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java float nChars = text.getLayout().getLineVisibleEnd(0); text 51 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java float sizePerChar = text.getLayout().getLineWidth(0) / nChars; text 52 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java float xPos = text.getPaddingLeft() + (sizePerChar * x); text 53 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java float yPos = text.getHeight() / (float) 2; text 55 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java TestTouchUtils.singleClickView(test.getInstrumentation(), text, (int) xPos, (int) yPos); text 61 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java public static boolean verifyInfoBarText(InfoBar infoBar, String text) { text 67 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java return text.equals(infoBarText); text 71 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java TextView text = (TextView) view.findViewById(R.id.infobar_message); text 72 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TranslateUtil.java return text != null ? text.getText().toString() : null; text 8 chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/contextmenu/ContextMenuUtils.java import android.text.TextUtils; text 71 chrome/test/chromedriver/alert_commands.cc std::string text; text 72 chrome/test/chromedriver/alert_commands.cc if (!params.GetString("text", &text)) text 78 chrome/test/chromedriver/alert_commands.cc session->prompt_text.reset(new std::string(text)); text 54 chrome/test/chromedriver/chrome/console_logger.cc std::string text; text 57 chrome/test/chromedriver/chrome/console_logger.cc if (message_dict->GetString("text", &text) && !text.empty() && text 88 chrome/test/chromedriver/chrome/console_logger.cc text.c_str())); text 118 chrome/test/chromedriver/chrome/console_logger_unittest.cc const char* text) { text 129 chrome/test/chromedriver/chrome/console_logger_unittest.cc if (text != NULL) text 130 chrome/test/chromedriver/chrome/console_logger_unittest.cc out_params->SetString("message.text", text); text 31 chrome/test/chromedriver/chrome/javascript_dialog_manager.cc const std::string* text) { text 37 chrome/test/chromedriver/chrome/javascript_dialog_manager.cc if (text) text 38 chrome/test/chromedriver/chrome/javascript_dialog_manager.cc params.SetString("promptText", *text); text 32 chrome/test/chromedriver/chrome/javascript_dialog_manager.h Status HandleDialog(bool accept, const std::string* text); text 59 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc std::string text; text 60 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc client.params_.GetString("promptText", &text); text 61 chrome/test/chromedriver/chrome/javascript_dialog_manager_unittest.cc ASSERT_EQ(given_text, text); text 23 chrome/test/chromedriver/keycode_text_conversion.h std::string* text, text 12 chrome/test/chromedriver/keycode_text_conversion_ozone.cc ui::KeyboardCode key_code, int modifiers, std::string* text, text 14 chrome/test/chromedriver/keycode_text_conversion_ozone.cc *text = std::string(); text 56 chrome/test/chromedriver/keycode_text_conversion_unittest.cc std::string text; text 57 chrome/test/chromedriver/keycode_text_conversion_unittest.cc EXPECT_TRUE(ConvertKeyCodeToText(key_code, modifiers, &text, &error_msg)); text 58 chrome/test/chromedriver/keycode_text_conversion_unittest.cc return text; text 14 chrome/test/chromedriver/keycode_text_conversion_win.cc ui::KeyboardCode key_code, int modifiers, std::string* text, text 31 chrome/test/chromedriver/keycode_text_conversion_win.cc *text = std::string(); text 33 chrome/test/chromedriver/keycode_text_conversion_win.cc base::WideToUTF8(chars, code, text); text 181 chrome/test/chromedriver/keycode_text_conversion_x.cc ui::KeyboardCode key_code, int modifiers, std::string* text, text 186 chrome/test/chromedriver/keycode_text_conversion_x.cc *text = std::string(); text 197 chrome/test/chromedriver/keycode_text_conversion_x.cc *text = std::string(); text 225 chrome/test/chromedriver/keycode_text_conversion_x.cc *text = std::string(); text 227 chrome/test/chromedriver/keycode_text_conversion_x.cc *text = base::UTF16ToUTF8(base::string16(1, character)); text 92 chrome/test/remoting/me2me_browsertest.cc std::string text = "Abigail"; text 93 chrome/test/remoting/me2me_browsertest.cc SimulateStringInput(text); text 109 chrome/test/remoting/me2me_browsertest.cc "testResult.keypressText == '" + text + "'")); text 571 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp std::string text = ProcessGeneralName(arena, current); text 572 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp if (text.empty()) text 574 chrome/third_party/mozilla_security_manager/nsNSSCertHelper.cpp rv += text; text 16 chromeos/ime/composition_text.cc text_ = obj.text(); text 35 chromeos/ime/composition_text.h const base::string16& text() const { return text_; } text 36 chromeos/ime/composition_text.h void set_text(const base::string16& text) { text_ = text; } text 25 chromeos/ime/composition_text_unittest.cc CompositionText text; text 26 chromeos/ime/composition_text_unittest.cc text.set_text(kSampleText); text 28 chromeos/ime/composition_text_unittest.cc text.mutable_underline_attributes(); text 32 chromeos/ime/composition_text_unittest.cc text.set_selection_start(30); text 33 chromeos/ime/composition_text_unittest.cc text.set_selection_end(40); text 36 chromeos/ime/composition_text_unittest.cc text2.CopyFrom(text); text 38 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.text(), text2.text()); text 39 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.underline_attributes().size(), text 41 chromeos/ime/composition_text_unittest.cc for (size_t i = 0; i < text.underline_attributes().size(); ++i) { text 42 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.underline_attributes()[i].type, text 44 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.underline_attributes()[i].start_index, text 46 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.underline_attributes()[i].end_index, text 50 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.selection_start(), text2.selection_start()); text 51 chromeos/ime/composition_text_unittest.cc EXPECT_EQ(text.selection_end(), text2.selection_end()); text 147 chromeos/network/network_event_log.cc std::string text = event; text 149 chromeos/network/network_event_log.cc text += ": " + description; text 150 chromeos/network/network_event_log.cc return text; text 154 chromeos/network/network_event_log.cc std::string text; text 156 chromeos/network/network_event_log.cc text += "<i>"; text 158 chromeos/network/network_event_log.cc text += "<b>"; text 160 chromeos/network/network_event_log.cc text += "<b><i>"; text 162 chromeos/network/network_event_log.cc text += event; text 164 chromeos/network/network_event_log.cc text += ": " + net::EscapeForHTML(description); text 167 chromeos/network/network_event_log.cc text += "</i>"; text 169 chromeos/network/network_event_log.cc text += "</b>"; text 171 chromeos/network/network_event_log.cc text += "</i></b>"; text 172 chromeos/network/network_event_log.cc return text; text 316 chromeos/network/network_sms_handler.cc std::string text, number, timestamp; text 320 chromeos/network/network_sms_handler.cc if (dictionary.GetStringWithoutPathExpansion(kModemManager1TextKey, &text)) text 321 chromeos/network/network_sms_handler.cc new_dictionary.SetString(kTextKey, text); text 30 chromeos/network/network_sms_handler_unittest.cc std::string text; text 32 chromeos/network/network_sms_handler_unittest.cc NetworkSmsHandler::kTextKey, &text)) { text 33 chromeos/network/network_sms_handler_unittest.cc messages_.insert(text); text 156 chromeos/process_proxy/process_proxy.cc bool ProcessProxy::Write(const std::string& text) { text 161 chromeos/process_proxy/process_proxy.cc size_t data_size = text.length() * sizeof(*text.c_str()); text 164 chromeos/process_proxy/process_proxy.cc text.c_str(), data_size); text 42 chromeos/process_proxy/process_proxy.h bool Write(const std::string& text); text 457 components/autofill/content/renderer/form_autofill_util.cc option_contents->push_back(option.text()); text 809 components/autofill/content/renderer/form_autofill_util.cc value = option_element.text(); text 187 components/autofill/core/browser/address.cc void Address::GetMatchingTypes(const base::string16& text, text 190 components/autofill/core/browser/address.cc FormGroup::GetMatchingTypes(text, app_locale, matching_types); text 193 components/autofill/core/browser/address.cc std::string country_code = AutofillCountry::GetCountryCode(text, app_locale); text 36 components/autofill/core/browser/address.h const base::string16& text, text 270 components/autofill/core/browser/autofill_profile.cc const base::string16& text, text 275 components/autofill/core/browser/autofill_profile.cc (*it)->GetMatchingTypes(text, app_locale, matching_types); text 44 components/autofill/core/browser/autofill_profile.h const base::string16& text, text 23 components/autofill/core/browser/autofill_xml_parser.cc buzz::XmlParseContext* context, const char* text, int len) { text 44 components/autofill/core/browser/autofill_xml_parser.h const char* text, text 398 components/autofill/core/browser/credit_card.cc void CreditCard::GetMatchingTypes(const base::string16& text, text 401 components/autofill/core/browser/credit_card.cc FormGroup::GetMatchingTypes(text, app_locale, matching_types); text 405 components/autofill/core/browser/credit_card.cc if (!card_number.empty() && StripSeparators(text) == card_number) text 409 components/autofill/core/browser/credit_card.cc if (ConvertMonth(text, app_locale, &month) && month != 0 && text 624 components/autofill/core/browser/credit_card.cc void CreditCard::SetExpirationMonthFromString(const base::string16& text, text 627 components/autofill/core/browser/credit_card.cc if (!ConvertMonth(text, app_locale, &month)) text 633 components/autofill/core/browser/credit_card.cc void CreditCard::SetExpirationYearFromString(const base::string16& text) { text 635 components/autofill/core/browser/credit_card.cc if (!ConvertYear(text, &year)) text 50 components/autofill/core/browser/credit_card.h const base::string16& text, text 130 components/autofill/core/browser/credit_card.h void SetExpirationMonthFromString(const base::string16& text, text 134 components/autofill/core/browser/credit_card.h void SetExpirationYearFromString(const base::string16& text); text 11 components/autofill/core/browser/form_group.cc void FormGroup::GetMatchingTypes(const base::string16& text, text 14 components/autofill/core/browser/form_group.cc if (text.empty()) { text 23 components/autofill/core/browser/form_group.cc if (GetInfo(AutofillType(*type), app_locale) == text) text 26 components/autofill/core/browser/form_group.h virtual void GetMatchingTypes(const base::string16& text, text 149 components/autofill/core/browser/phone_number.cc void PhoneNumber::GetMatchingTypes(const base::string16& text, text 152 components/autofill/core/browser/phone_number.cc base::string16 stripped_text = text; text 163 components/autofill/core/browser/phone_number.cc if (text == prefix || text == suffix) text 171 components/autofill/core/browser/phone_number.cc i18n::NormalizePhoneNumber(text, GetRegion(*profile_, app_locale)); text 33 components/autofill/core/browser/phone_number.h const base::string16& text, text 62 components/autofill/core/browser/validation.cc bool IsValidCreditCardNumber(const base::string16& text) { text 63 components/autofill/core/browser/validation.cc base::string16 number = CreditCard::StripSeparators(text); text 70 components/autofill/core/browser/validation.cc const std::string type = CreditCard::GetCreditCardType(text); text 116 components/autofill/core/browser/validation.cc bool IsValidCreditCardSecurityCode(const base::string16& text) { text 117 components/autofill/core/browser/validation.cc if (text.size() < 3U || text.size() > 4U) text 120 components/autofill/core/browser/validation.cc for (base::string16::const_iterator iter = text.begin(); text 121 components/autofill/core/browser/validation.cc iter != text.end(); text 139 components/autofill/core/browser/validation.cc bool IsValidEmailAddress(const base::string16& text) { text 144 components/autofill/core/browser/validation.cc return MatchesPattern(text, kEmailPattern); text 147 components/autofill/core/browser/validation.cc bool IsValidState(const base::string16& text) { text 148 components/autofill/core/browser/validation.cc return !state_names::GetAbbreviationForName(text).empty() || text 149 components/autofill/core/browser/validation.cc !state_names::GetNameForAbbreviation(text).empty(); text 152 components/autofill/core/browser/validation.cc bool IsValidZip(const base::string16& text) { text 154 components/autofill/core/browser/validation.cc return MatchesPattern(text, kZipPattern); text 157 components/autofill/core/browser/validation.cc bool IsSSN(const base::string16& text) { text 159 components/autofill/core/browser/validation.cc base::RemoveChars(text, kSSNSeparators, &number_string); text 27 components/autofill/core/browser/validation.h bool IsValidCreditCardNumber(const base::string16& text); text 30 components/autofill/core/browser/validation.h bool IsValidCreditCardSecurityCode(const base::string16& text); text 38 components/autofill/core/browser/validation.h bool IsValidEmailAddress(const base::string16& text); text 42 components/autofill/core/browser/validation.h bool IsValidState(const base::string16& text); text 46 components/autofill/core/browser/validation.h bool IsValidZip(const base::string16& text); text 49 components/autofill/core/browser/validation.h bool IsSSN(const base::string16& text); text 468 components/breakpad/app/breakpad_win.cc bool WrapMessageBoxWithSEH(const wchar_t* text, const wchar_t* caption, text 474 components/breakpad/app/breakpad_win.cc *exit_now = (IDOK != ::MessageBoxW(NULL, text, caption, flags)); text 61 components/password_manager/core/browser/password_manager_client.h virtual void LogSavePasswordProgress(const std::string& text); text 18 components/password_manager/core/browser/password_manager_logger.h virtual void LogSavePasswordProgress(const std::string& text) = 0; text 207 components/plugins/renderer/webview_plugin.cc void WebViewPlugin::setToolTipText(const WebString& text, text 210 components/plugins/renderer/webview_plugin.cc container_->element().setAttribute("title", text); text 88 components/translate/language_detection/language_detection_util.cc std::string DetermineTextLanguage(const base::string16& text, text 103 components/translate/language_detection/language_detection_util.cc DetectLanguageOfUnicodeText(NULL, text.c_str(), true, &is_reliable, text 113 components/translate/language_detection/language_detection_util.cc std::string utf8_text(base::UTF16ToUTF8(text)); text 178 components/translate/language_detection/language_detection_util.cc VLOG(9) << "Detected lang_id: " << language << ", from Text:\n" << text text 38 components/url_matcher/regex_set_matcher.cc bool RegexSetMatcher::Match(const std::string& text, text 51 components/url_matcher/regex_set_matcher.cc StringToLowerASCII(text))); text 54 components/url_matcher/regex_set_matcher.cc filtered_re2_->AllMatches(text, atoms, &re2_ids); text 68 components/url_matcher/regex_set_matcher.cc const std::string& text) const { text 70 components/url_matcher/regex_set_matcher.cc substring_matcher_->Match(text, &atoms_set); text 44 components/url_matcher/regex_set_matcher.h bool Match(const std::string& text, text 56 components/url_matcher/regex_set_matcher.h std::vector<RE2ID> FindSubstringMatches(const std::string& text) const; text 109 components/url_matcher/substring_set_matcher.cc bool SubstringSetMatcher::Match(const std::string& text, text 117 components/url_matcher/substring_set_matcher.cc for (std::string::const_iterator i = text.begin(); i != text.end(); ++i) { text 162 components/url_matcher/substring_set_matcher.cc const std::string& text = pattern->pattern(); text 163 components/url_matcher/substring_set_matcher.cc const std::string::const_iterator text_end = text.end(); text 167 components/url_matcher/substring_set_matcher.cc std::string::const_iterator i = text.begin(); text 45 components/url_matcher/substring_set_matcher.h bool Match(const std::string& text, text 150 components/url_matcher/url_matcher_unittest.cc bool Matches(const URLMatcherCondition& condition, std::string text) { text 151 components/url_matcher/url_matcher_unittest.cc return text.find(condition.string_pattern()->pattern()) != text 9 components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ValidationMessageBubble.java import android.text.TextUtils; text 147 content/browser/accessibility/accessibility_tree_formatter.cc const base::string16& text, bool default_result) const { text 151 content/browser/accessibility/accessibility_tree_formatter.cc if (MatchPattern(text, iter->match_str)) { text 155 content/browser/accessibility/accessibility_tree_formatter.cc allow = (!MatchPattern(text, base::UTF8ToUTF16("*=''"))); text 129 content/browser/accessibility/accessibility_tree_formatter.h bool MatchesFilters(const base::string16& text, bool default_result) const; text 272 content/browser/accessibility/browser_accessibility_android.cc base::string16 text; text 274 content/browser/accessibility/browser_accessibility_android.cc text = base::UTF8ToUTF16(name()); text 276 content/browser/accessibility/browser_accessibility_android.cc text = description; text 278 content/browser/accessibility/browser_accessibility_android.cc text = base::UTF8ToUTF16(value()); text 282 content/browser/accessibility/browser_accessibility_android.cc if (text.empty() && HasOnlyStaticTextChildren()) { text 285 content/browser/accessibility/browser_accessibility_android.cc text += static_cast<BrowserAccessibilityAndroid*>(child)->GetText(); text 292 content/browser/accessibility/browser_accessibility_android.cc if (!text.empty()) text 293 content/browser/accessibility/browser_accessibility_android.cc text += base::ASCIIToUTF16(" Heading"); text 297 content/browser/accessibility/browser_accessibility_android.cc return text; text 596 content/browser/accessibility/browser_accessibility_android.cc base::string16 text = GetText(); text 597 content/browser/accessibility/browser_accessibility_android.cc if (cached_text_ != text) { text 598 content/browser/accessibility/browser_accessibility_android.cc if (!text.empty()) { text 602 content/browser/accessibility/browser_accessibility_android.cc cached_text_ = text; text 2010 content/browser/accessibility/browser_accessibility_win.cc BSTR* text) { text 2014 content/browser/accessibility/browser_accessibility_win.cc if (!text) text 2043 content/browser/accessibility/browser_accessibility_win.cc *text = SysAllocString(substr.c_str()); text 2044 content/browser/accessibility/browser_accessibility_win.cc DCHECK(*text); text 2053 content/browser/accessibility/browser_accessibility_win.cc BSTR* text) { text 2057 content/browser/accessibility/browser_accessibility_win.cc if (!start_offset || !end_offset || !text) text 2065 content/browser/accessibility/browser_accessibility_win.cc *text = NULL; text 2075 content/browser/accessibility/browser_accessibility_win.cc return get_text(*start_offset, *end_offset, text); text 2083 content/browser/accessibility/browser_accessibility_win.cc BSTR* text) { text 2087 content/browser/accessibility/browser_accessibility_win.cc if (!start_offset || !end_offset || !text) text 2095 content/browser/accessibility/browser_accessibility_win.cc *text = NULL; text 2104 content/browser/accessibility/browser_accessibility_win.cc return get_text(*start_offset, *end_offset, text); text 2112 content/browser/accessibility/browser_accessibility_win.cc BSTR* text) { text 2116 content/browser/accessibility/browser_accessibility_win.cc if (!start_offset || !end_offset || !text) text 2124 content/browser/accessibility/browser_accessibility_win.cc *text = NULL; text 2133 content/browser/accessibility/browser_accessibility_win.cc return get_text(*start_offset, *end_offset, text); text 2143 content/browser/accessibility/browser_accessibility_win.cc base::string16 text = TextForIAccessibleText(); text 2145 content/browser/accessibility/browser_accessibility_win.cc new_text->text = SysAllocString(text.c_str()); text 2147 content/browser/accessibility/browser_accessibility_win.cc new_text->end = static_cast<long>(text.size()); text 2158 content/browser/accessibility/browser_accessibility_win.cc old_text->text = SysAllocString(old_text_.c_str()); text 3104 content/browser/accessibility/browser_accessibility_win.cc base::string16 text = TextForIAccessibleText(); text 3105 content/browser/accessibility/browser_accessibility_win.cc if (previous_text_ != text) { text 3106 content/browser/accessibility/browser_accessibility_win.cc if (!previous_text_.empty() && !text.empty()) { text 3114 content/browser/accessibility/browser_accessibility_win.cc previous_text_ = text; text 3267 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text, text 3270 content/browser/accessibility/browser_accessibility_win.cc *offset = static_cast<LONG>(text.size()); text 3291 content/browser/accessibility/browser_accessibility_win.cc const base::string16& text, text 3295 content/browser/accessibility/browser_accessibility_win.cc HandleSpecialTextOffset(text, &start_offset); text 3300 content/browser/accessibility/browser_accessibility_win.cc text, line_breaks, boundary, start_offset, direction); text 464 content/browser/accessibility/browser_accessibility_win.h BSTR* text); text 471 content/browser/accessibility/browser_accessibility_win.h BSTR* text); text 478 content/browser/accessibility/browser_accessibility_win.h BSTR* text); text 485 content/browser/accessibility/browser_accessibility_win.h BSTR* text); text 828 content/browser/accessibility/browser_accessibility_win.h void HandleSpecialTextOffset(const base::string16& text, LONG* offset); text 836 content/browser/accessibility/browser_accessibility_win.h LONG FindBoundary(const base::string16& text, text 186 content/browser/accessibility/browser_accessibility_win_unittest.cc ui::AXNodeData text; text 187 content/browser/accessibility/browser_accessibility_win_unittest.cc text.id = 2; text 188 content/browser/accessibility/browser_accessibility_win_unittest.cc text.role = ui::AX_ROLE_STATIC_TEXT; text 189 content/browser/accessibility/browser_accessibility_win_unittest.cc text.SetName("old text"); text 190 content/browser/accessibility/browser_accessibility_win_unittest.cc text.state = 0; text 206 content/browser/accessibility/browser_accessibility_win_unittest.cc manager->UpdateNodesForTesting(text); text 357 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr text; text 358 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_EQ(S_OK, text1_obj->get_text(0, text1_len, text.Receive())); text 359 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_EQ(text1_value, base::UTF16ToUTF8(base::string16(text))); text 360 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 362 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_EQ(S_OK, text1_obj->get_text(0, 4, text.Receive())); text 363 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"One ", text); text 364 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 369 content/browser/accessibility/browser_accessibility_win_unittest.cc 1, IA2_TEXT_BOUNDARY_CHAR, &start, &end, text.Receive())); text 372 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"n", text); text 373 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 376 content/browser/accessibility/browser_accessibility_win_unittest.cc text1_len, IA2_TEXT_BOUNDARY_CHAR, &start, &end, text.Receive())); text 379 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 382 content/browser/accessibility/browser_accessibility_win_unittest.cc 1, IA2_TEXT_BOUNDARY_WORD, &start, &end, text.Receive())); text 385 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"One", text); text 386 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 389 content/browser/accessibility/browser_accessibility_win_unittest.cc 6, IA2_TEXT_BOUNDARY_WORD, &start, &end, text.Receive())); text 392 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"two", text); text 393 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 396 content/browser/accessibility/browser_accessibility_win_unittest.cc text1_len, IA2_TEXT_BOUNDARY_WORD, &start, &end, text.Receive())); text 399 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"six.", text); text 400 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 403 content/browser/accessibility/browser_accessibility_win_unittest.cc 1, IA2_TEXT_BOUNDARY_LINE, &start, &end, text.Receive())); text 406 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"One two three.\n", text); text 407 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 410 content/browser/accessibility/browser_accessibility_win_unittest.cc text1_obj->get_text(0, IA2_TEXT_OFFSET_LENGTH, text.Receive())); text 411 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_STREQ(L"One two three.\nFour five six.", text); text 455 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr text; text 456 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_EQ(S_OK, root_obj->get_text(0, text_len, text.Receive())); text 457 content/browser/accessibility/browser_accessibility_win_unittest.cc EXPECT_EQ(text1_name + text2_name, base::UTF16ToUTF8(base::string16(text))); text 548 content/browser/accessibility/browser_accessibility_win_unittest.cc base::win::ScopedBstr text; text 549 content/browser/accessibility/browser_accessibility_win_unittest.cc ASSERT_EQ(S_OK, root_obj->get_text(0, text_len, text.Receive())); text 553 content/browser/accessibility/browser_accessibility_win_unittest.cc base::UTF16ToUTF8(base::string16(text))); text 554 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 569 content/browser/accessibility/browser_accessibility_win_unittest.cc EXPECT_EQ(S_OK, hypertext->get_text(0, 3, text.Receive())); text 571 content/browser/accessibility/browser_accessibility_win_unittest.cc base::UTF16ToUTF8(base::string16(text)).c_str()); text 572 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 579 content/browser/accessibility/browser_accessibility_win_unittest.cc EXPECT_EQ(S_OK, hypertext->get_text(0, 4, text.Receive())); text 581 content/browser/accessibility/browser_accessibility_win_unittest.cc base::UTF16ToUTF8(base::string16(text)).c_str()); text 582 content/browser/accessibility/browser_accessibility_win_unittest.cc text.Reset(); text 220 content/browser/accessibility/cross_platform_accessibility_browsertest.cc const ui::AXNode* text = body->ChildAtIndex(0); text 221 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_TEXT_FIELD, text->data().role); text 223 content/browser/accessibility/cross_platform_accessibility_browsertest.cc "input", GetAttr(text, ui::AX_ATTR_HTML_TAG).c_str()); text 224 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(0, GetIntAttr(text, ui::AX_ATTR_TEXT_SEL_START)); text 225 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(0, GetIntAttr(text, ui::AX_ATTR_TEXT_SEL_END)); text 228 content/browser/accessibility/cross_platform_accessibility_browsertest.cc GetAttr(text, ui::AX_ATTR_VALUE).c_str()); text 252 content/browser/accessibility/cross_platform_accessibility_browsertest.cc const ui::AXNode* text = body->ChildAtIndex(0); text 253 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(ui::AX_ROLE_TEXT_FIELD, text->data().role); text 255 content/browser/accessibility/cross_platform_accessibility_browsertest.cc "input", GetAttr(text, ui::AX_ATTR_HTML_TAG).c_str()); text 256 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(0, GetIntAttr(text, ui::AX_ATTR_TEXT_SEL_START)); text 257 content/browser/accessibility/cross_platform_accessibility_browsertest.cc EXPECT_EQ(13, GetIntAttr(text, ui::AX_ATTR_TEXT_SEL_END)); text 260 content/browser/accessibility/cross_platform_accessibility_browsertest.cc GetAttr(text, ui::AX_ATTR_VALUE).c_str()); text 658 content/browser/android/content_view_core_impl.cc void ContentViewCoreImpl::OnSelectionChanged(const std::string& text) { text 663 content/browser/android/content_view_core_impl.cc ScopedJavaLocalRef<jstring> jtext = ConvertUTF8ToJavaString(env, text); text 1628 content/browser/android/content_view_core_impl.cc const std::string& text, text 1640 content/browser/android/content_view_core_impl.cc ScopedJavaLocalRef<jstring> jstring_text = ConvertUTF8ToJavaString(env, text); text 264 content/browser/android/content_view_core_impl.h const std::string& text, text 276 content/browser/android/content_view_core_impl.h void OnSelectionChanged(const std::string& text); text 95 content/browser/appcache/view_appcache_internals_job.cc void EmitAnchor(const std::string& url, const std::string& text, text 100 content/browser/appcache/view_appcache_internals_job.cc out->append(net::EscapeForHTML(text)); text 1357 content/browser/browser_plugin/browser_plugin_guest.cc const std::string& text, text 1362 content/browser/browser_plugin/browser_plugin_guest.cc base::UTF8ToUTF16(text), underlines, text 1368 content/browser/browser_plugin/browser_plugin_guest.cc const std::string& text, text 1371 content/browser/browser_plugin/browser_plugin_guest.cc base::UTF8ToUTF16(text), text 494 content/browser/browser_plugin/browser_plugin_guest.h const std::string& text, text 500 content/browser/browser_plugin/browser_plugin_guest.h const std::string& text, text 189 content/browser/frame_host/render_widget_host_view_child_frame.cc const base::string16& text, text 87 content/browser/frame_host/render_widget_host_view_child_frame.h virtual void SelectionChanged(const base::string16& text, text 349 content/browser/frame_host/render_widget_host_view_guest.cc void RenderWidgetHostViewGuest::SelectionChanged(const base::string16& text, text 352 content/browser/frame_host/render_widget_host_view_guest.cc platform_view_->SelectionChanged(text, offset, range); text 94 content/browser/frame_host/render_widget_host_view_guest.h virtual void SelectionChanged(const base::string16& text, text 375 content/browser/loader/resource_dispatcher_host_unittest.cc std::string text; text 377 content/browser/loader/resource_dispatcher_host_unittest.cc if (!ParseURL(request_->url(), &text, &count)) text 380 content/browser/loader/resource_dispatcher_host_unittest.cc data->reserve(text.size() * count); text 382 content/browser/loader/resource_dispatcher_host_unittest.cc data->append(text); text 391 content/browser/loader/resource_dispatcher_host_unittest.cc static bool ParseURL(const GURL& url, std::string* text, int* count) { text 398 content/browser/loader/resource_dispatcher_host_unittest.cc *text = parts[0]; text 62 content/browser/renderer_host/clipboard_message_filter.h void OnFindPboardWriteString(const base::string16& text); text 404 content/browser/renderer_host/gtk_im_context_wrapper.cc if (wke->text[0]) { text 453 content/browser/renderer_host/gtk_im_context_wrapper.cc if (composition_.text.length()) { text 461 content/browser/renderer_host/gtk_im_context_wrapper.cc host->ImeSetComposition(composition_.text, underlines, text 488 content/browser/renderer_host/gtk_im_context_wrapper.cc void GtkIMContextWrapper::HandleCommit(const base::string16& text) { text 494 content/browser/renderer_host/gtk_im_context_wrapper.cc commit_text_.append(text); text 506 content/browser/renderer_host/gtk_im_context_wrapper.cc text, gfx::Range::InvalidRange(), false); text 518 content/browser/renderer_host/gtk_im_context_wrapper.cc void GtkIMContextWrapper::HandlePreeditChanged(const gchar* text, text 530 content/browser/renderer_host/gtk_im_context_wrapper.cc ui::ExtractCompositionTextFromGtkPreedit(text, attrs, cursor_position, text 539 content/browser/renderer_host/gtk_im_context_wrapper.cc if (composition_.text.length()) text 556 content/browser/renderer_host/gtk_im_context_wrapper.cc composition_.text, underlines, composition_.selection.start(), text 563 content/browser/renderer_host/gtk_im_context_wrapper.cc if (composition_.text.length()) { text 585 content/browser/renderer_host/gtk_im_context_wrapper.cc std::string text; text 588 content/browser/renderer_host/gtk_im_context_wrapper.cc if (!is_enabled_ || !host_view_->RetrieveSurrounding(&text, &cursor_index)) { text 593 content/browser/renderer_host/gtk_im_context_wrapper.cc gtk_im_context_set_surrounding(context, text.c_str(), text.length(), text 625 content/browser/renderer_host/gtk_im_context_wrapper.cc GtkIMContext* context, gchar* text, GtkIMContextWrapper* self) { text 626 content/browser/renderer_host/gtk_im_context_wrapper.cc self->HandleCommit(base::UTF8ToUTF16(text)); text 636 content/browser/renderer_host/gtk_im_context_wrapper.cc gchar* text = NULL; text 639 content/browser/renderer_host/gtk_im_context_wrapper.cc gtk_im_context_get_preedit_string(context, &text, &attrs, &cursor_position); text 640 content/browser/renderer_host/gtk_im_context_wrapper.cc self->HandlePreeditChanged(text, attrs, cursor_position); text 641 content/browser/renderer_host/gtk_im_context_wrapper.cc g_free(text); text 78 content/browser/renderer_host/gtk_im_context_wrapper.h void HandleCommit(const base::string16& text); text 84 content/browser/renderer_host/gtk_im_context_wrapper.h void HandlePreeditChanged(const gchar* text, text 107 content/browser/renderer_host/gtk_im_context_wrapper.h static void HandleCommitThunk(GtkIMContext* context, gchar* text, text 105 content/browser/renderer_host/ime_adapter_android.cc int text) { text 108 content/browser/renderer_host/ime_adapter_android.cc text, false /* is_system_key */); text 122 content/browser/renderer_host/ime_adapter_android.cc event.type == blink::WebInputEvent::RawKeyDown && event.text[0]; text 140 content/browser/renderer_host/ime_adapter_android.cc void ImeAdapterAndroid::SetComposingText(JNIEnv* env, jobject, jstring text, text 146 content/browser/renderer_host/ime_adapter_android.cc base::string16 text16 = ConvertJavaStringToUTF16(env, text); text 160 content/browser/renderer_host/ime_adapter_android.cc void ImeAdapterAndroid::CommitText(JNIEnv* env, jobject, jstring text) { text 165 content/browser/renderer_host/ime_adapter_android.cc base::string16 text16 = ConvertJavaStringToUTF16(env, text); text 44 content/browser/renderer_host/ime_adapter_android.h void SetComposingText(JNIEnv*, jobject, jstring text, int new_cursor_pos); text 45 content/browser/renderer_host/ime_adapter_android.h void CommitText(JNIEnv*, jobject, jstring text); text 48 content/browser/renderer_host/input/web_input_event_builders_android.cc result.text[0] = result.unmodifiedText[0]; text 373 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.text[0] = text 377 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.text[0] = result.unmodifiedText[0]; text 403 content/browser/renderer_host/input/web_input_event_builders_gtk.cc result.text[0] = character; text 145 content/browser/renderer_host/input/web_input_event_builders_win.cc result.text[0] = result.windowsKeyCode; text 82 content/browser/renderer_host/native_web_keyboard_event_aura.cc text[0] = character; text 1269 content/browser/renderer_host/render_widget_host_impl.cc void RenderWidgetHostImpl::OnSelectionChanged(const base::string16& text, text 1273 content/browser/renderer_host/render_widget_host_impl.cc view_->SelectionChanged(text, offset, range); text 1383 content/browser/renderer_host/render_widget_host_impl.cc const base::string16& text, text 1388 content/browser/renderer_host/render_widget_host_impl.cc GetRoutingID(), text, underlines, selection_start, selection_end)); text 1392 content/browser/renderer_host/render_widget_host_impl.cc const base::string16& text, text 1396 content/browser/renderer_host/render_widget_host_impl.cc GetRoutingID(), text, replacement_range, keep_selection)); text 355 content/browser/renderer_host/render_widget_host_impl.h const base::string16& text, text 366 content/browser/renderer_host/render_widget_host_impl.h void ImeConfirmComposition(const base::string16& text, text 694 content/browser/renderer_host/render_widget_host_impl.h void OnSelectionChanged(const base::string16& text, text 540 content/browser/renderer_host/render_widget_host_view_android.cc void RenderWidgetHostViewAndroid::SelectionChanged(const base::string16& text, text 543 content/browser/renderer_host/render_widget_host_view_android.cc RenderWidgetHostViewBase::SelectionChanged(text, offset, range); text 545 content/browser/renderer_host/render_widget_host_view_android.cc if (text.empty() || range.is_empty() || !content_view_core_) text 550 content/browser/renderer_host/render_widget_host_view_android.cc DCHECK(pos + n <= text.length()) << "The text can not fully cover range."; text 551 content/browser/renderer_host/render_widget_host_view_android.cc if (pos >= text.length()) { text 556 content/browser/renderer_host/render_widget_host_view_android.cc std::string utf8_selection = base::UTF16ToUTF8(text.substr(pos, n)); text 115 content/browser/renderer_host/render_widget_host_view_android.h virtual void SelectionChanged(const base::string16& text, text 1061 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::SelectionChanged(const base::string16& text, text 1064 content/browser/renderer_host/render_widget_host_view_aura.cc RenderWidgetHostViewBase::SelectionChanged(text, offset, range); text 1067 content/browser/renderer_host/render_widget_host_view_aura.cc if (text.empty() || range.is_empty()) text 1072 content/browser/renderer_host/render_widget_host_view_aura.cc DCHECK(pos + n <= text.length()) << "The text can not fully cover range."; text 1073 content/browser/renderer_host/render_widget_host_view_aura.cc if (pos >= text.length()) { text 1082 content/browser/renderer_host/render_widget_host_view_aura.cc clipboard_writer.WriteText(text.substr(pos, n)); text 2245 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeSetComposition(composition.text, underlines, text 2249 content/browser/renderer_host/render_widget_host_view_aura.cc has_composition_text_ = !composition.text.empty(); text 2266 content/browser/renderer_host/render_widget_host_view_aura.cc void RenderWidgetHostViewAura::InsertText(const base::string16& text) { text 2269 content/browser/renderer_host/render_widget_host_view_aura.cc host_->ImeConfirmComposition(text, gfx::Range::InvalidRange(), false); text 2401 content/browser/renderer_host/render_widget_host_view_aura.cc base::string16* text) const { text 2406 content/browser/renderer_host/render_widget_host_view_aura.cc text->clear(); text 2411 content/browser/renderer_host/render_widget_host_view_aura.cc *text = selection_text_; text 2413 content/browser/renderer_host/render_widget_host_view_aura.cc *text = selection_text_.substr( text 191 content/browser/renderer_host/render_widget_host_view_aura.h virtual void SelectionChanged(const base::string16& text, text 255 content/browser/renderer_host/render_widget_host_view_aura.h virtual void InsertText(const base::string16& text) OVERRIDE; text 271 content/browser/renderer_host/render_widget_host_view_aura.h base::string16* text) const OVERRIDE; text 471 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc composition_text.text = base::ASCIIToUTF16("|a|b"); text 497 content/browser/renderer_host/render_widget_host_view_aura_unittest.cc EXPECT_EQ(composition_text.text, params.a); text 426 content/browser/renderer_host/render_widget_host_view_base.cc void RenderWidgetHostViewBase::SelectionChanged(const base::string16& text, text 429 content/browser/renderer_host/render_widget_host_view_base.cc selection_text_ = text; text 50 content/browser/renderer_host/render_widget_host_view_base.h virtual void SelectionChanged(const base::string16& text, text 952 content/browser/renderer_host/render_widget_host_view_gtk.cc void RenderWidgetHostViewGtk::SelectionChanged(const base::string16& text, text 955 content/browser/renderer_host/render_widget_host_view_gtk.cc RenderWidgetHostViewBase::SelectionChanged(text, offset, range); text 957 content/browser/renderer_host/render_widget_host_view_gtk.cc if (text.empty() || range.is_empty()) text 962 content/browser/renderer_host/render_widget_host_view_gtk.cc DCHECK(pos + n <= text.length()) << "The text can not fully cover range."; text 963 content/browser/renderer_host/render_widget_host_view_gtk.cc if (pos >= text.length()) { text 972 content/browser/renderer_host/render_widget_host_view_gtk.cc clipboard_writer.WriteText(text.substr(pos, n)); text 1415 content/browser/renderer_host/render_widget_host_view_gtk.cc bool RenderWidgetHostViewGtk::RetrieveSurrounding(std::string* text, text 1424 content/browser/renderer_host/render_widget_host_view_gtk.cc *text = base::UTF16ToUTF8(selection_text_); text 1425 content/browser/renderer_host/render_widget_host_view_gtk.cc *cursor_index = text->length(); text 1429 content/browser/renderer_host/render_widget_host_view_gtk.cc *text = base::UTF16ToUTF8AndAdjustOffset( text 97 content/browser/renderer_host/render_widget_host_view_gtk.h virtual void SelectionChanged(const base::string16& text, text 165 content/browser/renderer_host/render_widget_host_view_gtk.h bool RetrieveSurrounding(std::string* text, size_t* cursor_index); text 288 content/browser/renderer_host/render_widget_host_view_mac.h virtual void SelectionChanged(const base::string16& text, text 358 content/browser/renderer_host/render_widget_host_view_mac.h void PluginImeCompositionCompleted(const base::string16& text, int plugin_id); text 113 content/browser/renderer_host/web_input_event_aura.cc webkit_event.text[0] = text 118 content/browser/renderer_host/web_input_event_aura.cc webkit_event.text[0] = webkit_event.unmodifiedText[0]; text 125 content/browser/renderer_host/web_input_event_aurax11.cc webkit_event.text[0] = text 130 content/browser/renderer_host/web_input_event_aurax11.cc webkit_event.text[0] = webkit_event.unmodifiedText[0]; text 315 content/browser/web_contents/web_contents_view_aura.cc if (!drop_data.text.string().empty()) text 316 content/browser/web_contents/web_contents_view_aura.cc provider->SetString(drop_data.text.string()); text 338 content/browser/web_contents/web_contents_view_aura.cc drop_data->text = base::NullableString16(plain_text, false); text 191 content/browser/web_contents/web_drag_dest_gtk.cc guchar* text = gtk_selection_data_get_text(data); text 192 content/browser/web_contents/web_drag_dest_gtk.cc if (text) { text 193 content/browser/web_contents/web_drag_dest_gtk.cc drop_data_->text = base::NullableString16( text 194 content/browser/web_contents/web_drag_dest_gtk.cc base::UTF8ToUTF16(std::string(reinterpret_cast<const char*>(text))), text 196 content/browser/web_contents/web_drag_dest_gtk.cc g_free(text); text 216 content/browser/web_contents/web_drag_dest_gtk.cc drop_data_->text = base::NullableString16(); text 83 content/browser/web_contents/web_drag_source_gtk.cc if (!drop_data.text.string().empty()) text 161 content/browser/web_contents/web_drag_source_gtk.cc std::string utf8_text = base::UTF16ToUTF8(drop_data_->text.string()); text 65 content/child/browser_font_resource_trusted.cc StringVar* text_string = StringVar::FromPPVar(run.text); text 124 content/child/browser_font_resource_trusted.cc bool PPTextRunToWebTextRun(const PP_BrowserFont_Trusted_TextRun& text, text 126 content/child/browser_font_resource_trusted.cc StringVar* text_string = StringVar::FromPPVar(text.text); text 131 content/child/browser_font_resource_trusted.cc PP_ToBool(text.rtl), text 132 content/child/browser_font_resource_trusted.cc PP_ToBool(text.override_direction)); text 300 content/child/browser_font_resource_trusted.cc const PP_BrowserFont_Trusted_TextRun* text, text 323 content/child/browser_font_resource_trusted.cc DrawTextToCanvas(canvas, *text, position, color, clip, image_data_is_opaque); text 331 content/child/browser_font_resource_trusted.cc const PP_BrowserFont_Trusted_TextRun* text) { text 333 content/child/browser_font_resource_trusted.cc if (!PPTextRunToWebTextRun(*text, &run)) text 339 content/child/browser_font_resource_trusted.cc const PP_BrowserFont_Trusted_TextRun* text, text 341 content/child/browser_font_resource_trusted.cc TextRunCollection runs(*text); text 356 content/child/browser_font_resource_trusted.cc return runs.text().size(); text 360 content/child/browser_font_resource_trusted.cc const PP_BrowserFont_Trusted_TextRun* text, text 362 content/child/browser_font_resource_trusted.cc TextRunCollection runs(*text); text 392 content/child/browser_font_resource_trusted.cc const PP_BrowserFont_Trusted_TextRun& text, text 413 content/child/browser_font_resource_trusted.cc TextRunCollection runs(text); text 49 content/child/browser_font_resource_trusted.h const PP_BrowserFont_Trusted_TextRun* text, text 55 content/child/browser_font_resource_trusted.h const PP_BrowserFont_Trusted_TextRun* text) OVERRIDE; text 57 content/child/browser_font_resource_trusted.h const PP_BrowserFont_Trusted_TextRun* text, text 60 content/child/browser_font_resource_trusted.h const PP_BrowserFont_Trusted_TextRun* text, text 68 content/child/browser_font_resource_trusted.h const PP_BrowserFont_Trusted_TextRun& text, text 153 content/child/npapi/webplugin_delegate_impl.h void ImeCompositionUpdated(const base::string16& text, text 160 content/child/npapi/webplugin_delegate_impl.h void ImeCompositionCompleted(const base::string16& text); text 187 content/child/npapi/webplugin_delegate_impl.h void ImeCompositionCompleted(const base::string16& text); text 1455 content/child/npapi/webplugin_delegate_impl_win.cc const base::string16& text, text 1462 content/child/npapi/webplugin_delegate_impl_win.cc plugin_ime_->CompositionUpdated(text, clauses, target, cursor_position); text 1467 content/child/npapi/webplugin_delegate_impl_win.cc const base::string16& text) { text 1470 content/child/npapi/webplugin_delegate_impl_win.cc plugin_ime_->CompositionCompleted(text); text 42 content/child/npapi/webplugin_ime_win.cc void WebPluginIMEWin::CompositionUpdated(const base::string16& text, text 69 content/child/npapi/webplugin_ime_win.cc composition_text_ = text; text 79 content/child/npapi/webplugin_ime_win.cc composition_attributes_.assign(text.length(), ATTR_CONVERTED); text 83 content/child/npapi/webplugin_ime_win.cc composition_attributes_.assign(text.length(), ATTR_INPUT); text 90 content/child/npapi/webplugin_ime_win.cc void WebPluginIMEWin::CompositionCompleted(const base::string16& text) { text 125 content/child/npapi/webplugin_ime_win.cc result_text_ = text; text 96 content/child/npapi/webplugin_ime_win.h void CompositionUpdated(const base::string16& text, text 100 content/child/npapi/webplugin_ime_win.h void CompositionCompleted(const base::string16& text); text 51 content/common/android/address_parser.cc bool FindAddress(const base::string16& text, base::string16* address) { text 53 content/common/android/address_parser.cc if (FindAddress(text.begin(), text.end(), &start, &end)) { text 55 content/common/android/address_parser.cc address->assign(text.substr(start, len)); text 20 content/common/android/address_parser.h bool FindAddress(const base::string16& text, base::string16* address); text 30 content/common/drag_traits.h IPC_STRUCT_TRAITS_MEMBER(text) text 342 content/plugin/webplugin_delegate_stub.cc const base::string16& text, text 347 content/plugin/webplugin_delegate_stub.cc delegate_->ImeCompositionUpdated(text, clauses, target, cursor_position); text 352 content/plugin/webplugin_delegate_stub.cc const base::string16& text) { text 354 content/plugin/webplugin_delegate_stub.cc delegate_->ImeCompositionCompleted(text); text 386 content/plugin/webplugin_delegate_stub.cc const base::string16& text) { text 388 content/plugin/webplugin_delegate_stub.cc delegate_->ImeCompositionCompleted(text); text 86 content/plugin/webplugin_delegate_stub.h void OnImeCompositionUpdated(const base::string16& text, text 90 content/plugin/webplugin_delegate_stub.h void OnImeCompositionCompleted(const base::string16& text); text 99 content/plugin/webplugin_delegate_stub.h void OnImeCompositionCompleted(const base::string16& text); text 155 content/port/browser/render_widget_host_view_port.h virtual void SelectionChanged(const base::string16& text, text 28 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import android.text.Editable; text 29 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import android.text.Selection; text 30 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java import android.text.TextUtils; text 2373 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java String text, int selectionStart, int selectionEnd, text 2383 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java mInputConnection.updateState(text, selectionStart, selectionEnd, compositionStart, text 2446 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java private void onSelectionChanged(String text) { text 2447 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java mLastSelectedText = text; text 2448 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java getContentViewClient().onSelectionChanged(text); text 13 content/public/android/java/src/org/chromium/content/browser/MediaResourceGetter.java import android.text.TextUtils; text 12 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java import android.text.TextUtils; text 22 content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java import java.text.SimpleDateFormat; text 411 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java public int speak(String text, int queueMode, String jsonParams) { text 435 content/public/android/java/src/org/chromium/content/browser/accessibility/AccessibilityInjector.java return mTextToSpeech.speak(text, queueMode, params); text 11 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java import android.text.SpannableString; text 12 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java import android.text.style.URLSpan; text 148 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java protected List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text, text 433 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java private void announceLiveRegionText(String text) { text 434 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java mView.announceForAccessibility(text); text 604 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java int fromIndex, int addedCount, int removedCount, String beforeText, String text) { text 609 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.getText().add(text); text 614 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java int fromIndex, int addedCount, int itemCount, String text) { text 618 content/public/android/java/src/org/chromium/content/browser/accessibility/BrowserAccessibilityManager.java event.getText().add(text); text 36 content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanBrowserAccessibilityManager.java public List<AccessibilityNodeInfo> findAccessibilityNodeInfosByText(String text, text 38 content/public/android/java/src/org/chromium/content/browser/accessibility/JellyBeanBrowserAccessibilityManager.java return delegate.findAccessibilityNodeInfosByText(text, virtualViewId); text 8 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java import android.text.Editable; text 9 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java import android.text.InputType; text 10 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java import android.text.Selection; text 134 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java public void updateState(String text, int selectionStart, int selectionEnd, int compositionStart, text 137 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java Log.w(TAG, "updateState [" + text + "] [" + selectionStart + " " + selectionEnd + "] [" text 143 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java text = text.replace('\u00A0', ' '); text 145 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java selectionStart = Math.min(selectionStart, text.length()); text 146 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java selectionEnd = Math.min(selectionEnd, text.length()); text 147 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java compositionStart = Math.min(compositionStart, text.length()); text 148 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java compositionEnd = Math.min(compositionEnd, text.length()); text 151 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java boolean textUnchanged = prevText.equals(text); text 154 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java mEditable.replace(0, mEditable.length(), text); text 210 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java public boolean setComposingText(CharSequence text, int newCursorPosition) { text 211 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java if (DEBUG) Log.w(TAG, "setComposingText [" + text + "] [" + newCursorPosition + "]"); text 212 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java super.setComposingText(text, newCursorPosition); text 214 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java return mImeAdapter.checkCompositionQueueAndCallNative(text.toString(), text 222 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java public boolean commitText(CharSequence text, int newCursorPosition) { text 223 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java if (DEBUG) Log.w(TAG, "commitText [" + text + "] [" + newCursorPosition + "]"); text 224 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java super.commitText(text, newCursorPosition); text 226 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java return mImeAdapter.checkCompositionQueueAndCallNative(text.toString(), text 227 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java newCursorPosition, text.length() > 0); text 278 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java et.text = mEditable.toString(); text 448 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java public final String text; text 454 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java public ImeState(String text, int selectionStart, int selectionEnd, text 456 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java this.text = text; text 466 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java String text = mEditable.toString(); text 471 content/public/android/java/src/org/chromium/content/browser/input/AdapterInputConnection.java return new ImeState(text, selectionStart, selectionEnd, compositionStart, compositionEnd); text 12 content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java import android.text.format.Time; text 10 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java import android.text.Editable; text 285 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java private int shouldSendKeyEventWithKeyCode(String text) { text 286 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java if (text.length() != 1) return COMPOSITION_KEY_CODE; text 288 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java if (text.equals("\n")) return KeyEvent.KEYCODE_ENTER; text 289 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java else if (text.equals("\t")) return KeyEvent.KEYCODE_TAB; text 307 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java boolean checkCompositionQueueAndCallNative(String text, int newCursorPosition, text 312 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java boolean isFinish = text.isEmpty(); text 314 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java int keyCode = shouldSendKeyEventWithKeyCode(text); text 324 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java nativeCommitText(mNativeImeAdapterAndroid, text); text 326 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java nativeSetComposingText(mNativeImeAdapterAndroid, text, newCursorPosition); text 504 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java private native void nativeSetComposingText(long nativeImeAdapterAndroid, String text, text 507 content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java private native void nativeCommitText(long nativeImeAdapterAndroid, String text); text 13 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java import android.text.format.DateFormat; text 11 content/public/android/java/src/org/chromium/content/browser/input/MonthPicker.java import java.text.DateFormatSymbols; text 8 content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java import android.text.format.DateUtils; text 12 content/public/android/javatests/src/org/chromium/content/browser/ClipboardTest.java import android.text.TextUtils; text 58 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreInputConnectionTest.java String text = mContentViewCore.getEditableForTest().toString(); text 59 content/public/android/javatests/src/org/chromium/content/browser/ContentViewCoreInputConnectionTest.java assertEquals("Check if the initial text is stored.", "Is this text restored?", text); text 11 content/public/android/javatests/src/org/chromium/content/browser/input/AdapterInputConnectionTest.java import android.text.Editable; text 156 content/public/android/javatests/src/org/chromium/content/browser/input/AdapterInputConnectionTest.java private static void assertCorrectState(String text, int selectionStart, int selectionEnd, text 158 content/public/android/javatests/src/org/chromium/content/browser/input/AdapterInputConnectionTest.java assertEquals("Text did not match", text, actual.text); text 13 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java import android.text.Editable; text 14 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java import android.text.TextUtils; text 317 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java final int index, String text, int selectionStart, int selectionEnd, text 326 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java text, selectionStart, selectionEnd, compositionStart, compositionEnd); text 402 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java private void commitText(final AdapterInputConnection connection, final CharSequence text, text 407 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java connection.commitText(text, newCursorPosition); text 432 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java private void setComposingText(final AdapterInputConnection connection, final CharSequence text, text 437 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java connection.setComposingText(text, newCursorPosition); text 469 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java public void updateState(String text, int selectionStart, int selectionEnd, text 471 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java mImeUpdateQueue.add(new TestImeState(text, selectionStart, selectionEnd, text 473 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java super.updateState(text, selectionStart, selectionEnd, compositionStart, text 485 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java public TestImeState(String text, int selectionStart, int selectionEnd, text 487 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java mText = text; text 494 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java public void assertEqualState(String text, int selectionStart, int selectionEnd, text 496 content/public/android/javatests/src/org/chromium/content/browser/input/ImeTest.java assertEquals("Text did not match", text, mText); text 12 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java import android.text.Editable; text 13 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java import android.text.Selection; text 422 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java private void saveToClipboard(String text) { text 425 content/public/android/javatests/src/org/chromium/content/browser/input/InsertionHandleTest.java clipMgr.setPrimaryClip(ClipData.newPlainText(null, text)); text 13 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java import android.text.Editable; text 14 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java import android.text.Selection; text 51 content/public/common/drop_data.h base::NullableString16 text; text 61 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/KeyUtils.java public static void inputString(Instrumentation instrumentation, String text) { text 62 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/KeyUtils.java instrumentation.sendStringSync(text); text 136 content/public/test/browser_test_utils.cc event->text[0] = key_code; text 39 content/renderer/android/address_detector.cc std::string AddressDetector::GetContentText(const base::string16& text) { text 41 content/renderer/android/address_detector.cc base::string16 address_16 = base::CollapseWhitespace(text, false); text 30 content/renderer/android/address_detector.h std::string GetContentText(const base::string16& text); text 20 content/renderer/android/content_detector.cc const std::string& text, text 24 content/renderer/android/content_detector.cc text(text), text 24 content/renderer/android/content_detector.h const std::string& text, text 30 content/renderer/android/content_detector.h std::string text; // Processed text of the content. text 1315 content/renderer/browser_plugin/browser_plugin.cc const blink::WebString& text, text 1328 content/renderer/browser_plugin/browser_plugin.cc text.utf8(), text 1337 content/renderer/browser_plugin/browser_plugin.cc const blink::WebString& text, text 1345 content/renderer/browser_plugin/browser_plugin.cc text.utf8(), text 188 content/renderer/browser_plugin/browser_plugin.h const blink::WebString& text, text 193 content/renderer/browser_plugin/browser_plugin.h const blink::WebString& text, text 30 content/renderer/drop_data_builder.cc result.text = base::NullableString16(item.stringData, false); text 806 content/renderer/npapi/webplugin_delegate_proxy.cc const base::string16& text, text 816 content/renderer/npapi/webplugin_delegate_proxy.cc text, clauses, target, cursor_position); text 821 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::ImeCompositionCompleted(const base::string16& text, text 827 content/renderer/npapi/webplugin_delegate_proxy.cc IPC::Message* msg = new PluginMsg_ImeCompositionCompleted(instance_id_, text); text 870 content/renderer/npapi/webplugin_delegate_proxy.cc void WebPluginDelegateProxy::ImeCompositionCompleted(const base::string16& text, text 877 content/renderer/npapi/webplugin_delegate_proxy.cc text); text 83 content/renderer/npapi/webplugin_delegate_proxy.h const base::string16& text, text 90 content/renderer/npapi/webplugin_delegate_proxy.h virtual void ImeCompositionCompleted(const base::string16& text, text 102 content/renderer/npapi/webplugin_delegate_proxy.h virtual void ImeCompositionCompleted(const base::string16& text, text 157 content/renderer/pepper/event_conversion.cc key_event.text[utf16_char_count]) text 161 content/renderer/pepper/event_conversion.cc base::i18n::UTF16CharIterator iter(key_event.text, utf16_char_count); text 373 content/renderer/pepper/event_conversion.cc memset(key_event->text, 0, text_length_cap); text 378 content/renderer/pepper/event_conversion.cc key_event->text[i] = text16[i]; text 466 content/renderer/pepper/event_conversion.cc WebUChar* text, text 524 content/renderer/pepper/event_conversion.cc *text = vk_text; text 657 content/renderer/pepper/event_conversion.cc WebUChar code = 0, text = 0; text 661 content/renderer/pepper/event_conversion.cc &text, text 677 content/renderer/pepper/event_conversion.cc key_down_event->text[0] = text; text 678 content/renderer/pepper/event_conversion.cc key_down_event->unmodifiedText[0] = text; text 886 content/renderer/pepper/pepper_plugin_instance_impl.cc PP_InputEvent_Type type, const base::string16& text) { text 889 content/renderer/pepper/pepper_plugin_instance_impl.cc type, text, empty, static_cast<int>(text.size()), text 890 content/renderer/pepper/pepper_plugin_instance_impl.cc static_cast<int>(text.size())); text 896 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text, text 925 content/renderer/pepper/pepper_plugin_instance_impl.cc event.character_text = base::UTF16ToUTF8AndAdjustOffsets(text, &utf8_offsets); text 979 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text) { text 981 content/renderer/pepper/pepper_plugin_instance_impl.cc text); text 985 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text, text 991 content/renderer/pepper/pepper_plugin_instance_impl.cc text, underlines, selection_start, selection_end); text 995 content/renderer/pepper/pepper_plugin_instance_impl.cc const base::string16& text) { text 997 content/renderer/pepper/pepper_plugin_instance_impl.cc text); text 1000 content/renderer/pepper/pepper_plugin_instance_impl.cc bool PepperPluginInstanceImpl::HandleTextInput(const base::string16& text) { text 1002 content/renderer/pepper/pepper_plugin_instance_impl.cc text); text 1005 content/renderer/pepper/pepper_plugin_instance_impl.cc void PepperPluginInstanceImpl::GetSurroundingText(base::string16* text, text 1010 content/renderer/pepper/pepper_plugin_instance_impl.cc *text = base::UTF8ToUTF16AndAdjustOffsets(surrounding_text_, &offsets); text 1011 content/renderer/pepper/pepper_plugin_instance_impl.cc range->set_start(offsets[0] == base::string16::npos ? text->size() text 1013 content/renderer/pepper/pepper_plugin_instance_impl.cc range->set_end(offsets[1] == base::string16::npos ? text->size() text 2693 content/renderer/pepper/pepper_plugin_instance_impl.cc const char* text, text 2698 content/renderer/pepper/pepper_plugin_instance_impl.cc surrounding_text_ = text; text 195 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleCompositionStart(const base::string16& text); text 197 content/renderer/pepper/pepper_plugin_instance_impl.h const base::string16& text, text 201 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleCompositionEnd(const base::string16& text); text 202 content/renderer/pepper/pepper_plugin_instance_impl.h bool HandleTextInput(const base::string16& text); text 208 content/renderer/pepper/pepper_plugin_instance_impl.h void GetSurroundingText(base::string16* text, gfx::Range* range) const; text 438 content/renderer/pepper/pepper_plugin_instance_impl.h const char* text, text 635 content/renderer/pepper/pepper_plugin_instance_impl.h const base::string16& text); text 638 content/renderer/pepper/pepper_plugin_instance_impl.h const base::string16& text, text 145 content/renderer/pepper/resource_creation_impl.cc struct PP_Var text, text 152 content/renderer/pepper/resource_creation_impl.cc ppapi::OBJECT_IS_IMPL, instance, type, time_stamp, text, segment_number, text 69 content/renderer/pepper/resource_creation_impl.h struct PP_Var text, text 444 content/renderer/render_frame_impl.cc const base::string16& text, text 449 content/renderer/render_frame_impl.cc text, underlines, selection_start, selection_end); text 453 content/renderer/render_frame_impl.cc const base::string16& text, text 455 content/renderer/render_frame_impl.cc render_view_->OnImeConfirmComposition(text, replacement_range, false); text 460 content/renderer/render_frame_impl.cc const base::string16& text, text 466 content/renderer/render_frame_impl.cc pepper_composition_text_ = text; text 474 content/renderer/render_frame_impl.cc if (pepper_composition_text_.empty() && !text.empty()) { text 479 content/renderer/render_frame_impl.cc if (!pepper_composition_text_.empty() && text.empty()) { text 483 content/renderer/render_frame_impl.cc pepper_composition_text_ = text; text 494 content/renderer/render_frame_impl.cc const base::string16& text, text 501 content/renderer/render_frame_impl.cc const base::string16& last_text = text.empty() ? pepper_composition_text_ text 502 content/renderer/render_frame_impl.cc : text; text 522 content/renderer/render_frame_impl.cc char_event.text[i - char_start] = last_text[i]; text 1000 content/renderer/render_frame_impl.cc void RenderFrameImpl::OnReplace(const base::string16& text) { text 1004 content/renderer/render_frame_impl.cc frame_->replaceSelection(text); text 1007 content/renderer/render_frame_impl.cc void RenderFrameImpl::OnReplaceMisspelling(const base::string16& text) { text 1011 content/renderer/render_frame_impl.cc frame_->replaceMisspelledRange(text); text 1427 content/renderer/render_frame_impl.cc DetailedConsoleMessageAdded(message.text, text 1435 content/renderer/render_frame_impl.cc DetailedConsoleMessageAdded(message.text, text 1444 content/renderer/render_frame_impl.cc message.text, text 3027 content/renderer/render_frame_impl.cc base::string16 text; text 3032 content/renderer/render_frame_impl.cc render_view_->focused_pepper_plugin_->GetSurroundingText(&text, &range); text 3058 content/renderer/render_frame_impl.cc text = WebRange::fromDocumentRange( text 3062 content/renderer/render_frame_impl.cc text = frame_->selectionAsText(); text 3067 content/renderer/render_frame_impl.cc range.set_end(range.start() + text.length()); text 3076 content/renderer/render_frame_impl.cc selection_text_ != text) { text 3077 content/renderer/render_frame_impl.cc selection_text_ = text; text 3082 content/renderer/render_frame_impl.cc GetRenderWidget()->routing_id(), text, offset, range)); text 147 content/renderer/render_frame_impl.h const base::string16& text, text 151 content/renderer/render_frame_impl.h void SimulateImeConfirmComposition(const base::string16& text, text 157 content/renderer/render_frame_impl.h const base::string16& text, text 162 content/renderer/render_frame_impl.h const base::string16& text, text 404 content/renderer/render_frame_impl.h void OnReplace(const base::string16& text); text 405 content/renderer/render_frame_impl.h void OnReplaceMisspelling(const base::string16& text); text 584 content/renderer/render_view_impl.cc if (!drop_data.text.is_null()) { text 588 content/renderer/render_view_impl.cc item.stringData = drop_data.text.string(); text 1840 content/renderer/render_view_impl.cc void RenderViewImpl::setStatusText(const WebString& text) { text 3872 content/renderer/render_view_impl.cc void RenderViewImpl::OnPluginImeCompositionCompleted(const base::string16& text, text 3879 content/renderer/render_view_impl.cc (*plugin_it)->ImeCompositionCompleted(text, plugin_id); text 4041 content/renderer/render_view_impl.cc const base::string16& text, text 4048 content/renderer/render_view_impl.cc text, underlines, selection_start, selection_end); text 4071 content/renderer/render_view_impl.cc (*it)->ImeCompositionUpdated(text, clauses, target, selection_end, text 4078 content/renderer/render_view_impl.cc RenderWidget::OnImeSetComposition(text, text 4085 content/renderer/render_view_impl.cc const base::string16& text, text 4091 content/renderer/render_view_impl.cc text, replacement_range, keep_selection); text 4103 content/renderer/render_view_impl.cc (*it)->ImeCompositionCompleted(text, focused_plugin_id_); text 4119 content/renderer/render_view_impl.cc RenderWidget::OnImeConfirmComposition(text, text 4445 content/renderer/render_view_impl.cc base::UTF8ToUTF16(content.text), content.intent_url); text 465 content/renderer/render_view_impl.h virtual void setStatusText(const blink::WebString& text); text 696 content/renderer/render_view_impl.h const base::string16& text, text 700 content/renderer/render_view_impl.h virtual void OnImeConfirmComposition(const base::string16& text, text 933 content/renderer/render_view_impl.h void OnPluginImeCompositionCompleted(const base::string16& text, text 2125 content/renderer/render_widget.cc void RenderWidget::setToolTipText(const blink::WebString& text, text 2127 content/renderer/render_widget.cc Send(new ViewHostMsg_SetTooltipText(routing_id_, text, hint)); text 2194 content/renderer/render_widget.cc const base::string16& text, text 2201 content/renderer/render_widget.cc text, WebVector<WebCompositionUnderline>(underlines), text 2213 content/renderer/render_widget.cc void RenderWidget::OnImeConfirmComposition(const base::string16& text, text 2220 content/renderer/render_widget.cc if (text.length()) text 2221 content/renderer/render_widget.cc webwidget_->confirmComposition(text); text 151 content/renderer/render_widget.h virtual void setToolTipText(const blink::WebString& text, text 356 content/renderer/render_widget.h const base::string16& text, text 360 content/renderer/render_widget.h virtual void OnImeConfirmComposition(const base::string16& text, text 292 content/renderer/render_widget_fullscreen_pepper.cc const WebString& text, text 307 content/renderer/render_widget_fullscreen_pepper.cc virtual bool confirmComposition(const WebString& text) { text 45 content/renderer/renderer_main_platform_delegate_win.cc const wchar_t* text, text 51 content/renderer/renderer_main_platform_delegate_win.cc base::string16(text, text_length)); text 160 content/renderer/resource_fetcher_browsertest.cc std::string text = delegate->data(); text 161 content/renderer/resource_fetcher_browsertest.cc EXPECT_TRUE(text.find("Basic html test.") != std::string::npos); text 93 content/renderer/webclipboard_impl.cc base::string16 text; text 94 content/renderer/webclipboard_impl.cc client_->ReadText(clipboard_type, &text); text 95 content/renderer/webclipboard_impl.cc return text; text 183 content/renderer/webclipboard_impl.cc if (!data_object.text.is_null()) text 184 content/renderer/webclipboard_impl.cc scw.WriteText(data_object.text.string()); text 9 content/shell/android/java/src/org/chromium/content_shell/Shell.java import android.text.TextUtils; text 11 content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellTestBase.java import android.text.TextUtils; text 10 content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java import android.text.TextUtils; text 32 content/shell/browser/shell_gtk.cc GtkWidget* AddMenuEntry(GtkWidget* menu_widget, const char* text, text 34 content/shell/browser/shell_gtk.cc GtkWidget* entry = gtk_menu_item_new_with_label(text); text 40 content/shell/browser/shell_gtk.cc GtkWidget* CreateMenu(GtkWidget* menu_bar, const char* text) { text 42 content/shell/browser/shell_gtk.cc GtkWidget* menu_header = gtk_menu_item_new_with_label(text); text 316 content/shell/browser/shell_views.cc std::string text = base::UTF16ToUTF8(url_entry_->text()); text 317 content/shell/browser/shell_views.cc GURL url(text); text 319 content/shell/browser/shell_views.cc url = GURL(std::string("http://") + std::string(text)); text 42 content/shell/browser/shell_web_contents_view_delegate_win.cc LPTSTR text, text 51 content/shell/browser/shell_web_contents_view_delegate_win.cc mii.dwTypeData = text; text 20 content/shell/renderer/test_runner/MockGrammarCheck.cpp bool MockGrammarCheck::checkGrammarOfString(const WebString& text, vector<WebTextCheckingResult>* results) text 23 content/shell/renderer/test_runner/MockGrammarCheck.cpp base::string16 stringText = text; text 31 content/shell/renderer/test_runner/MockGrammarCheck.cpp const char* text; text 50 content/shell/renderer/test_runner/MockGrammarCheck.cpp base::string16 error(grammarErrors[i].text, grammarErrors[i].text + strlen(grammarErrors[i].text)); text 34 content/shell/renderer/test_runner/MockSpellCheck.cpp bool MockSpellCheck::spellCheckWord(const WebString& text, int* misspelledOffset, int* misspelledLength) text 48 content/shell/renderer/test_runner/MockSpellCheck.cpp base::string16 stringText = text; text 104 content/shell/renderer/test_runner/MockSpellCheck.cpp bool MockSpellCheck::isMultiWordMisspelling(const WebString& text, vector<WebTextCheckingResult>* results) text 106 content/shell/renderer/test_runner/MockSpellCheck.cpp if (text == WebString::fromUTF8("Helllo wordl.")) { text 38 content/shell/renderer/test_runner/MockSpellCheck.h bool spellCheckWord(const blink::WebString& text, int* misspelledOffset, int* misspelledLength); text 42 content/shell/renderer/test_runner/MockSpellCheck.h bool hasInCache(const blink::WebString& text); text 46 content/shell/renderer/test_runner/MockSpellCheck.h bool isMultiWordMisspelling(const blink::WebString& text, std::vector<blink::WebTextCheckingResult>* results); text 52 content/shell/renderer/test_runner/SpellCheckClient.cpp void SpellCheckClient::spellCheck(const WebString& text, int& misspelledOffset, int& misspelledLength, WebVector<WebString>* optionalSuggestions) text 55 content/shell/renderer/test_runner/SpellCheckClient.cpp m_spellcheck.spellCheckWord(text, &misspelledOffset, &misspelledLength); text 58 content/shell/renderer/test_runner/SpellCheckClient.cpp void SpellCheckClient::checkTextOfParagraph(const WebString& text, WebTextCheckingTypeMask mask, WebVector<WebTextCheckingResult>* webResults) text 63 content/shell/renderer/test_runner/SpellCheckClient.cpp base::string16 data = text; text 79 content/shell/renderer/test_runner/SpellCheckClient.cpp MockGrammarCheck::checkGrammarOfString(text, &results); text 84 content/shell/renderer/test_runner/SpellCheckClient.cpp const WebString& text, text 89 content/shell/renderer/test_runner/SpellCheckClient.cpp if (text.isEmpty()) { text 99 content/shell/renderer/test_runner/SpellCheckClient.cpp m_lastRequestedTextCheckString = text; text 100 content/shell/renderer/test_runner/SpellCheckClient.cpp if (m_spellcheck.hasInCache(text)) text 112 content/shell/renderer/test_runner/SpellCheckClient.cpp base::string16 text = m_lastRequestedTextCheckString; text 113 content/shell/renderer/test_runner/SpellCheckClient.cpp if (!m_spellcheck.isMultiWordMisspelling(WebString(text), &results)) { text 114 content/shell/renderer/test_runner/SpellCheckClient.cpp while (text.length()) { text 117 content/shell/renderer/test_runner/SpellCheckClient.cpp m_spellcheck.spellCheckWord(WebString(text), &misspelledPosition, &misspelledLength); text 121 content/shell/renderer/test_runner/SpellCheckClient.cpp m_spellcheck.fillSuggestionList(WebString(text.substr(misspelledPosition, misspelledLength)), &suggestions); text 123 content/shell/renderer/test_runner/SpellCheckClient.cpp text = text.substr(misspelledPosition + misspelledLength); text 927 content/shell/renderer/test_runner/WebTestProxy.cpp void WebTestProxyBase::setStatusText(const WebString& text) text 931 content/shell/renderer/test_runner/WebTestProxy.cpp m_delegate->printMessage(string("UI DELEGATE STATUS CALLBACK: setStatusText:") + text.utf8().data() + "\n"); text 1017 content/shell/renderer/test_runner/WebTestProxy.cpp void WebTestProxyBase::setToolTipText(const WebString& text, WebTextDirection) text 1019 content/shell/renderer/test_runner/WebTestProxy.cpp m_testInterfaces->testRunner()->setToolTipText(text); text 1294 content/shell/renderer/test_runner/WebTestProxy.cpp if (!message.text.isEmpty()) { text 1296 content/shell/renderer/test_runner/WebTestProxy.cpp newMessage = message.text.utf8(); text 306 content/shell/renderer/test_runner/WebTestProxy.h virtual void setStatusText(const blink::WebString& text) text 308 content/shell/renderer/test_runner/WebTestProxy.h WebTestProxyBase::setStatusText(text); text 309 content/shell/renderer/test_runner/WebTestProxy.h Base::setStatusText(text); text 357 content/shell/renderer/test_runner/WebTestProxy.h virtual void setToolTipText(const blink::WebString& text, blink::WebTextDirection hint) text 359 content/shell/renderer/test_runner/WebTestProxy.h WebTestProxyBase::setToolTipText(text, hint); text 360 content/shell/renderer/test_runner/WebTestProxy.h Base::setToolTipText(text, hint); text 1164 content/shell/renderer/test_runner/event_sender.cc int text = 0; text 1169 content/shell/renderer/test_runner/event_sender.cc text = code = WebTestRunner::VKEY_RETURN; text 1223 content/shell/renderer/test_runner/event_sender.cc text = code = web_code_str.at(0); text 1252 content/shell/renderer/test_runner/event_sender.cc event_down.text[0] = text; text 1253 content/shell/renderer/test_runner/event_sender.cc event_down.unmodifiedText[0] = text; text 1730 content/shell/renderer/test_runner/test_runner.cc void TestRunner::setToolTipText(const WebString& text) { text 1731 content/shell/renderer/test_runner/test_runner.cc tooltip_text_ = text.utf8(); text 38 content/shell/renderer/test_runner/text_input_controller.cc void InsertText(const std::string& text); text 40 content/shell/renderer/test_runner/text_input_controller.cc void DoCommand(const std::string& text); text 41 content/shell/renderer/test_runner/text_input_controller.cc void SetMarkedText(const std::string& text, int start, int length); text 47 content/shell/renderer/test_runner/text_input_controller.cc void SetComposition(const std::string& text); text 98 content/shell/renderer/test_runner/text_input_controller.cc void TextInputControllerBindings::InsertText(const std::string& text) { text 100 content/shell/renderer/test_runner/text_input_controller.cc controller_->InsertText(text); text 108 content/shell/renderer/test_runner/text_input_controller.cc void TextInputControllerBindings::DoCommand(const std::string& text) { text 110 content/shell/renderer/test_runner/text_input_controller.cc controller_->DoCommand(text); text 113 content/shell/renderer/test_runner/text_input_controller.cc void TextInputControllerBindings::SetMarkedText(const std::string& text, text 117 content/shell/renderer/test_runner/text_input_controller.cc controller_->SetMarkedText(text, start, length); text 139 content/shell/renderer/test_runner/text_input_controller.cc void TextInputControllerBindings::SetComposition(const std::string& text) { text 141 content/shell/renderer/test_runner/text_input_controller.cc controller_->SetComposition(text); text 159 content/shell/renderer/test_runner/text_input_controller.cc void TextInputController::InsertText(const std::string& text) { text 160 content/shell/renderer/test_runner/text_input_controller.cc view_->confirmComposition(blink::WebString::fromUTF8(text)); text 167 content/shell/renderer/test_runner/text_input_controller.cc void TextInputController::DoCommand(const std::string& text) { text 169 content/shell/renderer/test_runner/text_input_controller.cc view_->mainFrame()->executeCommand(blink::WebString::fromUTF8(text)); text 172 content/shell/renderer/test_runner/text_input_controller.cc void TextInputController::SetMarkedText(const std::string& text, text 175 content/shell/renderer/test_runner/text_input_controller.cc blink::WebString web_text(blink::WebString::fromUTF8(text)); text 247 content/shell/renderer/test_runner/text_input_controller.cc void TextInputController::SetComposition(const std::string& text) { text 258 content/shell/renderer/test_runner/text_input_controller.cc blink::WebString web_text(blink::WebString::fromUTF8(text)); text 36 content/shell/renderer/test_runner/text_input_controller.h void InsertText(const std::string& text); text 38 content/shell/renderer/test_runner/text_input_controller.h void DoCommand(const std::string& text); text 39 content/shell/renderer/test_runner/text_input_controller.h void SetMarkedText(const std::string& text, int start, int length); text 45 content/shell/renderer/test_runner/text_input_controller.h void SetComposition(const std::string& text); text 41 courgette/streams_unittest.cc char text[10] = {0}; text 42 courgette/streams_unittest.cc bool can_read = source.Read(text, 5); text 44 courgette/streams_unittest.cc EXPECT_EQ(0, memcmp("Hello", text, 5)); text 33 crypto/hmac_win.cc void Wrapped_SHA256_Update(SHA256Context* ctx, const unsigned char* text, text 37 crypto/hmac_win.cc SHA256_Update(ctx, text, kChunkSize); text 38 crypto/hmac_win.cc text += kChunkSize; text 41 crypto/hmac_win.cc SHA256_Update(ctx, text, (unsigned int)text_len); text 46 crypto/hmac_win.cc const unsigned char* text, size_t text_len, text 73 crypto/hmac_win.cc Wrapped_SHA256_Update(&ctx, text, text_len); text 287 dbus/message_unittest.cc EXPECT_EQ(receive_message.text(), send_message.text()); text 52 extensions/common/stack_frame.cc std::string text = base::UTF16ToUTF8(frame_text); text 58 extensions/common/stack_frame.cc if (!re2::RE2::FullMatch(text, text 61 extensions/common/stack_frame.cc !re2::RE2::FullMatch(text, text 19 extensions/common/stack_frame_unittest.cc void AssertStackFrameValid(const std::string& text, text 24 extensions/common/stack_frame_unittest.cc base::string16 utf16_text = base::UTF8ToUTF16(text); text 27 extensions/common/stack_frame_unittest.cc ASSERT_TRUE(frame.get()) << "Failed to create frame from '" << text << "'"; text 34 extensions/common/stack_frame_unittest.cc void AssertStackFrameInvalid(const std::string& text) { text 35 extensions/common/stack_frame_unittest.cc base::string16 utf16_text = base::UTF8ToUTF16(text); text 37 extensions/common/stack_frame_unittest.cc ASSERT_FALSE(frame.get()) << "Errantly created frame from '" << text << "'"; text 200 google_apis/gaia/oauth_request_signer.cc bool SignHmacSha1(const std::string& text, text 207 google_apis/gaia/oauth_request_signer.cc hmac.Sign(text, digest, kHmacDigestLength); text 220 google_apis/gaia/oauth_request_signer.cc bool SignPlaintext(const std::string& text, text 231 google_apis/gaia/oauth_request_signer.cc bool SignRsaSha1(const std::string& text, text 298 google_apis/gaia/oauth_request_signer.cc bool OAuthRequestSigner::Decode(const std::string& text, text 303 google_apis/gaia/oauth_request_signer.cc for (limit = text.end(), cursor = text.begin(); cursor != limit; ++cursor) { text 337 google_apis/gaia/oauth_request_signer.cc std::string OAuthRequestSigner::Encode(const std::string& text) { text 341 google_apis/gaia/oauth_request_signer.cc for (limit = text.end(), cursor = text.begin(); cursor != limit; ++cursor) { text 51 google_apis/gaia/oauth_request_signer.h static bool Decode(const std::string& text, std::string* decoded_text); text 52 google_apis/gaia/oauth_request_signer.h static std::string Encode(const std::string& text); text 62 google_apis/gaia/oauth_request_signer_unittest.cc std::string text; text 65 google_apis/gaia/oauth_request_signer_unittest.cc text += static_cast<char>(rand() % 256); text 67 google_apis/gaia/oauth_request_signer_unittest.cc std::string encoded = OAuthRequestSigner::Encode(text); text 70 google_apis/gaia/oauth_request_signer_unittest.cc ASSERT_EQ(decoded, text); text 37 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 42 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 49 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 53 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 60 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 64 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 71 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 75 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 82 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 86 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 93 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 100 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 111 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 115 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 120 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 126 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 137 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 141 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 146 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 150 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 155 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 159 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 164 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 168 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 173 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 177 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 182 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 186 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 191 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 195 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 200 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 205 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_FALSE(parser.LoadTestExpectations(text)); text 210 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 215 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 220 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 225 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 232 gpu/config/gpu_test_expectations_parser_unittest.cc const std::string text = text 236 gpu/config/gpu_test_expectations_parser_unittest.cc EXPECT_TRUE(parser.LoadTestExpectations(text)); text 23 ipc/ipc_channel_unittest.cc static void Send(IPC::Sender* sender, const char* text) { text 30 ipc/ipc_channel_unittest.cc message->WriteString(std::string(text)); text 154 ipc/ipc_fuzzing_tests.cc void OnMsgClassISMessage(int value, const std::wstring& text) { text 155 ipc/ipc_fuzzing_tests.cc UseData(MsgClassIS::ID, value, text); text 160 ipc/ipc_fuzzing_tests.cc void OnMsgClassSIMessage(const std::wstring& text, int value) { text 161 ipc/ipc_fuzzing_tests.cc UseData(MsgClassSI::ID, value, text); text 186 ipc/ipc_fuzzing_tests.cc void UseData(int caller, int value, const std::wstring& text) { text 188 ipc/ipc_fuzzing_tests.cc wos << L"IPC fuzzer:" << caller << " [" << value << L" " << text << L"]\n"; text 372 ipc/ipc_fuzzing_tests.cc void OnMsgClassISMessage(int value, const std::wstring& text) { text 374 ipc/ipc_fuzzing_tests.cc void OnMsgClassSIMessage(const std::wstring& text, int value) { text 115 jingle/notifier/communicator/single_login_attempt.cc const buzz::XmlElement* text = text 117 jingle/notifier/communicator/single_login_attempt.cc if (text) { text 122 jingle/notifier/communicator/single_login_attempt.cc ParseRedirectText(text->BodyText()); text 157 jingle/notifier/communicator/single_login_attempt_unittest.cc buzz::XmlElement* text = text 159 jingle/notifier/communicator/single_login_attempt_unittest.cc stream_error->AddElement(text); text 160 jingle/notifier/communicator/single_login_attempt_unittest.cc text->SetBodyText(redirect_server); text 11 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java import android.text.TextUtils; text 13 media/base/text_cue.cc const std::string& text) text 18 media/base/text_cue.cc text_(text) { text 24 media/base/text_cue.h const std::string& text); text 31 media/base/text_cue.h const std::string& text() const { return text_; } text 227 media/base/text_renderer.cc std::string text(input->data(), input->data() + input->data_size()); text 234 media/base/text_renderer.cc text)); text 316 media/base/text_renderer.cc text_cue->text(), text 35 media/midi/midi_manager_win.cc wchar_t text[MAXERRORLENGTH]; text 36 media/midi/midi_manager_win.cc MMRESULT get_result = midiInGetErrorText(result, text, arraysize(text)); text 43 media/midi/midi_manager_win.cc return base::WideToUTF8(text); text 47 media/midi/midi_manager_win.cc wchar_t text[MAXERRORLENGTH]; text 48 media/midi/midi_manager_win.cc MMRESULT get_result = midiOutGetErrorText(result, text, arraysize(text)); text 55 media/midi/midi_manager_win.cc return base::WideToUTF8(text); text 179 mojo/examples/launcher/launcher.cc GURL url(sender->text()); text 264 mojo/examples/pepper_container_app/plugin_instance.cc const char* text, text 101 mojo/examples/pepper_container_app/plugin_instance.h const char* text, text 40 mojo/examples/pepper_container_app/resource_creation_impl.cc struct PP_Var text, text 31 mojo/examples/pepper_container_app/resource_creation_impl.h struct PP_Var text, text 59 mojo/public/cpp/bindings/tests/connector_unittest.cc void AllocMessage(const char* text, Message* message) { text 60 mojo/public/cpp/bindings/tests/connector_unittest.cc size_t payload_size = strlen(text) + 1; // Plus null terminator. text 62 mojo/public/cpp/bindings/tests/connector_unittest.cc memcpy(builder.buffer()->Allocate(payload_size), text, payload_size); text 66 mojo/public/cpp/bindings/tests/request_response_unittest.cc explicit MessagePipeWriter(const char* text) : text_(text) { text 20 mojo/public/cpp/bindings/tests/router_unittest.cc void AllocRequestMessage(uint32_t name, const char* text, Message* message) { text 21 mojo/public/cpp/bindings/tests/router_unittest.cc size_t payload_size = strlen(text) + 1; // Plus null terminator. text 23 mojo/public/cpp/bindings/tests/router_unittest.cc memcpy(builder.buffer()->Allocate(payload_size), text, payload_size); text 27 mojo/public/cpp/bindings/tests/router_unittest.cc void AllocResponseMessage(uint32_t name, const char* text, text 29 mojo/public/cpp/bindings/tests/router_unittest.cc size_t payload_size = strlen(text) + 1; // Plus null terminator. text 31 mojo/public/cpp/bindings/tests/router_unittest.cc memcpy(builder.buffer()->Allocate(payload_size), text, payload_size); text 14 mojo/public/cpp/test_support/lib/test_utils.cc const std::string& text) { text 16 mojo/public/cpp/test_support/lib/test_utils.cc text.data(), text 17 mojo/public/cpp/test_support/lib/test_utils.cc static_cast<uint32_t>(text.size()), text 24 mojo/public/cpp/test_support/lib/test_utils.cc bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { text 51 mojo/public/cpp/test_support/lib/test_utils.cc text->resize(num_bytes); text 53 mojo/public/cpp/test_support/lib/test_utils.cc &text->at(0), text 17 mojo/public/cpp/test_support/test_utils.h bool WriteTextMessage(const MessagePipeHandle& handle, const std::string& text); text 22 mojo/public/cpp/test_support/test_utils.h bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text); text 145 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc const std::string& text, text 147 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc ReportResult(fname, text, success); text 152 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc const std::string& text, text 157 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc printf("URLLoaderHandler::ReportResult(Err). %s\n", text.c_str()); text 160 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc pp::Var var_result(fname + "\n" + text); text 68 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h const std::string& text, text 73 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h const std::string& text, text 222 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc char* text; text 223 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc error = LoadManifest(iter->second, &text); text 227 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc error = ParseManifest(text); text 229 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc delete[] text; text 233 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc delete[] text; text 286 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc Error HttpFs::ParseManifest(const char* text) { text 288 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc sdk_util::SplitString(text, '\n', &lines); text 398 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc char* text = new char[size + 1]; text 400 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc error = manifest_node->Read(HandleAttr(), text, size, &len); text 404 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc text[len] = 0; text 405 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc *out_manifest = text; text 40 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.h Error ParseManifest(const char* text); text 249 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char text[1024]; text 251 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[0] = 0; text 252 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc ki_getcwd(text, sizeof(text)); text 253 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/", text); text 259 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[0] = 0; text 260 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc alloc = ki_getwd(text); text 272 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc memset(text, 0, sizeof(text)); text 274 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 275 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/foo", text); text 277 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc memset(text, 0, sizeof(text)); text 282 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 283 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/foo", text); text 287 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char text[1024]; text 299 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 300 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/example", text); text 306 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 307 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/example", text); text 318 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 319 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/foo/bar", text); text 322 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 323 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/foo/bar", text); text 330 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 331 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/foo/bar", text); text 338 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(text, ki_getcwd(text, sizeof(text))); text 339 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("/foo/bar", text); text 343 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char text[1024]; text 386 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc len = ki_read(fd3, text, sizeof(text)); text 388 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[len] = 0; text 389 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("HELLO", text); text 397 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc len = ki_read(fd3, text, sizeof(text)); text 399 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[len] = 0; text 400 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("WORLD", text); text 404 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc len = ki_read(fd2, text, sizeof(text)); text 406 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc text[len] = 0; text 408 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_STREQ("HELLOWORLD", text); text 412 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char text[1024]; text 426 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(2, ki_read(fd2, text, sizeof(text))); text 432 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc char text[1024]; text 446 native_client_sdk/src/tests/nacl_io_test/kernel_proxy_test.cc EXPECT_EQ(2, ki_read(fd1, text, sizeof(text))); text 43 net/base/escape.cc std::string Escape(const std::string& text, const Charmap& charmap, text 46 net/base/escape.cc escaped.reserve(text.length() * 3); text 47 net/base/escape.cc for (unsigned int i = 0; i < text.length(); ++i) { text 48 net/base/escape.cc unsigned char c = static_cast<unsigned char>(text[i]); text 308 net/base/escape.cc std::string EscapeQueryParamValue(const std::string& text, bool use_plus) { text 309 net/base/escape.cc return Escape(text, kQueryCharmap, use_plus); text 324 net/base/escape.cc std::string EscapeExternalHandlerValue(const std::string& text) { text 325 net/base/escape.cc return Escape(text, kExternalHandlerCharmap, false); text 351 net/base/escape.cc const std::string& text, text 358 net/base/escape.cc UnescapeAndDecodeUTF8URLComponentWithOffsets(text, rules, &offsets); text 365 net/base/escape.cc const std::string& text, text 373 net/base/escape.cc UnescapeURLWithOffsetsImpl(text, rules, offsets_for_adjustment)); text 383 net/base/escape.cc return base::UTF8ToUTF16AndAdjustOffsets(text, offsets_for_adjustment); text 402 net/base/escape.cc base::string16 text(input); text 403 net/base/escape.cc for (base::string16::iterator iter = text.begin(); text 404 net/base/escape.cc iter != text.end(); ++iter) { text 407 net/base/escape.cc size_t index = iter - text.begin(); text 413 net/base/escape.cc if (text.find(ampersand_chars[i], index) == index) { text 414 net/base/escape.cc text.replace(iter, iter + ampersand_chars[i].length(), text 421 net/base/escape.cc return text; text 23 net/base/escape.h NET_EXPORT std::string EscapeQueryParamValue(const std::string& text, text 46 net/base/escape.h NET_EXPORT std::string EscapeExternalHandlerValue(const std::string& text); text 53 net/base/escape.h NET_EXPORT std::string EscapeForHTML(const std::string& text); text 54 net/base/escape.h NET_EXPORT base::string16 EscapeForHTML(const base::string16& text); text 124 net/base/escape.h const std::string& text, text 128 net/base/escape.h const std::string& text, text 134 net/base/escape.h NET_EXPORT base::string16 UnescapeForHTML(const base::string16& text); text 141 net/base/ip_pattern.cc bool IPPattern::ParseComponentPattern(const base::StringPiece& text, text 146 net/base/ip_pattern.cc base::SplitString(text.as_string(), ',', &ranges); text 41 net/base/ip_pattern.h bool ParseComponentPattern(const base::StringPiece& text, text 1194 net/base/net_util.cc base::string16 StripWWW(const base::string16& text) { text 1196 net/base/net_util.cc return StartsWith(text, www, true) ? text.substr(www.length()) : text; text 253 net/base/net_util.h NET_EXPORT base::string16 StripWWW(const base::string16& text); text 168 net/base/sdch_manager.h const std::string& text() const { return text_; } text 8 net/cronet/android/java/src/org/chromium/net/HttpUrlConnectionUrlRequest.java import android.text.TextUtils; text 11 net/cronet/android/sample/javatests/src/org/chromium/cronet_sample_apk/CronetSampleTestBase.java import android.text.TextUtils; text 73 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java final CharSequence text = "Completed " + url + " (" text 78 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java Toast toast = Toast.makeText(getApplicationContext(), text, text 99 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java final CharSequence text = "Completed " + request.getUrl() + " (" text 105 net/cronet/android/sample/src/org/chromium/cronet_sample_apk/CronetSampleActivity.java Toast toast = Toast.makeText(getApplicationContext(), text, text 22 net/dns/dns_hosts.cc explicit HostsParser(const StringPiece& text) text 23 net/dns/dns_hosts.cc : text_(text), text 24 net/dns/dns_hosts.cc data_(text.data()), text 25 net/dns/dns_hosts.cc end_(text.size()), text 365 net/filter/sdch_filter.cc vcdiff_streaming_decoder_->StartDecoding(dictionary_->text().data(), text 366 net/filter/sdch_filter.cc dictionary_->text().size()); text 44 net/ftp/ftp_directory_listing_parser.cc int ParseListing(const base::string16& text, text 51 net/ftp/ftp_directory_listing_parser.cc base::SplitStringUsingSubstr(text, newline_separator, &lines); text 94 net/ftp/ftp_directory_listing_parser.cc int DecodeAndParse(const std::string& text, text 101 net/ftp/ftp_directory_listing_parser.cc if (!base::DetectAllEncodings(text, &encodings)) text 107 net/ftp/ftp_directory_listing_parser.cc if (base::CodepageToUTF16(text, text 136 net/ftp/ftp_directory_listing_parser.cc int ParseFtpDirectoryListing(const std::string& text, text 140 net/ftp/ftp_directory_listing_parser.cc int rv = DecodeAndParse(text, current_time, entries, &server_type); text 40 net/ftp/ftp_directory_listing_parser.h const std::string& text, text 18 net/ftp/ftp_directory_listing_parser_netware.cc bool LooksLikeNetwarePermissionsListing(const base::string16& text) { text 19 net/ftp/ftp_directory_listing_parser_netware.cc if (text.length() != 10) text 22 net/ftp/ftp_directory_listing_parser_netware.cc if (text[0] != '[' || text[9] != ']') text 24 net/ftp/ftp_directory_listing_parser_netware.cc return (text[1] == 'R' || text[1] == '-') && text 25 net/ftp/ftp_directory_listing_parser_netware.cc (text[2] == 'W' || text[2] == '-') && text 26 net/ftp/ftp_directory_listing_parser_netware.cc (text[3] == 'C' || text[3] == '-') && text 27 net/ftp/ftp_directory_listing_parser_netware.cc (text[4] == 'E' || text[4] == '-') && text 28 net/ftp/ftp_directory_listing_parser_netware.cc (text[5] == 'A' || text[5] == '-') && text 29 net/ftp/ftp_directory_listing_parser_netware.cc (text[6] == 'F' || text[6] == '-') && text 30 net/ftp/ftp_directory_listing_parser_netware.cc (text[7] == 'M' || text[7] == '-') && text 31 net/ftp/ftp_directory_listing_parser_netware.cc (text[8] == 'S' || text[8] == '-'); text 33 net/ftp/ftp_directory_listing_parser_unittest.h std::vector<base::string16> GetSingleLineTestCase(const std::string& text) { text 35 net/ftp/ftp_directory_listing_parser_unittest.h lines.push_back(base::UTF8ToUTF16(text)); text 135 net/ftp/ftp_directory_listing_parser_vms.cc bool LooksLikeVMSError(const base::string16& text) { text 144 net/ftp/ftp_directory_listing_parser_vms.cc if (text.find(base::ASCIIToUTF16(kPermissionDeniedMessages[i])) != text 139 net/ftp/ftp_util.cc bool GetMonthNumber(const base::string16& text, int* number) { text 142 net/ftp/ftp_util.cc base::string16 text_lower(base::i18n::ToLower(text)); text 220 net/ftp/ftp_util.cc bool FtpUtil::AbbreviatedMonthToNumber(const base::string16& text, text 222 net/ftp/ftp_util.cc return AbbreviatedMonthsMap::GetInstance()->GetMonthNumber(text, number); text 353 net/ftp/ftp_util.cc base::string16 FtpUtil::GetStringPartAfterColumns(const base::string16& text, text 355 net/ftp/ftp_util.cc base::i18n::UTF16CharIterator iter(&text); text 368 net/ftp/ftp_util.cc base::string16 result(text.substr(iter.array_pos())); text 33 net/ftp/ftp_util.h static bool AbbreviatedMonthToNumber(const base::string16& text, int* number); text 52 net/ftp/ftp_util.h static base::string16 GetStringPartAfterColumns(const base::string16& text, text 231 net/ftp/ftp_util_unittest.cc const char* text; text 248 net/ftp/ftp_util_unittest.cc kTestCases[i].text, kTestCases[i].column)); text 252 net/ftp/ftp_util_unittest.cc ASCIIToUTF16(kTestCases[i].text), kTestCases[i].column)); text 23 net/proxy/mock_proxy_script_fetcher.cc int MockProxyScriptFetcher::Fetch(const GURL& url, base::string16* text, text 30 net/proxy/mock_proxy_script_fetcher.cc pending_request_text_ = text; text 27 net/proxy/mock_proxy_script_fetcher.h base::string16* text, text 45 net/proxy/proxy_script_decider_unittest.cc base::string16 text() const { text 83 net/proxy/proxy_script_decider_unittest.cc const Rule& GetRuleByText(const base::string16& text) const { text 86 net/proxy/proxy_script_decider_unittest.cc if (it->text() == text) text 89 net/proxy/proxy_script_decider_unittest.cc LOG(FATAL) << "Rule not found for " << text; text 109 net/proxy/proxy_script_decider_unittest.cc base::string16* text, text 115 net/proxy/proxy_script_decider_unittest.cc *text = rule.text(); text 195 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); text 301 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); text 345 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule_.text(), decider_->script_data()->utf16()); text 362 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule_.text(), decider_->script_data()->utf16()); text 448 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); text 475 net/proxy/proxy_script_decider_unittest.cc EXPECT_EQ(rule.text(), decider.script_data()->utf16()); text 119 net/proxy/proxy_script_fetcher_impl.cc const GURL& url, base::string16* text, const CompletionCallback& callback) { text 123 net/proxy/proxy_script_fetcher_impl.cc DCHECK(text); text 133 net/proxy/proxy_script_fetcher_impl.cc ConvertResponseToUTF16(charset, data, text); text 155 net/proxy/proxy_script_fetcher_impl.cc result_text_ = text; text 48 net/proxy/proxy_script_fetcher_impl.h virtual int Fetch(const GURL& url, base::string16* text, text 48 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 206 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 209 net/proxy/proxy_script_fetcher_impl_unittest.cc &text, callback.callback()); text 212 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_TRUE(text.empty()); text 215 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 218 net/proxy/proxy_script_fetcher_impl_unittest.cc &text, callback.callback()); text 221 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-pac.txt-\n"), text); text 234 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 236 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 239 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-pac.txt-\n"), text); text 243 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 245 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 248 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-pac.html-\n"), text); text 252 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 254 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 257 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-pac.nsproxy-\n"), text); text 268 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 270 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 273 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_TRUE(text.empty()); text 277 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 279 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 282 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_TRUE(text.empty()); text 294 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 296 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 299 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-downloadable.pac-\n"), text); text 311 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 313 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 316 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-cacheable_1hr.pac-\n"), text); text 326 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 328 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 354 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 356 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 359 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_TRUE(text.empty()); text 367 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 369 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 372 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-pac.nsproxy-\n"), text); text 389 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 391 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 394 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_TRUE(text.empty()); text 402 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 404 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 407 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("-pac.nsproxy-\n"), text); text 422 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 424 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 427 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("This data was gzipped.\n"), text); text 434 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 436 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 439 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16("This was encoded as UTF-16BE.\n"), text); text 460 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 462 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 464 net/proxy/proxy_script_fetcher_impl_unittest.cc EXPECT_EQ(ASCIIToUTF16(kPacScript), text); text 473 net/proxy/proxy_script_fetcher_impl_unittest.cc base::string16 text; text 475 net/proxy/proxy_script_fetcher_impl_unittest.cc int result = pac_fetcher.Fetch(url, &text, callback.callback()); text 41 net/socket/buffered_write_stream_socket_unittest.cc void TestWrite(const char* text) { text 42 net/socket/buffered_write_stream_socket_unittest.cc scoped_refptr<StringIOBuffer> buf(new StringIOBuffer(text)); text 64 net/tools/balsa/string_piece_utils.h static bool StartsWithIgnoreCase(const base::StringPiece& text, text 66 net/tools/balsa/string_piece_utils.h if (text.size() < starts_with.size()) text 68 net/tools/balsa/string_piece_utils.h return EqualIgnoreCase(text.substr(0, starts_with.size()), starts_with); text 1036 net/websockets/websocket_channel.cc std::string text(data + kWebSocketCloseCodeLength, data + size); text 1037 net/websockets/websocket_channel.cc if (StreamingUtf8Validator::Validate(text)) { text 1038 net/websockets/websocket_channel.cc reason->swap(text); text 141 ppapi/c/dev/ppb_font_dev.h struct PP_Var text; text 236 ppapi/c/dev/ppb_font_dev.h const struct PP_TextRun_Dev* text, text 251 ppapi/c/dev/ppb_font_dev.h int32_t (*MeasureText)(PP_Resource font, const struct PP_TextRun_Dev* text); text 259 ppapi/c/dev/ppb_font_dev.h const struct PP_TextRun_Dev* text, text 268 ppapi/c/dev/ppb_font_dev.h const struct PP_TextRun_Dev* text, text 74 ppapi/c/dev/ppb_ime_input_event_dev.h struct PP_Var text, text 115 ppapi/c/dev/ppb_text_input_dev.h const char* text, text 84 ppapi/c/pp_input_event.h char text[5]; text 963 ppapi/c/ppb_input_event.h struct PP_Var text, text 114 ppapi/c/ppb_text_input_controller.h struct PP_Var text, text 39 ppapi/c/private/ppp_find_private.h const char* text, text 143 ppapi/c/trusted/ppb_browser_font_trusted.h struct PP_Var text; text 233 ppapi/c/trusted/ppb_browser_font_trusted.h const struct PP_BrowserFont_Trusted_TextRun* text, text 249 ppapi/c/trusted/ppb_browser_font_trusted.h const struct PP_BrowserFont_Trusted_TextRun* text); text 262 ppapi/c/trusted/ppb_browser_font_trusted.h const struct PP_BrowserFont_Trusted_TextRun* text, text 272 ppapi/c/trusted/ppb_browser_font_trusted.h const struct PP_BrowserFont_Trusted_TextRun* text, text 67 ppapi/cpp/dev/font_dev.cc pp_text_run_.text = text_.pp_var(); text 72 ppapi/cpp/dev/font_dev.cc TextRun_Dev::TextRun_Dev(const std::string& text, text 75 ppapi/cpp/dev/font_dev.cc : text_(text) { text 76 ppapi/cpp/dev/font_dev.cc pp_text_run_.text = text_.pp_var(); text 82 ppapi/cpp/dev/font_dev.cc pp_text_run_.text = text_.pp_var(); text 93 ppapi/cpp/dev/font_dev.cc pp_text_run_.text = text_.pp_var(); text 146 ppapi/cpp/dev/font_dev.cc const TextRun_Dev& text, text 156 ppapi/cpp/dev/font_dev.cc &text.pp_text_run(), text 163 ppapi/cpp/dev/font_dev.cc int32_t Font_Dev::MeasureText(const TextRun_Dev& text) const { text 167 ppapi/cpp/dev/font_dev.cc &text.pp_text_run()); text 170 ppapi/cpp/dev/font_dev.cc uint32_t Font_Dev::CharacterOffsetForPixel(const TextRun_Dev& text, text 175 ppapi/cpp/dev/font_dev.cc pp_resource(), &text.pp_text_run(), pixel_position); text 179 ppapi/cpp/dev/font_dev.cc int32_t Font_Dev::PixelOffsetForCharacter(const TextRun_Dev& text, text 184 ppapi/cpp/dev/font_dev.cc pp_resource(), &text.pp_text_run(), char_offset); text 188 ppapi/cpp/dev/font_dev.cc const std::string& text, text 192 ppapi/cpp/dev/font_dev.cc return DrawTextAt(dest, TextRun_Dev(text), position, color, text 196 ppapi/cpp/dev/font_dev.cc int32_t Font_Dev::MeasureSimpleText(const std::string& text) const { text 197 ppapi/cpp/dev/font_dev.cc return MeasureText(TextRun_Dev(text)); text 80 ppapi/cpp/dev/font_dev.h TextRun_Dev(const std::string& text, text 117 ppapi/cpp/dev/font_dev.h const TextRun_Dev& text, text 122 ppapi/cpp/dev/font_dev.h int32_t MeasureText(const TextRun_Dev& text) const; text 123 ppapi/cpp/dev/font_dev.h uint32_t CharacterOffsetForPixel(const TextRun_Dev& text, text 125 ppapi/cpp/dev/font_dev.h int32_t PixelOffsetForCharacter(const TextRun_Dev& text, text 130 ppapi/cpp/dev/font_dev.h const std::string& text, text 136 ppapi/cpp/dev/font_dev.h int32_t MeasureSimpleText(const std::string& text) const; text 55 ppapi/cpp/dev/ime_input_event_dev.cc const Var& text, text 63 ppapi/cpp/dev/ime_input_event_dev.cc instance.pp_instance(), type, time_stamp, text.pp_var(), text 56 ppapi/cpp/dev/ime_input_event_dev.h const Var& text, text 98 ppapi/cpp/dev/text_input_dev.cc void TextInput_Dev::UpdateSurroundingText(const std::string& text, text 103 ppapi/cpp/dev/text_input_dev.cc instance_.pp_instance(), text.c_str(), caret, anchor); text 52 ppapi/cpp/dev/text_input_dev.h void UpdateSurroundingText(const std::string& text, text 358 ppapi/cpp/input_event.cc const Var& text, text 366 ppapi/cpp/input_event.cc instance.pp_instance(), type, time_stamp, text.pp_var(), text 418 ppapi/cpp/input_event.h const Var& text, text 24 ppapi/cpp/private/find_private.cc const char* text, text 30 ppapi/cpp/private/find_private.cc text, PP_ToBool(case_sensitive)); text 50 ppapi/cpp/private/find_private.h virtual bool StartFind(const std::string& text, bool case_sensitive) = 0; text 50 ppapi/cpp/text_input_controller.cc void TextInputController::UpdateSurroundingText(const Var& text, text 56 ppapi/cpp/text_input_controller.cc text.pp_var(), text 63 ppapi/cpp/text_input_controller.h void UpdateSurroundingText(const Var& text, text 92 ppapi/cpp/trusted/browser_font_trusted.cc pp_text_run_.text = text_.pp_var(); text 97 ppapi/cpp/trusted/browser_font_trusted.cc BrowserFontTextRun::BrowserFontTextRun(const std::string& text, text 100 ppapi/cpp/trusted/browser_font_trusted.cc : text_(text) { text 101 ppapi/cpp/trusted/browser_font_trusted.cc pp_text_run_.text = text_.pp_var(); text 108 ppapi/cpp/trusted/browser_font_trusted.cc pp_text_run_.text = text_.pp_var(); text 120 ppapi/cpp/trusted/browser_font_trusted.cc pp_text_run_.text = text_.pp_var(); text 188 ppapi/cpp/trusted/browser_font_trusted.cc const BrowserFontTextRun& text, text 197 ppapi/cpp/trusted/browser_font_trusted.cc &text.pp_text_run(), text 206 ppapi/cpp/trusted/browser_font_trusted.cc BrowserFontTextRunToFontTextRun(&text.pp_text_run()), text 215 ppapi/cpp/trusted/browser_font_trusted.cc int32_t BrowserFont_Trusted::MeasureText(const BrowserFontTextRun& text) const { text 219 ppapi/cpp/trusted/browser_font_trusted.cc &text.pp_text_run()); text 223 ppapi/cpp/trusted/browser_font_trusted.cc BrowserFontTextRunToFontTextRun(&text.pp_text_run())); text 229 ppapi/cpp/trusted/browser_font_trusted.cc const BrowserFontTextRun& text, text 235 ppapi/cpp/trusted/browser_font_trusted.cc &text.pp_text_run(), text 240 ppapi/cpp/trusted/browser_font_trusted.cc BrowserFontTextRunToFontTextRun(&text.pp_text_run()), text 247 ppapi/cpp/trusted/browser_font_trusted.cc const BrowserFontTextRun& text, text 253 ppapi/cpp/trusted/browser_font_trusted.cc &text.pp_text_run(), text 258 ppapi/cpp/trusted/browser_font_trusted.cc BrowserFontTextRunToFontTextRun(&text.pp_text_run()), text 266 ppapi/cpp/trusted/browser_font_trusted.cc const std::string& text, text 270 ppapi/cpp/trusted/browser_font_trusted.cc return DrawTextAt(dest, BrowserFontTextRun(text), position, color, text 274 ppapi/cpp/trusted/browser_font_trusted.cc int32_t BrowserFont_Trusted::MeasureSimpleText(const std::string& text) const { text 275 ppapi/cpp/trusted/browser_font_trusted.cc return MeasureText(BrowserFontTextRun(text)); text 86 ppapi/cpp/trusted/browser_font_trusted.h BrowserFontTextRun(const std::string& text, text 123 ppapi/cpp/trusted/browser_font_trusted.h const BrowserFontTextRun& text, text 128 ppapi/cpp/trusted/browser_font_trusted.h int32_t MeasureText(const BrowserFontTextRun& text) const; text 129 ppapi/cpp/trusted/browser_font_trusted.h uint32_t CharacterOffsetForPixel(const BrowserFontTextRun& text, text 131 ppapi/cpp/trusted/browser_font_trusted.h int32_t PixelOffsetForCharacter(const BrowserFontTextRun& text, text 136 ppapi/cpp/trusted/browser_font_trusted.h const std::string& text, text 142 ppapi/cpp/trusted/browser_font_trusted.h int32_t MeasureSimpleText(const std::string& text) const; text 95 ppapi/examples/ime/ime.cc virtual void UpdateSelection(const std::string& text) {} text 114 ppapi/examples/ime/ime.cc virtual void UpdateSelection(const std::string& text) { text 115 ppapi/examples/ime/ime.cc textinput_control_.UpdateSurroundingText(text, 0, text.size()); text 234 ppapi/examples/ime/ime.cc const std::string& text, text 238 ppapi/examples/ime/ime.cc if (HasSelection() && !text.empty()) text 240 ppapi/examples/ime/ime.cc composition_ = text; text 258 ppapi/examples/ime/ime.cc void SetText(const std::string& text) { text 259 ppapi/examples/ime/ime.cc utf8_text_ = text; text 261 ppapi/examples/ime/ime.cc caret_pos_ = anchor_pos_ = text.size(); text 267 ppapi/examples/ime/ime.cc void InsertText(const std::string& text) { text 271 ppapi/examples/ime/ime.cc text); text 272 ppapi/examples/ime/ime.cc caret_pos_ = anchor_pos_ = SelectionLeft() + text.size(); text 954 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Resource Pnacl_M13_PPB_IMEInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end) { text 956 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Create(instance, type, time_stamp, *text, segment_number, segment_offsets, target_segment, selection_start, selection_end); text 1386 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static void Pnacl_M30_PPB_TextInputController_UpdateSurroundingText(PP_Instance instance, struct PP_Var* text, uint32_t caret, uint32_t anchor) { text 1388 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c iface->UpdateSurroundingText(instance, *text, caret, anchor); text 2045 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M14_PPB_Font_Dev_DrawTextAt(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque) { text 2047 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->DrawTextAt(font, image_data, text, position, color, clip, image_data_is_opaque); text 2050 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_Font_Dev_MeasureText(PP_Resource font, const struct PP_TextRun_Dev* text) { text 2052 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->MeasureText(font, text); text 2055 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static uint32_t Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel(PP_Resource font, const struct PP_TextRun_Dev* text, int32_t pixel_position) { text 2057 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->CharacterOffsetForPixel(font, text, pixel_position); text 2060 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter(PP_Resource font, const struct PP_TextRun_Dev* text, uint32_t char_offset) { text 2062 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->PixelOffsetForCharacter(font, text, char_offset); text 2103 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Resource Pnacl_M21_PPB_IMEInputEvent_Dev_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end) { text 2105 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Create(instance, type, time_stamp, *text, segment_number, segment_offsets, target_segment, selection_start, selection_end); text 4484 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M13_PPB_IMEInputEvent_Create, text 4600 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .UpdateSurroundingText = (void (*)(PP_Instance instance, struct PP_Var text, uint32_t caret, uint32_t anchor))&Pnacl_M30_PPB_TextInputController_UpdateSurroundingText text 4802 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_DrawTextAt, text 4803 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text))&Pnacl_M14_PPB_Font_Dev_MeasureText, text 4804 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel, text 4805 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter text 4818 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M21_PPB_IMEInputEvent_Dev_Create, text 831 ppapi/proxy/ppb_instance_proxy.cc const char* text, text 835 ppapi/proxy/ppb_instance_proxy.cc API_ID_PPB_INSTANCE, instance, text, caret, anchor)); text 1300 ppapi/proxy/ppb_instance_proxy.cc const std::string& text, text 1305 ppapi/proxy/ppb_instance_proxy.cc enter.functions()->UpdateSurroundingText(instance, text.c_str(), caret, text 103 ppapi/proxy/ppb_instance_proxy.h const char* text, text 213 ppapi/proxy/ppb_instance_proxy.h const std::string& text, text 19 ppapi/proxy/ppp_find_proxy.cc const char* text, text 25 ppapi/proxy/ppp_find_proxy.cc text)); text 86 ppapi/proxy/ppp_find_proxy.cc const std::string& text) { text 88 ppapi/proxy/ppp_find_proxy.cc CallWhileUnlocked(ppp_find_->StartFind, instance, text.c_str(), PP_FALSE); text 30 ppapi/proxy/ppp_find_proxy.h const std::string& text); text 99 ppapi/proxy/resource_creation_proxy.cc struct PP_Var text, text 106 ppapi/proxy/resource_creation_proxy.cc OBJECT_IS_PROXY, instance, type, time_stamp, text, segment_number, text 49 ppapi/proxy/resource_creation_proxy.h struct PP_Var text, text 200 ppapi/shared_impl/ppb_input_event_shared.cc struct PP_Var text, text 215 ppapi/shared_impl/ppb_input_event_shared.cc if (text.type == PP_VARTYPE_STRING) { text 216 ppapi/shared_impl/ppb_input_event_shared.cc StringVar* text_str = StringVar::FromPPVar(text); text 106 ppapi/shared_impl/ppb_input_event_shared.h struct PP_Var text, text 46 ppapi/tests/test_flash_clipboard.cc pp::Var text; text 51 ppapi/tests/test_flash_clipboard.cc &text); text 52 ppapi/tests/test_flash_clipboard.cc if (success && text.is_string()) { text 53 ppapi/tests/test_flash_clipboard.cc *result = text.AsString(); text 60 ppapi/tests/test_flash_clipboard.cc const std::string& text) { text 62 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data_vector(1, pp::Var(text)); text 24 ppapi/tests/test_flash_clipboard.h bool WriteStringVar(uint32_t format, const std::string& text); text 150 ppapi/tests/test_ime_input_event.cc const std::string& text, text 158 ppapi/tests/test_ime_input_event.cc text, text 166 ppapi/tests/test_ime_input_event.cc const std::string& text) { text 171 ppapi/tests/test_ime_input_event.cc pp::Var(text), text 178 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateImeTextEvent(const std::string& text) { text 183 ppapi/tests/test_ime_input_event.cc pp::Var(text), text 190 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateCharEvent(const std::string& text) { text 197 ppapi/tests/test_ime_input_event.cc pp::Var(text), text 31 ppapi/tests/test_ime_input_event.h const std::string& text, text 35 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateImeCompositionEndEvent(const std::string& text); text 36 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateImeTextEvent(const std::string& text); text 37 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateCharEvent(const std::string& text); text 156 ppapi/tests/test_input_event.cc pp::InputEvent TestInputEvent::CreateCharEvent(const std::string& text) { text 163 ppapi/tests/test_input_event.cc pp::Var(text), text 38 ppapi/tests/test_input_event.h pp::InputEvent CreateCharEvent(const std::string& text); text 844 ppapi/tests/test_websocket.cc const char* text = "hello pepper"; text 845 ppapi/tests/test_websocket.cc PP_Var text_var = CreateVarString(text); text 887 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(received_message, text)); text 1086 ppapi/tests/test_websocket.cc const char* text = "yukarin"; text 1087 ppapi/tests/test_websocket.cc PP_Var text_var = CreateVarString(text); text 1111 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(var, text)); text 1140 ppapi/tests/test_websocket.cc ASSERT_TRUE(AreEqualWithString(var, text)); text 287 ppapi/tests/testing_instance.cc void TestingInstance::LogError(const std::string& text) { text 290 ppapi/tests/testing_instance.cc html.append(text); text 143 ppapi/tests/testing_instance.h void LogError(const std::string& text); text 22 ppapi/thunk/ppb_browser_font_trusted_api.h const PP_BrowserFont_Trusted_TextRun* text, text 27 ppapi/thunk/ppb_browser_font_trusted_api.h virtual int32_t MeasureText(const PP_BrowserFont_Trusted_TextRun* text) = 0; text 29 ppapi/thunk/ppb_browser_font_trusted_api.h const PP_BrowserFont_Trusted_TextRun* text, text 32 ppapi/thunk/ppb_browser_font_trusted_api.h const PP_BrowserFont_Trusted_TextRun* text, text 49 ppapi/thunk/ppb_browser_font_trusted_thunk.cc const PP_BrowserFont_Trusted_TextRun* text, text 57 ppapi/thunk/ppb_browser_font_trusted_thunk.cc return enter.object()->DrawTextAt(image_data, text, position, color, clip, text 62 ppapi/thunk/ppb_browser_font_trusted_thunk.cc const PP_BrowserFont_Trusted_TextRun* text) { text 66 ppapi/thunk/ppb_browser_font_trusted_thunk.cc return enter.object()->MeasureText(text); text 70 ppapi/thunk/ppb_browser_font_trusted_thunk.cc const PP_BrowserFont_Trusted_TextRun* text, text 75 ppapi/thunk/ppb_browser_font_trusted_thunk.cc return enter.object()->CharacterOffsetForPixel(text, pixel_position); text 79 ppapi/thunk/ppb_browser_font_trusted_thunk.cc const PP_BrowserFont_Trusted_TextRun* text, text 84 ppapi/thunk/ppb_browser_font_trusted_thunk.cc return enter.object()->PixelOffsetForCharacter(text, char_offset); text 335 ppapi/thunk/ppb_input_event_thunk.cc PP_Var text, text 346 ppapi/thunk/ppb_input_event_thunk.cc text, segment_number, text 135 ppapi/thunk/ppb_instance_api.h const char* text, text 73 ppapi/thunk/ppb_text_input_thunk.cc void UpdateSurroundingText_0_2(PP_Instance instance, const char* text, text 77 ppapi/thunk/ppb_text_input_thunk.cc enter.functions()->UpdateSurroundingText(instance, text, caret, anchor); text 80 ppapi/thunk/ppb_text_input_thunk.cc void UpdateSurroundingText_1_0(PP_Instance instance, PP_Var text, text 83 ppapi/thunk/ppb_text_input_thunk.cc StringVar* var = StringVar::FromPPVar(text); text 60 ppapi/thunk/resource_creation_api.h struct PP_Var text, text 17 remoting/android/java/src/org/chromium/chromoting/DesktopView.java import android.text.InputType; text 20 remoting/android/java/src/org/chromium/chromoting/HelpActivity.java import android.text.TextUtils; text 336 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java public static void sendTextEvent(String text) { text 341 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java nativeSendTextEvent(text); text 345 remoting/android/java/src/org/chromium/chromoting/jni/JniInterface.java private static native void nativeSendTextEvent(String text); text 186 remoting/client/jni/chromoting_jni_instance.cc void ChromotingJniInstance::SendTextEvent(const std::string& text) { text 190 remoting/client/jni/chromoting_jni_instance.cc base::Bind(&ChromotingJniInstance::SendTextEvent, this, text)); text 195 remoting/client/jni/chromoting_jni_instance.cc event.set_text(text); text 76 remoting/client/jni/chromoting_jni_instance.h void SendTextEvent(const std::string& text); text 139 remoting/client/jni/chromoting_jni_runtime.cc jstring text) { text 141 remoting/client/jni/chromoting_jni_runtime.cc ConvertJavaStringToUTF8(env, text)); text 198 remoting/host/clipboard_win.cc base::string16 text = base::UTF8ToUTF16(ReplaceLfByCrLf(event.data())); text 209 remoting/host/clipboard_win.cc ::GlobalAlloc(GMEM_MOVEABLE, (text.size() + 1) * sizeof(WCHAR)); text 217 remoting/host/clipboard_win.cc memcpy(text_global_locked, text.data(), text.size() * sizeof(WCHAR)); text 218 remoting/host/clipboard_win.cc text_global_locked[text.size()] = (WCHAR)0; text 228 remoting/host/clipboard_win.cc base::string16 text; text 250 remoting/host/clipboard_win.cc text.assign(text_lock.get()); text 255 remoting/host/clipboard_win.cc event.set_data(ReplaceCrLfByLf(base::UTF16ToUTF8(text))); text 81 remoting/host/disconnect_window_win.cc bool GetControlText(HWND control, base::string16* text) { text 89 remoting/host/disconnect_window_win.cc text->assign(buffer); text 95 remoting/host/disconnect_window_win.cc const base::string16& text, text 101 remoting/host/disconnect_window_win.cc if (!DrawText(dc, text.c_str(), -1, &rect, DT_CALCRECT | DT_SINGLELINE)) text 223 remoting/host/input_injector_mac.cc base::string16 text = base::UTF8ToUTF16(event.text()); text 227 remoting/host/input_injector_mac.cc CreateAndPostKeyEvent(kVK_Space, true, 0, text); text 228 remoting/host/input_injector_mac.cc CreateAndPostKeyEvent(kVK_Space, false, 0, text); text 241 remoting/host/input_injector_win.cc base::string16 text = base::UTF8ToUTF16(event.text()); text 242 remoting/host/input_injector_win.cc for (base::string16::const_iterator it = text.begin(); text 243 remoting/host/input_injector_win.cc it != text.end(); ++it) { text 339 remoting/host/linux/x_server_clipboard.cc std::string text(static_cast<char*>(data), item_count); text 342 remoting/host/linux/x_server_clipboard.cc NotifyClipboardText(text); text 347 remoting/host/linux/x_server_clipboard.cc void XServerClipboard::NotifyClipboardText(const std::string& text) { text 348 remoting/host/linux/x_server_clipboard.cc data_ = text; text 93 remoting/host/linux/x_server_clipboard.h void NotifyClipboardText(const std::string& text); text 21 remoting/host/mac/me2me_preference_pane_confirm_pin.h - (void)setButtonText:(NSString*)text; text 144 remoting/host/native_messaging/native_messaging_reader_unittest.cc std::string text = "{"; text 145 remoting/host/native_messaging/native_messaging_reader_unittest.cc WriteMessage(text); text 22 remoting/protocol/input_filter_unittest.cc MATCHER_P(EqualsTextEvent, text, "") { text 23 remoting/protocol/input_filter_unittest.cc return arg.text() == text; text 37 remoting/protocol/input_filter_unittest.cc static TextEvent NewTextEvent(const std::string& text) { text 39 remoting/protocol/input_filter_unittest.cc event.set_text(text); text 403 remoting/protocol/jingle_messages.cc if (!text.empty()) text 404 remoting/protocol/jingle_messages.cc error_text = text; text 104 remoting/protocol/jingle_messages.h JingleMessageReply(ErrorType error, const std::string& text); text 115 remoting/protocol/jingle_messages.h std::string text; text 13 rlz/lib/crc32.h bool Crc32(const char* text, int* crc); text 19 rlz/lib/crc32_wrapper.cc bool Crc32(const char* text, int* crc) { text 26 rlz/lib/crc32_wrapper.cc for (int i = 0; text[i]; i++) { text 27 rlz/lib/crc32_wrapper.cc if (!IsAscii(text[i])) text 30 rlz/lib/crc32_wrapper.cc *crc = crc32(*crc, reinterpret_cast<const unsigned char*>(text + i), 1); text 36 rlz/lib/string_utils.cc int HexStringToInteger(const char* text) { text 37 rlz/lib/string_utils.cc if (!text) { text 44 rlz/lib/string_utils.cc while (text[idx] == '\t' || text[idx] == ' ') text 47 rlz/lib/string_utils.cc if ((text[idx] == '0') && text 48 rlz/lib/string_utils.cc (text[idx + 1] == 'X' || text[idx + 1] == 'x')) text 53 rlz/lib/string_utils.cc for (; text[idx] != '\0'; idx++) { text 54 rlz/lib/string_utils.cc if (!GetHexValue(text[idx], &digit)) { text 57 rlz/lib/string_utils.cc while (only_whitespaces && text[idx]) text 58 rlz/lib/string_utils.cc only_whitespaces = (text[idx++] == ' '); text 22 rlz/lib/string_utils.h int HexStringToInteger(const char* text); text 629 sandbox/win/sandbox_poc/main_ui_window.cc wchar_t text[kMaxDebugBuffSize + 1]; text 630 sandbox/win/sandbox_poc/main_ui_window.cc vswprintf_s(text, kMaxDebugBuffSize, format, arg_list); text 631 sandbox/win/sandbox_poc/main_ui_window.cc text[kMaxDebugBuffSize] = L'\0'; text 633 sandbox/win/sandbox_poc/main_ui_window.cc InsertLineInListView(text); text 162 sandbox/win/src/ipc_unittest.cc const wchar_t *text = L"98765 - 43210"; text 166 sandbox/win/src/ipc_unittest.cc CrossCall(client, tag1, text, &answer); text 171 sandbox/win/src/ipc_unittest.cc EXPECT_STREQ(text, copied_text.c_str()); text 193 sandbox/win/src/ipc_unittest.cc CrossCall(client, tag3, null_text, text, &answer); text 204 sandbox/win/src/ipc_unittest.cc EXPECT_STREQ(text, copied_text.c_str()); text 210 sandbox/win/src/ipc_unittest.cc CrossCall(client, tag1, text2, null_text, text, &answer); text 217 sandbox/win/src/ipc_unittest.cc EXPECT_STREQ(text, copied_text_p2.c_str()); text 238 sandbox/win/src/ipc_unittest.cc const wchar_t *text = L"godzilla"; text 260 sandbox/win/src/ipc_unittest.cc CrossCall(client, tag1, text, h, &answer); text 217 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawText(const void* text, text 227 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawPosText(const void* text, text 236 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawPosTextH(const void* text, text 246 skia/ext/analysis_canvas.cc void AnalysisCanvas::drawTextOnPath(const void* text, text 62 skia/ext/analysis_canvas.h virtual void drawText(const void* text, text 67 skia/ext/analysis_canvas.h virtual void drawPosText(const void* text, text 71 skia/ext/analysis_canvas.h virtual void drawPosTextH(const void* text, text 76 skia/ext/analysis_canvas.h virtual void drawTextOnPath(const void* text, text 288 skia/ext/analysis_canvas_unittest.cc const char* text = "A"; text 311 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 317 skia/ext/analysis_canvas_unittest.cc canvas.drawPosText(text, byteLength, &point, paint); text 323 skia/ext/analysis_canvas_unittest.cc canvas.drawPosTextH(text, byteLength, &point.fX, point.fY, paint); text 329 skia/ext/analysis_canvas_unittest.cc canvas.drawTextOnPathHV(text, byteLength, path, point.fX, point.fY, paint); text 335 skia/ext/analysis_canvas_unittest.cc canvas.drawTextOnPath(text, byteLength, path, NULL, paint); text 341 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 349 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 359 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 369 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 378 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 385 skia/ext/analysis_canvas_unittest.cc canvas.drawText(text, byteLength, point.fX, point.fY, paint); text 117 skia/ext/benchmarking_canvas.cc virtual void drawText(const void* text, size_t byteLength, SkScalar x, text 120 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawText(text, byteLength, x, y, paint); text 123 skia/ext/benchmarking_canvas.cc virtual void drawPosText(const void* text, size_t byteLength, text 127 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawPosText(text, byteLength, pos, paint); text 130 skia/ext/benchmarking_canvas.cc virtual void drawPosTextH(const void* text, size_t byteLength, text 134 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawPosTextH(text, byteLength, xpos, constY, paint); text 137 skia/ext/benchmarking_canvas.cc virtual void drawTextOnPath(const void* text, size_t byteLength, text 141 skia/ext/benchmarking_canvas.cc SkProxyCanvas::drawTextOnPath(text, byteLength, path, matrix, paint); text 175 skia/ext/pixel_ref_utils.cc const void* text, text 186 skia/ext/pixel_ref_utils.cc paint.measureText(text, len, &bounds); text 222 skia/ext/pixel_ref_utils.cc const void* text, text 275 skia/ext/pixel_ref_utils.cc const void* text, text 443 skia/ext/vector_platform_device_emf_win.cc const SkTypeface& typeface, const wchar_t* text, unsigned int text_length) { text 446 skia/ext/vector_platform_device_emf_win.cc g_skia_ensure_typeface_characters_accessible(lf, text, text_length); text 450 skia/ext/vector_platform_device_emf_win.cc LPCWSTR text, unsigned int characters, const int * lpDx, text 452 skia/ext/vector_platform_device_emf_win.cc bool success = ExtTextOut(hdc, x, y, options, lprect, text, characters, lpDx); text 456 skia/ext/vector_platform_device_emf_win.cc text, text 458 skia/ext/vector_platform_device_emf_win.cc success = ExtTextOut(hdc, x, y, options, lprect, text, characters, lpDx); text 464 skia/ext/vector_platform_device_emf_win.cc << " and characters: " << base::string16(text, characters); text 468 skia/ext/vector_platform_device_emf_win.cc << " and characters: " << base::string16(text, characters); text 475 skia/ext/vector_platform_device_emf_win.cc const void* text, text 489 skia/ext/vector_platform_device_emf_win.cc reinterpret_cast<const wchar_t*>(text), count, NULL, text 495 skia/ext/vector_platform_device_emf_win.cc paint.getTextPath(text, byteLength, x, y, &path); text 500 skia/ext/vector_platform_device_emf_win.cc static size_t size_utf8(const char* text) { text 501 skia/ext/vector_platform_device_emf_win.cc return SkUTF8_CountUTF8Bytes(text); text 504 skia/ext/vector_platform_device_emf_win.cc static size_t size_utf16(const char* text) { text 505 skia/ext/vector_platform_device_emf_win.cc uint16_t c = *reinterpret_cast<const uint16_t*>(text); text 509 skia/ext/vector_platform_device_emf_win.cc static size_t size_glyphid(const char* text) { text 514 skia/ext/vector_platform_device_emf_win.cc const void* text, text 536 skia/ext/vector_platform_device_emf_win.cc getTextOutOptions(paint), 0, reinterpret_cast<const wchar_t*>(text), text 555 skia/ext/vector_platform_device_emf_win.cc const char* curr = reinterpret_cast<const char*>(text); text 568 skia/ext/vector_platform_device_emf_win.cc const void* text, text 59 skia/ext/vector_platform_device_emf_win.h virtual void drawText(const SkDraw& draw, const void* text, size_t len, text 61 skia/ext/vector_platform_device_emf_win.h virtual void drawPosText(const SkDraw& draw, const void* text, size_t len, text 64 skia/ext/vector_platform_device_emf_win.h virtual void drawTextOnPath(const SkDraw& draw, const void* text, size_t len, text 141 skia/ext/vector_platform_device_emf_win.h (const LOGFONT& font, const wchar_t* text, unsigned int text_length); text 22 sql/sqlite_features_unittest.cc const char* text = stmt ? stmt->GetSQLStatement() : NULL; text 23 sql/sqlite_features_unittest.cc *sql_text = text ? text : "no statement available"; text 285 sync/protocol/proto_value_conversions.cc SET_STR(text); text 296 sync/protocol/proto_value_conversions.cc SET_STR(text); text 1509 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc const char* src = scriptspan->text; text 1535 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc const char* src = scriptspan->text; text 1602 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc const char* src = scriptspan->text; text 2162 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc scriptspan.text = NULL; text 2209 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc PrintHtmlEscapedText(stderr, scriptspan.text, scriptspan.text_bytes); text 2217 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc newlen = CheapSqueezeInplace(scriptspan.text, scriptspan.text_bytes, text 2225 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc CheapSqueezeTriggerTest(scriptspan.text, text 2260 third_party/cld/encodings/compact_lang_det/compact_lang_det_impl.cc newlen = CheapRepWordsInplace(scriptspan.text, scriptspan.text_bytes, text 353 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc span->text = script_buffer_; text 553 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc UniLib::ToLower(span->text, span->text_bytes + 4, text 556 third_party/cld/encodings/compact_lang_det/getonescriptspan.cc span->text = script_buffer_lower_; text 20 third_party/cld/encodings/compact_lang_det/getonescriptspan.h char* text; // Pointer to the span, somewhere text 17 third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc std::string NormalizeText(const UChar* text) { text 19 third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc icu::UnicodeString source(1, text, -1); text 41 third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc const UChar* text, bool is_plain_text, text 44 third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc if (!text || !num_languages) text 47 third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.cc std::string utf8_encoded = NormalizeText(text); text 35 third_party/cld/encodings/compact_lang_det/win/cld_unicodetext.h const UChar* text, bool is_plain_text, text 87 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc const WCHAR* text) { text 89 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc normalized_text_ = TryToNormalizeText(normalization_form, text, &result); text 95 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc NORM_FORM normalization_form, const WCHAR* text, DWORD *error_code) { text 96 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc if (!text) { text 98 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 102 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 106 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc int folded_text_size = ::FoldStringW(MAP_PRECOMPOSED, text, -1, NULL, 0); text 109 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 115 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 119 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc ::FoldStringW(MAP_PRECOMPOSED, text, -1, text_.get(), folded_text_size); text 123 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 130 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc if (normalization_api.IsNormalizedString(normalization_form, text, -1)) text 131 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 136 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc normalization_api.NormalizeString(normalization_form, text, -1, NULL, 0); text 146 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc normalization_api.NormalizeString(normalization_form, text, -1, text 171 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.cc return text; text 39 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.h DWORD Normalize(NORM_FORM normalization_form, const WCHAR* text); text 50 third_party/cld/encodings/compact_lang_det/win/normalizedunicodetext.h const WCHAR* text, DWORD *error_code); text 1288 third_party/harfbuzz-ng/src/hb-buffer.cc const T *text, text 1300 third_party/harfbuzz-ng/src/hb-buffer.cc text_length = hb_utf_strlen (text); text 1318 third_party/harfbuzz-ng/src/hb-buffer.cc const T *prev = text + item_offset; text 1319 third_party/harfbuzz-ng/src/hb-buffer.cc const T *start = text; text 1328 third_party/harfbuzz-ng/src/hb-buffer.cc const T *next = text + item_offset; text 1335 third_party/harfbuzz-ng/src/hb-buffer.cc buffer->add (u, old_next - (const T *) text); text 1340 third_party/harfbuzz-ng/src/hb-buffer.cc end = text + text_length; text 1365 third_party/harfbuzz-ng/src/hb-buffer.cc const char *text, text 1370 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (buffer, (const uint8_t *) text, text_length, item_offset, item_length); text 1387 third_party/harfbuzz-ng/src/hb-buffer.cc const uint16_t *text, text 1392 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); text 1409 third_party/harfbuzz-ng/src/hb-buffer.cc const uint32_t *text, text 1414 third_party/harfbuzz-ng/src/hb-buffer.cc hb_buffer_add_utf (buffer, text, text_length, item_offset, item_length); text 224 third_party/harfbuzz-ng/src/hb-buffer.h const char *text, text 231 third_party/harfbuzz-ng/src/hb-buffer.h const uint16_t *text, text 238 third_party/harfbuzz-ng/src/hb-buffer.h const uint32_t *text, text 43 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_next (const uint8_t *text, text 47 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_codepoint_t c = *text, mask; text 53 third_party/harfbuzz-ng/src/hb-utf-private.hh if (unlikely (!len || (unsigned int) (end - text) < len)) { text 55 third_party/harfbuzz-ng/src/hb-utf-private.hh return text + 1; text 62 third_party/harfbuzz-ng/src/hb-utf-private.hh if (unlikely ((text[i] & 0xc0) != 0x80)) text 65 third_party/harfbuzz-ng/src/hb-utf-private.hh return text + 1; text 68 third_party/harfbuzz-ng/src/hb-utf-private.hh result |= (text[i] & 0x3f); text 71 third_party/harfbuzz-ng/src/hb-utf-private.hh return text + len; text 76 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_prev (const uint8_t *text, text 80 third_party/harfbuzz-ng/src/hb-utf-private.hh const uint8_t *end = text--; text 81 third_party/harfbuzz-ng/src/hb-utf-private.hh while (start < text && (*text & 0xc0) == 0x80 && end - text < 4) text 82 third_party/harfbuzz-ng/src/hb-utf-private.hh text--; text 84 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_codepoint_t c = *text, mask; text 90 third_party/harfbuzz-ng/src/hb-utf-private.hh if (unlikely (!len || (unsigned int) (end - text) != len)) { text 100 third_party/harfbuzz-ng/src/hb-utf-private.hh result |= (text[i] & 0x3f); text 103 third_party/harfbuzz-ng/src/hb-utf-private.hh return text; text 109 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_strlen (const uint8_t *text) text 111 third_party/harfbuzz-ng/src/hb-utf-private.hh return strlen ((const char *) text); text 118 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_next (const uint16_t *text, text 122 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_codepoint_t c = *text++; text 128 third_party/harfbuzz-ng/src/hb-utf-private.hh if (text < end && ((l = *text), likely (hb_in_range<hb_codepoint_t> (l, 0xdc00, 0xdfff)))) text 132 third_party/harfbuzz-ng/src/hb-utf-private.hh text++; text 138 third_party/harfbuzz-ng/src/hb-utf-private.hh return text; text 142 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_prev (const uint16_t *text, text 146 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_codepoint_t c = *--text; text 152 third_party/harfbuzz-ng/src/hb-utf-private.hh if (start < text && ((h = *(text - 1)), likely (hb_in_range<hb_codepoint_t> (h, 0xd800, 0xdbff)))) text 156 third_party/harfbuzz-ng/src/hb-utf-private.hh text--; text 162 third_party/harfbuzz-ng/src/hb-utf-private.hh return text; text 167 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_strlen (const uint16_t *text) text 170 third_party/harfbuzz-ng/src/hb-utf-private.hh while (*text++) l++; text 178 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_next (const uint32_t *text, text 182 third_party/harfbuzz-ng/src/hb-utf-private.hh *unicode = *text++; text 183 third_party/harfbuzz-ng/src/hb-utf-private.hh return text; text 187 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_prev (const uint32_t *text, text 191 third_party/harfbuzz-ng/src/hb-utf-private.hh *unicode = *--text; text 192 third_party/harfbuzz-ng/src/hb-utf-private.hh return text; text 196 third_party/harfbuzz-ng/src/hb-utf-private.hh hb_utf_strlen (const uint32_t *text) text 199 third_party/harfbuzz-ng/src/hb-utf-private.hh while (*text++) l++; text 470 third_party/jsoncpp/overrides/include/json/value.h void setComment( const char *text ); text 163 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp Value::CommentInfo::setComment( const char *text ) text 167 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp JSON_ASSERT( text != 0 ); text 168 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp JSON_ASSERT_MESSAGE( text[0]=='\0' || text[0]=='/', "Comments must start with /"); text 170 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp comment_ = duplicateStringValue( text ); text 236 third_party/liblouis/nacl_wrapper/liblouis_instance.cc Json::Value text = message[kTextKey]; text 241 third_party/liblouis/nacl_wrapper/liblouis_instance.cc } else if (!text.isString()) { text 250 third_party/liblouis/nacl_wrapper/liblouis_instance.cc params.text = text.asString(); text 313 third_party/liblouis/nacl_wrapper/liblouis_instance.cc std::string text; text 314 third_party/liblouis/nacl_wrapper/liblouis_instance.cc bool success = liblouis_.BackTranslate(table_name, cells, &text); text 318 third_party/liblouis/nacl_wrapper/liblouis_instance.cc reply[kTextKey] = text; text 120 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc if (!DecodeUtf8(params.text, &inbuf)) { text 237 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc std::string text; text 238 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc if (!EncodeUtf8(outbuf, &text)) { text 244 third_party/liblouis/nacl_wrapper/liblouis_wrapper.cc out->swap(text); text 26 third_party/liblouis/nacl_wrapper/translation_params.h std::string text; text 376 third_party/libpng/png.c if (info_ptr->text && info_ptr->text[num].key) text 378 third_party/libpng/png.c png_free(png_ptr, info_ptr->text[num].key); text 379 third_party/libpng/png.c info_ptr->text[num].key = NULL; text 387 third_party/libpng/png.c png_free(png_ptr, info_ptr->text); text 388 third_party/libpng/png.c info_ptr->text = NULL; text 707 third_party/libpng/png.h png_charp text; /* comment, may be an empty string (ie "") text 866 third_party/libpng/png.h png_textp text PNG_DEPSTRUCT; /* array of comments read/to write */ text 3320 third_party/libpng/png.h png_charp text, png_size_t text_len)) PNG_PRIVATE; text 3325 third_party/libpng/png.h png_charp text, png_size_t text_len, int compression)) PNG_PRIVATE; text 3331 third_party/libpng/png.h png_charp text)) PNG_PRIVATE; text 774 third_party/libpng/pngget.c *text_ptr = info_ptr->text; text 1255 third_party/libpng/pngpread.c png_charp text; text 1274 third_party/libpng/pngpread.c for (text = key; *text; text++) text 1277 third_party/libpng/pngpread.c if (text < key + png_ptr->current_text_size) text 1278 third_party/libpng/pngpread.c text++; text 1288 third_party/libpng/pngpread.c text_ptr->text = text; text 1355 third_party/libpng/pngpread.c png_charp text; text 1370 third_party/libpng/pngpread.c for (text = key; *text; text++) text 1374 third_party/libpng/pngpread.c if (text >= key + png_ptr->current_text_size) text 1381 third_party/libpng/pngpread.c text++; text 1383 third_party/libpng/pngpread.c if (*text != PNG_TEXT_COMPRESSION_zTXt) /* Check compression byte */ text 1390 third_party/libpng/pngpread.c text++; text 1392 third_party/libpng/pngpread.c png_ptr->zstream.next_in = (png_bytep )text; text 1394 third_party/libpng/pngpread.c (text - key)); text 1398 third_party/libpng/pngpread.c key_size = text - key; text 1400 third_party/libpng/pngpread.c text = NULL; text 1412 third_party/libpng/pngpread.c png_free(png_ptr, text); text 1417 third_party/libpng/pngpread.c if (text == NULL) text 1419 third_party/libpng/pngpread.c text = (png_charp)png_malloc(png_ptr, text 1423 third_party/libpng/pngpread.c png_memcpy(text + key_size, png_ptr->zbuf, text 1426 third_party/libpng/pngpread.c png_memcpy(text, key, key_size); text 1431 third_party/libpng/pngpread.c *(text + text_size) = '\0'; text 1437 third_party/libpng/pngpread.c tmp = text; text 1438 third_party/libpng/pngpread.c text = (png_charp)png_malloc(png_ptr, text_size + text 1442 third_party/libpng/pngpread.c png_memcpy(text, tmp, text_size); text 1445 third_party/libpng/pngpread.c png_memcpy(text + text_size, png_ptr->zbuf, text 1449 third_party/libpng/pngpread.c *(text + text_size) = '\0'; text 1473 third_party/libpng/pngpread.c png_free(png_ptr, text); text 1479 third_party/libpng/pngpread.c key = text; text 1480 third_party/libpng/pngpread.c text += key_size; text 1490 third_party/libpng/pngpread.c text_ptr->text = text; text 1559 third_party/libpng/pngpread.c png_charp text; text 1591 third_party/libpng/pngpread.c text=lang_key; text 1595 third_party/libpng/pngpread.c for (; *text; text++) text 1599 third_party/libpng/pngpread.c if (text < key + png_ptr->current_text_size) text 1600 third_party/libpng/pngpread.c text++; text 1609 third_party/libpng/pngpread.c text_ptr->text = text; text 1611 third_party/libpng/pngpread.c text_ptr->itxt_length = png_strlen(text); text 366 third_party/libpng/pngrutil.c png_charp text = NULL; text 373 third_party/libpng/pngrutil.c text = png_malloc_warn(png_ptr, prefix_size + expanded_size + 1); text 376 third_party/libpng/pngrutil.c if (text != NULL) text 378 third_party/libpng/pngrutil.c png_memcpy(text, png_ptr->chunkdata, prefix_size); text 382 third_party/libpng/pngrutil.c (png_bytep)(text + prefix_size), expanded_size); text 383 third_party/libpng/pngrutil.c text[prefix_size + expanded_size] = 0; /* just in case */ text 388 third_party/libpng/pngrutil.c png_ptr->chunkdata = text; text 394 third_party/libpng/pngrutil.c png_free(png_ptr, text); text 421 third_party/libpng/pngrutil.c png_charp text = png_malloc_warn(png_ptr, prefix_size + 1); text 422 third_party/libpng/pngrutil.c if (text != NULL) text 425 third_party/libpng/pngrutil.c png_memcpy(text, png_ptr->chunkdata, prefix_size); text 427 third_party/libpng/pngrutil.c png_ptr->chunkdata = text; text 2004 third_party/libpng/pngrutil.c png_charp text; text 2065 third_party/libpng/pngrutil.c for (text = key; *text; text++) text 2068 third_party/libpng/pngrutil.c if (text != key + slength) text 2069 third_party/libpng/pngrutil.c text++; text 2087 third_party/libpng/pngrutil.c text_ptr->text = text; text 2088 third_party/libpng/pngrutil.c text_ptr->text_length = png_strlen(text); text 2106 third_party/libpng/pngrutil.c png_charp text; text 2165 third_party/libpng/pngrutil.c for (text = png_ptr->chunkdata; *text; text++) text 2169 third_party/libpng/pngrutil.c if (text >= png_ptr->chunkdata + slength - 2) text 2178 third_party/libpng/pngrutil.c comp_type = *(++text); text 2184 third_party/libpng/pngrutil.c text++; /* Skip the compression_method byte */ text 2186 third_party/libpng/pngrutil.c prefix_len = text - png_ptr->chunkdata; text 2207 third_party/libpng/pngrutil.c text_ptr->text = png_ptr->chunkdata + prefix_len; text 2226 third_party/libpng/pngrutil.c png_charp key, lang, text, lang_key; text 2320 third_party/libpng/pngrutil.c for (text = lang_key; *text; text++) text 2322 third_party/libpng/pngrutil.c text++; /* Skip NUL separator */ text 2323 third_party/libpng/pngrutil.c if (text >= png_ptr->chunkdata + slength) text 2331 third_party/libpng/pngrutil.c prefix_len = text - png_ptr->chunkdata; text 2354 third_party/libpng/pngrutil.c text_ptr->text = png_ptr->chunkdata + prefix_len; text 670 third_party/libpng/pngset.c if (info_ptr->text != NULL) text 677 third_party/libpng/pngset.c old_text = info_ptr->text; text 678 third_party/libpng/pngset.c info_ptr->text = (png_textp)png_malloc_warn(png_ptr, text 680 third_party/libpng/pngset.c if (info_ptr->text == NULL) text 685 third_party/libpng/pngset.c png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * text 693 third_party/libpng/pngset.c info_ptr->text = (png_textp)png_malloc_warn(png_ptr, text 695 third_party/libpng/pngset.c if (info_ptr->text == NULL) text 708 third_party/libpng/pngset.c png_textp textp = &(info_ptr->text[info_ptr->num_text]); text 742 third_party/libpng/pngset.c if (text_ptr[i].text == NULL || text_ptr[i].text[0] == '\0') text 755 third_party/libpng/pngset.c text_length = png_strlen(text_ptr[i].text); text 780 third_party/libpng/pngset.c textp->text = textp->lang_key + lang_key_len + 1; text 789 third_party/libpng/pngset.c textp->text = textp->key + key_len + 1; text 792 third_party/libpng/pngset.c png_memcpy(textp->text, text_ptr[i].text, text 794 third_party/libpng/pngset.c *(textp->text + text_length) = '\0'; text 234 third_party/libpng/pngwrite.c info_ptr->text[i].compression); text 236 third_party/libpng/pngwrite.c if (info_ptr->text[i].compression > 0) text 241 third_party/libpng/pngwrite.c info_ptr->text[i].compression, text 242 third_party/libpng/pngwrite.c info_ptr->text[i].key, text 243 third_party/libpng/pngwrite.c info_ptr->text[i].lang, text 244 third_party/libpng/pngwrite.c info_ptr->text[i].lang_key, text 245 third_party/libpng/pngwrite.c info_ptr->text[i].text); text 250 third_party/libpng/pngwrite.c info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_NONE_WR; text 253 third_party/libpng/pngwrite.c else if (info_ptr->text[i].compression == PNG_TEXT_COMPRESSION_zTXt) text 257 third_party/libpng/pngwrite.c png_write_zTXt(png_ptr, info_ptr->text[i].key, text 258 third_party/libpng/pngwrite.c info_ptr->text[i].text, 0, text 259 third_party/libpng/pngwrite.c info_ptr->text[i].compression); text 264 third_party/libpng/pngwrite.c info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_zTXt_WR; text 266 third_party/libpng/pngwrite.c else if (info_ptr->text[i].compression == PNG_TEXT_COMPRESSION_NONE) text 270 third_party/libpng/pngwrite.c png_write_tEXt(png_ptr, info_ptr->text[i].key, text 271 third_party/libpng/pngwrite.c info_ptr->text[i].text, text 274 third_party/libpng/pngwrite.c info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_NONE_WR; text 341 third_party/libpng/pngwrite.c info_ptr->text[i].compression); text 343 third_party/libpng/pngwrite.c if (info_ptr->text[i].compression > 0) text 348 third_party/libpng/pngwrite.c info_ptr->text[i].compression, text 349 third_party/libpng/pngwrite.c info_ptr->text[i].key, text 350 third_party/libpng/pngwrite.c info_ptr->text[i].lang, text 351 third_party/libpng/pngwrite.c info_ptr->text[i].lang_key, text 352 third_party/libpng/pngwrite.c info_ptr->text[i].text); text 357 third_party/libpng/pngwrite.c info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_NONE_WR; text 359 third_party/libpng/pngwrite.c else if (info_ptr->text[i].compression >= PNG_TEXT_COMPRESSION_zTXt) text 363 third_party/libpng/pngwrite.c png_write_zTXt(png_ptr, info_ptr->text[i].key, text 364 third_party/libpng/pngwrite.c info_ptr->text[i].text, 0, text 365 third_party/libpng/pngwrite.c info_ptr->text[i].compression); text 370 third_party/libpng/pngwrite.c info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_zTXt_WR; text 372 third_party/libpng/pngwrite.c else if (info_ptr->text[i].compression == PNG_TEXT_COMPRESSION_NONE) text 376 third_party/libpng/pngwrite.c png_write_tEXt(png_ptr, info_ptr->text[i].key, text 377 third_party/libpng/pngwrite.c info_ptr->text[i].text, 0); text 383 third_party/libpng/pngwrite.c info_ptr->text[i].compression = PNG_TEXT_COMPRESSION_NONE_WR; text 176 third_party/libpng/pngwutil.c png_charp text, png_size_t text_len, int compression, text 190 third_party/libpng/pngwutil.c comp->input = text; text 223 third_party/libpng/pngwutil.c png_ptr->zstream.next_in = (Bytef *)text; text 1351 third_party/libpng/pngwutil.c png_write_tEXt(png_structp png_ptr, png_charp key, png_charp text, text 1365 third_party/libpng/pngwutil.c if (text == NULL || *text == '\0') text 1368 third_party/libpng/pngwutil.c text_len = png_strlen(text); text 1382 third_party/libpng/pngwutil.c png_write_chunk_data(png_ptr, (png_bytep)text, (png_size_t)text_len); text 1392 third_party/libpng/pngwutil.c png_write_zTXt(png_structp png_ptr, png_charp key, png_charp text, text 1417 third_party/libpng/pngwutil.c if (text == NULL || *text == '\0' || compression==PNG_TEXT_COMPRESSION_NONE) text 1419 third_party/libpng/pngwutil.c png_write_tEXt(png_ptr, new_key, text, (png_size_t)0); text 1424 third_party/libpng/pngwutil.c text_len = png_strlen(text); text 1427 third_party/libpng/pngwutil.c text_len = png_text_compress(png_ptr, text, text_len, compression, text 1453 third_party/libpng/pngwutil.c png_charp lang, png_charp lang_key, png_charp text) text 1486 third_party/libpng/pngwutil.c if (text == NULL) text 1489 third_party/libpng/pngwutil.c text_len = png_strlen(text); text 1492 third_party/libpng/pngwutil.c text_len = png_text_compress(png_ptr, text, text_len, compression-2, text 7170 third_party/libxml/src/relaxng.c xmlNodePtr text = NULL; text 7179 third_party/libxml/src/relaxng.c text = text 7189 third_party/libxml/src/relaxng.c text = xmlNewText(name); text 7190 third_party/libxml/src/relaxng.c xmlAddChild(node, text); text 7191 third_party/libxml/src/relaxng.c text = node; text 7194 third_party/libxml/src/relaxng.c if (text == NULL) { text 7203 third_party/libxml/src/relaxng.c if (text != NULL) { text 7204 third_party/libxml/src/relaxng.c xmlSetProp(text, BAD_CAST "ns", ns); text 7210 third_party/libxml/src/relaxng.c xmlSetProp(text, BAD_CAST "ns", BAD_CAST ""); text 540 third_party/libxslt/libxslt/templates.c xmlNodePtr text; text 542 third_party/libxslt/libxslt/templates.c text = xmlNewText(NULL); text 543 third_party/libxslt/libxslt/templates.c if (text != NULL) { text 544 third_party/libxslt/libxslt/templates.c ret->last = ret->children = text; text 545 third_party/libxslt/libxslt/templates.c text->parent = (xmlNodePtr) ret; text 546 third_party/libxslt/libxslt/templates.c text->doc = ret->doc; text 570 third_party/libxslt/libxslt/templates.c text->content = xmlStrdup(BAD_CAST ""); text 572 third_party/libxslt/libxslt/templates.c text->content = val; text 578 third_party/libxslt/libxslt/templates.c text->content = (xmlChar *) value; text 580 third_party/libxslt/libxslt/templates.c text->content = xmlStrdup(value); text 622 third_party/libxslt/libxslt/templates.c xmlNodePtr oldInsert, text; text 728 third_party/libxslt/libxslt/templates.c text = xmlNewText(NULL); text 729 third_party/libxslt/libxslt/templates.c if (text != NULL) { text 730 third_party/libxslt/libxslt/templates.c copy->last = copy->children = text; text 731 third_party/libxslt/libxslt/templates.c text->parent = (xmlNodePtr) copy; text 732 third_party/libxslt/libxslt/templates.c text->doc = copy->doc; text 755 third_party/libxslt/libxslt/templates.c text->content = xmlStrdup(BAD_CAST ""); text 758 third_party/libxslt/libxslt/templates.c text->content = valueAVT; text 765 third_party/libxslt/libxslt/templates.c text->content = (xmlChar *) value; text 767 third_party/libxslt/libxslt/templates.c text->content = xmlStrdup(value); text 769 third_party/libxslt/libxslt/templates.c if ((copy != NULL) && (text != NULL) && text 771 third_party/libxslt/libxslt/templates.c xmlAddID(NULL, copy->doc, text->content, copy); text 3840 third_party/libxslt/libxslt/transform.c xmlNodePtr text = inst->children; text 3843 third_party/libxslt/libxslt/transform.c while (text != NULL) { text 3844 third_party/libxslt/libxslt/transform.c if ((text->type != XML_TEXT_NODE) && text 3845 third_party/libxslt/libxslt/transform.c (text->type != XML_CDATA_SECTION_NODE)) { text 3850 third_party/libxslt/libxslt/transform.c copy = xmlNewDocText(ctxt->output, text->content); text 3851 third_party/libxslt/libxslt/transform.c if (text->type != XML_CDATA_SECTION_NODE) { text 3854 third_party/libxslt/libxslt/transform.c "Disable escaping: %s\n", text->content); text 3859 third_party/libxslt/libxslt/transform.c text = text->next; text 3964 third_party/libxslt/libxslt/xslt.c goto text; text 4059 third_party/libxslt/libxslt/xslt.c text: text 4860 third_party/libxslt/libxslt/xslt.c xmlNodePtr text = cur->children, next; text 4869 third_party/libxslt/libxslt/xslt.c "Disable escaping: %s\n", text->content); text 4883 third_party/libxslt/libxslt/xslt.c while (text != NULL) { text 4884 third_party/libxslt/libxslt/xslt.c if (text->type == XML_COMMENT_NODE) { text 4885 third_party/libxslt/libxslt/xslt.c text = text->next; text 4888 third_party/libxslt/libxslt/xslt.c if ((text->type != XML_TEXT_NODE) && text 4889 third_party/libxslt/libxslt/xslt.c (text->type != XML_CDATA_SECTION_NODE)) { text 4895 third_party/libxslt/libxslt/xslt.c if ((noesc) && (text->type != XML_CDATA_SECTION_NODE)) text 4896 third_party/libxslt/libxslt/xslt.c text->name = xmlStringTextNoenc; text 4897 third_party/libxslt/libxslt/xslt.c text = text->next; text 4903 third_party/libxslt/libxslt/xslt.c if (text == NULL) { text 4904 third_party/libxslt/libxslt/xslt.c text = cur->children; text 4905 third_party/libxslt/libxslt/xslt.c while (text != NULL) { text 4907 third_party/libxslt/libxslt/xslt.c (text->content != NULL) && text 4908 third_party/libxslt/libxslt/xslt.c (!xmlDictOwns(style->dict, text->content))) { text 4913 third_party/libxslt/libxslt/xslt.c if (text->doc->dict != NULL) { text 4916 third_party/libxslt/libxslt/xslt.c tmp = xmlDictLookup(text->doc->dict, text 4917 third_party/libxslt/libxslt/xslt.c text->content, -1); text 4918 third_party/libxslt/libxslt/xslt.c if (tmp != text->content) { text 4919 third_party/libxslt/libxslt/xslt.c xmlNodeSetContent(text, NULL); text 4920 third_party/libxslt/libxslt/xslt.c text->content = (xmlChar *) tmp; text 4925 third_party/libxslt/libxslt/xslt.c next = text->next; text 4926 third_party/libxslt/libxslt/xslt.c xmlUnlinkNode(text); text 4927 third_party/libxslt/libxslt/xslt.c xmlAddPrevSibling(cur, text); text 4928 third_party/libxslt/libxslt/xslt.c text = next; text 118 third_party/markupsafe/_speedups.c escape(PyObject *self, PyObject *text) text 123 third_party/markupsafe/_speedups.c if (PyLong_CheckExact(text) || text 125 third_party/markupsafe/_speedups.c PyInt_CheckExact(text) || text 127 third_party/markupsafe/_speedups.c PyFloat_CheckExact(text) || PyBool_Check(text) || text 128 third_party/markupsafe/_speedups.c text == Py_None) text 129 third_party/markupsafe/_speedups.c return PyObject_CallFunctionObjArgs(markup, text, NULL); text 132 third_party/markupsafe/_speedups.c html = PyObject_GetAttrString(text, "__html__"); text 141 third_party/markupsafe/_speedups.c if (!PyUnicode_Check(text)) { text 143 third_party/markupsafe/_speedups.c PyObject *unicode = PyObject_Unicode(text); text 145 third_party/markupsafe/_speedups.c PyObject *unicode = PyObject_Str(text); text 153 third_party/markupsafe/_speedups.c s = escape_unicode((PyUnicodeObject*)text); text 163 third_party/markupsafe/_speedups.c escape_silent(PyObject *self, PyObject *text) text 165 third_party/markupsafe/_speedups.c if (text != Py_None) text 166 third_party/markupsafe/_speedups.c return escape(self, text); text 696 third_party/npapi/bindings/npapi.h NPNSString *text; text 697 third_party/npapi/bindings/npapi.h } text; text 79 third_party/npapi/bindings/npapi_extensions.h uint16_t text[4]; text 1018 third_party/npapi/bindings/npapi_extensions.h const char* text, text 66 third_party/npapi/npspy/extern/nspr/prerror.h PRIntn textLength, const char *text); text 91 third_party/npapi/npspy/extern/nspr/prerror.h NSPR_API(PRInt32) PR_GetErrorText(char *text); text 241 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFrom(String text, String charsetName) text 243 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(text.getBytes(charsetName)); text 253 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java public static ByteString copyFromUtf8(String text) { text 255 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java return new LiteralByteString(text.getBytes("UTF-8")); text 117 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final StringBuilder text = new StringBuilder(); text 118 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java print(message, text); text 119 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return text.toString(); text 131 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final StringBuilder text = new StringBuilder(); text 132 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java print(fields, text); text 133 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return text.toString(); text 145 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final StringBuilder text = new StringBuilder(); text 146 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java UNICODE_PRINTER.print(message, new TextGenerator(text)); text 147 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return text.toString(); text 159 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final StringBuilder text = new StringBuilder(); text 160 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java UNICODE_PRINTER.printUnknownFields(fields, new TextGenerator(text)); text 161 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return text.toString(); text 177 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final StringBuilder text = new StringBuilder(); text 178 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java printField(field, value, text); text 179 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return text.toString(); text 515 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java public void print(final CharSequence text) throws IOException { text 516 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final int size = text.length(); text 520 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (text.charAt(i) == '\n') { text 521 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java write(text.subSequence(pos, size), i - pos + 1); text 526 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java write(text.subSequence(pos, size), size - pos); text 574 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private final CharSequence text; text 612 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private Tokenizer(final CharSequence text) { text 613 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java this.text = text; text 614 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java this.matcher = WHITESPACE.matcher(text); text 631 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (text.charAt(pos) == '\n') { text 651 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java currentToken = String.valueOf(text.charAt(pos)); text 1037 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final StringBuilder text = new StringBuilder(); text 1045 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java text.append(buffer, 0, n); text 1047 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return text; text 1437 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java static int parseInt32(final String text) throws NumberFormatException { text 1438 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return (int) parseInteger(text, true, false); text 1448 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java static int parseUInt32(final String text) throws NumberFormatException { text 1449 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return (int) parseInteger(text, false, false); text 1457 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java static long parseInt64(final String text) throws NumberFormatException { text 1458 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return parseInteger(text, true, true); text 1468 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java static long parseUInt64(final String text) throws NumberFormatException { text 1469 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java return parseInteger(text, false, true); text 1472 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java private static long parseInteger(final String text, text 1479 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (text.startsWith("-", pos)) { text 1481 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java throw new NumberFormatException("Number must be positive: " + text); text 1488 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java if (text.startsWith("0x", pos)) { text 1491 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java } else if (text.startsWith("0", pos)) { text 1495 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java final String numberText = text.substring(pos); text 1512 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java "Number out of range for 32-bit signed integer: " + text); text 1517 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java "Number out of range for 32-bit unsigned integer: " + text); text 1532 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java "Number out of range for 32-bit signed integer: " + text); text 1537 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java "Number out of range for 32-bit unsigned integer: " + text); text 1544 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java "Number out of range for 64-bit signed integer: " + text); text 1549 third_party/protobuf/java/src/main/java/com/google/protobuf/TextFormat.java "Number out of range for 64-bit unsigned integer: " + text); text 498 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java String text = input.readString(); text 499 third_party/protobuf/java/src/test/java/com/google/protobuf/CodedInputStreamTest.java assertEquals(0xfffd, text.charAt(0)); text 400 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java private void assertParseError(String error, String text) { text 403 third_party/protobuf/java/src/test/java/com/google/protobuf/TextFormatTest.java TextFormat.merge(text, TestUtil.getExtensionRegistry(), builder); text 59 third_party/protobuf/src/google/protobuf/compiler/code_generator.cc void ParseGeneratorParameter(const string& text, text 62 third_party/protobuf/src/google/protobuf/compiler/code_generator.cc SplitStringUsing(text, ",", &parts); text 109 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc static bool IsWindowsAbsolutePath(const string& text) { text 111 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc return text.size() >= 3 && text[1] == ':' && text 112 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc isalpha(text[0]) && text 113 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc (text[2] == '/' || text[2] == '\\') && text 114 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.cc text.find_last_of(':') == 1; text 181 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h void SetVersionInfo(const string& text) { text 182 third_party/protobuf/src/google/protobuf/compiler/command_line_interface.h version_info_ = text; text 1428 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc string StripCR(const string& text) { text 1431 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc for (int i = 0; i < text.size(); i++) { text 1432 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc if (text[i] != '\r') { text 1433 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc result.push_back(text[i]); text 68 third_party/protobuf/src/google/protobuf/compiler/importer.cc static bool IsWindowsAbsolutePath(const string& text) { text 70 third_party/protobuf/src/google/protobuf/compiler/importer.cc return text.size() >= 3 && text[1] == ':' && text 71 third_party/protobuf/src/google/protobuf/compiler/importer.cc isalpha(text[0]) && text 72 third_party/protobuf/src/google/protobuf/compiler/importer.cc (text[2] == '/' || text[2] == '\\') && text 73 third_party/protobuf/src/google/protobuf/compiler/importer.cc text.find_last_of(':') == 1; text 106 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc void AddFile(const string& filename, const char* text) { text 107 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc source_tree_.AddFile(filename, text); text 275 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc bool AllAscii(const string& text) { text 276 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc for (int i = 0; i < text.size(); i++) { text 277 third_party/protobuf/src/google/protobuf/compiler/java/java_helpers.cc if ((text[i] & 0x80) != 0) { text 110 third_party/protobuf/src/google/protobuf/compiler/parser.cc inline bool Parser::LookingAt(const char* text) { text 111 third_party/protobuf/src/google/protobuf/compiler/parser.cc return input_->current().text == text; text 122 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::TryConsume(const char* text) { text 123 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (LookingAt(text)) { text 131 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::Consume(const char* text, const char* error) { text 132 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (TryConsume(text)) { text 140 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::Consume(const char* text) { text 141 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (TryConsume(text)) { text 144 third_party/protobuf/src/google/protobuf/compiler/parser.cc AddError("Expected \"" + string(text) + "\"."); text 151 third_party/protobuf/src/google/protobuf/compiler/parser.cc *output = input_->current().text; text 163 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (!io::Tokenizer::ParseInteger(input_->current().text, text 194 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, text 210 third_party/protobuf/src/google/protobuf/compiler/parser.cc *output = io::Tokenizer::ParseFloat(input_->current().text); text 216 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (!io::Tokenizer::ParseInteger(input_->current().text, text 240 third_party/protobuf/src/google/protobuf/compiler/parser.cc io::Tokenizer::ParseString(input_->current().text, output); text 244 third_party/protobuf/src/google/protobuf/compiler/parser.cc io::Tokenizer::ParseStringAppend(input_->current().text, output); text 254 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::TryConsumeEndOfDeclaration(const char* text, text 256 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (LookingAt(text)) { text 273 third_party/protobuf/src/google/protobuf/compiler/parser.cc bool Parser::ConsumeEndOfDeclaration(const char* text, text 275 third_party/protobuf/src/google/protobuf/compiler/parser.cc if (TryConsumeEndOfDeclaration(text, location)) { text 278 third_party/protobuf/src/google/protobuf/compiler/parser.cc AddError("Expected \"" + string(text) + "\"."); text 949 third_party/protobuf/src/google/protobuf/compiler/parser.cc value->append(input_->current().text); text 1465 third_party/protobuf/src/google/protobuf/compiler/parser.cc TypeNameMap::const_iterator iter = kTypeNames.find(input_->current().text); text 1478 third_party/protobuf/src/google/protobuf/compiler/parser.cc TypeNameMap::const_iterator iter = kTypeNames.find(input_->current().text); text 1487 third_party/protobuf/src/google/protobuf/compiler/parser.cc *type_name = input_->current().text; text 148 third_party/protobuf/src/google/protobuf/compiler/parser.h inline bool LookingAt(const char* text); text 154 third_party/protobuf/src/google/protobuf/compiler/parser.h bool TryConsume(const char* text); text 161 third_party/protobuf/src/google/protobuf/compiler/parser.h bool Consume(const char* text, const char* error); text 164 third_party/protobuf/src/google/protobuf/compiler/parser.h bool Consume(const char* text); text 189 third_party/protobuf/src/google/protobuf/compiler/parser.h bool TryConsumeEndOfDeclaration(const char* text, text 191 third_party/protobuf/src/google/protobuf/compiler/parser.h bool ConsumeEndOfDeclaration(const char* text, text 105 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc void SetupParser(const char* text) { text 106 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc raw_input_.reset(new io::ArrayInputStream(text, strlen(text))); text 139 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc void ExpectHasErrors(const char* text, const char* expected_errors) { text 140 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ExpectHasEarlyExitErrors(text, expected_errors); text 146 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc void ExpectHasEarlyExitErrors(const char* text, const char* expected_errors) { text 147 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc SetupParser(text); text 155 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc void ExpectHasValidationErrors(const char* text, text 157 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc SetupParser(text); text 1488 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc bool Parse(const char* text) { text 1489 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ExtractMarkers(text); text 1664 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc void ExtractMarkers(const char* text) { text 1669 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc while (*text != '\0') { text 1670 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (*text == '$') { text 1671 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ++text; text 1672 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc GOOGLE_CHECK_NE('\0', *text); text 1673 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc if (*text == '$') { text 1677 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc markers_[*text] = make_pair(line, column); text 1678 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ++text; text 1679 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc GOOGLE_CHECK_EQ('$', *text); text 1681 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc } else if (*text == '\n') { text 1684 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc text_without_markers_ += *text; text 1686 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc text_without_markers_ += *text; text 1689 third_party/protobuf/src/google/protobuf/compiler/parser_unittest.cc ++text; text 59 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::Print(const map<string, string>& variables, const char* text) { text 60 third_party/protobuf/src/google/protobuf/io/printer.cc int size = strlen(text); text 64 third_party/protobuf/src/google/protobuf/io/printer.cc if (text[i] == '\n') { text 67 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(text + pos, i - pos + 1); text 74 third_party/protobuf/src/google/protobuf/io/printer.cc } else if (text[i] == variable_delimiter_) { text 78 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(text + pos, i - pos); text 82 third_party/protobuf/src/google/protobuf/io/printer.cc const char* end = strchr(text + pos, variable_delimiter_); text 85 third_party/protobuf/src/google/protobuf/io/printer.cc end = text + pos; text 87 third_party/protobuf/src/google/protobuf/io/printer.cc int endpos = end - text; text 89 third_party/protobuf/src/google/protobuf/io/printer.cc string varname(text + pos, endpos - pos); text 110 third_party/protobuf/src/google/protobuf/io/printer.cc WriteRaw(text + pos, size - pos); text 113 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::Print(const char* text) { text 115 third_party/protobuf/src/google/protobuf/io/printer.cc Print(empty, text); text 118 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::Print(const char* text, text 122 third_party/protobuf/src/google/protobuf/io/printer.cc Print(vars, text); text 125 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::Print(const char* text, text 131 third_party/protobuf/src/google/protobuf/io/printer.cc Print(vars, text); text 134 third_party/protobuf/src/google/protobuf/io/printer.cc void Printer::Print(const char* text, text 142 third_party/protobuf/src/google/protobuf/io/printer.cc Print(vars, text); text 76 third_party/protobuf/src/google/protobuf/io/printer.h void Print(const map<string, string>& variables, const char* text); text 79 third_party/protobuf/src/google/protobuf/io/printer.h void Print(const char* text); text 81 third_party/protobuf/src/google/protobuf/io/printer.h void Print(const char* text, const char* variable, const string& value); text 83 third_party/protobuf/src/google/protobuf/io/printer.h void Print(const char* text, const char* variable1, const string& value1, text 86 third_party/protobuf/src/google/protobuf/io/printer.h void Print(const char* text, const char* variable1, const string& value1, text 289 third_party/protobuf/src/google/protobuf/io/tokenizer.cc current_.text.clear(); text 292 third_party/protobuf/src/google/protobuf/io/tokenizer.cc RecordTo(¤t_.text); text 536 third_party/protobuf/src/google/protobuf/io/tokenizer.cc current_.text = "/"; text 632 third_party/protobuf/src/google/protobuf/io/tokenizer.cc current_.text.clear(); text 814 third_party/protobuf/src/google/protobuf/io/tokenizer.cc current_.text == "}" || text 815 third_party/protobuf/src/google/protobuf/io/tokenizer.cc current_.text == "]" || text 816 third_party/protobuf/src/google/protobuf/io/tokenizer.cc current_.text == ")") { text 835 third_party/protobuf/src/google/protobuf/io/tokenizer.cc bool Tokenizer::ParseInteger(const string& text, uint64 max_value, text 842 third_party/protobuf/src/google/protobuf/io/tokenizer.cc const char* ptr = text.c_str(); text 860 third_party/protobuf/src/google/protobuf/io/tokenizer.cc " tokenized as an integer: " << CEscape(text); text 872 third_party/protobuf/src/google/protobuf/io/tokenizer.cc double Tokenizer::ParseFloat(const string& text) { text 873 third_party/protobuf/src/google/protobuf/io/tokenizer.cc const char* start = text.c_str(); text 891 third_party/protobuf/src/google/protobuf/io/tokenizer.cc GOOGLE_LOG_IF(DFATAL, end - start != text.size() || *start == '-') text 893 third_party/protobuf/src/google/protobuf/io/tokenizer.cc " tokenized as a float: " << CEscape(text); text 1011 third_party/protobuf/src/google/protobuf/io/tokenizer.cc void Tokenizer::ParseStringAppend(const string& text, string* output) { text 1014 third_party/protobuf/src/google/protobuf/io/tokenizer.cc const size_t text_size = text.size(); text 1018 third_party/protobuf/src/google/protobuf/io/tokenizer.cc " have been tokenized as a string: " << CEscape(text); text 1034 third_party/protobuf/src/google/protobuf/io/tokenizer.cc for (const char* ptr = text.c_str() + 1; *ptr != '\0'; ptr++) { text 1081 third_party/protobuf/src/google/protobuf/io/tokenizer.cc } else if (*ptr == text[0] && ptr[1] == '\0') { text 118 third_party/protobuf/src/google/protobuf/io/tokenizer.h string text; // The exact text of the token as it appeared in text 193 third_party/protobuf/src/google/protobuf/io/tokenizer.h static double ParseFloat(const string& text); text 198 third_party/protobuf/src/google/protobuf/io/tokenizer.h static void ParseString(const string& text, string* output); text 201 third_party/protobuf/src/google/protobuf/io/tokenizer.h static void ParseStringAppend(const string& text, string* output); text 208 third_party/protobuf/src/google/protobuf/io/tokenizer.h static bool ParseInteger(const string& text, uint64 max_value, text 375 third_party/protobuf/src/google/protobuf/io/tokenizer.h inline void Tokenizer::ParseString(const string& text, string* output) { text 377 third_party/protobuf/src/google/protobuf/io/tokenizer.h ParseStringAppend(text, output); text 181 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc uint64 ParseInteger(const string& text) { text 183 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_TRUE(Tokenizer::ParseInteger(text, kuint64max, &result)); text 258 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("", tokenizer.current().text); text 269 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(kSimpleTokenCases_case.input, tokenizer.current().text); text 281 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("", tokenizer.current().text); text 295 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc const char* text = "1f 2.5f 6e3f 7F"; text 296 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(text, strlen(text), kBlockSizes_case); text 303 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(tokenizer.current().text, "1f"); text 306 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(tokenizer.current().text, "2.5f"); text 309 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(tokenizer.current().text, "6e3f"); text 312 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(tokenizer.current().text, "7F"); text 438 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("", tokenizer.current().text); text 449 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc SCOPED_TRACE(testing::Message() << "Token #" << i << ": " << token.text); text 462 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(previous.text, tokenizer.previous().text); text 469 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(token.text, tokenizer.current().text); text 487 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc const char* text = "foo # bar\n" text 497 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(text, strlen(text), kBlockSizes_case); text 505 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ(tokenizer.current().text, kTokens[i]); text 697 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("prev", tokenizer.current().text); text 698 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("prev", tokenizer2.current().text); text 706 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("next", tokenizer.current().text); text 707 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc EXPECT_EQ("next", tokenizer2.current().text); text 967 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc last_was_foo = tokenizer.current().text == "foo"; text 982 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc string text = "foo bar"; text 983 third_party/protobuf/src/google/protobuf/io/tokenizer_unittest.cc TestInputStream input(text.data(), text.size(), kBlockSizes_case); text 95 third_party/protobuf/src/google/protobuf/stubs/common_unittest.cc string text = GetCapturedTestStderr(); text 100 third_party/protobuf/src/google/protobuf/stubs/common_unittest.cc text); text 113 third_party/protobuf/src/google/protobuf/stubs/common_unittest.cc string text = GetCapturedTestStderr(); text 114 third_party/protobuf/src/google/protobuf/stubs/common_unittest.cc EXPECT_EQ("", text); text 1175 third_party/protobuf/src/google/protobuf/stubs/strutil.cc double NoLocaleStrtod(const char* text, char** original_endptr) { text 1183 third_party/protobuf/src/google/protobuf/stubs/strutil.cc double result = strtod(text, &temp_endptr); text 1190 third_party/protobuf/src/google/protobuf/stubs/strutil.cc string localized = LocalizeRadix(text, temp_endptr); text 1195 third_party/protobuf/src/google/protobuf/stubs/strutil.cc (temp_endptr - text)) { text 1200 third_party/protobuf/src/google/protobuf/stubs/strutil.cc int size_diff = localized.size() - strlen(text); text 1203 third_party/protobuf/src/google/protobuf/stubs/strutil.cc text + (localized_endptr - localized_cstr - size_diff)); text 462 third_party/protobuf/src/google/protobuf/stubs/strutil.h LIBPROTOBUF_EXPORT double NoLocaleStrtod(const char* text, char** endptr); text 59 third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc const char* text = "1.5f"; text 61 third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc EXPECT_EQ(1.5, NoLocaleStrtod(text, &endptr)); text 62 third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc EXPECT_EQ(3, endptr - text); text 73 third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc EXPECT_EQ(1.5, NoLocaleStrtod(text, &endptr)); text 74 third_party/protobuf/src/google/protobuf/stubs/strutil_unittest.cc EXPECT_EQ(3, endptr - text); text 694 third_party/protobuf/src/google/protobuf/text_format.cc string text = tokenizer_.current().text; text 695 third_party/protobuf/src/google/protobuf/text_format.cc LowerString(&text); text 696 third_party/protobuf/src/google/protobuf/text_format.cc if (text != "inf" && text 697 third_party/protobuf/src/google/protobuf/text_format.cc text != "infinity" && text 698 third_party/protobuf/src/google/protobuf/text_format.cc text != "nan") { text 699 third_party/protobuf/src/google/protobuf/text_format.cc ReportError("Invalid float number: " + text); text 708 third_party/protobuf/src/google/protobuf/text_format.cc bool LookingAt(const string& text) { text 709 third_party/protobuf/src/google/protobuf/text_format.cc return tokenizer_.current().text == text; text 725 third_party/protobuf/src/google/protobuf/text_format.cc *identifier = tokenizer_.current().text; text 733 third_party/protobuf/src/google/protobuf/text_format.cc bool ConsumeString(string* text) { text 739 third_party/protobuf/src/google/protobuf/text_format.cc text->clear(); text 741 third_party/protobuf/src/google/protobuf/text_format.cc io::Tokenizer::ParseStringAppend(tokenizer_.current().text, text); text 757 third_party/protobuf/src/google/protobuf/text_format.cc if (!io::Tokenizer::ParseInteger(tokenizer_.current().text, text 817 third_party/protobuf/src/google/protobuf/text_format.cc *value = io::Tokenizer::ParseFloat(tokenizer_.current().text); text 822 third_party/protobuf/src/google/protobuf/text_format.cc string text = tokenizer_.current().text; text 823 third_party/protobuf/src/google/protobuf/text_format.cc LowerString(&text); text 824 third_party/protobuf/src/google/protobuf/text_format.cc if (text == "inf" || text 825 third_party/protobuf/src/google/protobuf/text_format.cc text == "infinity") { text 828 third_party/protobuf/src/google/protobuf/text_format.cc } else if (text == "nan") { text 851 third_party/protobuf/src/google/protobuf/text_format.cc const string& current_value = tokenizer_.current().text; text 867 third_party/protobuf/src/google/protobuf/text_format.cc if (tokenizer_.current().text == value) { text 960 third_party/protobuf/src/google/protobuf/text_format.cc void Print(const char* text) { text 961 third_party/protobuf/src/google/protobuf/text_format.cc Print(text, strlen(text)); text 965 third_party/protobuf/src/google/protobuf/text_format.cc void Print(const char* text, int size) { text 969 third_party/protobuf/src/google/protobuf/text_format.cc if (text[i] == '\n') { text 972 third_party/protobuf/src/google/protobuf/text_format.cc Write(text + pos, i - pos + 1); text 982 third_party/protobuf/src/google/protobuf/text_format.cc Write(text + pos, size - pos); text 154 third_party/protobuf/src/google/protobuf/text_format_unittest.cc string text; text 155 third_party/protobuf/src/google/protobuf/text_format_unittest.cc printer.PrintToString(proto_, &text); text 164 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text); text 168 third_party/protobuf/src/google/protobuf/text_format_unittest.cc printer.PrintToString(proto_, &text); text 177 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text); text 286 third_party/protobuf/src/google/protobuf/text_format_unittest.cc string text; text 289 third_party/protobuf/src/google/protobuf/text_format_unittest.cc EXPECT_TRUE(TextFormat::PrintUnknownFieldsToString(unknown_fields, &text)); text 297 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text); text 309 third_party/protobuf/src/google/protobuf/text_format_unittest.cc string text; text 312 third_party/protobuf/src/google/protobuf/text_format_unittest.cc EXPECT_TRUE(printer.PrintToString(message, &text)); text 319 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text); text 331 third_party/protobuf/src/google/protobuf/text_format_unittest.cc string text; text 335 third_party/protobuf/src/google/protobuf/text_format_unittest.cc EXPECT_TRUE(printer.PrintToString(message, &text)); text 339 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text); text 505 third_party/protobuf/src/google/protobuf/text_format_unittest.cc static string RemoveRedundantZeros(string text) { text 506 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text = StringReplace(text, "e+0", "e+", true); text 507 third_party/protobuf/src/google/protobuf/text_format_unittest.cc text = StringReplace(text, "e-0", "e-", true); text 508 third_party/protobuf/src/google/protobuf/text_format_unittest.cc return text; text 38 third_party/re2/re2/bitstate.cc bool Search(const StringPiece& text, const StringPiece& context, text 293 third_party/re2/re2/bitstate.cc bool BitState::Search(const StringPiece& text, const StringPiece& context, text 297 third_party/re2/re2/bitstate.cc text_ = text; text 300 third_party/re2/re2/bitstate.cc context_ = text; text 301 third_party/re2/re2/bitstate.cc if (prog_->anchor_start() && context_.begin() != text.begin()) text 303 third_party/re2/re2/bitstate.cc if (prog_->anchor_end() && context_.end() != text.end()) text 314 third_party/re2/re2/bitstate.cc nvisited_ = (prog_->size() * (text.size()+1) + VisitedBits-1) / VisitedBits; text 330 third_party/re2/re2/bitstate.cc cap_[0] = text.begin(); text 331 third_party/re2/re2/bitstate.cc return TrySearch(prog_->start(), text.begin()); text 340 third_party/re2/re2/bitstate.cc for (const char* p = text.begin(); p <= text.end(); p++) { text 349 third_party/re2/re2/bitstate.cc bool Prog::SearchBitState(const StringPiece& text, text 371 third_party/re2/re2/bitstate.cc if (!b.Search(text, context, anchored, longest, match, nmatch)) text 373 third_party/re2/re2/bitstate.cc if (kind == kFullMatch && match[0].end() != text.end()) text 77 third_party/re2/re2/dfa.cc bool Search(const StringPiece& text, const StringPiece& context, text 254 third_party/re2/re2/dfa.cc SearchParams(const StringPiece& text, const StringPiece& context, text 256 third_party/re2/re2/dfa.cc : text(text), context(context), text 267 third_party/re2/re2/dfa.cc StringPiece text; text 1325 third_party/re2/re2/dfa.cc const uint8* bp = BytePtr(params->text.begin()); // start of text text 1327 third_party/re2/re2/dfa.cc const uint8* ep = BytePtr(params->text.end()); // end of text text 1471 third_party/re2/re2/dfa.cc if (params->text.end() == params->context.end()) text 1474 third_party/re2/re2/dfa.cc lastbyte = params->text.end()[0] & 0xFF; text 1476 third_party/re2/re2/dfa.cc if (params->text.begin() == params->context.begin()) text 1479 third_party/re2/re2/dfa.cc lastbyte = params->text.begin()[-1] & 0xFF; text 1614 third_party/re2/re2/dfa.cc const StringPiece& text = params->text; text 1618 third_party/re2/re2/dfa.cc if (text.begin() < context.begin() || text.end() > context.end()) { text 1628 third_party/re2/re2/dfa.cc if (text.begin() == context.begin()) { text 1631 third_party/re2/re2/dfa.cc } else if (text.begin()[-1] == '\n') { text 1634 third_party/re2/re2/dfa.cc } else if (Prog::IsWordChar(text.begin()[-1] & 0xFF)) { text 1642 third_party/re2/re2/dfa.cc if (text.end() == context.end()) { text 1645 third_party/re2/re2/dfa.cc } else if (text.end()[0] == '\n') { text 1648 third_party/re2/re2/dfa.cc } else if (Prog::IsWordChar(text.end()[0] & 0xFF)) { text 1749 third_party/re2/re2/dfa.cc bool DFA::Search(const StringPiece& text, text 1767 third_party/re2/re2/dfa.cc text.as_string().c_str(), anchored, want_earliest_match, text 1772 third_party/re2/re2/dfa.cc SearchParams params(text, context, &l); text 1786 third_party/re2/re2/dfa.cc *epp = text.begin(); text 1788 third_party/re2/re2/dfa.cc *epp = text.end(); text 1871 third_party/re2/re2/dfa.cc bool Prog::SearchDFA(const StringPiece& text, const StringPiece& const_context, text 1878 third_party/re2/re2/dfa.cc context = text; text 1886 third_party/re2/re2/dfa.cc if (carat && context.begin() != text.begin()) text 1888 third_party/re2/re2/dfa.cc if (dollar && context.end() != text.end()) text 1913 third_party/re2/re2/dfa.cc bool matched = dfa->Search(text, context, anchored, text 1920 third_party/re2/re2/dfa.cc if (endmatch && ep != (reversed_ ? text.begin() : text.end())) text 1928 third_party/re2/re2/dfa.cc *match0 = StringPiece(ep, text.end() - ep); text 1930 third_party/re2/re2/dfa.cc *match0 = StringPiece(text.begin(), ep - text.begin()); text 58 third_party/re2/re2/filtered_re2.cc int FilteredRE2::SlowFirstMatch(const StringPiece& text) const { text 60 third_party/re2/re2/filtered_re2.cc if (RE2::PartialMatch(text, *re2_vec_[i])) text 65 third_party/re2/re2/filtered_re2.cc int FilteredRE2::FirstMatch(const StringPiece& text, text 74 third_party/re2/re2/filtered_re2.cc if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) text 80 third_party/re2/re2/filtered_re2.cc const StringPiece& text, text 87 third_party/re2/re2/filtered_re2.cc if (RE2::PartialMatch(text, *re2_vec_[regexps[i]])) text 56 third_party/re2/re2/filtered_re2.h int SlowFirstMatch(const StringPiece& text) const; text 61 third_party/re2/re2/filtered_re2.h int FirstMatch(const StringPiece& text, text 66 third_party/re2/re2/filtered_re2.h bool AllMatches(const StringPiece& text, text 50 third_party/re2/re2/nfa.cc bool Search(const StringPiece& text, const StringPiece& context, text 400 third_party/re2/re2/nfa.cc bool NFA::Search(const StringPiece& text, const StringPiece& const_context, text 408 third_party/re2/re2/nfa.cc context = text; text 410 third_party/re2/re2/nfa.cc if (!StringPieceContains(context, text)) { text 414 third_party/re2/re2/nfa.cc << reinterpret_cast<const void*>(text.begin()) text 415 third_party/re2/re2/nfa.cc << "+" << text.size(); text 419 third_party/re2/re2/nfa.cc if (prog_->anchor_start() && context.begin() != text.begin()) text 421 third_party/re2/re2/nfa.cc if (prog_->anchor_end() && context.end() != text.end()) text 427 third_party/re2/re2/nfa.cc etext_ = text.end(); text 455 third_party/re2/re2/nfa.cc text.as_string().c_str(), context.as_string().c_str(), anchored, text 469 third_party/re2/re2/nfa.cc if (text.begin() > context.begin()) { text 470 third_party/re2/re2/nfa.cc c = text.begin()[-1] & 0xFF; text 475 third_party/re2/re2/nfa.cc for (const char* p = text.begin();; p++) { text 502 third_party/re2/re2/nfa.cc fprintf(stderr, "%c[%#x/%d/%d]:", p > text.end() ? '$' : p == bp ? '^' : c, flag, isword, wasword); text 523 third_party/re2/re2/nfa.cc p = text.end(); text 558 third_party/re2/re2/nfa.cc if (p > text.end()) text 565 third_party/re2/re2/nfa.cc if (!matched_ && (!anchored || p == text.begin())) { text 570 third_party/re2/re2/nfa.cc p < text.end() && (p[0] & 0xFF) != first_byte_) { text 572 third_party/re2/re2/nfa.cc text.end() - p)); text 574 third_party/re2/re2/nfa.cc p = text.end(); text 596 third_party/re2/re2/nfa.cc if (p == text.end()) text 686 third_party/re2/re2/nfa.cc Prog::SearchNFA(const StringPiece& text, const StringPiece& context, text 701 third_party/re2/re2/nfa.cc if (!nfa.Search(text, context, anchor == kAnchored, kind != kFirstMatch, match, nmatch)) text 703 third_party/re2/re2/nfa.cc if (kind == kFullMatch && match[0].end() != text.end()) text 207 third_party/re2/re2/onepass.cc bool Prog::SearchOnePass(const StringPiece& text, text 232 third_party/re2/re2/onepass.cc context = text; text 233 third_party/re2/re2/onepass.cc if (anchor_start() && context.begin() != text.begin()) text 235 third_party/re2/re2/onepass.cc if (anchor_end() && context.end() != text.end()) text 248 third_party/re2/re2/onepass.cc const char* bp = text.begin(); text 249 third_party/re2/re2/onepass.cc const char* ep = text.end(); text 263 third_party/re2/re2/prog.cc uint32 Prog::EmptyFlags(const StringPiece& text, const char* p) { text 267 third_party/re2/re2/prog.cc if (p == text.begin()) text 273 third_party/re2/re2/prog.cc if (p == text.end()) text 275 third_party/re2/re2/prog.cc else if (p < text.end() && p[0] == '\n') text 279 third_party/re2/re2/prog.cc if (p == text.begin() && p == text.end()) { text 281 third_party/re2/re2/prog.cc } else if (p == text.begin()) { text 284 third_party/re2/re2/prog.cc } else if (p == text.end()) { text 262 third_party/re2/re2/prog.h bool SearchNFA(const StringPiece& text, const StringPiece& context, text 272 third_party/re2/re2/prog.h bool SearchDFA(const StringPiece& text, const StringPiece& context, text 293 third_party/re2/re2/prog.h bool SearchOnePass(const StringPiece& text, const StringPiece& context, text 299 third_party/re2/re2/prog.h bool SearchBitState(const StringPiece& text, const StringPiece& context, text 311 third_party/re2/re2/prog.h bool UnsafeSearchBacktrack(const StringPiece& text, text 316 third_party/re2/re2/re2.cc bool RE2::FullMatchN(const StringPiece& text, const RE2& re, text 318 third_party/re2/re2/re2.cc return re.DoMatch(text, ANCHOR_BOTH, NULL, args, n); text 321 third_party/re2/re2/re2.cc bool RE2::PartialMatchN(const StringPiece& text, const RE2& re, text 323 third_party/re2/re2/re2.cc return re.DoMatch(text, UNANCHORED, NULL, args, n); text 427 third_party/re2/re2/re2.cc bool RE2::Extract(const StringPiece &text, text 436 third_party/re2/re2/re2.cc if (!re.Match(text, 0, text.size(), UNANCHORED, vec, nvec)) text 543 third_party/re2/re2/re2.cc bool RE2::Match(const StringPiece& text, text 555 third_party/re2/re2/re2.cc if (startpos < 0 || startpos > endpos || endpos > text.size()) { text 561 third_party/re2/re2/re2.cc StringPiece subtext = text; text 563 third_party/re2/re2/re2.cc subtext.remove_suffix(text.size() - endpos); text 632 third_party/re2/re2/re2.cc if (!prog_->SearchDFA(subtext, text, anchor, kind, text 661 third_party/re2/re2/re2.cc if (!prog->SearchDFA(match, text, Prog::kAnchored, text 700 third_party/re2/re2/re2.cc if (can_one_pass && text.size() <= 4096 && text 701 third_party/re2/re2/re2.cc (ncap > 1 || text.size() <= 8)) { text 709 third_party/re2/re2/re2.cc if (can_bit_state && text.size() <= bit_state_text_max && ncap > 1) { text 717 third_party/re2/re2/re2.cc if (!prog_->SearchDFA(subtext, text, anchor, kind, text 760 third_party/re2/re2/re2.cc if (!prog_->SearchOnePass(subtext1, text, anchor, kind, submatch, ncap)) { text 770 third_party/re2/re2/re2.cc if (!prog_->SearchBitState(subtext1, text, anchor, text 781 third_party/re2/re2/re2.cc if (!prog_->SearchNFA(subtext1, text, anchor, kind, submatch, ncap)) { text 801 third_party/re2/re2/re2.cc bool RE2::DoMatch(const StringPiece& text, text 830 third_party/re2/re2/re2.cc if (!Match(text, 0, text.size(), anchor, vec, nvec)) { text 836 third_party/re2/re2/re2.cc *consumed = vec[0].end() - text.begin(); text 328 third_party/re2/re2/re2.h static bool FullMatchN(const StringPiece& text, const RE2& re, text 335 third_party/re2/re2/re2.h static bool PartialMatchN(const StringPiece& text, const RE2& re, // 3..16 args text 397 third_party/re2/re2/re2.h static bool Extract(const StringPiece &text, text 472 third_party/re2/re2/re2.h bool Match(const StringPiece& text, text 684 third_party/re2/re2/re2.h bool DoMatch(const StringPiece& text, text 94 third_party/re2/re2/set.cc bool RE2::Set::Match(const StringPiece& text, vector<int>* v) const { text 101 third_party/re2/re2/set.cc bool ret = prog_->SearchDFA(text, text, Prog::kAnchored, text 40 third_party/re2/re2/set.h bool Match(const StringPiece& text, vector<int>* v) const; text 53 third_party/re2/re2/testing/backtrack.cc bool Search(const StringPiece& text, const StringPiece& context, text 94 third_party/re2/re2/testing/backtrack.cc bool Backtracker::Search(const StringPiece& text, const StringPiece& context, text 97 third_party/re2/re2/testing/backtrack.cc text_ = text; text 100 third_party/re2/re2/testing/backtrack.cc context_ = text; text 101 third_party/re2/re2/testing/backtrack.cc if (prog_->anchor_start() && text.begin() > context_.begin()) text 103 third_party/re2/re2/testing/backtrack.cc if (prog_->anchor_end() && text.end() < context_.end()) text 125 third_party/re2/re2/testing/backtrack.cc nvisited_ = (prog_->size()*(text.size()+1) + 31)/32; text 131 third_party/re2/re2/testing/backtrack.cc cap_[0] = text.begin(); text 132 third_party/re2/re2/testing/backtrack.cc return Visit(prog_->start(), text.begin()); text 138 third_party/re2/re2/testing/backtrack.cc for (const char* p = text.begin(); p <= text.end(); p++) { text 225 third_party/re2/re2/testing/backtrack.cc bool Prog::UnsafeSearchBacktrack(const StringPiece& text, text 247 third_party/re2/re2/testing/backtrack.cc if (!b.Search(text, context, anchored, longest, match, nmatch)) text 249 third_party/re2/re2/testing/backtrack.cc if (kind == kFullMatch && match[0].end() != text.end()) text 311 third_party/re2/re2/testing/dfa_test.cc const char *text; text 333 third_party/re2/re2/testing/dfa_test.cc bool matched = prog->SearchDFA(t.text, NULL, Prog::kUnanchored, Prog::kFirstMatch, NULL, &failed, NULL); text 335 third_party/re2/re2/testing/dfa_test.cc LOG(ERROR) << t.regexp << " on " << t.text << ": want " << t.match; text 222 third_party/re2/re2/testing/filtered_re2_test.cc string text = "0123"; text 225 third_party/re2/re2/testing/filtered_re2_test.cc EXPECT_EQ(0, v.f.FirstMatch(text, atom_ids)); text 242 third_party/re2/re2/testing/filtered_re2_test.cc string text = "abc121212xyz"; text 249 third_party/re2/re2/testing/filtered_re2_test.cc v.f.AllMatches(text, atom_ids, &matching_regexps); text 252 third_party/re2/re2/testing/filtered_re2_test.cc text = "abc12312yyyzzz"; text 258 third_party/re2/re2/testing/filtered_re2_test.cc v.f.AllMatches(text, atom_ids, &matching_regexps); text 261 third_party/re2/re2/testing/filtered_re2_test.cc text = "abcd12yyy32yyyzzz"; text 271 third_party/re2/re2/testing/filtered_re2_test.cc v.f.AllMatches(text, atom_ids, &matching_regexps); text 1157 third_party/re2/re2/testing/re2_test.cc string text = "A fish named *Wanda*"; text 1158 third_party/re2/re2/testing/re2_test.cc StringPiece sp(text); text 1231 third_party/re2/re2/testing/re2_test.cc const char* text; text 1247 third_party/re2/re2/testing/re2_test.cc EXPECT_FALSE(re.PartialMatch(t.text, re)); text 1250 third_party/re2/re2/testing/re2_test.cc EXPECT_TRUE(re.PartialMatch(t.text, re, &m)); text 29 third_party/re2/re2/testing/regexp_benchmark.cc const char* text = "650-253-0001"; text 31 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 43 third_party/re2/re2/testing/regexp_benchmark.cc const char* text = "650-253-0001"; text 60 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 71 third_party/re2/re2/testing/regexp_benchmark.cc PCRE::FullMatch(text, re); text 80 third_party/re2/re2/testing/regexp_benchmark.cc PCRE::FullMatch(text, *re); text 90 third_party/re2/re2/testing/regexp_benchmark.cc RE2::FullMatch(text, re); text 105 third_party/re2/re2/testing/regexp_benchmark.cc typedef void SearchImpl(int iters, const char* regexp, const StringPiece& text, text 113 third_party/re2/re2/testing/regexp_benchmark.cc typedef void ParseImpl(int iters, const char* regexp, const StringPiece& text); text 137 third_party/re2/re2/testing/regexp_benchmark.cc void MakeText(string* text, int nbytes) { text 138 third_party/re2/re2/testing/regexp_benchmark.cc text->resize(nbytes); text 142 third_party/re2/re2/testing/regexp_benchmark.cc (*text)[i] = '\n'; text 144 third_party/re2/re2/testing/regexp_benchmark.cc (*text)[i] = rand()%(0x7E + 1 - 0x20)+0x20; text 347 third_party/re2/re2/testing/regexp_benchmark.cc const char *text = "650-253-0001"; text 348 third_party/re2/re2/testing/regexp_benchmark.cc int len = strlen(text); text 351 third_party/re2/re2/testing/regexp_benchmark.cc StringPiece(text, len), Prog::kAnchored, true); text 801 third_party/re2/re2/testing/regexp_benchmark.cc void SearchDFA(int iters, const char* regexp, const StringPiece& text, text 809 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchDFA(text, NULL, anchor, Prog::kFirstMatch, text 818 third_party/re2/re2/testing/regexp_benchmark.cc void SearchNFA(int iters, const char* regexp, const StringPiece& text, text 825 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), text 832 third_party/re2/re2/testing/regexp_benchmark.cc void SearchOnePass(int iters, const char* regexp, const StringPiece& text, text 840 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), text 847 third_party/re2/re2/testing/regexp_benchmark.cc void SearchBitState(int iters, const char* regexp, const StringPiece& text, text 854 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), text 861 third_party/re2/re2/testing/regexp_benchmark.cc void SearchPCRE(int iters, const char* regexp, const StringPiece& text, text 867 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(PCRE::FullMatch(text, re), expect_match); text 869 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(PCRE::PartialMatch(text, re), expect_match); text 873 third_party/re2/re2/testing/regexp_benchmark.cc void SearchRE2(int iters, const char* regexp, const StringPiece& text, text 879 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(RE2::FullMatch(text, re), expect_match); text 881 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(RE2::PartialMatch(text, re), expect_match); text 889 third_party/re2/re2/testing/regexp_benchmark.cc void SearchCachedDFA(int iters, const char* regexp, const StringPiece& text, text 897 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchDFA(text, NULL, anchor, text 906 third_party/re2/re2/testing/regexp_benchmark.cc void SearchCachedNFA(int iters, const char* regexp, const StringPiece& text, text 913 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchNFA(text, NULL, anchor, Prog::kFirstMatch, NULL, 0), text 920 third_party/re2/re2/testing/regexp_benchmark.cc void SearchCachedOnePass(int iters, const char* regexp, const StringPiece& text, text 928 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchOnePass(text, text, anchor, Prog::kFirstMatch, NULL, 0), text 934 third_party/re2/re2/testing/regexp_benchmark.cc void SearchCachedBitState(int iters, const char* regexp, const StringPiece& text, text 941 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(prog->SearchBitState(text, text, anchor, Prog::kFirstMatch, NULL, 0), text 947 third_party/re2/re2/testing/regexp_benchmark.cc void SearchCachedPCRE(int iters, const char* regexp, const StringPiece& text, text 953 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(PCRE::FullMatch(text, re), expect_match); text 955 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(PCRE::PartialMatch(text, re), expect_match); text 959 third_party/re2/re2/testing/regexp_benchmark.cc void SearchCachedRE2(int iters, const char* regexp, const StringPiece& text, text 965 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(RE2::FullMatch(text, re), expect_match); text 967 third_party/re2/re2/testing/regexp_benchmark.cc CHECK_EQ(RE2::PartialMatch(text, re), expect_match); text 975 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3NFA(int iters, const char* regexp, const StringPiece& text) { text 982 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 988 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3OnePass(int iters, const char* regexp, const StringPiece& text) { text 996 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1002 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3BitState(int iters, const char* regexp, const StringPiece& text) { text 1009 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1015 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3Backtrack(int iters, const char* regexp, const StringPiece& text) { text 1022 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->UnsafeSearchBacktrack(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1028 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3PCRE(int iters, const char* regexp, const StringPiece& text) { text 1033 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3)); text 1037 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3RE2(int iters, const char* regexp, const StringPiece& text) { text 1042 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::FullMatch(text, re, &sp1, &sp2, &sp3)); text 1046 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3CachedNFA(int iters, const char* regexp, const StringPiece& text) { text 1053 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1059 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3CachedOnePass(int iters, const char* regexp, const StringPiece& text) { text 1067 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1072 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3CachedBitState(int iters, const char* regexp, const StringPiece& text) { text 1079 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1084 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3CachedBacktrack(int iters, const char* regexp, const StringPiece& text) { text 1091 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->UnsafeSearchBacktrack(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 4)); text 1096 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3CachedPCRE(int iters, const char* regexp, const StringPiece& text) { text 1101 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::FullMatch(text, re, &sp1, &sp2, &sp3)); text 1105 third_party/re2/re2/testing/regexp_benchmark.cc void Parse3CachedRE2(int iters, const char* regexp, const StringPiece& text) { text 1110 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::FullMatch(text, re, &sp1, &sp2, &sp3)); text 1118 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1NFA(int iters, const char* regexp, const StringPiece& text) { text 1125 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1131 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1OnePass(int iters, const char* regexp, const StringPiece& text) { text 1139 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1145 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1BitState(int iters, const char* regexp, const StringPiece& text) { text 1152 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1158 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1PCRE(int iters, const char* regexp, const StringPiece& text) { text 1163 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::FullMatch(text, re, &sp1)); text 1167 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1RE2(int iters, const char* regexp, const StringPiece& text) { text 1172 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::FullMatch(text, re, &sp1)); text 1176 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1CachedNFA(int iters, const char* regexp, const StringPiece& text) { text 1183 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchNFA(text, NULL, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1189 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1CachedOnePass(int iters, const char* regexp, const StringPiece& text) { text 1197 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchOnePass(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1202 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1CachedBitState(int iters, const char* regexp, const StringPiece& text) { text 1209 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->SearchBitState(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1214 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1CachedBacktrack(int iters, const char* regexp, const StringPiece& text) { text 1221 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(prog->UnsafeSearchBacktrack(text, text, Prog::kAnchored, Prog::kFullMatch, sp, 2)); text 1226 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1CachedPCRE(int iters, const char* regexp, const StringPiece& text) { text 1231 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::FullMatch(text, re, &sp1)); text 1235 third_party/re2/re2/testing/regexp_benchmark.cc void Parse1CachedRE2(int iters, const char* regexp, const StringPiece& text) { text 1240 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::FullMatch(text, re, &sp1)); text 1245 third_party/re2/re2/testing/regexp_benchmark.cc const StringPiece& text) { text 1250 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::PartialMatch(text, re, &sp1, &sp2)); text 1255 third_party/re2/re2/testing/regexp_benchmark.cc const StringPiece& text) { text 1260 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::PartialMatch(text, re, &sp1, &sp2)); text 1265 third_party/re2/re2/testing/regexp_benchmark.cc const StringPiece& text) { text 1270 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(PCRE::PartialMatch(text, re, &sp1)); text 1275 third_party/re2/re2/testing/regexp_benchmark.cc const StringPiece& text) { text 1280 third_party/re2/re2/testing/regexp_benchmark.cc CHECK(RE2::PartialMatch(text, re, &sp1)); text 17 third_party/re2/re2/testing/search_test.cc const char* text; text 309 third_party/re2/re2/testing/search_test.cc if (!TestRegexpOnText(t.regexp, t.text)) text 317 third_party/re2/re2/testing/search_test.cc alpha.push_back(StringPiece(t.text).as_string()); text 92 third_party/re2/re2/testing/tester.cc static string FormatCapture(const StringPiece& text, const StringPiece& s) { text 96 third_party/re2/re2/testing/tester.cc static_cast<int>(s.begin() - text.begin()), text 97 third_party/re2/re2/testing/tester.cc static_cast<int>(s.end() - text.begin())); text 101 third_party/re2/re2/testing/tester.cc static bool NonASCII(const StringPiece& text) { text 102 third_party/re2/re2/testing/tester.cc for (int i = 0; i < text.size(); i++) text 103 third_party/re2/re2/testing/tester.cc if ((uint8)text[i] >= 0x80) text 293 third_party/re2/re2/testing/tester.cc StringPiece text = orig_text; text 306 third_party/re2/re2/testing/tester.cc prog_->UnsafeSearchBacktrack(text, context, anchor, kind_, text 317 third_party/re2/re2/testing/tester.cc prog_->SearchNFA(text, context, anchor, kind_, text 327 third_party/re2/re2/testing/tester.cc result->matched = prog_->SearchDFA(text, context, anchor, kind_, NULL, text 337 third_party/re2/re2/testing/tester.cc prog_->SearchDFA(text, context, anchor, kind_, result->submatch, text 347 third_party/re2/re2/testing/tester.cc << " on " << CEscape(text); text 362 third_party/re2/re2/testing/tester.cc result->matched = prog_->SearchOnePass(text, context, anchor, kind_, text 372 third_party/re2/re2/testing/tester.cc result->matched = prog_->SearchBitState(text, context, anchor, kind_, text 380 third_party/re2/re2/testing/tester.cc if (!re2_ || text.end() != context.end()) { text 394 third_party/re2/re2/testing/tester.cc text.begin() - context.begin(), text 395 third_party/re2/re2/testing/tester.cc text.end() - context.begin(), text 402 third_party/re2/re2/testing/tester.cc if (!re_ || text.begin() != context.begin() || text 403 third_party/re2/re2/testing/tester.cc text.end() != context.end()) { text 424 third_party/re2/re2/testing/tester.cc re_->DoMatch(text, text 441 third_party/re2/re2/testing/tester.cc if (result->submatch[i].begin() == text.begin() - 1) text 474 third_party/re2/re2/testing/tester.cc bool TestInstance::RunCase(const StringPiece& text, const StringPiece& context, text 478 third_party/re2/re2/testing/tester.cc RunSearch(kEngineBacktrack, text, context, anchor, &correct); text 487 third_party/re2/re2/testing/tester.cc << " text " << CEscape(text) text 500 third_party/re2/re2/testing/tester.cc RunSearch(i, text, context, anchor, &r); text 503 third_party/re2/re2/testing/tester.cc LogMatch(r.skipped ? "Skipped: " : "Okay: ", i, text, context, anchor); text 512 third_party/re2/re2/testing/tester.cc if (i == kEnginePCRE && NonASCII(text)) text 518 third_party/re2/re2/testing/tester.cc LogMatch(r.untrusted ? "(Untrusted) Mismatch: " : "Mismatch: ", i, text, text 534 third_party/re2/re2/testing/tester.cc FormatCapture(text, correct.submatch[i]).c_str(), text 535 third_party/re2/re2/testing/tester.cc FormatCapture(text, r.submatch[i]).c_str()); text 539 third_party/re2/re2/testing/tester.cc FormatCapture(text, r.submatch[i]).c_str()); text 553 third_party/re2/re2/testing/tester.cc const StringPiece& text, const StringPiece& context, text 562 third_party/re2/re2/testing/tester.cc << CEscape(text) text 564 third_party/re2/re2/testing/tester.cc << text.begin() - context.begin() text 566 third_party/re2/re2/testing/tester.cc << text.end() - context.begin() text 599 third_party/re2/re2/testing/tester.cc bool Tester::TestCase(const StringPiece& text, const StringPiece& context, text 603 third_party/re2/re2/testing/tester.cc okay &= (!v_[i]->error() && v_[i]->RunCase(text, context, anchor)); text 612 third_party/re2/re2/testing/tester.cc bool Tester::TestInput(const StringPiece& text) { text 613 third_party/re2/re2/testing/tester.cc bool okay = TestInputInContext(text, text); text 614 third_party/re2/re2/testing/tester.cc if (text.size() > 0) { text 616 third_party/re2/re2/testing/tester.cc sp = text; text 618 third_party/re2/re2/testing/tester.cc okay &= TestInputInContext(sp, text); text 619 third_party/re2/re2/testing/tester.cc sp = text; text 621 third_party/re2/re2/testing/tester.cc okay &= TestInputInContext(sp, text); text 626 third_party/re2/re2/testing/tester.cc bool Tester::TestInputInContext(const StringPiece& text, text 630 third_party/re2/re2/testing/tester.cc okay &= TestCase(text, context, anchors[i]); text 635 third_party/re2/re2/testing/tester.cc const StringPiece& text) { text 637 third_party/re2/re2/testing/tester.cc return t.TestInput(text); text 62 third_party/re2/re2/testing/tester.h bool RunCase(const StringPiece& text, const StringPiece& context, text 68 third_party/re2/re2/testing/tester.h const StringPiece& text, const StringPiece& context, text 72 third_party/re2/re2/testing/tester.h void LogMatch(const char* prefix, Engine e, const StringPiece& text, text 100 third_party/re2/re2/testing/tester.h bool TestCase(const StringPiece& text, const StringPiece& context, text 104 third_party/re2/re2/testing/tester.h bool TestInput(const StringPiece& text); text 107 third_party/re2/re2/testing/tester.h bool TestInputInContext(const StringPiece& text, const StringPiece& context); text 117 third_party/re2/re2/testing/tester.h bool TestRegexpOnText(const StringPiece& regexp, const StringPiece& text); text 147 third_party/re2/util/pcre.cc bool PCRE::FullMatchFunctor::operator ()(const StringPiece& text, text 187 third_party/re2/util/pcre.cc return re.DoMatchImpl(text, ANCHOR_BOTH, &consumed, args, n, vec, kVecSize); text 190 third_party/re2/util/pcre.cc bool PCRE::PartialMatchFunctor::operator ()(const StringPiece& text, text 230 third_party/re2/util/pcre.cc return re.DoMatchImpl(text, UNANCHORED, &consumed, args, n, vec, kVecSize); text 405 third_party/re2/util/pcre.cc bool PCRE::Extract(const StringPiece &text, text 410 third_party/re2/util/pcre.cc int matches = pattern.TryMatch(text, 0, UNANCHORED, true, vec, kVecSize); text 414 third_party/re2/util/pcre.cc return pattern.Rewrite(out, rewrite, text, vec, matches); text 462 third_party/re2/util/pcre.cc int PCRE::TryMatch(const StringPiece& text, text 502 third_party/re2/util/pcre.cc (text.data() == NULL) ? "" : text.data(), text 503 third_party/re2/util/pcre.cc text.size(), text 527 third_party/re2/util/pcre.cc << " against text that is " << text.size() << " bytes."; text 534 third_party/re2/util/pcre.cc << " against text that is " << text.size() << " bytes."; text 548 third_party/re2/util/pcre.cc << ", text=" << text text 558 third_party/re2/util/pcre.cc bool PCRE::DoMatchImpl(const StringPiece& text, text 566 third_party/re2/util/pcre.cc int matches = TryMatch(text, 0, anchor, true, vec, vecsize); text 588 third_party/re2/util/pcre.cc if (!args[i]->Parse(text.data() + start, limit-start)) { text 597 third_party/re2/util/pcre.cc bool PCRE::DoMatch(const StringPiece& text, text 606 third_party/re2/util/pcre.cc bool b = DoMatchImpl(text, anchor, consumed, args, n, vec, vecsize); text 612 third_party/re2/util/pcre.cc const StringPiece &text, int *vec, int veclen) const { text 633 third_party/re2/util/pcre.cc out->append(text.data() + start, vec[2 * n + 1] - start); text 286 third_party/re2/util/pcre.h bool operator ()(const StringPiece& text, const PCRE& re, // 3..16 args text 310 third_party/re2/util/pcre.h bool operator ()(const StringPiece& text, const PCRE& re, // 3..16 args text 419 third_party/re2/util/pcre.h static bool Extract(const StringPiece &text, text 459 third_party/re2/util/pcre.h bool DoMatch(const StringPiece& text, text 483 third_party/re2/util/pcre.h int TryMatch(const StringPiece& text, text 494 third_party/re2/util/pcre.h const StringPiece &text, text 499 third_party/re2/util/pcre.h bool DoMatchImpl(const StringPiece& text, text 171 third_party/speech-dispatcher/libspeechd.h int spd_say(SPDConnection* connection, SPDPriority priority, const char* text); text 582 third_party/tcmalloc/chromium/src/base/sysinfo.cc static bool ExtractUntilChar(char *text, int c, char **endptr) { text 583 third_party/tcmalloc/chromium/src/base/sysinfo.cc CHECK_NE(text, NULL); text 586 third_party/tcmalloc/chromium/src/base/sysinfo.cc found = strchr(text, c); text 608 third_party/tcmalloc/chromium/src/base/sysinfo.cc static T StringToInteger(char *text, char **endptr, int base) { text 614 third_party/tcmalloc/chromium/src/base/sysinfo.cc int StringToInteger<int>(char *text, char **endptr, int base) { text 615 third_party/tcmalloc/chromium/src/base/sysinfo.cc return strtol(text, endptr, base); text 619 third_party/tcmalloc/chromium/src/base/sysinfo.cc int64 StringToInteger<int64>(char *text, char **endptr, int base) { text 620 third_party/tcmalloc/chromium/src/base/sysinfo.cc return strtoll(text, endptr, base); text 624 third_party/tcmalloc/chromium/src/base/sysinfo.cc uint64 StringToInteger<uint64>(char *text, char **endptr, int base) { text 625 third_party/tcmalloc/chromium/src/base/sysinfo.cc return strtoull(text, endptr, base); text 630 third_party/tcmalloc/chromium/src/base/sysinfo.cc char *text, int base, int c, char **endptr_result) { text 635 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (!ExtractUntilChar(text, c, &endptr_extract)) text 640 third_party/tcmalloc/chromium/src/base/sysinfo.cc result = StringToInteger<T>(text, &endptr_strto, base); text 653 third_party/tcmalloc/chromium/src/base/sysinfo.cc char *text, unsigned out_len, int c, char *out) { text 655 third_party/tcmalloc/chromium/src/base/sysinfo.cc if (!ExtractUntilChar(text, c, &endptr)) text 658 third_party/tcmalloc/chromium/src/base/sysinfo.cc strncpy(out, text, out_len); text 668 third_party/tcmalloc/chromium/src/base/sysinfo.cc T *outptr, char *text, int base, int c, char **endptr) { text 675 third_party/tcmalloc/chromium/src/base/sysinfo.cc static bool ParseProcMapsLine(char *text, uint64 *start, uint64 *end, text 685 third_party/tcmalloc/chromium/src/base/sysinfo.cc char *endptr = text; text 710 third_party/tcmalloc/chromium/src/base/sysinfo.cc *filename_offset = (endptr - text); text 2446 third_party/wtl/include/atlctrls.h BOOL AddTool(HWND hWnd, ATL::_U_STRINGorID text = LPSTR_TEXTCALLBACK, LPCRECT lpRectTool = NULL, UINT nIDTool = 0) text 2453 third_party/wtl/include/atlctrls.h CToolInfo ti(0, hWnd, nIDTool, (LPRECT)lpRectTool, (LPTSTR)text.m_lpstr); text 2509 third_party/wtl/include/atlctrls.h void UpdateTipText(ATL::_U_STRINGorID text, HWND hWnd, UINT nIDTool = 0) text 2514 third_party/wtl/include/atlctrls.h CToolInfo ti(0, hWnd, nIDTool, NULL, (LPTSTR)text.m_lpstr); text 3300 third_party/wtl/include/atldlgs.h #define CONTROL_LTEXT(text, id, x, y, width, height, style, exStyle) \ text 3301 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_LEFT | WS_GROUP, exStyle, text, NULL, 0); text 3302 third_party/wtl/include/atldlgs.h #define CONTROL_CTEXT(text, id, x, y, width, height, style, exStyle) \ text 3303 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_CENTER | WS_GROUP, exStyle, text, NULL, 0); text 3304 third_party/wtl/include/atldlgs.h #define CONTROL_RTEXT(text, id, x, y, width, height, style, exStyle) \ text 3305 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_RIGHT | WS_GROUP, exStyle, text, NULL, 0); text 3306 third_party/wtl/include/atldlgs.h #define CONTROL_PUSHBUTTON(text, id, x, y, width, height, style, exStyle) \ text 3307 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_PUSHBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); text 3308 third_party/wtl/include/atldlgs.h #define CONTROL_DEFPUSHBUTTON(text, id, x, y, width, height, style, exStyle) \ text 3309 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_DEFPUSHBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); text 3311 third_party/wtl/include/atldlgs.h #define CONTROL_PUSHBOX(text, id, x, y, width, height, style, exStyle) \ text 3312 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_PUSHBOX | WS_TABSTOP, exStyle, text, NULL, 0); text 3314 third_party/wtl/include/atldlgs.h #define CONTROL_STATE3(text, id, x, y, width, height, style, exStyle) \ text 3315 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_3STATE | WS_TABSTOP, exStyle, text, NULL, 0); text 3316 third_party/wtl/include/atldlgs.h #define CONTROL_AUTO3STATE(text, id, x, y, width, height, style, exStyle) \ text 3317 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_AUTO3STATE | WS_TABSTOP, exStyle, text, NULL, 0); text 3318 third_party/wtl/include/atldlgs.h #define CONTROL_CHECKBOX(text, id, x, y, width, height, style, exStyle) \ text 3319 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_CHECKBOX | WS_TABSTOP, exStyle, text, NULL, 0); text 3320 third_party/wtl/include/atldlgs.h #define CONTROL_AUTOCHECKBOX(text, id, x, y, width, height, style, exStyle) \ text 3321 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_AUTOCHECKBOX | WS_TABSTOP, exStyle, text, NULL, 0); text 3322 third_party/wtl/include/atldlgs.h #define CONTROL_RADIOBUTTON(text, id, x, y, width, height, style, exStyle) \ text 3323 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_RADIOBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); text 3324 third_party/wtl/include/atldlgs.h #define CONTROL_AUTORADIOBUTTON(text, id, x, y, width, height, style, exStyle) \ text 3325 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_AUTORADIOBUTTON | WS_TABSTOP, exStyle, text, NULL, 0); text 3330 third_party/wtl/include/atldlgs.h #define CONTROL_GROUPBOX(text, id, x, y, width, height, style, exStyle) \ text 3331 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_BUTTON, (WORD)id, x, y, width, height, style | BS_GROUPBOX, exStyle, text, NULL, 0); text 3336 third_party/wtl/include/atldlgs.h #define CONTROL_ICON(text, id, x, y, width, height, style, exStyle) \ text 3337 third_party/wtl/include/atldlgs.h m_Template.AddStdControl(WTL::CMemDlgTemplate::CTRL_STATIC, (WORD)id, x, y, width, height, style | SS_ICON, exStyle, text, NULL, 0); text 3338 third_party/wtl/include/atldlgs.h #define CONTROL_CONTROL(text, id, className, style, x, y, width, height, exStyle) \ text 3339 third_party/wtl/include/atldlgs.h m_Template.AddControl(className, (WORD)id, x, y, width, height, style, exStyle, text, NULL, 0); text 345 third_party/wtl/include/atlfind.h _CSTRING_NS::CString text; text 349 third_party/wtl/include/atlfind.h text = _T("Replaced %d occurances of \"%s\" with \"%s\""); text 352 third_party/wtl/include/atlfind.h text = _T("Replace All"); text 355 third_party/wtl/include/atlfind.h text = _T("Unable to find the text \"%s\""); text 358 third_party/wtl/include/atlfind.h text = _T("Text not found"); text 362 third_party/wtl/include/atlfind.h return text; text 633 third_party/zlib/deflate.c put_byte(s, (s->gzhead->text ? 1 : 0) + text 685 third_party/zlib/inflate.c state->head->text = (int)((hold >> 8) & 1); text 114 third_party/zlib/zlib.h int text; /* true if compressed data believed to be text */ text 150 tools/gn/standard_out.cc void PrintLongHelp(const std::string& text) { text 152 tools/gn/standard_out.cc base::SplitStringDontTrim(text, '\n', &lines); text 33 tools/gn/standard_out.h void PrintLongHelp(const std::string& text); text 63 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc gchar* text = gtk_clipboard_wait_for_text(clip); text 64 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc printf("%s\n", text ? text : "NULL"); text 65 tools/gtk_clipboard_dump/gtk_clipboard_dump.cc g_free(text); text 41 tools/imagediff/image_diff_png.cc std::string text; text 419 tools/imagediff/image_diff_png.cc free(png_text_[i].text); text 442 tools/imagediff/image_diff_png.cc png_text_[pos].text = strdup(comment.text.c_str()); text 443 tools/imagediff/image_diff_png.cc png_text_[pos].text_length = comment.text.length(); text 12 ui/accessibility/ax_text_utils.cc size_t FindAccessibleTextBoundary(const base::string16& text, text 17 ui/accessibility/ax_text_utils.cc size_t text_size = text.size(); text 62 ui/accessibility/ax_text_utils.cc if (IsWhitespace(text[pos])) text 66 ui/accessibility/ax_text_utils.cc if (text[pos] == '\n') text 70 ui/accessibility/ax_text_utils.cc if ((text[pos] == '.' || text[pos] == '!' || text[pos] == '?') && text 71 ui/accessibility/ax_text_utils.cc (pos == text_size - 1 || IsWhitespace(text[pos + 1]))) { text 46 ui/accessibility/ax_text_utils.h FindAccessibleTextBoundary(const base::string16& text, text 51 ui/android/java/resource_map/org/chromium/ui/R.java public static int text; text 49 ui/android/java/src/org/chromium/ui/ColorPickerAdvancedComponent.java mText = (TextView) rootView.findViewById(R.id.text); text 11 ui/android/java/src/org/chromium/ui/ColorSuggestionListAdapter.java import android.text.TextUtils; text 9 ui/android/java/src/org/chromium/ui/autofill/AutofillListAdapter.java import android.text.TextUtils; text 10 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java import android.text.TextUtils; text 106 ui/android/java/src/org/chromium/ui/base/Clipboard.java public void setText(final String label, final String text) { text 107 ui/android/java/src/org/chromium/ui/base/Clipboard.java setPrimaryClipNoException(ClipData.newPlainText(label, text)); text 119 ui/android/java/src/org/chromium/ui/base/Clipboard.java public void setText(final String text) { text 120 ui/android/java/src/org/chromium/ui/base/Clipboard.java setText(null, text); text 132 ui/android/java/src/org/chromium/ui/base/Clipboard.java public void setHTMLText(final String html, final String label, final String text) { text 134 ui/android/java/src/org/chromium/ui/base/Clipboard.java setPrimaryClipNoException(ClipData.newHtmlText(label, text, html)); text 147 ui/android/java/src/org/chromium/ui/base/Clipboard.java public void setHTMLText(final String html, final String text) { text 148 ui/android/java/src/org/chromium/ui/base/Clipboard.java setHTMLText(html, null, text); text 161 ui/android/java/src/org/chromium/ui/base/Clipboard.java String text = mContext.getString(R.string.copy_to_clipboard_failure_message); text 162 ui/android/java/src/org/chromium/ui/base/Clipboard.java Toast.makeText(mContext, text, Toast.LENGTH_SHORT).show(); text 14 ui/android/java/src/org/chromium/ui/base/SelectFileDialog.java import android.text.TextUtils; text 63 ui/app_list/search_box_model.cc void SearchBoxModel::SetText(const base::string16& text) { text 64 ui/app_list/search_box_model.cc if (text_ == text) text 69 ui/app_list/search_box_model.cc if (text_.empty() && !text.empty()) { text 72 ui/app_list/search_box_model.cc text_ = text; text 68 ui/app_list/search_box_model.h void SetText(const base::string16& text); text 69 ui/app_list/search_box_model.h const base::string16& text() const { return text_; } text 238 ui/app_list/views/app_list_main_view.cc base::TrimWhitespace(model_->search_box()->text(), base::TRIM_ALL, &query); text 697 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(expected_text, base::UTF16ToUTF8(title_label->text())); text 713 ui/app_list/views/apps_grid_view_unittest.cc EXPECT_EQ(title, base::UTF16ToUTF8(title_label->text())); text 122 ui/app_list/views/folder_header_view.cc return folder_name_view_->text(); text 147 ui/app_list/views/folder_header_view.cc base::string16 text = folder_item_->name().empty() text 151 ui/app_list/views/folder_header_view.cc gfx::Canvas::GetStringWidth(text, folder_name_view_->GetFontList()); text 191 ui/app_list/views/folder_header_view.cc folder_name_view_->text().substr(0, kMaxFolderNameChars)); text 95 ui/app_list/views/search_box_view.cc return !search_box_->text().empty(); text 169 ui/app_list/views/search_box_view.cc model_->search_box()->SetText(search_box_->text()); text 252 ui/app_list/views/search_box_view.cc search_box_->SetText(model_->search_box()->text()); text 112 ui/app_list/views/search_box_view_unittest.cc last_query_ = sender->search_box()->text(); text 40 ui/app_list/views/search_result_view.cc gfx::RenderText* CreateRenderText(const base::string16& text, text 43 ui/app_list/views/search_result_view.cc render_text->SetText(text); text 80 ui/app_list/views/signin_view.cc views::Label* text = new views::Label(delegate_->GetSigninText()); text 81 ui/app_list/views/signin_view.cc text->SetFontList(text_font_list); text 82 ui/app_list/views/signin_view.cc text->SetMultiLine(true); text 83 ui/app_list/views/signin_view.cc text->SetHorizontalAlignment(gfx::ALIGN_LEFT); text 86 ui/app_list/views/signin_view.cc layout->AddView(text); text 65 ui/aura/remote_window_tree_host_win.cc const base::string16& text, text 71 ui/aura/remote_window_tree_host_win.cc composition_text->text = text; text 707 ui/aura/remote_window_tree_host_win.cc const base::string16& text, text 717 ui/aura/remote_window_tree_host_win.cc text, selection_start, selection_end, underlines, &composition_text); text 721 ui/aura/remote_window_tree_host_win.cc void RemoteWindowTreeHostWin::OnImeTextCommitted(const base::string16& text) { text 726 ui/aura/remote_window_tree_host_win.cc remote_input_method_private->OnTextCommitted(text); text 211 ui/aura/remote_window_tree_host_win.h const base::string16& text, text 215 ui/aura/remote_window_tree_host_win.h void OnImeTextCommitted(const base::string16& text); text 142 ui/base/accelerators/accelerator_manager_unittest.cc const base::string16 text = accelerator.GetShortcutText(); text 148 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_TRUE(manager_.Process(accelerator)) << text; text 149 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_EQ(last_count + 1, target.accelerator_pressed_count()) << text; text 153 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_FALSE(manager_.Process(accelerator)) << text; // different type text 155 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_FALSE(manager_.Process(accelerator)) << text; // different type text 157 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_FALSE(manager_.Process(accelerator)) << text; // different type text 159 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_FALSE(manager_.Process(accelerator)) << text; // different type text 162 ui/base/accelerators/accelerator_manager_unittest.cc << text; // different vkey text 164 ui/base/accelerators/accelerator_manager_unittest.cc << text; // different vkey text 166 ui/base/accelerators/accelerator_manager_unittest.cc << text; // different vkey text 174 ui/base/accelerators/accelerator_manager_unittest.cc << text << ", " << test_text; // different modifiers text 177 ui/base/accelerators/accelerator_manager_unittest.cc EXPECT_EQ(last_count + 1, target.accelerator_pressed_count()) << text; text 114 ui/base/clipboard/clipboard_android.cc ScopedJavaLocalRef<jstring> text = ConvertUTF8ToJavaString( text 117 ui/base/clipboard/clipboard_android.cc DCHECK(html.obj() && text.obj()); text 119 ui/base/clipboard/clipboard_android.cc env, clipboard_manager_.obj(), html.obj(), text.obj()); text 53 ui/base/clipboard/clipboard_aura.cc void set_text(const std::string& text) { text 54 ui/base/clipboard/clipboard_aura.cc text_ = text; text 203 ui/base/clipboard/clipboard_aura.cc *result = data->text(); text 616 ui/base/clipboard/clipboard_aurax11.cc std::string text = data.GetText(); text 617 ui/base/clipboard/clipboard_aurax11.cc *result = base::UTF8ToUTF16(text); text 374 ui/base/clipboard/clipboard_gtk.cc gchar* text = gtk_clipboard_wait_for_text(clipboard); text 375 ui/base/clipboard/clipboard_gtk.cc if (text) { text 376 ui/base/clipboard/clipboard_gtk.cc g_free(text); text 451 ui/base/clipboard/clipboard_gtk.cc gchar* text = gtk_clipboard_wait_for_text(clipboard); text 453 ui/base/clipboard/clipboard_gtk.cc if (text == NULL) text 457 ui/base/clipboard/clipboard_gtk.cc base::UTF8ToUTF16(text, strlen(text), result); text 458 ui/base/clipboard/clipboard_gtk.cc g_free(text); text 469 ui/base/clipboard/clipboard_gtk.cc gchar* text = gtk_clipboard_wait_for_text(clipboard); text 471 ui/base/clipboard/clipboard_gtk.cc if (text == NULL) text 474 ui/base/clipboard/clipboard_gtk.cc result->assign(text); text 475 ui/base/clipboard/clipboard_gtk.cc g_free(text); text 85 ui/base/clipboard/clipboard_unittest.cc base::string16 text(ASCIIToUTF16("This is a base::string16!#$")), text_result; text 91 ui/base/clipboard/clipboard_unittest.cc clipboard_writer.WriteText(text); text 100 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(text, text_result); text 102 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(UTF16ToUTF8(text), ascii_text); text 151 ui/base/clipboard/clipboard_unittest.cc base::string16 text(ASCIIToUTF16("Standard")), text_result; text 158 ui/base/clipboard/clipboard_unittest.cc clipboard_writer.WriteText(text); text 179 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(text, text_result); text 286 ui/base/clipboard/clipboard_unittest.cc base::string16 text(ASCIIToUTF16("Hi!")), text_result; text 295 ui/base/clipboard/clipboard_unittest.cc clipboard_writer.WriteText(text); text 314 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(text, text_result); text 316 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(UTF16ToUTF8(text), ascii_text); text 234 ui/base/clipboard/clipboard_win.cc base::string16 text; text 235 ui/base/clipboard/clipboard_win.cc base::UTF8ToUTF16(text_data, text_len, &text); text 236 ui/base/clipboard/clipboard_win.cc HGLOBAL glob = CreateGlobalData(text); text 29 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteText(const base::string16& text) { text 30 ui/base/clipboard/scoped_clipboard_writer.cc WriteTextOrURL(text, false); text 33 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteURL(const base::string16& text) { text 34 ui/base/clipboard/scoped_clipboard_writer.cc WriteTextOrURL(text, true); text 114 ui/base/clipboard/scoped_clipboard_writer.cc void ScopedClipboardWriter::WriteTextOrURL(const base::string16& text, text 116 ui/base/clipboard/scoped_clipboard_writer.cc std::string utf8_text = base::UTF16ToUTF8(text); text 36 ui/base/clipboard/scoped_clipboard_writer.h void WriteText(const base::string16& text); text 40 ui/base/clipboard/scoped_clipboard_writer.h void WriteURL(const base::string16& text); text 71 ui/base/clipboard/scoped_clipboard_writer.h void WriteTextOrURL(const base::string16& text, bool is_url); text 224 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc std::string text = data.GetText(); text 225 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc *result = base::UTF8ToUTF16(text); text 512 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc base::string16 text; text 513 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc if (GetString(&text)) { text 514 ui/base/dragdrop/os_exchange_data_provider_aurax11.cc GURL test_url(text); text 149 ui/base/dragdrop/os_exchange_data_win_unittest.cc std::wstring text = L"O hai googlz."; text 151 ui/base/dragdrop/os_exchange_data_win_unittest.cc data.SetString(text); text 32 ui/base/ime/chromeos/ime_bridge.h virtual void CommitText(const std::string& text) = 0; text 35 ui/base/ime/chromeos/ime_bridge.h virtual void UpdateCompositionText(const CompositionText& text, text 99 ui/base/ime/chromeos/ime_bridge.h virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos, text 117 ui/base/ime/chromeos/ime_bridge.h virtual void UpdatePreeditText(const base::string16& text, text 27 ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc const base::string16& text, text 23 ui/base/ime/chromeos/mock_ime_candidate_window_handler.h std::string text; text 35 ui/base/ime/chromeos/mock_ime_candidate_window_handler.h const base::string16& text, uint32 cursor_pos, bool visible) OVERRIDE; text 58 ui/base/ime/chromeos/mock_ime_engine_handler.cc void MockIMEEngineHandler::SetSurroundingText(const std::string& text, text 62 ui/base/ime/chromeos/mock_ime_engine_handler.cc last_set_surrounding_text_ = text; text 28 ui/base/ime/chromeos/mock_ime_engine_handler.h virtual void SetSurroundingText(const std::string& text, uint32 cursor_pos, text 20 ui/base/ime/chromeos/mock_ime_input_context_handler.cc void MockIMEInputContextHandler::CommitText(const std::string& text) { text 22 ui/base/ime/chromeos/mock_ime_input_context_handler.cc last_commit_text_ = text; text 26 ui/base/ime/chromeos/mock_ime_input_context_handler.cc const CompositionText& text, text 30 ui/base/ime/chromeos/mock_ime_input_context_handler.cc last_update_composition_arg_.composition_text.CopyFrom(text); text 31 ui/base/ime/chromeos/mock_ime_input_context_handler.h virtual void CommitText(const std::string& text) OVERRIDE; text 32 ui/base/ime/chromeos/mock_ime_input_context_handler.h virtual void UpdateCompositionText(const CompositionText& text, text 16 ui/base/ime/composition_text.cc text.clear(); text 21 ui/base/ime/composition_text.h if ((this->text != rhs.text) || text 39 ui/base/ime/composition_text.h base::string16 text; text 22 ui/base/ime/composition_text_util_pango.cc composition->text = base::UTF8ToUTF16(utf8_text); text 24 ui/base/ime/composition_text_util_pango.cc if (composition->text.empty()) text 31 ui/base/ime/composition_text_util_pango.cc size_t length = composition->text.length(); text 32 ui/base/ime/composition_text_util_pango.cc base::i18n::UTF16CharIterator char_iterator(&composition->text); text 34 ui/base/ime/composition_text_util_pango_unittest.cc const char* text; text 110 ui/base/ime/composition_text_util_pango_unittest.cc const char* text = kTestData[i].text; text 113 ui/base/ime/composition_text_util_pango_unittest.cc << " text:" << text); text 130 ui/base/ime/composition_text_util_pango_unittest.cc g_utf8_offset_to_pointer(text, attrs[a].start_offset) - text; text 132 ui/base/ime/composition_text_util_pango_unittest.cc g_utf8_offset_to_pointer(text, attrs[a].end_offset) - text; text 137 ui/base/ime/composition_text_util_pango_unittest.cc ui::ExtractCompositionTextFromGtkPreedit(text, pango_attrs, 0, &result); text 29 ui/base/ime/dummy_text_input_client.cc void DummyTextInputClient::InsertText(const base::string16& text) { text 86 ui/base/ime/dummy_text_input_client.cc base::string16* text) const { text 23 ui/base/ime/dummy_text_input_client.h virtual void InsertText(const base::string16& text) OVERRIDE; text 39 ui/base/ime/dummy_text_input_client.h base::string16* text) const OVERRIDE; text 153 ui/base/ime/input_method_auralinux.cc void InputMethodAuraLinux::OnCommit(const base::string16& text) { text 155 ui/base/ime/input_method_auralinux.cc GetTextInputClient()->InsertText(text); text 42 ui/base/ime/input_method_auralinux.h virtual void OnCommit(const base::string16& text) OVERRIDE; text 434 ui/base/ime/input_method_chromeos.cc if (composition_.text.length()) { text 462 ui/base/ime/input_method_chromeos.cc void InputMethodChromeOS::CommitText(const std::string& text) { text 463 ui/base/ime/input_method_chromeos.cc if (text.empty()) text 472 ui/base/ime/input_method_chromeos.cc const base::string16 utf16_text = base::UTF8ToUTF16(text); text 489 ui/base/ime/input_method_chromeos.cc const chromeos::CompositionText& text, text 499 ui/base/ime/input_method_chromeos.cc candidate_window->UpdatePreeditText(text.text(), cursor_pos, visible); text 514 ui/base/ime/input_method_chromeos.cc ExtractCompositionText(text, cursor_pos, &composition_); text 519 ui/base/ime/input_method_chromeos.cc if (composition_.text.length()) text 532 ui/base/ime/input_method_chromeos.cc if (composition_.text.empty() || IsTextInputTypeNone()) text 548 ui/base/ime/input_method_chromeos.cc if (!composition_.text.empty()) text 563 ui/base/ime/input_method_chromeos.cc UpdateCompositionText(preedit, preedit.text().size(), text 564 ui/base/ime/input_method_chromeos.cc !preedit.text().empty()); text 574 ui/base/ime/input_method_chromeos.cc const chromeos::CompositionText& text, text 578 ui/base/ime/input_method_chromeos.cc out_composition->text = text.text(); text 580 ui/base/ime/input_method_chromeos.cc if (out_composition->text.empty()) text 586 ui/base/ime/input_method_chromeos.cc size_t length = out_composition->text.length(); text 587 ui/base/ime/input_method_chromeos.cc base::i18n::UTF16CharIterator char_iterator(&out_composition->text); text 603 ui/base/ime/input_method_chromeos.cc underline_attributes = text.underline_attributes(); text 623 ui/base/ime/input_method_chromeos.cc DCHECK(text.selection_start() <= text.selection_end()); text 624 ui/base/ime/input_method_chromeos.cc if (text.selection_start() < text.selection_end()) { text 625 ui/base/ime/input_method_chromeos.cc const uint32 start = text.selection_start(); text 626 ui/base/ime/input_method_chromeos.cc const uint32 end = text.selection_end(); text 46 ui/base/ime/input_method_chromeos.h void ExtractCompositionText(const chromeos::CompositionText& text, text 100 ui/base/ime/input_method_chromeos.h virtual void CommitText(const std::string& text) OVERRIDE; text 101 ui/base/ime/input_method_chromeos.h virtual void UpdateCompositionText(const chromeos::CompositionText& text, text 183 ui/base/ime/input_method_chromeos_unittest.cc void Verify(const std::string& text, text 186 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(expected_surrounding_text_, text); text 257 ui/base/ime/input_method_chromeos_unittest.cc virtual void InsertText(const base::string16& text) OVERRIDE { text 258 ui/base/ime/input_method_chromeos_unittest.cc inserted_text_ = text; text 304 ui/base/ime/input_method_chromeos_unittest.cc base::string16* text) const OVERRIDE { text 305 ui/base/ime/input_method_chromeos_unittest.cc *text = surrounding_text_.substr(range.GetMin(), range.length()); text 590 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleAsciiText, composition_text.text); text 618 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleText, composition_text.text); text 648 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleText, composition_text.text); text 678 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleText, composition_text.text); text 703 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleText, composition_text.text); text 730 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleText, composition_text.text); text 762 ui/base/ime/input_method_chromeos_unittest.cc EXPECT_EQ(kSampleText, composition_text.text); text 298 ui/base/ime/input_method_win.cc if (imm32_manager_.GetResult(window_handle, lparam, &composition.text)) { text 300 ui/base/ime/input_method_win.cc GetTextInputClient()->InsertText(composition.text); text 432 ui/base/ime/input_method_win.cc base::string16 text; text 433 ui/base/ime/input_method_win.cc if (!GetTextInputClient()->GetTextFromRange(text_range, &text)) text 435 ui/base/ime/input_method_win.cc DCHECK_EQ(text_range.length(), text.length()); text 448 ui/base/ime/input_method_win.cc text.c_str(), len * sizeof(WCHAR)); text 488 ui/base/ime/input_method_win.cc base::string16 text; text 489 ui/base/ime/input_method_win.cc if (!GetTextInputClient()->GetTextFromRange(selection_range, &text)) text 491 ui/base/ime/input_method_win.cc DCHECK_EQ(selection_range.length(), text.length()); text 502 ui/base/ime/input_method_win.cc text.c_str(), len * sizeof(WCHAR)); text 50 ui/base/ime/linux/linux_input_method_context.h virtual void OnCommit(const base::string16& text) = 0; text 328 ui/base/ime/remote_input_method_win.cc virtual void OnTextCommitted(const base::string16& text) OVERRIDE { text 335 ui/base/ime/remote_input_method_win.cc for (size_t i = 0; i < text.size(); ++i) text 336 ui/base/ime/remote_input_method_win.cc text_input_client_->InsertChar(text[i], 0); text 339 ui/base/ime/remote_input_method_win.cc text_input_client_->InsertText(text); text 92 ui/base/ime/remote_input_method_win.h virtual void OnTextCommitted(const base::string16& text) = 0; text 97 ui/base/ime/remote_input_method_win_unittest.cc virtual void InsertText(const base::string16& text) OVERRIDE { text 98 ui/base/ime/remote_input_method_win_unittest.cc inserted_text_.append(text); text 46 ui/base/ime/text_input_client.h virtual void InsertText(const base::string16& text) = 0; text 125 ui/base/ime/text_input_client.h base::string16* text) const = 0; text 312 ui/base/ime/win/imm32_manager.cc int length = static_cast<int>(composition->text.length()); text 398 ui/base/ime/win/imm32_manager.cc ret = GetString(imm_context, lparam, GCS_COMPSTR, &composition->text); text 411 ui/base/ime/win/imm32_manager.cc composition->text[0] == 0x3000) { text 412 ui/base/ime/win/imm32_manager.cc composition->text[0] = 0xFF3F; text 17 ui/base/win/message_box_win.cc const base::string16& text, text 27 ui/base/win/message_box_win.cc base::string16 localized_text = text; text 20 ui/base/win/message_box_win.h const base::string16& text, text 86 ui/gfx/canvas.cc void Canvas::SizeStringInt(const base::string16& text, text 94 ui/gfx/canvas.cc SizeStringFloat(text, font_list, &fractional_width, text 101 ui/gfx/canvas.cc int Canvas::GetStringWidth(const base::string16& text, text 104 ui/gfx/canvas.cc SizeStringInt(text, font_list, &width, &height, 0, NO_ELLIPSIS); text 109 ui/gfx/canvas.cc float Canvas::GetStringWidthF(const base::string16& text, text 112 ui/gfx/canvas.cc SizeStringFloat(text, font_list, &width, &height, 0, NO_ELLIPSIS); text 460 ui/gfx/canvas.cc void Canvas::DrawStringRect(const base::string16& text, text 464 ui/gfx/canvas.cc DrawStringRectWithFlags(text, font_list, color, display_rect, text 468 ui/gfx/canvas.cc void Canvas::DrawStringRectWithFlags(const base::string16& text, text 473 ui/gfx/canvas.cc DrawStringRectWithShadows(text, font_list, color, display_rect, 0, flags, text 126 ui/gfx/canvas.h static void SizeStringInt(const base::string16& text, text 135 ui/gfx/canvas.h static void SizeStringFloat(const base::string16& text, text 144 ui/gfx/canvas.h static int GetStringWidth(const base::string16& text, text 152 ui/gfx/canvas.h static float GetStringWidthF(const base::string16& text, text 173 ui/gfx/canvas.h void DrawStringRectWithHalo(const base::string16& text, text 336 ui/gfx/canvas.h void DrawStringRect(const base::string16& text, text 344 ui/gfx/canvas.h void DrawStringRectWithFlags(const base::string16& text, text 353 ui/gfx/canvas.h void DrawStringRectWithShadows(const base::string16& text, text 406 ui/gfx/canvas.h const base::string16& text, text 412 ui/gfx/canvas.h const base::string16& text, text 12 ui/gfx/canvas_android.cc void Canvas::SizeStringFloat(const base::string16& text, text 21 ui/gfx/canvas_android.cc void Canvas::DrawStringRectWithHalo(const base::string16& text, text 30 ui/gfx/canvas_android.cc void Canvas::DrawStringRectWithShadows(const base::string16& text, text 28 ui/gfx/canvas_skia.cc bool AdjustStringDirection(int flags, base::string16* text) { text 33 ui/gfx/canvas_skia.cc if (text->empty() || (flags & Canvas::FORCE_LTR_DIRECTIONALITY)) text 38 ui/gfx/canvas_skia.cc base::i18n::WrapStringWithRTLFormatting(text); text 44 ui/gfx/canvas_skia.cc if (base::i18n::IsRTL() && base::i18n::StringContainsStrongRTLChars(*text)) { text 45 ui/gfx/canvas_skia.cc base::i18n::WrapStringWithRTLFormatting(text); text 89 ui/gfx/canvas_skia.cc Range StripAcceleratorChars(int flags, base::string16* text) { text 93 ui/gfx/canvas_skia.cc *text = RemoveAcceleratorChar(*text, '&', &char_pos, &char_span); text 104 ui/gfx/canvas_skia.cc base::string16* text, text 107 ui/gfx/canvas_skia.cc (range->IsValid() ? text->at(range->start()) : 0); text 108 ui/gfx/canvas_skia.cc *text = gfx::ElideText(*text, font_list, width, gfx::ELIDE_AT_END); text 111 ui/gfx/canvas_skia.cc if (range->start() >= text->length() || text 112 ui/gfx/canvas_skia.cc text->at(range->start()) != start_char) { text 119 ui/gfx/canvas_skia.cc const base::string16& text, text 125 ui/gfx/canvas_skia.cc render_text->SetText(text); text 160 ui/gfx/canvas_skia.cc void Canvas::SizeStringFloat(const base::string16& text, text 168 ui/gfx/canvas_skia.cc base::string16 adjusted_text = text; text 220 ui/gfx/canvas_skia.cc void Canvas::DrawStringRectWithShadows(const base::string16& text, text 237 ui/gfx/canvas_skia.cc base::string16 adjusted_text = text; text 326 ui/gfx/canvas_skia.cc void Canvas::DrawStringRectWithHalo(const base::string16& text, text 347 ui/gfx/canvas_skia.cc text, font_list, text_color, text 375 ui/gfx/canvas_skia.cc const base::string16& text, text 381 ui/gfx/canvas_skia.cc text, truncate_mode, font_list, color, display_rect, NO_ELLIPSIS); text 385 ui/gfx/canvas_skia.cc const base::string16& text, text 392 ui/gfx/canvas_skia.cc if (GetStringWidth(text, font_list) <= display_rect.width()) { text 393 ui/gfx/canvas_skia.cc DrawStringRectWithFlags(text, font_list, color, display_rect, flags); text 398 ui/gfx/canvas_skia.cc const bool is_rtl = base::i18n::GetFirstStrongCharacterDirection(text) == text 419 ui/gfx/canvas_skia.cc UpdateRenderText(rect, text, font_list, flags, color, render_text.get()); text 17 ui/gfx/canvas_unittest.cc int GetStringWidth(const char *text) { text 18 ui/gfx/canvas_unittest.cc return Canvas::GetStringWidth(base::UTF8ToUTF16(text), font_list_); text 21 ui/gfx/canvas_unittest.cc gfx::Size SizeStringInt(const char *text, int width, int line_height) { text 22 ui/gfx/canvas_unittest.cc base::string16 text16 = base::UTF8ToUTF16(text); text 527 ui/gfx/codec/png_codec.cc free(png_text_[i].text); text 550 ui/gfx/codec/png_codec.cc png_text_[pos].text = base::strdup(comment.text.c_str()); text 551 ui/gfx/codec/png_codec.cc png_text_[pos].text_length = comment.text.length(); text 53 ui/gfx/codec/png_codec.h std::string text; text 51 ui/gfx/font_fallback_win.cc bool ContainsOnlyDigits(const std::string& text) { text 52 ui/gfx/font_fallback_win.cc return text.find_first_not_of("0123456789") == base::string16::npos; text 142 ui/gfx/pango_util.cc const base::string16& text, text 214 ui/gfx/pango_util.cc std::string utf8 = base::UTF16ToUTF8(text); text 229 ui/gfx/pango_util.cc RemoveAcceleratorChar(text, text 234 ui/gfx/pango_util.cc utf8 = base::UTF16ToUTF8(text); text 242 ui/gfx/pango_util.cc const base::string16& text, text 247 ui/gfx/pango_util.cc SetupPangoLayoutWithoutFont(layout, text, width, text_direction, flags); text 255 ui/gfx/pango_util.cc const base::string16& text, text 260 ui/gfx/pango_util.cc SetupPangoLayoutWithoutFont(layout, text, width, text_direction, flags); text 63 ui/gfx/pango_util.h const base::string16& text, text 402 ui/gfx/render_text.cc void RenderText::SetText(const base::string16& text) { text 404 ui/gfx/render_text.cc if (text_ == text) text 406 ui/gfx/render_text.cc text_ = text; text 528 ui/gfx/render_text.cc size_t text_length = text().length(); text 549 ui/gfx/render_text.cc Range sel(std::min(range.start(), text().length()), text 550 ui/gfx/render_text.cc std::min(range.end(), text().length())); text 573 ui/gfx/render_text.cc const size_t length = text().length(); text 587 ui/gfx/render_text.cc base::i18n::BreakIterator iter(text(), base::i18n::BreakIterator::BREAK_WORD); text 594 ui/gfx/render_text.cc if (selection_min == text().length() && selection_min != 0) text 603 ui/gfx/render_text.cc if (selection_min == selection_max && selection_max != text().length()) text 606 ui/gfx/render_text.cc for (; selection_max < text().length(); ++selection_max) text 751 ui/gfx/render_text.cc if (!text().empty() && focused()) text 757 ui/gfx/render_text.cc if (!text().empty()) text 786 ui/gfx/render_text.cc if (caret_pos == (caret_affinity == CURSOR_BACKWARD ? 0 : text().length())) { text 812 ui/gfx/render_text.cc if (index > text().length()) text 813 ui/gfx/render_text.cc return text().length(); text 818 ui/gfx/render_text.cc while (index < text().length()) { text 823 ui/gfx/render_text.cc return text().length(); text 885 ui/gfx/render_text.cc if (break_type == LINE_BREAK || text().empty()) text 896 ui/gfx/render_text.cc return SelectionModel(text().length(), CURSOR_FORWARD); text 901 ui/gfx/render_text.cc DCHECK_LE(model.selection().GetMax(), text().length()); text 1110 ui/gfx/render_text.cc size_t cursor = std::min(position, text().length()); text 1145 ui/gfx/render_text.cc const base::string16& text = layout_text_; text 1146 ui/gfx/render_text.cc if (truncate_length_ > 0 && truncate_length_ < text.length()) { text 1148 ui/gfx/render_text.cc icu::StringCharacterIterator iter(text.c_str()); text 1150 ui/gfx/render_text.cc layout_text_.assign(text.substr(0, iter.getIndex()) + gfx::kEllipsisUTF16); text 1165 ui/gfx/render_text.cc base::string16 RenderText::ElideText(const base::string16& text) { text 1175 ui/gfx/render_text.cc render_text->SetText(text); text 1181 ui/gfx/render_text.cc StringSlicer slicer(text, ellipsis, elide_in_middle, elide_at_beginning); text 1191 ui/gfx/render_text.cc if (current_text_pixel_width <= 0 && !text.empty()) text 1192 ui/gfx/render_text.cc return ElideText(slicer.CutString(text.length() / 2, insert_ellipsis)); text 1195 ui/gfx/render_text.cc return text; text 1206 ui/gfx/render_text.cc size_t hi = text.length() - 1; text 1251 ui/gfx/render_text.cc return render_text->text(); text 192 ui/gfx/render_text.h const base::string16& text() const { return text_; } text 193 ui/gfx/render_text.h void SetText(const base::string16& text); text 587 ui/gfx/render_text.h base::string16 ElideText(const base::string16& text); text 128 ui/gfx/render_text_mac.cc base::SysUTF16ToCFStringRef(text())); text 97 ui/gfx/render_text_pango.cc if (text().empty()) text 191 ui/gfx/render_text_pango.cc base::i18n::BreakIterator iter(text(), base::i18n::BreakIterator::BREAK_WORD); text 222 ui/gfx/render_text_pango.cc DCHECK_LE(range.GetMax(), text().length()); text 252 ui/gfx/render_text_pango.cc ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, index); text 263 ui/gfx/render_text_pango.cc return gfx::UTF16OffsetToIndex(text(), 0, offset); text 267 ui/gfx/render_text_pango.cc if (position == 0 && text().empty()) text 269 ui/gfx/render_text_pango.cc if (position >= text().length()) text 270 ui/gfx/render_text_pango.cc return position == text().length(); text 271 ui/gfx/render_text_pango.cc if (!gfx::IsValidCodePointIndex(text(), position)) text 275 ui/gfx/render_text_pango.cc ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, position); text 58 ui/gfx/render_text_unittest.cc return render_text->text().substr(render_text->selection().GetMin(), text 100 ui/gfx/render_text_unittest.cc EXPECT_TRUE(render_text->text().empty()); text 158 ui/gfx/render_text_unittest.cc const size_t text_length = render_text->text().length(); text 246 ui/gfx/render_text_unittest.cc const base::string16& text, text 249 ui/gfx/render_text_unittest.cc render_text->SetText(text); text 250 ui/gfx/render_text_unittest.cc int len = text.length(); text 281 ui/gfx/render_text_unittest.cc EXPECT_EQ(seuss, render_text->text()); text 284 ui/gfx/render_text_unittest.cc EXPECT_EQ(seuss, render_text->text()); text 330 ui/gfx/render_text_unittest.cc base::string16 text = WideToUTF16(texts[i]); text 331 ui/gfx/render_text_unittest.cc TestVisualCursorMotionInObscuredField(render_text.get(), text, false); text 332 ui/gfx/render_text_unittest.cc TestVisualCursorMotionInObscuredField(render_text.get(), text, true); text 343 ui/gfx/render_text_unittest.cc EXPECT_EQ(seuss, render_text->text()); text 416 ui/gfx/render_text_unittest.cc const wchar_t* text; text 465 ui/gfx/render_text_unittest.cc base::string16 input = WideToUTF16(cases[i].text); text 473 ui/gfx/render_text_unittest.cc EXPECT_EQ(input, render_text->text()) text 474 ui/gfx/render_text_unittest.cc << "->For case " << i << ": " << cases[i].text << "\n"; text 476 ui/gfx/render_text_unittest.cc << "->For case " << i << ": " << cases[i].text << "\n"; text 494 ui/gfx/render_text_unittest.cc EXPECT_EQ(WideToUTF16(L"abcdef"), render_text->text()); text 500 ui/gfx/render_text_unittest.cc const wchar_t* text; text 536 ui/gfx/render_text_unittest.cc render_text->SetText(WideToUTF16(cases[i].text)); text 537 ui/gfx/render_text_unittest.cc EXPECT_EQ(WideToUTF16(cases[i].text), render_text->text()); text 539 ui/gfx/render_text_unittest.cc << "For case " << i << ": " << cases[i].text; text 548 ui/gfx/render_text_unittest.cc EXPECT_EQ(WideToUTF16(L"abcdef"), render_text->text()); text 610 ui/gfx/render_text_unittest.cc const wchar_t* text; text 637 ui/gfx/render_text_unittest.cc render_text->SetText(WideToUTF16(cases[j].text)); text 842 ui/gfx/render_text_unittest.cc for (size_t i = 0; i < render_text->text().length(); ++i) { text 865 ui/gfx/render_text_unittest.cc base::string16 text; text 912 ui/gfx/render_text_unittest.cc render_text->SetText(cases[i].text); text 941 ui/gfx/render_text_unittest.cc base::string16 text; text 961 ui/gfx/render_text_unittest.cc render_text->SetText(cases[i].text); text 970 ui/gfx/render_text_unittest.cc EXPECT_EQ(end_edge, SelectionModel(cases[i].text.length(), CURSOR_FORWARD)); text 1462 ui/gfx/render_text_unittest.cc base::string16 text; text 1493 ui/gfx/render_text_unittest.cc base::string16 text = cases[i].text; text 1494 ui/gfx/render_text_unittest.cc const size_t start_paren_char_index = text.find('('); text 1496 ui/gfx/render_text_unittest.cc const size_t end_paren_char_index = text.find(')'); text 1500 ui/gfx/render_text_unittest.cc text[start_paren_char_index] = punctuation_pairs[j].left_char; text 1501 ui/gfx/render_text_unittest.cc text[end_paren_char_index] = punctuation_pairs[j].right_char; text 1502 ui/gfx/render_text_unittest.cc render_text->SetText(text); text 1620 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(render_text->text().length(), text 1701 ui/gfx/render_text_unittest.cc render_text->MoveCursorTo(SelectionModel(render_text->text().length(), text 1776 ui/gfx/render_text_unittest.cc const wchar_t* const text; text 1794 ui/gfx/render_text_unittest.cc render_text->SetText(WideToUTF16(kTestStrings[i].text)); text 1828 ui/gfx/render_text_unittest.cc const wchar_t* const text; text 1846 ui/gfx/render_text_unittest.cc render_text->SetText(WideToUTF16(kTestStrings[i].text)); text 1861 ui/gfx/render_text_unittest.cc EXPECT_EQ(L'\n', kTestStrings[i].text[newline_segment.char_range.start()]); text 61 ui/gfx/render_text_win.cc const wchar_t* text, text 73 ui/gfx/render_text_win.cc ScriptStringAnalyse(meta_file_dc, text, text_length, 0, -1, text 170 ui/gfx/render_text_win.cc bool BreakRunAtWidth(const wchar_t* text, text 186 ui/gfx/render_text_win.cc if (U16_IS_SINGLE(text[i]) && text[i] == L'\n') { text 323 ui/gfx/render_text_win.cc const wchar_t* text, text 330 ui/gfx/render_text_win.cc text_(text), text 527 ui/gfx/render_text_win.cc if (text().empty()) text 552 ui/gfx/render_text_win.cc DCHECK_LE(cursor, text().length()); text 624 ui/gfx/render_text_win.cc base::i18n::BreakIterator iter(text(), base::i18n::BreakIterator::BREAK_WORD); text 632 ui/gfx/render_text_win.cc pos = std::min(selection.caret_pos() + 1, text().length()); text 679 ui/gfx/render_text_win.cc DCHECK(Range(0, text().length()).Contains(range)); text 718 ui/gfx/render_text_win.cc DCHECK_LE(index, text().length()); text 719 ui/gfx/render_text_win.cc ptrdiff_t i = obscured() ? gfx::UTF16IndexToOffset(text(), 0, index) : index; text 730 ui/gfx/render_text_win.cc const size_t text_index = gfx::UTF16OffsetToIndex(text(), 0, index); text 731 ui/gfx/render_text_win.cc DCHECK_LE(text_index, text().length()); text 736 ui/gfx/render_text_win.cc if (position == 0 || position == text().length()) text 745 ui/gfx/render_text_win.cc return gfx::IsValidCodePointIndex(text(), position) && text 40 ui/gfx/text_elider.cc StringSlicer::StringSlicer(const base::string16& text, text 44 ui/gfx/text_elider.cc : text_(text), text 194 ui/gfx/text_elider.cc base::string16 ElideText(const base::string16& text, text 198 ui/gfx/text_elider.cc if (text.empty()) text 199 ui/gfx/text_elider.cc return text; text 201 ui/gfx/text_elider.cc const float current_text_pixel_width = GetStringWidthF(text, font_list); text 207 ui/gfx/text_elider.cc StringSlicer slicer(text, ellipsis, elide_in_middle, elide_at_beginning); text 217 ui/gfx/text_elider.cc if (current_text_pixel_width <= 0 && !text.empty()) { text 219 ui/gfx/text_elider.cc slicer.CutString(text.length() / 2, insert_ellipsis); text 224 ui/gfx/text_elider.cc return text; text 232 ui/gfx/text_elider.cc size_t hi = text.length() - 1; text 512 ui/gfx/text_elider.cc void AddToCurrentLineWithWidth(const base::string16& text, float text_width); text 515 ui/gfx/text_elider.cc void AddToCurrentLine(const base::string16& text); text 631 ui/gfx/text_elider.cc base::string16 text = word; text 634 ui/gfx/text_elider.cc while (!insufficient_height_ && !text.empty()) { text 636 ui/gfx/text_elider.cc ElideText(text, font_list_, available_pixel_width_, text 641 ui/gfx/text_elider.cc fragment = text.substr(0, 1); text 645 ui/gfx/text_elider.cc text = text.substr(fragment.length()); text 696 ui/gfx/text_elider.cc void RectangleText::AddToCurrentLine(const base::string16& text) { text 697 ui/gfx/text_elider.cc AddToCurrentLineWithWidth(text, GetStringWidthF(text, font_list_)); text 700 ui/gfx/text_elider.cc void RectangleText::AddToCurrentLineWithWidth(const base::string16& text, text 706 ui/gfx/text_elider.cc current_line_.append(text); text 35 ui/gfx/text_elider.h StringSlicer(const base::string16& text, text 96 ui/gfx/text_elider.h GFX_EXPORT base::string16 ElideText(const base::string16& text, text 178 ui/gfx/text_elider.h GFX_EXPORT int ElideRectangleText(const base::string16& text, text 302 ui/gfx/text_elider_unittest.cc static void CheckSurrogatePairs(const base::string16& text, text 305 ui/gfx/text_elider_unittest.cc size_t index = text.find_first_of(first_char); text 307 ui/gfx/text_elider_unittest.cc EXPECT_LT(index, text.length() - 1); text 308 ui/gfx/text_elider_unittest.cc EXPECT_EQ(second_char, text[index + 1]); text 309 ui/gfx/text_elider_unittest.cc index = text.find_first_of(first_char, index + 1); text 311 ui/gfx/text_elider_unittest.cc index = text.find_first_of(second_char); text 314 ui/gfx/text_elider_unittest.cc EXPECT_EQ(first_char, text[index - 1]); text 315 ui/gfx/text_elider_unittest.cc index = text.find_first_of(second_char, index + 1); text 676 ui/gfx/text_elider_unittest.cc const char text[] = "that Russian place we used to go to after fencing"; text 678 ui/gfx/text_elider_unittest.cc EXPECT_EQ(0, ElideRectangleText(UTF8ToUTF16(text), text 27 ui/gfx/text_utils.h GFX_EXPORT int GetStringWidth(const base::string16& text, text 31 ui/gfx/text_utils.h GFX_EXPORT float GetStringWidthF(const base::string16& text, text 11 ui/gfx/text_utils_android.cc int GetStringWidth(const base::string16& text, const FontList& font_list) { text 16 ui/gfx/text_utils_android.cc float GetStringWidthF(const base::string16& text, const FontList& font_list) { text 11 ui/gfx/text_utils_skia.cc int GetStringWidth(const base::string16& text, const FontList& font_list) { text 12 ui/gfx/text_utils_skia.cc return Canvas::GetStringWidth(text, font_list); text 15 ui/gfx/text_utils_skia.cc float GetStringWidthF(const base::string16& text, const FontList& font_list) { text 16 ui/gfx/text_utils_skia.cc return Canvas::GetStringWidthF(text, font_list); text 126 ui/keyboard/keyboard_util.cc bool InsertText(const base::string16& text, aura::Window* root_window) { text 139 ui/keyboard/keyboard_util.cc tic->InsertText(text); text 74 ui/keyboard/keyboard_util.h KEYBOARD_EXPORT bool InsertText(const base::string16& text, text 150 ui/message_center/views/bounded_label.cc gfx::ElideRectangleText(text(), font_list(), text 203 ui/message_center/views/bounded_label.cc base::i18n::GetFirstStrongCharacterDirection(text()); text 266 ui/message_center/views/bounded_label.cc BoundedLabel::BoundedLabel(const base::string16& text, text 271 ui/message_center/views/bounded_label.cc label_->SetText(text); text 274 ui/message_center/views/bounded_label.cc BoundedLabel::BoundedLabel(const base::string16& text) text 277 ui/message_center/views/bounded_label.cc label_->SetText(text); text 36 ui/message_center/views/bounded_label.h BoundedLabel(const base::string16& text, const gfx::FontList& font_list); text 37 ui/message_center/views/bounded_label.h BoundedLabel(const base::string16& text); text 74 ui/message_center/views/bounded_label_unittest.cc BoundedLabelTest& Label(base::string16 text, int lines) { text 76 ui/message_center/views/bounded_label_unittest.cc label_.reset(new BoundedLabel(text, font_list_)); text 93 ui/message_center/views/bounded_label_unittest.cc #define TEST_WRAP(expected, text, width, lines) \ text 95 ui/message_center/views/bounded_label_unittest.cc Label(ToString(text), lines).GetWrappedText(ToPixels(width))) text 97 ui/message_center/views/bounded_label_unittest.cc #define TEST_LINES(expected, text, width, lines) \ text 99 ui/message_center/views/bounded_label_unittest.cc Label(ToString(text), lines).GetLinesForWidth(ToPixels(width))) text 31 ui/metro_viewer/ime_types.h base::string16 text; text 720 ui/native_theme/native_theme_base.cc const TextFieldExtraParams& text) const { text 726 ui/native_theme/native_theme_base.cc fill_paint.setColor(text.background_color); text 90 ui/native_theme/native_theme_base.h const TextFieldExtraParams& text) const; text 879 ui/views/accessibility/native_view_accessibility_win.cc base::string16 text = TextForIAccessibleText(); text 880 ui/views/accessibility/native_view_accessibility_win.cc *n_characters = static_cast<LONG>(text.size()); text 931 ui/views/accessibility/native_view_accessibility_win.cc BSTR* text) { text 970 ui/views/accessibility/native_view_accessibility_win.cc *text = SysAllocString(substr.c_str()); text 971 ui/views/accessibility/native_view_accessibility_win.cc DCHECK(*text); text 979 ui/views/accessibility/native_view_accessibility_win.cc BSTR* text) { text 980 ui/views/accessibility/native_view_accessibility_win.cc if (!start_offset || !end_offset || !text) text 988 ui/views/accessibility/native_view_accessibility_win.cc *text = NULL; text 998 ui/views/accessibility/native_view_accessibility_win.cc return get_text(*start_offset, *end_offset, text); text 1005 ui/views/accessibility/native_view_accessibility_win.cc BSTR* text) { text 1006 ui/views/accessibility/native_view_accessibility_win.cc if (!start_offset || !end_offset || !text) text 1014 ui/views/accessibility/native_view_accessibility_win.cc *text = NULL; text 1023 ui/views/accessibility/native_view_accessibility_win.cc return get_text(*start_offset, *end_offset, text); text 1030 ui/views/accessibility/native_view_accessibility_win.cc BSTR* text) { text 1031 ui/views/accessibility/native_view_accessibility_win.cc if (!start_offset || !end_offset || !text) text 1039 ui/views/accessibility/native_view_accessibility_win.cc *text = NULL; text 1048 ui/views/accessibility/native_view_accessibility_win.cc return get_text(*start_offset, *end_offset, text); text 1355 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text, LONG* offset) { text 1357 ui/views/accessibility/native_view_accessibility_win.cc *offset = static_cast<LONG>(text.size()); text 1379 ui/views/accessibility/native_view_accessibility_win.cc const base::string16& text, text 1383 ui/views/accessibility/native_view_accessibility_win.cc HandleSpecialTextOffset(text, &start_offset); text 1387 ui/views/accessibility/native_view_accessibility_win.cc text, line_breaks, boundary, start_offset, direction); text 223 ui/views/accessibility/native_view_accessibility_win.h STDMETHODIMP get_text(LONG start_offset, LONG end_offset, BSTR* text); text 228 ui/views/accessibility/native_view_accessibility_win.h BSTR* text); text 233 ui/views/accessibility/native_view_accessibility_win.h BSTR* text); text 238 ui/views/accessibility/native_view_accessibility_win.h BSTR* text); text 381 ui/views/accessibility/native_view_accessibility_win.h void HandleSpecialTextOffset(const base::string16& text, LONG* offset); text 389 ui/views/accessibility/native_view_accessibility_win.h LONG FindBoundary(const base::string16& text, text 62 ui/views/accessibility/native_view_accessibility_win_unittest.cc ASSERT_STREQ(L"New value", textfield->text().c_str()); text 165 ui/views/bubble/bubble_frame_view.cc const int title_height = title_->text().empty() ? 0 : text 342 ui/views/bubble/bubble_frame_view.cc if (!title_->text().empty()) text 42 ui/views/color_chooser/color_chooser_view.cc bool GetColorFromText(const base::string16& text, SkColor* result) { text 43 ui/views/color_chooser/color_chooser_view.cc if (text.size() != 6 && !(text.size() == 7 && text[0] == '#')) text 47 ui/views/color_chooser/color_chooser_view.cc base::UTF16ToUTF8((text.size() == 6) ? text : text.substr(1)); text 25 ui/views/controls/button/blue_button.cc BlueButton::BlueButton(ButtonListener* listener, const base::string16& text) text 26 ui/views/controls/button/blue_button.cc : LabelButton(listener, text) { text 18 ui/views/controls/button/blue_button.h BlueButton(ButtonListener* listener, const base::string16& text); text 146 ui/views/controls/button/custom_button_unittest.cc base::string16 text; text 148 ui/views/controls/button/custom_button_unittest.cc TextButton text_button(NULL, text); text 154 ui/views/controls/button/custom_button_unittest.cc Checkbox checkbox(text); text 157 ui/views/controls/button/custom_button_unittest.cc RadioButton radio_button(text, 0); text 160 ui/views/controls/button/custom_button_unittest.cc MenuButton menu_button(NULL, text, NULL, false); text 166 ui/views/controls/button/custom_button_unittest.cc Link link(text); text 45 ui/views/controls/button/label_button.cc LabelButton::LabelButton(ButtonListener* listener, const base::string16& text) text 55 ui/views/controls/button/label_button.cc SetText(text); text 68 ui/views/controls/button/label_button.cc SetAccessibleName(text); text 85 ui/views/controls/button/label_button.cc return label_->text(); text 88 ui/views/controls/button/label_button.cc void LabelButton::SetText(const base::string16& text) { text 89 ui/views/controls/button/label_button.cc SetAccessibleName(text); text 90 ui/views/controls/button/label_button.cc label_->SetText(text); text 31 ui/views/controls/button/label_button.h LabelButton(ButtonListener* listener, const base::string16& text); text 41 ui/views/controls/button/label_button.h void SetText(const base::string16& text); text 33 ui/views/controls/button/label_button_unittest.cc const base::string16 text(ASCIIToUTF16("abc")); text 34 ui/views/controls/button/label_button_unittest.cc LabelButton button(NULL, text); text 41 ui/views/controls/button/label_button_unittest.cc EXPECT_EQ(text, button.GetText()); text 118 ui/views/controls/button/label_button_unittest.cc const base::string16 text(ASCIIToUTF16("abcdefghijklm")); text 119 ui/views/controls/button/label_button_unittest.cc const int text_width = gfx::GetStringWidth(text, font_list); text 129 ui/views/controls/button/label_button_unittest.cc button.SetText(text); text 172 ui/views/controls/button/label_button_unittest.cc const base::string16 text(ASCIIToUTF16("abc")); text 173 ui/views/controls/button/label_button_unittest.cc LabelButton button(NULL, text); text 46 ui/views/controls/button/menu_button.cc const base::string16& text, text 49 ui/views/controls/button/menu_button.cc : TextButton(listener, text), text 36 ui/views/controls/button/menu_button.h const base::string16& text, text 195 ui/views/controls/button/text_button.cc const base::string16& text) text 209 ui/views/controls/button/text_button.cc SetText(text); text 229 ui/views/controls/button/text_button.cc void TextButtonBase::SetText(const base::string16& text) { text 230 ui/views/controls/button/text_button.cc if (text == text_) text 232 ui/views/controls/button/text_button.cc text_ = text; text 233 ui/views/controls/button/text_button.cc SetAccessibleName(text); text 564 ui/views/controls/button/text_button.cc TextButton::TextButton(ButtonListener* listener, const base::string16& text) text 565 ui/views/controls/button/text_button.cc : TextButtonBase(listener, text), text 111 ui/views/controls/button/text_button.h virtual void SetText(const base::string16& text); text 112 ui/views/controls/button/text_button.h const base::string16& text() const { return text_; } text 174 ui/views/controls/button/text_button.h TextButtonBase(ButtonListener* listener, const base::string16& text); text 291 ui/views/controls/button/text_button.h TextButton(ButtonListener* listener, const base::string16& text); text 611 ui/views/controls/combobox/combobox.cc base::string16 text = model()->GetItemAt(i); text 615 ui/views/controls/combobox/combobox.cc base::i18n::AdjustStringForLocaleDirection(&text); text 618 ui/views/controls/combobox/combobox.cc menu->AppendMenuItem(i + kFirstMenuItemId, text, MenuItemView::NORMAL); text 623 ui/views/controls/combobox/combobox.cc width = std::max(width, gfx::GetStringWidth(text, font_list)); text 658 ui/views/controls/combobox/combobox.cc base::string16 text = model()->GetItemAt(selected_index_); text 664 ui/views/controls/combobox/combobox.cc int text_width = gfx::GetStringWidth(text, font_list); text 670 ui/views/controls/combobox/combobox.cc canvas->DrawStringRect(text, font_list, text_color, text_bounds); text 46 ui/views/controls/label.cc Label::Label(const base::string16& text) { text 47 ui/views/controls/label.cc Init(text, gfx::FontList()); text 50 ui/views/controls/label.cc Label::Label(const base::string16& text, const gfx::FontList& font_list) { text 51 ui/views/controls/label.cc Init(text, font_list); text 64 ui/views/controls/label.cc void Label::SetText(const base::string16& text) { text 65 ui/views/controls/label.cc if (text != text_) text 66 ui/views/controls/label.cc SetTextInternal(text); text 69 ui/views/controls/label.cc void Label::SetTextInternal(const base::string16& text) { text 70 ui/views/controls/label.cc text_ = text; text 321 ui/views/controls/label.cc const base::string16& text, text 328 ui/views/controls/label.cc canvas->DrawStringRectWithShadows(text, font_list_, text 384 ui/views/controls/label.cc void Label::Init(const base::string16& text, const gfx::FontList& font_list) { text 404 ui/views/controls/label.cc SetText(text); text 61 ui/views/controls/label.h explicit Label(const base::string16& text); text 62 ui/views/controls/label.h Label(const base::string16& text, const gfx::FontList& font_list); text 70 ui/views/controls/label.h const base::string16& text() const { return text_; } text 71 ui/views/controls/label.h virtual void SetText(const base::string16& text); text 198 ui/views/controls/label.h const base::string16& text, text 226 ui/views/controls/label.h void SetTextInternal(const base::string16& text); text 228 ui/views/controls/label.h void Init(const base::string16& text, const gfx::FontList& font_list); text 46 ui/views/controls/label_unittest.cc EXPECT_EQ(test_text, label.text()); text 109 ui/views/controls/label_unittest.cc EXPECT_EQ(test_text, label.text()); text 114 ui/views/controls/label_unittest.cc EXPECT_EQ(test_text, label.text()); text 118 ui/views/controls/label_unittest.cc EXPECT_EQ(test_text + test_text, label.text()); text 123 ui/views/controls/label_unittest.cc EXPECT_EQ(test_text + test_text, label.text()); text 135 ui/views/controls/label_unittest.cc EXPECT_EQ(test_text, label.text()); text 160 ui/views/controls/link.cc void Link::SetText(const base::string16& text) { text 161 ui/views/controls/link.cc Label::SetText(text); text 165 ui/views/controls/link.cc SetFocusable(!text.empty()); text 206 ui/views/controls/link.cc SetFocusable(!text().empty()); text 53 ui/views/controls/link.h virtual void SetText(const base::string16& text) OVERRIDE; text 47 ui/views/controls/message_box_view.cc void SplitStringIntoParagraphs(const base::string16& text, text 52 ui/views/controls/message_box_view.cc for (size_t i = 0; i < text.length(); ++i) { text 53 ui/views/controls/message_box_view.cc if (IsParagraphSeparator(text[i])) { text 54 ui/views/controls/message_box_view.cc paragraphs->push_back(text.substr(start, i - start)); text 58 ui/views/controls/message_box_view.cc paragraphs->push_back(text.substr(start, text.length() - start)); text 89 ui/views/controls/message_box_view.cc return prompt_field_ ? prompt_field_->text() : base::string16(); text 118 ui/views/controls/message_box_view.cc void MessageBoxView::SetLink(const base::string16& text, text 120 ui/views/controls/message_box_view.cc if (text.empty()) { text 130 ui/views/controls/message_box_view.cc link_->SetText(text); text 166 ui/views/controls/message_box_view.cc base::string16 text = message_labels_[0]->text(); text 168 ui/views/controls/message_box_view.cc text += message_labels_[i]->text(); text 169 ui/views/controls/message_box_view.cc scw.WriteText(text); text 83 ui/views/controls/message_box_view.h void SetLink(const base::string16& text, LinkListener* listener); text 50 ui/views/controls/prefix_selector.cc void PrefixSelector::InsertText(const base::string16& text) { text 51 ui/views/controls/prefix_selector.cc OnTextInput(text); text 118 ui/views/controls/prefix_selector.cc base::string16* text) const { text 146 ui/views/controls/prefix_selector.cc void PrefixSelector::OnTextInput(const base::string16& text) { text 150 ui/views/controls/prefix_selector.cc if (text.length() == 1 && text 151 ui/views/controls/prefix_selector.cc (text[0] == L'\t' || text[0] == L'\r' || text[0] == L'\n')) text 165 ui/views/controls/prefix_selector.cc current_text_ += text; text 167 ui/views/controls/prefix_selector.cc current_text_ = text; text 32 ui/views/controls/prefix_selector.h virtual void InsertText(const base::string16& text) OVERRIDE; text 48 ui/views/controls/prefix_selector.h base::string16* text) const OVERRIDE; text 60 ui/views/controls/prefix_selector.h void OnTextInput(const base::string16& text); text 33 ui/views/controls/styled_label.cc const base::string16& text, text 40 ui/views/controls/styled_label.cc Link* link = new Link(text); text 45 ui/views/controls/styled_label.cc result.reset(new Label(text)); text 95 ui/views/controls/styled_label.cc StyledLabel::StyledLabel(const base::string16& text, text 100 ui/views/controls/styled_label.cc base::TrimWhitespace(text, base::TRIM_TRAILING, &text_); text 105 ui/views/controls/styled_label.cc void StyledLabel::SetText(const base::string16& text) { text 106 ui/views/controls/styled_label.cc text_ = text; text 58 ui/views/controls/styled_label.h StyledLabel(const base::string16& text, StyledLabelListener* listener); text 62 ui/views/controls/styled_label.h void SetText(const base::string16& text); text 50 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text"); text 51 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 52 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text)); text 59 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text "); text 60 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 69 ui/views/controls/styled_label_unittest.cc static_cast<Label*>(styled()->child_at(0))->text()); text 73 ui/views/controls/styled_label_unittest.cc const std::string text(" This is a test block of text"); text 74 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 83 ui/views/controls/styled_label_unittest.cc static_cast<Label*>(styled()->child_at(0))->text()); text 87 ui/views/controls/styled_label_unittest.cc const std::string text(" a"); text 88 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 90 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text)); text 100 ui/views/controls/styled_label_unittest.cc static_cast<Label*>(styled()->child_at(0))->text()); text 104 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text"); text 105 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 106 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text.substr(0, text.size() * 2 / 3))); text 126 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text."); text 127 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 152 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text, "); text 154 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text + link_text); text 156 ui/views/controls/styled_label_unittest.cc gfx::Range(text.size(), text.size() + link_text.size()), text 159 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text + link_text.substr(0, link_text.size() / 2))); text 175 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text, "); text 177 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text + unbreakable_text); text 181 ui/views/controls/styled_label_unittest.cc gfx::Range(text.size(), text.size() + unbreakable_text.size()), text 185 ui/views/controls/styled_label_unittest.cc text + unbreakable_text.substr(0, unbreakable_text.size() / 2))); text 199 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text, "); text 201 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text + underlined_text); text 205 ui/views/controls/styled_label_unittest.cc gfx::Range(text.size(), text.size() + underlined_text.size()), text 222 ui/views/controls/styled_label_unittest.cc const std::string text(" normal text"); text 223 ui/views/controls/styled_label_unittest.cc InitStyledLabel(bold_text + text); text 282 ui/views/controls/styled_label_unittest.cc const std::string text("word"); text 283 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text_red + text_link + text); text 296 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text)); text 315 ui/views/controls/styled_label_unittest.cc const std::string text( text 317 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 321 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text)); text 332 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text, "); text 337 ui/views/controls/styled_label_unittest.cc const size_t tooltip_start = text.size(); text 339 ui/views/controls/styled_label_unittest.cc text.size() + tooltip_text.size() + normal_text.size(); text 341 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text + tooltip_text + normal_text + link_text); text 352 ui/views/controls/styled_label_unittest.cc text + tooltip_text.substr(0, tooltip_text.size() - 3))); text 385 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text."); text 386 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 390 ui/views/controls/styled_label_unittest.cc Label label(ASCIIToUTF16(text), gfx::FontList(font)); text 403 ui/views/controls/styled_label_unittest.cc const std::string text("This is a test block of text."); text 404 ui/views/controls/styled_label_unittest.cc InitStyledLabel(text); text 887 ui/views/controls/table/table_view.cc const base::string16 text(model_->GetText(ViewToModel(row), text 889 ui/views/controls/table/table_view.cc if (text.empty()) text 896 ui/views/controls/table/table_view.cc gfx::GetStringWidth(text, font_list_) <= (right - cell_bounds.x())) text 900 ui/views/controls/table/table_view.cc *tooltip = text; text 825 ui/views/controls/textfield/textfield.cc state->value = text(); text 1059 ui/views/controls/textfield/textfield.cc return !text().empty(); text 1482 ui/views/controls/textfield/textfield.cc controller_->ContentsChanged(this, text()); text 1520 ui/views/controls/textfield/textfield.cc if (text().empty() && !GetPlaceholderText().empty()) { text 67 ui/views/controls/textfield/textfield.h const base::string16& text() const { return model_->text(); } text 124 ui/views/controls/textfield/textfield.h void set_placeholder_text(const base::string16& text) { text 125 ui/views/controls/textfield/textfield.h placeholder_text_ = text; text 256 ui/views/controls/textfield/textfield.h virtual void InsertText(const base::string16& text) OVERRIDE; text 272 ui/views/controls/textfield/textfield.h base::string16* text) const OVERRIDE; text 227 ui/views/controls/textfield/textfield_model.cc const base::string16& text, text 232 ui/views/controls/textfield/textfield_model.cc (backward ? text_start + text.length() : text_start), text 233 ui/views/controls/textfield/textfield_model.cc text, text 315 ui/views/controls/textfield/textfield_model.cc if (text() != new_text) { text 358 ui/views/controls/textfield/textfield_model.cc if (text().length() > GetCursorPosition()) { text 382 ui/views/controls/textfield/textfield_model.cc size_t previous_char = gfx::UTF16OffsetToIndex(text(), cursor_position, -1); text 422 ui/views/controls/textfield/textfield_model.cc return text().substr(render_text_->selection().GetMin(), text 477 ui/views/controls/textfield/textfield_model.cc base::string16 old = text(); text 486 ui/views/controls/textfield/textfield_model.cc return old != text() || old_cursor != GetCursorPosition(); text 500 ui/views/controls/textfield/textfield_model.cc base::string16 old = text(); text 503 ui/views/controls/textfield/textfield_model.cc return old != text() || old_cursor != GetCursorPosition(); text 568 ui/views/controls/textfield/textfield_model.cc if (range.IsValid() && range.GetMin() < text().length()) text 569 ui/views/controls/textfield/textfield_model.cc return text().substr(range.GetMin(), range.length()); text 574 ui/views/controls/textfield/textfield_model.cc *range = gfx::Range(0, text().length()); text 584 ui/views/controls/textfield/textfield_model.cc if (composition.text.empty()) text 588 ui/views/controls/textfield/textfield_model.cc base::string16 new_text = text(); text 589 ui/views/controls/textfield/textfield_model.cc render_text_->SetText(new_text.insert(cursor, composition.text)); text 590 ui/views/controls/textfield/textfield_model.cc gfx::Range range(cursor, cursor + composition.text.length()); text 617 ui/views/controls/textfield/textfield_model.cc base::string16 composition = text().substr(range.start(), range.length()); text 631 ui/views/controls/textfield/textfield_model.cc base::string16 new_text = text(); text 706 ui/views/controls/textfield/textfield_model.cc const base::string16 old_text = text().substr(old_text_start, range.length()); text 784 ui/views/controls/textfield/textfield_model.cc base::string16 old_text = text(); text 67 ui/views/controls/textfield/textfield_model.h const base::string16& text() const { return render_text_->text(); } text 77 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HILL", model.text()); text 79 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HILLWORLD", model.text()); text 84 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HEILLWORLD", model.text()); text 87 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLLWORLD", model.text()); text 90 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLOWORLD", model.text()); text 95 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLOORLD", model.text()); text 98 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORLD", model.text()); text 103 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORLD", model.text()); text 107 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORLD", model.text()); text 110 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLORL", model.text()); text 114 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORL", model.text()); text 121 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05d1\x05d2"), model.text()); text 123 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05d1\x05d2\x05e0\x05e1\x05e2"), model.text()); text 129 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); text 134 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); text 139 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05f0\x5f1\x05e0\x05e1\x05e2"), model.text()); text 142 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05d0\x05f0\x05e0\x05e1\x05e2"), model.text()); text 157 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x0915\x093f\x0915\x094d\x0915"), model.text()); text 160 ui/views/controls/textfield/textfield_model_unittest.cc L"\x0915\x093f\x0915\x094d\x0915\x0915\x094d\x092e\x094d"), model.text()); text 174 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); text 184 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); text 197 ui/views/controls/textfield/textfield_model_unittest.cc model.text()); text 198 ui/views/controls/textfield/textfield_model_unittest.cc MoveCursorTo(model, model.text().length()); text 199 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(model.text().length(), model.GetCursorPosition()); text 201 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x0061\x0062\x0915\x0915\x094d\x092e"), model.text()); text 224 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x0D38\x0D15\x0D16\x0D2E"), model.text()); text 233 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L""), model.text()); text 239 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(WideToUTF16(L"\x002C\x0020\x05D1\x05BC\x05B7\x05E9"), model.text()); text 244 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_EQ(base::string16(), model.text()); text 392 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HLO", model.text()); text 398 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HILL", model.text()); text 402 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELL", model.text()); text 406 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("BELL", model.text()); text 411 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("BEE", model.text()); text 458 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("42", model.text()); text 466 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("GOODBYE", model.text()); text 497 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); text 504 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); text 513 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); text 521 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO WORLD", model.text()); text 531 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO ", model.text()); text 539 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO ", model.text()); text 545 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO HELLO ", model.text()); text 549 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("HELLO HELLO HELLO ", model.text()); text 828 ui/views/controls/textfield/textfield_model_unittest.cc composition.text = ASCIIToUTF16("678"); text 853 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890", model.text()); text 870 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890", model.text()); text 877 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890678", model.text()); text 882 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-", model.text()); text 889 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890678", model.text()); text 894 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-", model.text()); text 902 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-678-", model.text()); text 908 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-678-", model.text()); text 914 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234567890-678-", model.text()); text 921 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); text 928 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("676788", model.text()); text 935 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("676788678", model.text()); text 947 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678678", model.text()); text 953 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); text 962 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678678", model.text()); text 968 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); text 974 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); text 980 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("678", model.text()); text 997 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 999 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); text 1004 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); text 1006 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); text 1009 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1014 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1016 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1021 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); text 1024 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); text 1029 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); text 1031 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); text 1034 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); text 1039 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1043 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); text 1046 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abc", model.text()); text 1049 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); text 1056 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a", model.text()); text 1064 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); text 1067 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("BDE", model.text()); text 1069 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); text 1072 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1075 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); text 1080 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("AB", model.text()); text 1082 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABDE", model.text()); text 1085 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("AB", model.text()); text 1093 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("w", model.text()); text 1097 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1100 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ww", model.text()); text 1104 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www", model.text()); text 1108 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.", model.text()); text 1112 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.y", model.text()); text 1114 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.youtube.com", model.text()); text 1118 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1121 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1124 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1127 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1130 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1134 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1137 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1140 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1143 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1146 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.youtube.com", model.text()); text 1155 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("w", model.text()); text 1159 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1165 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.c", model.text()); text 1168 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com/search=www.google.c", model.text()); text 1170 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.c", model.text()); text 1172 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("www.google.com", model.text()); text 1182 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); text 1185 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1188 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1191 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1193 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1196 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); text 1199 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); text 1204 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCBCDE", model.text()); text 1207 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); text 1210 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1213 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); text 1216 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1219 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1222 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1224 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); // Redoing SetText text 1229 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ADE", model.text()); text 1232 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1235 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); text 1238 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCBCDE", model.text()); text 1245 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); text 1251 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDEBC", model.text()); text 1254 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCDE", model.text()); text 1258 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCBCBCDE", model.text()); text 1264 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); text 1268 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); text 1271 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); text 1274 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); text 1277 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); text 1281 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); text 1284 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1288 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); text 1291 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("12345", model.text()); // For 1st paste text 1294 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); text 1297 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); text 1302 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); text 1305 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("123234523", model.text()); text 1308 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1232345", model.text()); text 1319 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); text 1322 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1324 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1326 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ab", model.text()); text 1336 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a123d", model.text()); text 1339 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); text 1342 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1346 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); text 1349 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a123d", model.text()); text 1360 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a1234", model.text()); text 1363 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); text 1366 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1370 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcd", model.text()); text 1373 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("a1234", model.text()); text 1443 ui/views/controls/textfield/textfield_model_unittest.cc composition.text = ASCIIToUTF16("abc"); text 1450 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEx", model.text()); text 1455 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1459 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1461 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1463 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("", model.text()); text 1465 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1467 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1473 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("abcABCDEabc", model.text()); text 1475 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1477 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1479 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1481 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1489 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1491 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1493 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1495 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1504 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDEabc", model.text()); text 1506 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234", model.text()); text 1508 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("ABCDE", model.text()); text 1510 ui/views/controls/textfield/textfield_model_unittest.cc EXPECT_STR_EQ("1234", model.text()); text 90 ui/views/controls/textfield/textfield_unittest.cc void set_text(const base::string16& text) { text_ = text; } text 113 ui/views/controls/textfield/textfield_unittest.cc base::string16 text; text 114 ui/views/controls/textfield/textfield_unittest.cc ui::Clipboard::GetForCurrentThread()->ReadText(type, &text); text 115 ui/views/controls/textfield/textfield_unittest.cc return text; text 118 ui/views/controls/textfield/textfield_unittest.cc void SetClipboardText(ui::ClipboardType type, const std::string& text) { text 120 ui/views/controls/textfield/textfield_unittest.cc .WriteText(ASCIIToUTF16(text)); text 342 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is", model_->text()); text 343 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is", textfield_->text()); text 347 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is a test", model_->text()); text 348 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("this is a test", textfield_->text()); text 368 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("TexT!1!1", textfield_->text()); text 398 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ZERO two three", textfield_->text()); text 411 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcdefghij", textfield_->text()); text 417 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abfghij", textfield_->text()); text 420 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abij", textfield_->text()); text 425 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("k", textfield_->text()); text 431 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three ", textfield_->text()); text 437 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("three ", textfield_->text()); text 439 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one three ", textfield_->text()); text 446 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" two three four", textfield_->text()); text 452 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" two", textfield_->text()); text 454 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" two four", textfield_->text()); text 468 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("password", textfield_->text()); text 482 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("password", textfield_->text()); text 493 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("foofoofoo", textfield_->text()); text 582 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two thre ", textfield_->text()); text 588 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three ", textfield_->text()); text 594 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two three", textfield_->text()); text 608 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" one two", textfield_->text()); text 616 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("one two", textfield_->text()); text 744 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_->text(), textfield_->GetSelectedText()); text 785 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello string world", textfield_->text()); text 882 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h welloorld", textfield_->text()); text 887 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); text 889 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 891 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 893 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); text 895 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h welloorld", textfield_->text()); text 897 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h welloorld", textfield_->text()); text 935 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h worlellod", textfield_->text()); text 940 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); text 942 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 944 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 946 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("hello world", textfield_->text()); text 948 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h worlellod", textfield_->text()); text 950 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("h worlellod", textfield_->text()); text 980 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(ASCIIToUTF16("hello world"), textfield_->text()); text 1012 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("read only", textfield_->text()); text 1019 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("read only", textfield_->text()); text 1035 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ(" four five six ", textfield_->text()); text 1072 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", helper.text()); text 1076 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0456789", textfield_->text()); text 1079 ui/views/controls/textfield/textfield_unittest.cc composition.text = UTF8ToUTF16("321"); text 1091 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0321456789", textfield_->text()); text 1104 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123456789", textfield_->text()); text 1113 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123321456789", textfield_->text()); text 1122 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123321456789", textfield_->text()); text 1131 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0789", textfield_->text()); text 1157 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1159 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1161 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1163 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1165 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1170 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1172 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1174 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1180 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1182 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1184 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1186 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1188 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1191 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", textfield_->text()); text 1194 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("1234", textfield_->text()); text 1197 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", textfield_->text()); text 1201 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1203 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1205 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1207 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("123", textfield_->text()); text 1209 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("1234", textfield_->text()); text 1214 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1217 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1219 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("1234", textfield_->text()); text 1221 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1225 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1228 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("b", textfield_->text()); text 1231 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1233 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("b", textfield_->text()); text 1235 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1237 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1239 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1241 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("b", textfield_->text()); text 1243 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1245 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1257 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1264 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("456", textfield_->text()); text 1267 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1274 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("", textfield_->text()); text 1296 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("345", textfield_->text()); text 1304 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abc", textfield_->text()); text 1306 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabc", textfield_->text()); text 1308 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabcabc", textfield_->text()); text 1310 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabcabc", textfield_->text()); text 1316 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("abcabcabc", textfield_->text()); text 1326 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("12", textfield_->text()); text 1333 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1338 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1344 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1"), textfield_->text()); text 1349 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1\x5E2"), textfield_->text()); text 1359 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1"), textfield_->text()); text 1365 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x05E2"), textfield_->text()); text 1370 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"a"), textfield_->text()); text 1376 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"ab"), textfield_->text()); text 1388 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("a", textfield_->text()); text 1394 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("ab", textfield_->text()); text 1399 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1"), textfield_->text()); text 1405 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"ab\x05E1\x5E2"), textfield_->text()); text 1414 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1"), textfield_->text()); text 1419 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x05E2"), textfield_->text()); text 1425 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"a"), textfield_->text()); text 1431 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(WideToUTF16(L"\x05E1\x5E2" L"ab"), textfield_->text()); text 1625 ui/views/controls/textfield/textfield_unittest.cc composition.text = UTF8ToUTF16("0123456789"); text 1681 ui/views/controls/textfield/textfield_unittest.cc composition.text.assign(kUtf16Chars, kUtf16Chars + kUtf16CharsCount); text 1783 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("01230123", textfield_->text()); text 1790 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("012301230123", textfield_->text()); text 1796 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123012301230123", textfield_->text()); text 1802 ui/views/controls/textfield/textfield_unittest.cc EXPECT_STR_EQ("0123012301230123", textfield_->text()); text 207 ui/views/controls/tree/tree_view.cc model_->SetTitle(GetSelectedNode(), editor_->text()); text 76 ui/views/corewm/tooltip_aura.cc base::string16* text, text 86 ui/views/corewm/tooltip_aura.cc base::SplitString(*text, '\n', &lines); text 146 ui/views/corewm/tooltip_aura.cc *text = result; text 35 ui/views/corewm/tooltip_aura.h base::string16* text, text 124 ui/views/examples/button_example.cc text_button_->text().length() < 50 ? kLongText : kTextButton)); text 160 ui/views/examples/multiline_example.cc label_->SetText(label_checkbox_->checked() ? textfield_->text() : text 114 ui/views/examples/text_example.cc void set_text(const base::string16& text) { text_ = text; } text 107 ui/views/examples/textfield_example.cc PrintStatus("Password [%s]", UTF16ToUTF8(password_->text()).c_str()); text 122 ui/views/examples/textfield_example.cc if (!name_->text().empty()) { text 126 ui/views/examples/textfield_example.cc if (name_->text().length() >= 5) { text 127 ui/views/examples/textfield_example.cc size_t fifth = name_->text().length() / 5; text 506 ui/views/focus/focus_manager_unittest.cc LabelButtonDtorTracked(const base::string16& text, text 508 ui/views/focus/focus_manager_unittest.cc : LabelButton(NULL, text), text 201 ui/views/ime/input_method_bridge.cc void InputMethodBridge::InsertText(const base::string16& text) { text 204 ui/views/ime/input_method_bridge.cc client->InsertText(text); text 283 ui/views/ime/input_method_bridge.cc base::string16* text) const { text 285 ui/views/ime/input_method_bridge.cc return client ? client->GetTextFromRange(range, text) : false; text 57 ui/views/ime/input_method_bridge.h virtual void InsertText(const base::string16& text) OVERRIDE; text 73 ui/views/ime/input_method_bridge.h base::string16* text) const OVERRIDE; text 85 ui/views/ime/mock_input_method.cc if (composition_.text.length()) text 1357 ui/views/view_unittest.cc EXPECT_EQ(kText, textfield->text()); text 1359 ui/views/view_unittest.cc EXPECT_EQ(kText + kExtraText, textfield->text()); text 1361 ui/views/view_unittest.cc EXPECT_EQ(kEmptyString, textfield->text()); text 1367 ui/views/view_unittest.cc EXPECT_EQ(kText, textfield->text()); text 1459 ui/views/view_unittest.cc EXPECT_EQ(kReadOnlyText, read_only->text()); text 1463 ui/views/view_unittest.cc EXPECT_EQ(kNormalText, password->text()); text 1470 ui/views/view_unittest.cc EXPECT_EQ(kReadOnlyText, normal->text()); text 30 ui/views/widget/tooltip_manager.cc void TooltipManager::TrimTooltipText(base::string16* text) { text 33 ui/views/widget/tooltip_manager.cc *text = gfx::TruncateString(*text, kMaxTooltipLength); text 55 ui/views/widget/tooltip_manager.h static void TrimTooltipText(base::string16* text); text 1991 ui/views/win/hwnd_message_handler.cc LRESULT HWNDMessageHandler::OnSetText(const wchar_t* text) { text 1994 ui/views/win/hwnd_message_handler.cc reinterpret_cast<LPARAM>(text)); text 437 ui/views/win/hwnd_message_handler.h LRESULT OnSetText(const wchar_t* text); text 66 url/url_file.h inline bool DoesBeginUNCPath(const CHAR* text, text 75 url/url_file.h return text[start_offset] == '\\' && text[start_offset + 1] == '\\'; text 76 url/url_file.h return IsURLSlash(text[start_offset]) && IsURLSlash(text[start_offset + 1]); text 60 webkit/browser/blob/view_blob_internals_job.cc void AddHTMLBoldText(const std::string& text, std::string* out) { text 62 webkit/browser/blob/view_blob_internals_job.cc out->append(net::EscapeForHTML(text)); text 949 win8/metro_driver/chrome_app_view_ash.cc const base::string16& text, text 954 win8/metro_driver/chrome_app_view_ash.cc text, selection_start, selection_end, underlines)); text 957 win8/metro_driver/chrome_app_view_ash.cc void ChromeAppViewAsh::OnTextCommitted(const base::string16& text) { text 958 win8/metro_driver/chrome_app_view_ash.cc ui_channel_->Send(new MetroViewerHostMsg_ImeTextCommitted(text)); text 128 win8/metro_driver/chrome_app_view_ash.h const base::string16& text, text 132 win8/metro_driver/chrome_app_view_ash.h virtual void OnTextCommitted(const base::string16& text) OVERRIDE; text 377 win8/metro_driver/ime/text_service.cc const base::string16& text, text 383 win8/metro_driver/ime/text_service.cc delegate_->OnCompositionChanged(text, text 389 win8/metro_driver/ime/text_service.cc virtual void OnTextCommitted(const base::string16& text) OVERRIDE { text 392 win8/metro_driver/ime/text_service.cc delegate_->OnTextCommitted(text); text 29 win8/metro_driver/ime/text_service_delegate.h const base::string16& text, text 35 win8/metro_driver/ime/text_service_delegate.h virtual void OnTextCommitted(const base::string16& text) = 0; text 33 win8/metro_driver/ime/text_store_delegate.h const base::string16& text, text 39 win8/metro_driver/ime/text_store_delegate.h virtual void OnTextCommitted(const base::string16& text) = 0;