Home
last modified time | relevance | path

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

123

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DReplaceTextCommentScanner.java27 private final String newText; field in ReplaceTextCommentScanner
29 public ReplaceTextCommentScanner(String oldText, String newText) { in ReplaceTextCommentScanner() argument
31 this.newText = newText; in ReplaceTextCommentScanner()
36 String newCommentText = commentText.replace(oldText, newText); in processComment()
47 ", newText='" + newText + '\'' + in toString()
/external/llvm-project/clang-tools-extra/clangd/test/
Dexecute-command.test35 …"line":0,"character":32}},"newText":"("},{"range":{"start":{"line":0,"character":37},"end":{"line"…
47 …"line":0,"character":32}},"newText":"("},{"range":{"start":{"line":0,"character":37},"end":{"line"…
53 …"line":0,"character":32}},"newText":"("},{"range":{"start":{"line":0,"character":37},"end":{"line"…
62 …"line":0,"character":32},"end":{"line":0,"character":32}},"newText":"("},{"range":"","newText":")"…
65 …"line":0,"character":32}},"newText":"("},{"range":{"start":{"line":0,"character":37},"end":{"line"…
Dformatting.test11 # CHECK-NEXT: "newText": "\n ",
24 # CHECK-NEXT: "newText": " ",
37 # CHECK-NEXT: "newText": " ",
50 # CHECK-NEXT: "newText": "\n ",
78 # CHECK-NEXT: "newText": "",
91 # CHECK-NEXT: "newText": "",
104 # CHECK-NEXT: "newText": "",
117 # CHECK-NEXT: "newText": "\n",
145 # CHECK-NEXT: "newText": " ",
158 # CHECK-NEXT: "newText": "\n ",
Dfixits-command.test39 # CHECK-NEXT: "newText": "(",
52 # CHECK-NEXT: "newText": ")",
77 # CHECK-NEXT: "newText": "==",
109 # CHECK-NEXT: "newText": "(",
122 # CHECK-NEXT: "newText": ")",
147 # CHECK-NEXT: "newText": "==",
168 …"line":0,"character":32}},"newText":"("},{"range":{"start":{"line":0,"character":37},"end":{"line"…
177 # CHECK-NEXT: "newText": "(",
190 # CHECK-NEXT: "newText": ")",
Dtweaks-format.test9 # CHECK: "newText": "\n ",
22 # CHECK-NEXT: "newText": "{\n }",
35 # CHECK-NEXT: "newText": "{\n return 1;\n }\n",
Dcompletion-auto-trigger.test30 # CHECK-NEXT: "newText": "size",
53 # CHECK-NEXT: "newText": "default_capacity",
94 # CHECK-NEXT: "newText": "ns_member",
Dfixits-codeaction.test56 # CHECK-NEXT: "newText": "(",
69 # CHECK-NEXT: "newText": ")",
110 # CHECK-NEXT: "newText": "==",
/external/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp31 const UChar *newText) in UTF16CollationIterator() argument
33 start(newText), in UTF16CollationIterator()
34 pos(newText + (other.pos - other.start)), in UTF16CollationIterator()
35 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { in UTF16CollationIterator()
152 const UChar *newText) in FCDUTF16CollationIterator() argument
154 rawStart(newText), in FCDUTF16CollationIterator()
155 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
156 … segmentLimit(other.segmentLimit == NULL ? NULL : newText + (other.segmentLimit - other.rawStart)), in FCDUTF16CollationIterator()
157 rawLimit(other.rawLimit == NULL ? NULL : newText + (other.rawLimit - other.rawStart)), in FCDUTF16CollationIterator()
162 start = newText + (other.start - other.rawStart); in FCDUTF16CollationIterator()
[all …]
Dutf16collationiterator.h41 UTF16CollationIterator(const UTF16CollationIterator &other, const UChar *newText);
94 FCDUTF16CollationIterator(const FCDUTF16CollationIterator &other, const UChar *newText);
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DBreakIteratorICU.java93 public void setText(CharacterIterator newText) { in setText() argument
94 fIcuBrkItr.setText(newText); in setText()
98 public void setText(String newText) { in setText() argument
99 fIcuBrkItr.setText(newText); in setText()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBreakIterator.java491 public void setText(String newText) in setText() argument
493 setText(new StringCharacterIterator(newText)); in setText()
508 public void setText(CharSequence newText) { in setText() argument
509 setText(new CSCharacterIterator(newText)); in setText()
526 public abstract void setText(CharacterIterator newText); in setText() argument
DNormalizer.java1862 public void setText(StringBuffer newText) { in setText() argument
1863 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1879 public void setText(char[] newText) { in setText() argument
1880 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1896 public void setText(String newText) { in setText() argument
1897 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1913 public void setText(CharacterIterator newText) { in setText() argument
1914 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1930 public void setText(UCharacterIterator newText) { in setText() argument
1932 UCharacterIterator newIter = (UCharacterIterator)newText.clone(); in setText()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBreakIterator.java518 public void setText(String newText) in setText() argument
520 setText(new StringCharacterIterator(newText)); in setText()
536 public void setText(CharSequence newText) { in setText() argument
537 setText(new CSCharacterIterator(newText)); in setText()
555 public abstract void setText(CharacterIterator newText); in setText() argument
DNormalizer.java1815 public void setText(StringBuffer newText) { in setText() argument
1816 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1831 public void setText(char[] newText) { in setText() argument
1832 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1847 public void setText(String newText) { in setText() argument
1848 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1863 public void setText(CharacterIterator newText) { in setText() argument
1864 UCharacterIterator newIter = UCharacterIterator.getInstance(newText); in setText()
1879 public void setText(UCharacterIterator newText) { in setText() argument
1881 UCharacterIterator newIter = (UCharacterIterator)newText.clone(); in setText()
/external/icu/libicu/cts_headers/unicode/
Dschriter.h143 void setText(const UnicodeString& newText);
181 void setText(const char16_t* newText, int32_t newTextLength);
Dnormlzr.h687 void setText(const UnicodeString& newText,
698 void setText(const CharacterIterator& newText,
710 void setText(ConstChar16Ptr newText,
/external/icu/icu4c/source/common/unicode/
Dschriter.h143 void setText(const UnicodeString& newText);
181 void setText(const char16_t* newText, int32_t newTextLength);
Dnormlzr.h687 void setText(const UnicodeString& newText,
698 void setText(const CharacterIterator& newText,
710 void setText(ConstChar16Ptr newText,
/external/icu/icu4c/source/common/
Dnormlzr.cpp406 Normalizer::setText(const UnicodeString& newText, in setText() argument
412 CharacterIterator *newIter = new StringCharacterIterator(newText); in setText()
427 Normalizer::setText(const CharacterIterator& newText, in setText() argument
433 CharacterIterator *newIter = newText.clone(); in setText()
444 Normalizer::setText(ConstChar16Ptr newText, in setText() argument
451 CharacterIterator *newIter = new UCharCharacterIterator(newText, length); in setText()
Dschriter.cpp110 StringCharacterIterator::setText(const UnicodeString& newText) { in setText() argument
111 text = newText; in setText()
Drbbi.cpp472 RuleBasedBreakIterator::adoptText(CharacterIterator* newText) { in adoptText() argument
479 fCharIter = newText; in adoptText()
483 if (newText==NULL || newText->startIndex() != 0) { in adoptText()
488 utext_openCharacterIterator(&fText, newText, &status); in adoptText()
499 RuleBasedBreakIterator::setText(const UnicodeString& newText) { in setText() argument
503 utext_openConstUnicodeString(&fText, &newText, &status); in setText()
509 fSCharIter.setText(newText); in setText()
/external/icu/icu4c/source/test/cintltst/
Dutransts.c104 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace() local
105 u_strncpy(newText, x->text, start); in Xreplace()
106 u_strncpy(newText + start, text, textLength); in Xreplace()
107 u_strcpy(newText + start + textLength, x->text + limit); in Xreplace()
109 x->text = newText; in Xreplace()
116 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy() local
117 u_strncpy(newText, x->text, dest); in Xcopy()
118 u_strncpy(newText + dest, x->text + start, limit - start); in Xcopy()
119 u_strcpy(newText + dest + limit - start, x->text + dest); in Xcopy()
121 x->text = newText; in Xcopy()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java95 public static void setText(TextComponent area, String newText) { in setText() argument
97 if (foo.equals(newText)) return; in setText()
98 area.setText(newText); in setText()
/external/pdfium/testing/resources/javascript/xfa_specific/
Dxfa_event_pseudomodel_expected.txt15 Alert: PASS: newText = new foo
16 Alert: PASS: newText = new foo
/external/icu/libicu/cts_headers/
Dutf16collationiterator.h41 UTF16CollationIterator(const UTF16CollationIterator &other, const UChar *newText);
94 FCDUTF16CollationIterator(const FCDUTF16CollationIterator &other, const UChar *newText);

123