HomeSort by relevance Sort by last modified time
    Searched refs:old_text (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/tools/metrics/histograms/
diffutil.py 17 def PromptUserToAcceptDiff(old_text, new_text, prompt):
22 old_text: A string containing old file contents.
31 if old_text == new_text:
35 old_text.splitlines(), new_text.splitlines(), fromdesc='Original',
  /external/chromium_org/courgette/
bsdiff_memory_unittest.cc 18 void BSDiffMemoryTest::GenerateAndTestPatch(const std::string& old_text,
22 old1.Init(old_text.c_str(), old_text.length());
31 old2.Init(old_text.c_str(), old_text.length());
  /external/chromium/chrome/browser/autocomplete/
autocomplete_edit_view_browsertest.cc 529 string16 old_text = edit_view->GetText(); local
530 EXPECT_FALSE(old_text.empty());
539 EXPECT_EQ(old_text, edit_view->GetText());
621 string16 old_text = edit_view->GetText(); local
624 EXPECT_GT(old_text.length(), arraysize(kInlineAutocompleteText) - 1);
634 if (old_text != edit_view->GetText())
638 EXPECT_NE(old_text, edit_view->GetText());
642 EXPECT_EQ(old_text, edit_view->GetText());
653 string16 old_text = edit_view->GetText(); local
654 EXPECT_EQ(UTF8ToUTF16(chrome::kAboutBlankURL), old_text); local
923 string16 old_text = edit_view->GetText(); local
1097 string16 old_text = edit_view->GetText(); local
1195 string16 old_text = edit_view->GetText(); local
1196 EXPECT_EQ(UTF8ToUTF16(chrome::kAboutBlankURL), old_text); local
    [all...]
  /external/chromium_org/chrome/browser/ui/omnibox/
omnibox_view_browsertest.cc 556 base::string16 old_text = omnibox_view->GetText(); local
557 EXPECT_FALSE(old_text.empty());
566 EXPECT_EQ(old_text, omnibox_view->GetText());
719 base::string16 old_text = omnibox_view->GetText(); local
722 EXPECT_GT(old_text.length(), arraysize(kInlineAutocompleteText) - 1);
732 if (old_text != omnibox_view->GetText())
736 EXPECT_NE(old_text, omnibox_view->GetText());
740 EXPECT_EQ(old_text, omnibox_view->GetText());
757 base::string16 old_text = omnibox_view->GetText(); local
758 EXPECT_EQ(UTF8ToUTF16(content::kAboutBlankURL), old_text); local
1092 base::string16 old_text = omnibox_view->GetText(); local
1374 base::string16 old_text = omnibox_view->GetText(); local
1394 base::string16 old_text = omnibox_view->GetText(); local
1395 EXPECT_EQ(UTF8ToUTF16(content::kAboutBlankURL), old_text); local
    [all...]
omnibox_edit_model.cc 114 void RecordPercentageMatchHistogram(const base::string16& old_text,
119 size_t avg_length = (old_text.length() + new_text.length()) / 2;
122 if (!old_text.empty() && !new_text.empty()) {
123 size_t shorter_length = std::min(old_text.length(), new_text.length());
124 base::string16::const_iterator end(old_text.begin() + shorter_length);
126 std::mismatch(old_text.begin(), end, new_text.begin()).first);
127 size_t matching_characters = mismatch - old_text.begin();
    [all...]
omnibox_edit_model.h 307 // |text_differs| may be set even if |old_text| == |new_text|, e.g. if we've
313 bool OnAfterPossibleChange(const base::string16& old_text,
401 // Checks whether the user inserted a space into |old_text| and by doing so
404 const base::string16& old_text,
  /external/chromium_org/ui/views/controls/textfield/
textfield_views_model.cc 84 const string16& old_text,
93 old_text_(old_text),
128 string16 old_text = edit->old_text_; local
129 old_text.erase(new_text_start_, new_text_.length());
130 old_text.insert(old_text_start_, old_text_);
133 old_text_ = old_text;
194 const string16& old_text,
203 old_text,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
refactor.py 289 def print_output(self, old_text, new_text, filename, equal):
507 def processed_file(self, new_text, filename, old_text=None, write=False,
513 if old_text is None:
514 old_text = self._read_python_source(filename)[0]
515 if old_text is None:
517 equal = old_text == new_text
518 self.print_output(old_text, new_text, filename, equal)
524 self.write_file(new_text, filename, old_text, encoding)
528 def write_file(self, new_text, filename, old_text, encoding=None):
main.py 69 def write_file(self, new_text, filename, old_text, encoding):
101 write(new_text, filename, old_text, encoding)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
refactor.py 289 def print_output(self, old_text, new_text, filename, equal):
507 def processed_file(self, new_text, filename, old_text=None, write=False,
513 if old_text is None:
514 old_text = self._read_python_source(filename)[0]
515 if old_text is None:
517 equal = old_text == new_text
518 self.print_output(old_text, new_text, filename, equal)
524 self.write_file(new_text, filename, old_text, encoding)
528 def write_file(self, new_text, filename, old_text, encoding=None):
main.py 69 def write_file(self, new_text, filename, old_text, encoding):
101 write(new_text, filename, old_text, encoding)
  /external/chromium/net/test/
test_server.cc 236 const std::string& old_text = it->first; local
240 if (!base::Base64Encode(old_text, &base64_old))
  /external/chromium_org/third_party/libpng/
pngset.c 672 png_textp old_text; local
677 old_text = info_ptr->text;
682 png_free(png_ptr, old_text);
685 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max *
687 png_free(png_ptr, old_text);
    [all...]
  /external/chromium_org/net/test/spawned_test_server/
base_test_server.cc 229 const std::string& old_text = it->first; local
233 base::Base64Encode(old_text, &base64_old);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_refactor.py 169 def print_output(self, old_text, new_text, filename, equal):
170 results.extend([old_text, new_text, filename, equal])
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
test_refactor.py 169 def print_output(self, old_text, new_text, filename, equal):
170 results.extend([old_text, new_text, filename, equal])
  /external/libpng/
pngset.c 675 png_textp old_text; local
678 old_text = info_ptr->text;
686 info_ptr->text = old_text;
689 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max_text *
691 png_free(png_ptr, old_text);
    [all...]
  /external/qemu/distrib/libpng-1.2.19/
pngset.c 748 png_textp old_text; local
753 old_text = info_ptr->text;
758 png_free(png_ptr, old_text);
761 png_memcpy(info_ptr->text, old_text, (png_size_t)(old_max *
763 png_free(png_ptr, old_text);
    [all...]
  /external/chromium_org/ui/views/accessibility/
native_view_accessibility_win.h 251 STDMETHODIMP get_oldText(IA2TextSegment* old_text) {
  /external/chromium/chrome/browser/accessibility/
browser_accessibility_win.h 301 STDMETHODIMP get_oldText(IA2TextSegment* old_text) {
  /external/chromium/net/tools/testserver/
testserver.py 729 of the form old_text:new_text, which indicates that any old_text strings in
741 'replace_text must be of form old_text:new_text. Actual value: %s' %
744 old_text = base64.urlsafe_b64decode(old_text_b64)
746 data = data.replace(old_text, new_text)
    [all...]
  /external/chromium_org/content/browser/accessibility/
browser_accessibility_win.cc     [all...]
browser_accessibility_win.h 489 CONTENT_EXPORT STDMETHODIMP get_oldText(IA2TextSegment* old_text);
  /external/chromium_org/net/tools/testserver/
testserver.py 773 of the form old_text:new_text, which indicates that any old_text strings in
786 'replace_text must be of form old_text:new_text. Actual value: %s' %
789 old_text = base64.urlsafe_b64decode(old_text_b64)
791 data = data.replace(old_text, new_text)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
CodeGeneratorInspector.py     [all...]

Completed in 591 milliseconds