/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, 684 const base::string16 old_text = text().substr(old_text_start, range.length()); local 686 Edit* edit = new DeleteEdit(mergeable, old_text, old_text_start, backward) 761 base::string16 old_text = text(); local [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_view_browsertest.cc | 544 base::string16 old_text = omnibox_view->GetText(); local 545 EXPECT_FALSE(old_text.empty()); 554 EXPECT_EQ(old_text, omnibox_view->GetText()); 707 base::string16 old_text = omnibox_view->GetText(); local 710 EXPECT_GT(old_text.length(), arraysize(kInlineAutocompleteText) - 1); 720 if (old_text != omnibox_view->GetText()) 724 EXPECT_NE(old_text, omnibox_view->GetText()); 728 EXPECT_EQ(old_text, omnibox_view->GetText()); 745 base::string16 old_text = omnibox_view->GetText(); local 746 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), old_text); local 1080 base::string16 old_text = omnibox_view->GetText(); local 1362 base::string16 old_text = omnibox_view->GetText(); local 1382 base::string16 old_text = omnibox_view->GetText(); local 1383 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), old_text); local [all...] |
omnibox_edit_model.cc | 116 void RecordPercentageMatchHistogram(const base::string16& old_text, 121 size_t avg_length = (old_text.length() + new_text.length()) / 2; 124 if (!old_text.empty() && !new_text.empty()) { 125 size_t shorter_length = std::min(old_text.length(), new_text.length()); 126 base::string16::const_iterator end(old_text.begin() + shorter_length); 128 std::mismatch(old_text.begin(), end, new_text.begin()).first); 129 size_t matching_characters = mismatch - old_text.begin(); [all...] |
omnibox_edit_model.h | 318 // |text_differs| may be set even if |old_text| == |new_text|, e.g. if we've 324 bool OnAfterPossibleChange(const base::string16& old_text, 409 // Checks whether the user inserted a space into |old_text| and by doing so 412 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 | 254 const std::string& old_text = it->first; local 258 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 | 265 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 | 813 of the form old_text:new_text, which indicates that any old_text strings in 826 'replace_text must be of form old_text:new_text. Actual value: %s' % 829 old_text = base64.urlsafe_b64decode(old_text_b64) 831 data = data.replace(old_text, new_text) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
CodeGeneratorInspector.py | [all...] |