/external/chromium_org/ui/views/controls/textfield/ |
D | textfield_model.h | 63 bool SetText(const base::string16& new_text); 69 void InsertText(const base::string16& new_text) { in InsertText() argument 70 InsertTextInternal(new_text, false); in InsertText() 80 void ReplaceText(const base::string16& new_text) { in ReplaceText() argument 81 ReplaceTextInternal(new_text, false); in ReplaceText() 91 void Append(const base::string16& new_text); 186 void DeleteSelectionAndInsertTextAt(const base::string16& new_text, 227 void InsertTextInternal(const base::string16& new_text, bool mergeable); 231 void ReplaceTextInternal(const base::string16& new_text, bool mergeable); 239 const base::string16& new_text); [all …]
|
D | textfield_model.cc | 76 const base::string16& new_text, in Edit() argument 85 new_text_(new_text), in Edit() 150 InsertEdit(bool mergeable, const base::string16& new_text, size_t at) in InsertEdit() argument 157 at + new_text.length() /* new cursor */, in InsertEdit() 158 new_text, in InsertEdit() 183 const base::string16& new_text, in ReplaceEdit() argument 191 new_text, in ReplaceEdit() 290 bool TextfieldModel::SetText(const base::string16& new_text) { in SetText() argument 296 if (text() != new_text) { in SetText() 301 size_t new_cursor = new_text.length(); in SetText() [all …]
|
D | textfield.cc | 309 void Textfield::SetText(const base::string16& new_text) { in SetText() argument 310 model_->SetText(new_text); in SetText() 316 void Textfield::AppendText(const base::string16& new_text) { in AppendText() argument 317 if (new_text.empty()) in AppendText() 319 model_->Append(new_text); in AppendText() 324 void Textfield::InsertOrReplaceText(const base::string16& new_text) { in InsertOrReplaceText() argument 325 if (new_text.empty()) in InsertOrReplaceText() 327 model_->InsertText(new_text); in InsertOrReplaceText() 880 base::string16 new_text; in OnPerformDrop() local 881 event.data().GetString(&new_text); in OnPerformDrop() [all …]
|
D | textfield.h | 76 void SetText(const base::string16& new_text); 79 void AppendText(const base::string16& new_text); 82 void InsertOrReplaceText(const base::string16& new_text);
|
/external/srec/seti/sltsEngine/src/ |
D | SWIslts.c | 194 char new_text[MAX_INPUT_LEN]; in SWIsltsTextToPhone() local 196 char *new_text; in SWIsltsTextToPhone() local 222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG); in SWIsltsTextToPhone() 223 if (new_text == NULL) { in SWIsltsTextToPhone() 229 strcpy(new_text, text); in SWIsltsTextToPhone() 230 i = strlen(new_text)-1; in SWIsltsTextToPhone() 231 while(new_text[i] == '\n' || new_text[i] == ' ' || new_text[i] == '\t') i--; in SWIsltsTextToPhone() 232 new_text[i+1] = '\0'; in SWIsltsTextToPhone() 235 if(strlen(new_text) == 0){ in SWIsltsTextToPhone() 242 nRes = run_lts(pEng->m_hLts, pEng->m_hDict, new_text, output_phone_string, output_phone_len); in SWIsltsTextToPhone() [all …]
|
/external/jsoncpp/devtools/ |
D | 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/chromium_org/courgette/ |
D | bsdiff_memory_unittest.cc | 19 const std::string& new_text) const { in GenerateAndTestPatch() 23 new1.Init(new_text.c_str(), new_text.length()); in GenerateAndTestPatch() 37 EXPECT_EQ(new_text.length(), new2.Length()); in GenerateAndTestPatch() 38 EXPECT_EQ(0, memcmp(new_text.c_str(), new2.Buffer(), new_text.length())); in GenerateAndTestPatch()
|
/external/markdown/markdown/ |
D | 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/tools/metrics/common/ |
D | diff_util.py | 17 def PromptUserToAcceptDiff(old_text, new_text, prompt): argument 31 if old_text == new_text: 35 old_text.splitlines(), new_text.splitlines(), fromdesc='Original',
|
/external/elfutils/0.153/src/ |
D | arlib-argp.c | 71 char *new_text; in help_filter() local 72 if (unlikely (asprintf (&new_text, gettext ("%s (default)"), text) < 0)) in help_filter() 74 return new_text; in help_filter()
|
/external/chromium_org/third_party/markdown/extensions/ |
D | abbr.py | 86 new_text = [] 95 new_text.append(line) 96 return new_text
|
/external/markdown/markdown/extensions/ |
D | abbr.py | 49 new_text = [] 58 new_text.append(line) 59 return new_text
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
D | omnibox_edit_model.cc | 120 const base::string16& new_text, in RecordPercentageMatchHistogram() argument 124 size_t avg_length = (old_text.length() + new_text.length()) / 2; in RecordPercentageMatchHistogram() 127 if (!old_text.empty() && !new_text.empty()) { in RecordPercentageMatchHistogram() 128 size_t shorter_length = std::min(old_text.length(), new_text.length()); in RecordPercentageMatchHistogram() 131 std::mismatch(old_text.begin(), end, new_text.begin()).first); in RecordPercentageMatchHistogram() 1162 const base::string16& new_text, in OnAfterPossibleChange() argument 1211 InternalSetUserText(UserTextFromDisplayText(new_text)); in OnAfterPossibleChange() 1384 const base::string16& new_text) { in MaybeAcceptKeywordBySpace() argument 1385 size_t keyword_length = new_text.length() - 1; in MaybeAcceptKeywordBySpace() 1389 IsSpaceCharForAcceptingKeyword(new_text[keyword_length]) && in MaybeAcceptKeywordBySpace() [all …]
|
D | omnibox_edit_model.h | 327 const base::string16& new_text, 406 bool MaybeAcceptKeywordBySpace(const base::string16& new_text); 412 const base::string16& new_text,
|
/external/chromium_org/third_party/markdown/ |
D | preprocessors.py | 300 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/testing/gtest/scripts/ |
D | 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/ |
D | utilities.py | 89 def write_file(new_text, destination_filename, only_if_changed): argument 92 if destination_file.read() == new_text: 98 destination_file.write(new_text)
|
/external/chromium_org/ui/gfx/ |
D | render_text.cc | 1257 base::string16 new_text = in Elide() local 1259 render_text->SetText(new_text); in Elide() 1270 base::i18n::GetLastStrongCharacterDirection(new_text); in Elide() 1271 new_text.append(ellipsis); in Elide() 1274 new_text += base::i18n::kLeftToRightMark; in Elide() 1276 new_text += base::i18n::kRightToLeftMark; in Elide() 1278 render_text->SetText(new_text); in Elide()
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
D | omnibox_view_views.cc | 509 const base::string16 new_text = text(); in OnAfterPossibleChange() local 511 const bool text_changed = (new_text != text_before_change_) || in OnAfterPossibleChange() 523 (text_before_change_.length() > new_text.length()) && in OnAfterPossibleChange() 527 text_before_change_, new_text, new_sel.start(), new_sel.end(), in OnAfterPossibleChange()
|
/external/libpng/ |
D | pngset.c | 714 png_textp new_text = NULL; in png_set_text_2() local 732 new_text = png_voidcast(png_textp,png_realloc_array(png_ptr, in png_set_text_2() 734 sizeof *new_text)); in png_set_text_2() 737 if (new_text == NULL) in png_set_text_2() 746 info_ptr->text = new_text; in png_set_text_2()
|
/external/chromium_org/net/test/spawned_test_server/ |
D | base_test_server.cc | 278 const std::string& new_text = it->second; in GetFilePathWithReplacements() local 282 base::Base64Encode(new_text, &base64_new); in GetFilePathWithReplacements()
|
/external/regex-re2/ |
D | ucs2.diff | 398 - // Converts UTF-8 string in text into UCS-2 string in new_text. 399 - static bool ConvertUTF8ToUCS2(const StringPiece& text, StringPiece* new_text) { 419 - *new_text = StringPiece(reinterpret_cast<char*>(q0), 2*(q - q0));
|
/external/chromium_org/third_party/re2/ |
D | ucs2.diff | 398 - // Converts UTF-8 string in text into UCS-2 string in new_text. 399 - static bool ConvertUTF8ToUCS2(const StringPiece& text, StringPiece* new_text) { 419 - *new_text = StringPiece(reinterpret_cast<char*>(q0), 2*(q - q0));
|
/external/chromium_org/ui/views/accessibility/ |
D | native_view_accessibility_win.h | 259 STDMETHODIMP get_newText(IA2TextSegment* new_text) { in get_newText() argument
|
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/ |
D | omnibox_view_mac.mm | 612 const base::string16 new_text(GetText()); 613 const size_t length = new_text.length(); 619 const bool text_differs = (new_text != text_before_change_) || 639 text_before_change_, new_text, new_selection.location,
|