Home
last modified time | relevance | path

Searched refs:newText (Results 1 – 25 of 59) sorted by relevance

123

/external/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp29 const UChar *newText) in UTF16CollationIterator() argument
31 start(newText), in UTF16CollationIterator()
32 pos(newText + (other.pos - other.start)), in UTF16CollationIterator()
33 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { in UTF16CollationIterator()
150 const UChar *newText) in FCDUTF16CollationIterator() argument
152 rawStart(newText), in FCDUTF16CollationIterator()
153 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
154 … segmentLimit(other.segmentLimit == NULL ? NULL : newText + (other.segmentLimit - other.rawStart)), in FCDUTF16CollationIterator()
155 rawLimit(other.rawLimit == NULL ? NULL : newText + (other.rawLimit - other.rawStart)), in FCDUTF16CollationIterator()
160 start = newText + (other.start - other.rawStart); in FCDUTF16CollationIterator()
[all …]
Dutf16collationiterator.h39 UTF16CollationIterator(const UTF16CollationIterator &other, const UChar *newText);
92 FCDUTF16CollationIterator(const FCDUTF16CollationIterator &other, const UChar *newText);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorStyleTextEditor.cpp109 void InspectorStyleTextEditor::replaceProperty(unsigned index, const String& newText) in replaceProperty() argument
112 internalReplaceProperty(m_allProperties->at(index), newText); in replaceProperty()
115 …eTextEditor::internalReplaceProperty(const InspectorStyleProperty& property, const String& newText) in internalReplaceProperty() argument
120 long newTextLength = newText.length(); in internalReplaceProperty()
121 String finalNewText = newText; in internalReplaceProperty()
130 if (isHTMLLineBreak(newText[newTextLength - 1])) { in internalReplaceProperty()
DInspectorStyleTextEditor.h46 void replaceProperty(unsigned index, const String& newText);
50 void internalReplaceProperty(const InspectorStyleProperty&, const String& newText);
/external/chromium_org/ui/base/cocoa/
Dfind_pasteboard.mm58 - (void)setFindText:(NSString*)newText {
59 DCHECK(newText);
60 if (!newText)
65 BOOL needToSendNotification = ![findText_.get() isEqualToString:newText];
67 findText_.reset([newText copy]);
/external/smali/util/src/main/java/ds/tree/
DRadixTreeImpl.java184 String newText = key.substring(numberOfMatchingCharacters, key.length()); in insert() local
186 if (child.getKey().startsWith(newText.charAt(0) + "")) { in insert()
188 insert(newText, child, value); in insert()
196 n.setKey(newText); in insert()
297 String newText = key.substring(numberOfMatchingCharacters, key.length()); in searchPefix() local
299 if (child.getKey().startsWith(newText.charAt(0) + "")) { in searchPefix()
300 result = searchPefix(newText, child); in searchPefix()
357 String newText = prefix.substring(numberOfMatchingCharacters, prefix.length()); in visit() local
360 if (child.getKey().startsWith(newText.charAt(0) + "")) { in visit()
361 visit(newText, visitor, node, child); in visit()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextInsertionBaseCommand.cpp62 String newText = text; in dispatchBeforeTextInsertedEvent() local
68 newText = evt->text(); in dispatchBeforeTextInsertedEvent()
71 return newText; in dispatchBeforeTextInsertedEvent()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DRangeTest.cpp60 Text* newText = toText(oldText->nextSibling()); in TEST_F() local
65 EXPECT_EQ(newText, range04->endContainer()); in TEST_F()
84 EXPECT_EQ(newText, range24->endContainer()); in TEST_F()
105 Text* newText = toText(oldText->nextSibling()); in TEST_F() local
138 EXPECT_EQ(newText, rangeFromTextToMiddleOfElement->startContainer()); in TEST_F()
DText.cpp116 RefPtrWillBeRawPtr<Text> newText = cloneWithData(oldStr.substring(offset)); in splitText() local
122 parentNode()->insertBefore(newText.get(), nextSibling(), exceptionState); in splitText()
132 return newText.release(); in splitText()
190 PassRefPtrWillBeRawPtr<Text> Text::replaceWholeText(const String& newText) in replaceWholeText() argument
215 if (newText.isEmpty()) { in replaceWholeText()
221 setData(newText); in replaceWholeText()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dutransts.c96 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace() local
97 u_strncpy(newText, x->text, start); in Xreplace()
98 u_strncpy(newText + start, text, textLength); in Xreplace()
99 u_strcpy(newText + start + textLength, x->text + limit); in Xreplace()
101 x->text = newText; in Xreplace()
108 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy() local
109 u_strncpy(newText, x->text, dest); in Xcopy()
110 u_strncpy(newText + dest, x->text + start, limit - start); in Xcopy()
111 u_strcpy(newText + dest + limit - start, x->text + dest); in Xcopy()
113 x->text = newText; in Xcopy()
/external/icu/icu4c/source/common/unicode/
Dschriter.h138 void setText(const UnicodeString& newText);
176 void setText(const UChar* newText, int32_t newTextLength);
Dnormlzr.h675 void setText(const UnicodeString& newText,
686 void setText(const CharacterIterator& newText,
698 void setText(const UChar* newText,
/external/chromium_org/third_party/icu/source/common/unicode/
Dschriter.h138 void setText(const UnicodeString& newText);
176 void setText(const UChar* newText, int32_t newTextLength);
Dnormlzr.h675 void setText(const UnicodeString& newText,
686 void setText(const CharacterIterator& newText,
698 void setText(const UChar* newText,
/external/icu/icu4c/source/test/cintltst/
Dutransts.c99 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace() local
100 u_strncpy(newText, x->text, start); in Xreplace()
101 u_strncpy(newText + start, text, textLength); in Xreplace()
102 u_strcpy(newText + start + textLength, x->text + limit); in Xreplace()
104 x->text = newText; in Xreplace()
111 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy() local
112 u_strncpy(newText, x->text, dest); in Xcopy()
113 u_strncpy(newText + dest, x->text + start, limit - start); in Xcopy()
114 u_strcpy(newText + dest + limit - start, x->text + dest); in Xcopy()
116 x->text = newText; in Xcopy()
/external/chromium_org/third_party/icu/source/common/
Dnormlzr.cpp398 Normalizer::setText(const UnicodeString& newText, in setText() argument
404 CharacterIterator *newIter = new StringCharacterIterator(newText); in setText()
419 Normalizer::setText(const CharacterIterator& newText, in setText() argument
425 CharacterIterator *newIter = newText.clone(); in setText()
436 Normalizer::setText(const UChar* newText, in setText() argument
443 CharacterIterator *newIter = new UCharCharacterIterator(newText, length); in setText()
Dschriter.cpp108 StringCharacterIterator::setText(const UnicodeString& newText) { in setText() argument
109 text = newText; in setText()
Drbbi.cpp437 RuleBasedBreakIterator::adoptText(CharacterIterator* newText) { in adoptText() argument
444 fCharIter = newText; in adoptText()
447 if (newText==NULL || newText->startIndex() != 0) { in adoptText()
452 fText = utext_openCharacterIterator(fText, newText, &status); in adoptText()
463 RuleBasedBreakIterator::setText(const UnicodeString& newText) { in setText() argument
466 fText = utext_openConstUnicodeString(fText, &newText, &status); in setText()
473 fSCharIter = new StringCharacterIterator(newText); in setText()
475 fSCharIter->setText(newText); in setText()
/external/icu/icu4c/source/common/
Dnormlzr.cpp398 Normalizer::setText(const UnicodeString& newText, in setText() argument
404 CharacterIterator *newIter = new StringCharacterIterator(newText); in setText()
419 Normalizer::setText(const CharacterIterator& newText, in setText() argument
425 CharacterIterator *newIter = newText.clone(); in setText()
436 Normalizer::setText(const UChar* newText, in setText() argument
443 CharacterIterator *newIter = new UCharCharacterIterator(newText, length); in setText()
Dschriter.cpp108 StringCharacterIterator::setText(const UnicodeString& newText) { in setText() argument
109 text = newText; in setText()
Drbbi.cpp437 RuleBasedBreakIterator::adoptText(CharacterIterator* newText) { in adoptText() argument
444 fCharIter = newText; in adoptText()
447 if (newText==NULL || newText->startIndex() != 0) { in adoptText()
452 fText = utext_openCharacterIterator(fText, newText, &status); in adoptText()
463 RuleBasedBreakIterator::setText(const UnicodeString& newText) { in setText() argument
466 fText = utext_openConstUnicodeString(fText, &newText, &status); in setText()
473 fSCharIter = new StringCharacterIterator(newText); in setText()
475 fSCharIter->setText(newText); in setText()
Duchriter.cpp350 void UCharCharacterIterator::setText(const UChar* newText, in setText() argument
352 text = newText; in setText()
353 if(newText == 0 || newTextLength < 0) { in setText()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
DTextPrompt.js850 var newText;
857 newText = this._previous();
863 newText = this._next();
867 newText = this._previous();
873 newText = this._next();
877 if (newText !== undefined) {
879 this.text = newText;
/external/chromium-trace/trace-viewer/src/about_tracing/
Dtracing_controller.js72 var newText = 'Buffer usage: ' +
74 if (this.bufferPercentDiv_.textContent != newText)
75 this.bufferPercentDiv_.textContent = newText;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
DDOMStorageItemsView.js225 _editingCallback: function(editingNode, columnIdentifier, oldText, newText) argument
231 domStorage.setItem(newText, editingNode.data.value || '');
234 domStorage.setItem(editingNode.data.key || '', newText);

123