Home
last modified time | relevance | path

Searched refs:getStart (Results 1 – 25 of 164) sorted by relevance

1234567

/third_party/typescript/src/services/
DsmartSelection.ts41 const end = nextNode.getStart() + "}".length;
48 … && !positionsAreOnSameLine(prevNode.getStart(), nextNode.getStart(), sourceFile);
49 const start = isBetweenMultiLineBookends ? prevNode.getEnd() : node.getStart();
50 … const end = isBetweenMultiLineBookends ? nextNode.getStart() : getEndPos(sourceFile, node);
53 pushSelectionRange(first(node.jsDoc).getStart(), end);
280 return sourceFile.getLineEndOfPosition(node.getStart());
DtextChanges.ts174 return node.getStart(sourceFile);
177 return getLineStartPositionForPosition(node.getStart(sourceFile), sourceFile);
186 const start = node.getStart(sourceFile);
305 …this.deleteRange(sourceFile, { pos: modifier.getStart(sourceFile), end: skipTrivia(sourceFile.text…
407 … return this.insertModifierAt(sourceFile, before.getStart(sourceFile), modifier, { suffix: " " });
421 this.insertText(sourceFile, token.getStart(sourceFile), text);
425 const fnStart = node.getStart(sourceFile);
429 … pos: getLineStartPositionForPosition(jsdoc.getStart(sourceFile), sourceFile),
467 …const start = findChildOfKind(node, SyntaxKind.OpenParenToken, sourceFile)!.getStart(sourceFile) +…
475 …fKind(node, SyntaxKind.OpenParenToken, sourceFile) || first(node.parameters)).getStart(sourceFile);
[all …]
DoutliningElementsCollector.ts29 …dOfKind(statements[firstImport], SyntaxKind.ImportKeyword, sourceFile)!.getStart(sourceFile), stat…
247 …const textSpan = createTextSpanFromBounds(node.openingElement.getStart(sourceFile), node.closingEl…
254 …const textSpan = createTextSpanFromBounds(node.openingFragment.getStart(sourceFile), node.closingF…
264 …return createOutliningSpanFromBounds(node.getStart(sourceFile), node.getEnd(), OutliningSpanKind.C…
271 …return createOutliningSpanFromBounds(node.getStart(sourceFile), node.getEnd(), OutliningSpanKind.C…
299 …eTextSpanFromBounds(useFullStart ? openToken.getFullStart() : openToken.getStart(sourceFile), clos…
Drename.ts70 …const triggerSpan = createTextSpan(node.getStart(sourceFile) + 1 + indexAfterLastSlash, node.text.…
99 let start = node.getStart(sourceFile);
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java189 int start = selection.getStart(); in keyPressed()
260 start = selection.getStart(); in keyPressed()
277 contents.substring(selection.getStart(), selection.getEnd())); in copy()
339 start = selection.getStart(); in keyTyped()
354 start = selection.getStart(); in keyTyped()
386 if (activeStart > selection.getStart()) { in validateKeyStart()
387 activeStart = selection.getStart(); in validateKeyStart()
430 return selection.getStart(); in getSelectionStart()
472 if (activeStart == -1) activeStart = selection.getStart(); in insertText()
473 replaceRange(text, selection.getStart(), selection.getEnd()); in insertText()
[all …]
DSelection.java18 public int getStart() { in getStart() method in Selection
52 return getStart() < other.getEnd(); in isLessThan()
/third_party/typescript/src/services/codefixes/
DfixUnusedLabel.ts18 const pos = token.getStart(sourceFile);
19 const statementPos = labeledStatement.statement.getStart(sourceFile);
DfixUnreachableCode.ts18 if (statement.getStart(sourceFile) !== token.getStart(sourceFile)) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDominators.h90 const BasicBlock *getStart() const { in getStart() function
116 return hash_combine(BBInfo::getHashValue(Edge.getStart()),
121 return BBInfo::isEqual(LHS.getStart(), RHS.getStart()) &&
/third_party/icu/icu4c/source/test/intltest/
Dformattedvaluetest.cpp152 start, cfpos.getStart()); in assertAllPartsEqual()
188 sb.append(Int64ToUnicodeString(cfpos.getStart())); in CFPosToUnicodeString()
234 expectedStart, cfpos.getStart()); in checkMixedFormattedValue()
265 expectedStart, cfpos.getStart()); in checkMixedFormattedValue()
301 expectedStart, cfpos.getStart()); in checkMixedFormattedValue()
/third_party/typescript/src/services/formatting/
DsmartIndenter.ts49 …if (precedingTokenIsLiteral && precedingToken.getStart(sourceFile) <= position && position < prece…
150 const start = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile));
174 const start = current.getStart(sourceFile);
234 …Start = useTrueStart ? sourceFile.getLineAndCharacterOfPosition(current.getStart(sourceFile)) : co…
242 const startPos = containingList ? containingList.pos : parent.getStart(sourceFile);
319 return sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile));
408 …return node.parent && getListByRange(node.getStart(sourceFile), node.getEnd(), node.parent, source…
464 return { pos: children[i - 1].end, end: children[i + 1].getStart(sourceFile) };
DformattingContext.ts86 …const startLine = this.sourceFile.getLineAndCharacterOfPosition(node.getStart(this.sourceFile)).li…
96 …const endLine = this.sourceFile.getLineAndCharacterOfPosition(closeBrace.getStart(this.sourceFile)…
Dformatting.ts132 …pos: getLineStartPositionForPosition(outermostNode!.getStart(sourceFile), sourceFile), // TODO: GH…
225 …const candidate = forEachChild(n, c => startEndContainsRange(c.getStart(sourceFile), c.end, range)…
292 const start = enclosingNode.getStart(sourceFile);
331 const line = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile)).line;
367 pos: getLineStartPositionForPosition(node.getStart(sourceFile), sourceFile),
419 …const startLine = sourceFile.getLineAndCharacterOfPosition(enclosingNode.getStart(sourceFile)).lin…
627 … if (!rangeOverlapsWithStartEnd(originalRange, node.getStart(sourceFile), node.getEnd())) {
697 const childStartPos = child.getStart(sourceFile);
762 const range: TextRange = { pos: child.getStart(), end: child.getEnd() };
1013 if (currentParent.getStart(sourceFile) === currentItem.pos) {
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestMultipleParagraphs.java107 paraStart = run.getStart(); in testMultipleParagraphs()
132 paraStart = run.getStart(); in testMultipleParagraphs()
247 run.getStart() + "-" + run.getLimit() + in testMultipleParagraphs()
282 paraStart = run.getStart(); in testMultipleParagraphs()
303 run.getStart() + "-" + run.getLimit() + in testMultipleParagraphs()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
DTestMultipleParagraphs.java110 paraStart = run.getStart(); in testMultipleParagraphs()
135 paraStart = run.getStart(); in testMultipleParagraphs()
250 run.getStart() + "-" + run.getLimit() + in testMultipleParagraphs()
285 paraStart = run.getStart(); in testMultipleParagraphs()
306 run.getStart() + "-" + run.getLimit() + in testMultipleParagraphs()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DFormattedValueTest.java138 assertEquals(messagePrefix + ": start", start, cfpos.getStart()); in assertAllPartsEqual()
214 assertEquals(baseMessage + "start " + i, expectedStart, cfpos.getStart()); in checkFormattedValue()
237 assertEquals(baseMessage + "start " + i, expectedStart, cfpos.getStart()); in checkFormattedValue()
266 assertEquals(baseMessage + "start " + i, expectedStart, cfpos.getStart()); in checkFormattedValue()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DFormattedValueTest.java135 assertEquals(messagePrefix + ": start", start, cfpos.getStart()); in assertAllPartsEqual()
222 assertEquals(baseMessage + "B start " + i, expectedStart, cfpos.getStart()); in checkFormattedValue()
247 assertEquals(baseMessage + "C start " + i, expectedStart, cfpos.getStart()); in checkFormattedValue()
278 assertEquals(baseMessage + "D start " + i, expectedStart, cfpos.getStart()); in checkFormattedValue()
/third_party/typescript/src/testRunner/unittests/services/extract/
Dranges.ts29 pos = targetRange.range[0].getStart(f);
33 pos = targetRange.range.getStart(f);
/third_party/typescript/tests/baselines/reference/
DAPISample_linter.js59 let { line, character } = sourceFile.getLineAndCharacterOfPosition(node.getStart());
116 …var _a = sourceFile.getLineAndCharacterOfPosition(node.getStart()), line = _a.line, character = _a…
/third_party/typescript_eslint/packages/eslint-plugin-tslint/tests/test-tslint-rules-directory/
DalwaysFailRule.js15 this.createFailure(node.getStart(), node.getWidth(), 'failure')
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DBidiRun.java83 public int getStart() in getStart() method in BidiRun
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiRun.java84 public int getStart() in getStart() method in BidiRun
/third_party/grpc/src/php/tests/qps/generated_code/Grpc/Core/
DBucket.php44 public function getStart() function in Grpc\\Core\\Bucket
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueStringBuilderImpl.java111 fp.setBeginIndex(cfpos.getStart()); in nextFieldPosition()
143 as.addAttribute(cfpos.getField(), value, cfpos.getStart(), cfpos.getLimit()); in toCharacterIterator()
171 && cfpos.getStart() < cfpos.getLimit(); in nextPosition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp892 const SCEV *Start = AddRec->getStart(); in checkSubscript()
1050 if (SE->isKnownNonNegative(AddRec->getStart()) && in isKnownNonNegative()
2158 const SCEV *SrcConst = SrcAddRec->getStart(); in testSIV()
2159 const SCEV *DstConst = DstAddRec->getStart(); in testSIV()
2181 const SCEV *SrcConst = SrcAddRec->getStart(); in testSIV()
2191 const SCEV *DstConst = DstAddRec->getStart(); in testSIV()
2235 SrcConst = SrcAddRec->getStart(); in testRDIV()
2238 DstConst = DstAddRec->getStart(); in testRDIV()
2244 dyn_cast<SCEVAddRecExpr>(SrcAddRec->getStart())) { in testRDIV()
2245 SrcConst = tmpAddRec->getStart(); in testRDIV()
[all …]

1234567