Searched refs:new_text (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/ui/views/controls/textfield/
H A Dtextfield_model.h63 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) { argument
70 InsertTextInternal(new_text, false);
80 void ReplaceText(const base::string16& new_text) { argument
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, boo
[all...]
H A Dtextfield_model.cc76 const base::string16& new_text,
85 new_text_(new_text),
150 InsertEdit(bool mergeable, const base::string16& new_text, size_t at) argument
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) { argument
296 if (text() != new_text) {
301 size_t new_cursor = new_text
69 Edit(Type type, MergeType merge_type, size_t old_cursor_pos, const base::string16& old_text, size_t old_text_start, bool delete_backward, size_t new_cursor_pos, const base::string16& new_text, size_t new_text_start) argument
177 ReplaceEdit(MergeType merge_type, const base::string16& old_text, size_t old_cursor_pos, size_t old_text_start, bool backward, size_t new_cursor_pos, const base::string16& new_text, size_t new_text_start) argument
313 Append(const base::string16& new_text) argument
532 DeleteSelectionAndInsertTextAt( const base::string16& new_text, size_t position) argument
565 base::string16 new_text = text(); local
607 base::string16 new_text = text(); local
634 InsertTextInternal(const base::string16& new_text, bool mergeable) argument
647 ReplaceTextInternal(const base::string16& new_text, bool mergeable) argument
691 ExecuteAndRecordReplaceSelection( MergeType merge_type, const base::string16& new_text) argument
703 ExecuteAndRecordReplace(MergeType merge_type, size_t old_cursor_pos, size_t new_cursor_pos, const base::string16& new_text, size_t new_text_start) argument
724 ExecuteAndRecordInsert(const base::string16& new_text, bool mergeable) argument
753 ModifyText(size_t delete_from, size_t delete_to, const base::string16& new_text, size_t new_text_insert_at, size_t new_cursor_pos) argument
[all...]
H A Dtextfield.cc309 void Textfield::SetText(const base::string16& new_text) { argument
310 model_->SetText(new_text);
316 void Textfield::AppendText(const base::string16& new_text) { argument
317 if (new_text.empty())
319 model_->Append(new_text);
324 void Textfield::InsertOrReplaceText(const base::string16& new_text) { argument
325 if (new_text.empty())
327 model_->InsertText(new_text);
880 base::string16 new_text; local
881 event.data().GetString(&new_text);
1344 InsertText(const base::string16& new_text) argument
[all...]
H A Dtextfield.h76 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);
/external/chromium_org/tools/metrics/common/
H A Ddiff_util.py17 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/
H A Darlib-argp.c71 char *new_text; local
72 if (unlikely (asprintf (&new_text, gettext ("%s (default)"), text) < 0))
74 return new_text;
/external/jsoncpp/devtools/
H A Dlicenseupdater.py29 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/
H A DSWIslts.c194 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[
[all...]
/external/chromium_org/third_party/markdown/extensions/
H A Dabbr.py86 new_text = []
95 new_text.append(line)
96 return new_text
/external/markdown/markdown/extensions/
H A Dabbr.py49 new_text = []
58 new_text.append(line)
59 return new_text
/external/chromium_org/courgette/
H A Dbsdiff_memory_unittest.cc19 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/chromium_org/testing/gtest/scripts/
H A Drelease_docs.py144 new_text = self.search_for_re.sub(self.replace_with, text)
145 file(versioned_file, 'w').write(new_text)
/external/markdown/markdown/
H A Dpreprocessors.py187 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/
H A Domnibox_edit_model.cc120 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);
1162 const base::string16& new_text,
1211 InternalSetUserText(UserTextFromDisplayText(new_text));
1384 const base::string16& new_text) {
1385 size_t keyword_length = new_text.length() - 1;
1389 IsSpaceCharForAcceptingKeyword(new_text[keyword_lengt
119 RecordPercentageMatchHistogram(const base::string16& old_text, const base::string16& new_text, bool url_replacement_active, ui::PageTransition transition, int omnibox_width) argument
1161 OnAfterPossibleChange(const base::string16& old_text, const base::string16& new_text, size_t selection_start, size_t selection_end, bool selection_differs, bool text_differs, bool just_deleted_text, bool allow_keyword_ui_change) argument
1383 MaybeAcceptKeywordBySpace( const base::string16& new_text) argument
1394 CreatedKeywordSearchByInsertingSpaceInMiddle( const base::string16& old_text, const base::string16& new_text, size_t caret_position) const argument
[all...]
H A Domnibox_edit_model.h320 // |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/third_party/markdown/
H A Dpreprocessors.py300 new_text = "\n\n".join(new_blocks)
301 return new_text.split("\n")
312 new_text = [];
328 new_text.append(line)
330 return new_text #+ "\n"
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Dutilities.py89 def write_file(new_text, destination_filename, only_if_changed):
92 if destination_file.read() == new_text:
98 destination_file.write(new_text)
/external/chromium_org/net/test/spawned_test_server/
H A Dbase_test_server.cc278 const std::string& new_text = it->second; local
282 base::Base64Encode(new_text, &base64_new);
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_view_views.cc509 const base::string16 new_text = text(); local
511 const bool text_changed = (new_text != text_before_change_) ||
523 (text_before_change_.length() > new_text.length()) &&
527 text_before_change_, new_text, new_sel.start(), new_sel.end(),
/external/chromium_org/ui/gfx/
H A Drender_text.cc1257 base::string16 new_text = local
1259 render_text->SetText(new_text);
1270 base::i18n::GetLastStrongCharacterDirection(new_text);
1271 new_text.append(ellipsis);
1274 new_text += base::i18n::kLeftToRightMark;
1276 new_text += base::i18n::kRightToLeftMark;
1278 render_text->SetText(new_text);
/external/libpng/
H A Dpngset.c714 png_textp new_text = NULL; local
732 new_text = png_voidcast(png_textp,png_realloc_array(png_ptr,
734 sizeof *new_text));
737 if (new_text == NULL)
746 info_ptr->text = new_text;
/external/chromium_org/ui/views/accessibility/
H A Dnative_view_accessibility_win.h259 STDMETHODIMP get_newText(IA2TextSegment* new_text) { argument
/external/chromium_org/content/browser/accessibility/
H A Dbrowser_accessibility_win.cc2144 STDMETHODIMP BrowserAccessibilityWin::get_newText(IA2TextSegment* new_text) { argument
2148 if (!new_text)
2153 new_text->text = SysAllocString(text.c_str());
2154 new_text->start = 0;
2155 new_text->end = static_cast<long>(text.size());
H A Dbrowser_accessibility_win.h486 CONTENT_EXPORT STDMETHODIMP get_newText(IA2TextSegment* new_text);
/external/chromium_org/net/tools/testserver/
H A Dtestserver.py817 of the form old_text:new_text, which indicates that any old_text strings in
818 the file are replaced with new_text. Multiple 'replace_text' parameters may
830 'replace_text must be of form old_text:new_text. Actual value: %s' %
834 new_text = base64.urlsafe_b64decode(new_text_b64)
835 data = data.replace(old_text, new_text)

Completed in 548 milliseconds

12