Home
last modified time | relevance | path

Searched refs:old_text (Results 1 – 19 of 19) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_browsertest.cc529 string16 old_text = edit_view->GetText(); in EscapeTest() local
530 EXPECT_FALSE(old_text.empty()); in EscapeTest()
539 EXPECT_EQ(old_text, edit_view->GetText()); in EscapeTest()
621 string16 old_text = edit_view->GetText(); in EscapeToDefaultMatchTest() local
624 EXPECT_GT(old_text.length(), arraysize(kInlineAutocompleteText) - 1); in EscapeToDefaultMatchTest()
634 if (old_text != edit_view->GetText()) in EscapeToDefaultMatchTest()
638 EXPECT_NE(old_text, edit_view->GetText()); in EscapeToDefaultMatchTest()
642 EXPECT_EQ(old_text, edit_view->GetText()); in EscapeToDefaultMatchTest()
653 string16 old_text = edit_view->GetText(); in BasicTextOperationsTest() local
654 EXPECT_EQ(UTF8ToUTF16(chrome::kAboutBlankURL), old_text); in BasicTextOperationsTest()
[all …]
/external/chromium_org/tools/metrics/histograms/
Ddiffutil.py17 def PromptUserToAcceptDiff(old_text, new_text, prompt): argument
31 if old_text == new_text:
35 old_text.splitlines(), new_text.splitlines(), fromdesc='Original',
/external/chromium_org/courgette/
Dbsdiff_memory_unittest.cc18 void BSDiffMemoryTest::GenerateAndTestPatch(const std::string& old_text, in GenerateAndTestPatch() argument
22 old1.Init(old_text.c_str(), old_text.length()); in GenerateAndTestPatch()
31 old2.Init(old_text.c_str(), old_text.length()); in GenerateAndTestPatch()
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_view_browsertest.cc556 base::string16 old_text = omnibox_view->GetText(); in IN_PROC_BROWSER_TEST_F() local
557 EXPECT_FALSE(old_text.empty()); in IN_PROC_BROWSER_TEST_F()
566 EXPECT_EQ(old_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
719 base::string16 old_text = omnibox_view->GetText(); in IN_PROC_BROWSER_TEST_F() local
722 EXPECT_GT(old_text.length(), arraysize(kInlineAutocompleteText) - 1); in IN_PROC_BROWSER_TEST_F()
732 if (old_text != omnibox_view->GetText()) in IN_PROC_BROWSER_TEST_F()
736 EXPECT_NE(old_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
740 EXPECT_EQ(old_text, omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
757 base::string16 old_text = omnibox_view->GetText(); in IN_PROC_BROWSER_TEST_F() local
758 EXPECT_EQ(UTF8ToUTF16(content::kAboutBlankURL), old_text); in IN_PROC_BROWSER_TEST_F()
[all …]
Domnibox_edit_model.cc114 void RecordPercentageMatchHistogram(const base::string16& old_text, in RecordPercentageMatchHistogram() argument
119 size_t avg_length = (old_text.length() + new_text.length()) / 2; in RecordPercentageMatchHistogram()
122 if (!old_text.empty() && !new_text.empty()) { in RecordPercentageMatchHistogram()
123 size_t shorter_length = std::min(old_text.length(), new_text.length()); in RecordPercentageMatchHistogram()
124 base::string16::const_iterator end(old_text.begin() + shorter_length); in RecordPercentageMatchHistogram()
126 std::mismatch(old_text.begin(), end, new_text.begin()).first); in RecordPercentageMatchHistogram()
127 size_t matching_characters = mismatch - old_text.begin(); in RecordPercentageMatchHistogram()
1125 bool OmniboxEditModel::OnAfterPossibleChange(const base::string16& old_text, in OnAfterPossibleChange() argument
1201 CreatedKeywordSearchByInsertingSpaceInMiddle(old_text, user_text_, in OnAfterPossibleChange()
1358 const base::string16& old_text, in CreatedKeywordSearchByInsertingSpaceInMiddle() argument
[all …]
Domnibox_edit_model.h313 bool OnAfterPossibleChange(const base::string16& old_text,
404 const base::string16& old_text,
/external/chromium_org/ui/views/controls/textfield/
Dtextfield_views_model.cc84 const string16& old_text, in Edit() argument
93 old_text_(old_text), in Edit()
128 string16 old_text = edit->old_text_; in MergeReplace() local
129 old_text.erase(new_text_start_, new_text_.length()); in MergeReplace()
130 old_text.insert(old_text_start_, old_text_); in MergeReplace()
133 old_text_ = old_text; in MergeReplace()
194 const string16& old_text, in ReplaceEdit() argument
203 old_text, in ReplaceEdit()
/external/chromium/net/test/
Dtest_server.cc236 const std::string& old_text = it->first; in GetFilePathWithReplacements() local
240 if (!base::Base64Encode(old_text, &base64_old)) in GetFilePathWithReplacements()
/external/chromium_org/third_party/libpng/
Dpngset.c672 png_textp old_text; in png_set_text_2() local
677 old_text = info_ptr->text; in png_set_text_2()
682 png_free(png_ptr, old_text); in png_set_text_2()
685 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * in png_set_text_2()
687 png_free(png_ptr, old_text); in png_set_text_2()
/external/libpng/
Dpngset.c675 png_textp old_text; in png_set_text_2() local
678 old_text = info_ptr->text; in png_set_text_2()
686 info_ptr->text = old_text; in png_set_text_2()
689 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max_text * in png_set_text_2()
691 png_free(png_ptr, old_text); in png_set_text_2()
/external/chromium_org/net/test/spawned_test_server/
Dbase_test_server.cc229 const std::string& old_text = it->first; in GetFilePathWithReplacements() local
233 base::Base64Encode(old_text, &base64_old); in GetFilePathWithReplacements()
/external/qemu/distrib/libpng-1.2.19/
Dpngset.c748 png_textp old_text; in png_set_text_2() local
753 old_text = info_ptr->text; in png_set_text_2()
758 png_free(png_ptr, old_text); in png_set_text_2()
761 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max * in png_set_text_2()
763 png_free(png_ptr, old_text); in png_set_text_2()
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win.h251 STDMETHODIMP get_oldText(IA2TextSegment* old_text) { in get_oldText() argument
/external/chromium/chrome/browser/accessibility/
Dbrowser_accessibility_win.h301 STDMETHODIMP get_oldText(IA2TextSegment* old_text) { in get_oldText() argument
/external/chromium_org/content/browser/accessibility/
Dbrowser_accessibility_win.cc2148 STDMETHODIMP BrowserAccessibilityWin::get_oldText(IA2TextSegment* old_text) { in get_oldText() argument
2152 if (!old_text) in get_oldText()
2155 old_text->text = SysAllocString(old_text_.c_str()); in get_oldText()
2156 old_text->start = 0; in get_oldText()
2157 old_text->end = static_cast<long>(old_text_.size()); in get_oldText()
Dbrowser_accessibility_win.h489 CONTENT_EXPORT STDMETHODIMP get_oldText(IA2TextSegment* old_text);
/external/chromium/net/tools/testserver/
Dtestserver.py744 old_text = base64.urlsafe_b64decode(old_text_b64)
746 data = data.replace(old_text, new_text)
/external/chromium_org/net/tools/testserver/
Dtestserver.py789 old_text = base64.urlsafe_b64decode(old_text_b64)
791 data = data.replace(old_text, new_text)
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DCodeGeneratorInspector.py2275 old_text = read_file.read()
2277 text_changed = old_text != self.output_