/external/chromium_org/ui/views/controls/textfield/ |
textfield_model.h | 63 bool SetText(const base::string16& new_text); 67 // Inserts given |new_text| at the current cursor position. 69 void InsertText(const base::string16& new_text) { 70 InsertTextInternal(new_text, false); 80 void ReplaceText(const base::string16& new_text) { 81 ReplaceTextInternal(new_text, false); 91 void Append(const base::string16& new_text); 186 void DeleteSelectionAndInsertTextAt(const base::string16& new_text, 225 // Insert the given |new_text|. |mergeable| indicates if this insert operation 227 void InsertTextInternal(const base::string16& new_text, bool mergeable) [all...] |
textfield_model.cc | 76 const base::string16& new_text, 85 new_text_(new_text), 150 InsertEdit(bool mergeable, const base::string16& new_text, size_t at) 157 at + new_text.length() /* new cursor */, 158 new_text, 183 const base::string16& new_text, 191 new_text, 290 bool TextfieldModel::SetText(const base::string16& new_text) { 296 if (text() != new_text) { 301 size_t new_cursor = new_text.length() 565 base::string16 new_text = text(); local 607 base::string16 new_text = text(); local [all...] |
textfield.h | 76 void SetText(const base::string16& new_text); 79 void AppendText(const base::string16& new_text); 81 // Inserts |new_text| at the cursor position, replacing any selected text. 82 void InsertOrReplaceText(const base::string16& new_text);
|
textfield.cc | 309 void Textfield::SetText(const base::string16& new_text) { 310 model_->SetText(new_text); 316 void Textfield::AppendText(const base::string16& new_text) { 317 if (new_text.empty()) 319 model_->Append(new_text); 324 void Textfield::InsertOrReplaceText(const base::string16& new_text) { 325 if (new_text.empty()) 327 model_->InsertText(new_text); 880 base::string16 new_text; local 881 event.data().GetString(&new_text); [all...] |
/external/chromium_org/tools/metrics/common/ |
diff_util.py | 17 def PromptUserToAcceptDiff(old_text, new_text, prompt): 23 new_text: A string containing new file contents. 31 if old_text == new_text: 35 old_text.splitlines(), new_text.splitlines(), fromdesc='Original',
|
/external/elfutils/0.153/src/ |
arlib-argp.c | 71 char *new_text; local 72 if (unlikely (asprintf (&new_text, gettext ("%s (default)"), text) < 0)) 74 return new_text;
|
/external/jsoncpp/devtools/ |
licenseupdater.py | 29 new_text = BRIEF_LICENSE + original_text 32 new_text = BRIEF_LICENSE + original_text[license_end_index+2:] 33 if original_text != new_text: 36 fout.write( new_text.replace('\n', newline ) ) 41 new_text.split('\n') ) )
|
/external/srec/seti/sltsEngine/src/ |
SWIslts.c | 194 char new_text[MAX_INPUT_LEN]; local 196 char *new_text; local 222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG); 223 if (new_text == NULL) { 229 strcpy(new_text, text); 230 i = strlen(new_text)-1; 231 while(new_text[i] == '\n' || new_text[i] == ' ' || new_text[i] == '\t') i--; 232 new_text[i+1] = '\0'; [all...] |
/external/chromium_org/third_party/markdown/extensions/ |
abbr.py | 86 new_text = [] 95 new_text.append(line) 96 return new_text
|
/external/markdown/markdown/extensions/ |
abbr.py | 49 new_text = [] 58 new_text.append(line) 59 return new_text
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 24 new_text = re.escape(text) 25 new_text = new_text.replace(re.escape(ampm), ampm) 26 new_text = new_text.replace('\%', '%') 27 new_text = new_text.replace('\:', ':') 28 new_text = new_text.replace('\?', '?') 29 return new_text [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 24 new_text = re.escape(text) 25 new_text = new_text.replace(re.escape(ampm), ampm) 26 new_text = new_text.replace('\%', '%') 27 new_text = new_text.replace('\:', ':') 28 new_text = new_text.replace('\?', '?') 29 return new_text [all...] |
/external/chromium_org/courgette/ |
bsdiff_memory_unittest.cc | 19 const std::string& new_text) const { 23 new1.Init(new_text.c_str(), new_text.length()); 37 EXPECT_EQ(new_text.length(), new2.Length()); 38 EXPECT_EQ(0, memcmp(new_text.c_str(), new2.Buffer(), new_text.length()));
|
/external/markdown/markdown/ |
preprocessors.py | 187 new_text = "\n\n".join(new_blocks) 188 return new_text.split("\n") 197 new_text = []; 211 new_text.append(line) 213 new_text.append(line) 215 return new_text #+ "\n"
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_edit_model.cc | 120 const base::string16& new_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()); 131 std::mismatch(old_text.begin(), end, new_text.begin()).first); [all...] |
omnibox_edit_model.h | 320 // |text_differs| may be set even if |old_text| == |new_text|, e.g. if we've 327 const base::string16& new_text, 401 // |new_text|. This handles both of the following cases: 406 bool MaybeAcceptKeywordBySpace(const base::string16& new_text); 409 // created a |new_text| that looks like "<keyword> <search phrase>". 412 const base::string16& new_text,
|
/external/chromium_org/testing/gtest/scripts/ |
release_docs.py | 144 new_text = self.search_for_re.sub(self.replace_with, text) 145 file(versioned_file, 'w').write(new_text)
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
utilities.py | 89 def write_file(new_text, destination_filename, only_if_changed): 92 if destination_file.read() == new_text: 98 destination_file.write(new_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, 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): 541 f.write(_to_system_newlines(new_text))
|
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, 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): 541 f.write(_to_system_newlines(new_text))
|
main.py | 69 def write_file(self, new_text, filename, old_text, encoding): 101 write(new_text, filename, old_text, encoding)
|
/external/chromium_org/net/test/spawned_test_server/ |
base_test_server.cc | 278 const std::string& new_text = it->second; local 282 base::Base64Encode(new_text, &base64_new);
|
/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])
|