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

1 2

  /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()
567 base::string16 new_text = text(); local
609 base::string16 new_text = text(); local
    [all...]
textfield.h 73 void SetText(const base::string16& new_text);
76 void AppendText(const base::string16& new_text);
78 // Inserts |new_text| at the cursor position, replacing any selected text.
79 void InsertOrReplaceText(const base::string16& new_text);
textfield.cc 306 void Textfield::SetText(const base::string16& new_text) {
307 model_->SetText(new_text);
313 void Textfield::AppendText(const base::string16& new_text) {
314 if (new_text.empty())
316 model_->Append(new_text);
321 void Textfield::InsertOrReplaceText(const base::string16& new_text) {
322 if (new_text.empty())
324 model_->InsertText(new_text);
851 base::string16 new_text; local
852 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 117 const base::string16& new_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());
128 std::mismatch(old_text.begin(), end, new_text.begin()).first);
    [all...]
omnibox_edit_model.h 318 // |text_differs| may be set even if |old_text| == |new_text|, e.g. if we've
325 const base::string16& new_text,
402 // |new_text|. This handles both of the following cases:
407 bool MaybeAcceptKeywordBySpace(const base::string16& new_text);
410 // created a |new_text| that looks like "<keyword> <search phrase>".
413 const base::string16& new_text,
  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/
utilities.py 47 def write_file(new_text, destination_filename, only_if_changed):
50 if destination_file.read() == new_text:
53 destination_file.write(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)
  /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/ui/gfx/
render_text.cc 1227 base::string16 new_text = slicer.CutString(guess, false); local
    [all...]
  /external/chromium_org/net/test/spawned_test_server/
base_test_server.cc 255 const std::string& new_text = it->second; local
259 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])

Completed in 880 milliseconds

1 2