Home
last modified time | relevance | path

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

123456

/third_party/typescript/tests/cases/fourslash/
DautoCloseTag.ts49 0: { newText: "</div>" },
53 4: { newText: "</p>" },
54 5: { newText: "</div>" },
55 6: { newText: "</div>" },
56 7: { newText: "</p>" },
58 9: { newText: "</div>" },
DautoCloseFragment.ts49 0: { newText: "</>" },
53 4: { newText: "</>" },
54 5: { newText: "</>" },
55 6: { newText: "</>" },
56 7: { newText: "</>" },
58 9: { newText: "</>" },
/third_party/typescript/src/testRunner/unittests/tsserver/
Drefactors.ts42 newText: "newFunction();",
47 newText: "\n\nfunction newFunction() {\n 1;\n}\n",
90 newText: "",
100 newText: ", \"./a.1.ts\"",
110 newText: "export const a = 0;\n",
139 …[{ start: { line: 1, offset: 1 }, end: { line: 1, offset: aTs.content.length + 1 }, newText: "" }],
143 …Changes: [{ start: { line: 1, offset: 21 }, end: { line: 1, offset: 21 }, newText: ', "./x.ts"' }],
147 …tChanges: [{ start: { line: 0, offset: 0 }, end: { line: 0, offset: 0 }, newText: "const x = 0;\n"…
DgetEditsForFileRename.ts29 newText: "./new",
67 …tChanges: [{ ...protocolTextSpanFromSubstring(aTsconfig.content, "./old.ts"), newText: "new.ts" }],
71 … textChanges: [{ ...protocolTextSpanFromSubstring(aUserTs.content, "./old"), newText: "./new" }],
75 …tChanges: [{ ...protocolTextSpanFromSubstring(bUserTs.content, "../a/old"), newText: "../a/new" }],
96 … textChanges: [{ ...protocolTextSpanFromSubstring(tsconfig.content, "./b.ts"), newText: "c.ts" }],
100 … textChanges: [{ ...protocolTextSpanFromSubstring(aTs.content, "./b"), newText: "./c" }],
DapplyChangesToOpenFiles.ts106 newText: "let zzz = 10;"
110 newText: "let zz = 10;"
154 newText: "let zzz = 10;",
159 newText: "let zz = 10;",
/third_party/typescript/src/server/
DscriptInfo.ts77 public useText(newText?: string) {
79 this.text = newText;
86 public edit(start: number, end: number, newText: string) {
87 this.switchToScriptVersionCache().edit(start, end - start, newText);
99 public reload(newText: string): boolean {
100 Debug.assert(newText !== undefined);
110 if (this.text !== newText) {
111 this.useText(newText);
125 const { text: newText, fileSize } = this.getFileTextAndSize(tempFileName);
126 const reloaded = this.reload(newText);
[all …]
DscriptVersionCache.ts472 edit(pos: number, deleteLength: number, newText?: string): LineIndex {
475 if (newText !== undefined) {
476 this.load(LineIndex.linesFromText(newText).lines);
485 checkText = source.slice(0, pos) + newText + source.slice(pos + deleteLength);
493 if (newText) {
494 newText = endString + newText;
497 newText = endString;
510 newText = newText ? newText + lineText : lineText;
515 walker.insertLines(newText, suppressTrailingText);
/third_party/node/deps/icu-small/source/i18n/
Dutf16collationiterator.cpp31 const char16_t *newText) in UTF16CollationIterator() argument
33 start(newText), in UTF16CollationIterator()
34 pos(newText + (other.pos - other.start)), in UTF16CollationIterator()
35 limit(other.limit == nullptr ? nullptr : newText + (other.limit - other.start)) { in UTF16CollationIterator()
152 const char16_t *newText) in FCDUTF16CollationIterator() argument
154 rawStart(newText), in FCDUTF16CollationIterator()
155 segmentStart(newText + (other.segmentStart - other.rawStart)), in FCDUTF16CollationIterator()
156 …segmentLimit(other.segmentLimit == nullptr ? nullptr : newText + (other.segmentLimit - other.rawSt… in FCDUTF16CollationIterator()
157 … rawLimit(other.rawLimit == nullptr ? nullptr : newText + (other.rawLimit - other.rawStart)), in FCDUTF16CollationIterator()
162 start = newText + (other.start - other.rawStart); in FCDUTF16CollationIterator()
[all …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/mesa3d/ohos/
DmodifyDtsi.py51 def addItem(self, newText, positionInedx, rowNume): argument
54 if("is not set" in newText):
55 item = newText[2:-11]
57 item = newText[:-2]
68 self.lines.insert(lineNum, newText+'\n')
/third_party/typescript/tests/baselines/reference/
DtsxSpreadAttributesResolution7.types6 >TextProps : { editable: false; } | { editable: true; onEdit: (newText: string) => void; }
10 | { editable: true, onEdit: (newText: string) => void };
13 >onEdit : (newText: string) => void
14 >newText : string
67 >textPropsTrue : { editable: true; onEdit: (newText: string) => void; }
DtsxSpreadAttributesResolution6.types6 >TextProps : { editable: false; } | { editable: true; onEdit: (newText: string) => void; }
10 | { editable: true, onEdit: (newText: string) => void };
13 >onEdit : (newText: string) => void
14 >newText : string
DtsxSpreadAttributesResolution6.errors.txt2 …e '{ editable: true; }' but required in type '{ editable: true; onEdit: (newText: string) => void;…
9 | { editable: true, onEdit: (newText: string) => void };
21 …e '{ editable: true; }' but required in type '{ editable: true; onEdit: (newText: string) => void;…
DtsxSpreadAttributesResolution6.symbols9 | { editable: true, onEdit: (newText: string) => void };
12 >newText : Symbol(newText, Decl(file.tsx, 3, 44))
DtsxSpreadAttributesResolution7.symbols9 | { editable: true, onEdit: (newText: string) => void };
12 >newText : Symbol(newText, Decl(file.tsx, 3, 44))
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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
/third_party/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
/third_party/icu/icu4c/source/test/cintltst/
Dutransts.c105 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xreplace() local
106 u_strncpy(newText, x->text, start); in Xreplace()
107 u_strncpy(newText + start, text, textLength); in Xreplace()
108 u_strcpy(newText + start + textLength, x->text + limit); in Xreplace()
110 x->text = newText; in Xreplace()
117 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); in Xcopy() local
118 u_strncpy(newText, x->text, dest); in Xcopy()
119 u_strncpy(newText + dest, x->text + start, limit - start); in Xcopy()
120 u_strcpy(newText + dest + limit - start, x->text + dest); in Xcopy()
122 x->text = newText; in Xcopy()
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/typescript/src/testRunner/unittests/services/extract/
Dhelpers.ts122 const newText = textChanges.applyChanges(sourceFile.text, edits[0].textChanges); constant
123 …const newTextWithRename = newText.slice(0, renameLocation) + "/*RENAME*/" + newText.slice(renameLo…
126 … const { program: diagProgram } = makeProgram({ path, content: newText }, includeLib);

123456