/external/chromium_org/tools/metrics/common/ |
diff_util.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_org/ui/views/controls/textfield/ |
textfield_model.cc | 72 const base::string16& old_text, 81 old_text_(old_text), 112 base::string16 old_text = edit->old_text_; local 113 old_text.erase(new_text_start_, new_text_.length()); 114 old_text.insert(old_text_start_, old_text_); 117 old_text_ = old_text; 178 const base::string16& old_text, 187 old_text, 682 const base::string16 old_text = text().substr(old_text_start, range.length()); local 684 Edit* edit = new DeleteEdit(mergeable, old_text, old_text_start, backward) 759 base::string16 old_text = text(); local [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_view_browsertest.cc | 555 base::string16 old_text = omnibox_view->GetText(); local 556 EXPECT_FALSE(old_text.empty()); 565 EXPECT_EQ(old_text, omnibox_view->GetText()); 718 base::string16 old_text = omnibox_view->GetText(); local 721 EXPECT_GT(old_text.length(), arraysize(kInlineAutocompleteText) - 1); 731 if (old_text != omnibox_view->GetText()) 735 EXPECT_NE(old_text, omnibox_view->GetText()); 739 EXPECT_EQ(old_text, omnibox_view->GetText()); 757 base::string16 old_text = omnibox_view->GetText(); local 758 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), old_text); local 1089 base::string16 old_text = omnibox_view->GetText(); local 1373 base::string16 old_text = omnibox_view->GetText(); local 1393 base::string16 old_text = omnibox_view->GetText(); local 1394 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), old_text); local [all...] |
omnibox_edit_model.cc | 119 void RecordPercentageMatchHistogram(const base::string16& old_text, 124 size_t avg_length = (old_text.length() + new_text.length()) / 2; 127 if (!old_text.empty() && !new_text.empty()) { 128 size_t shorter_length = std::min(old_text.length(), new_text.length()); 129 base::string16::const_iterator end(old_text.begin() + shorter_length); 131 std::mismatch(old_text.begin(), end, new_text.begin()).first); 132 size_t matching_characters = mismatch - old_text.begin(); [all...] |
omnibox_edit_model.h | 320 // |text_differs| may be set even if |old_text| == |new_text|, e.g. if we've 326 bool OnAfterPossibleChange(const base::string16& old_text, 408 // Checks whether the user inserted a space into |old_text| and by doing so 411 const base::string16& 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_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 | 277 const std::string& old_text = it->first; local 281 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/qemu/distrib/libpng-1.2.46/ |
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/chromium_org/ui/views/accessibility/ |
native_view_accessibility_win.h | 262 STDMETHODIMP get_oldText(IA2TextSegment* old_text) {
|
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility_win.cc | [all...] |
browser_accessibility_win.h | 488 CONTENT_EXPORT STDMETHODIMP get_oldText(IA2TextSegment* old_text);
|
/external/chromium_org/net/tools/testserver/ |
testserver.py | 817 of the form old_text:new_text, which indicates that any old_text strings in 830 'replace_text must be of form old_text:new_text. Actual value: %s' % 833 old_text = base64.urlsafe_b64decode(old_text_b64) 835 data = data.replace(old_text, new_text) [all...] |