/third_party/typescript/src/linter/ArkTSLinter_1_0/ |
D | Autofixer.ts | 41 …value => value.start === node.getStart() && value.end === node.getEnd() && value.problemID === Fau… 91 return [{ replacementText: identName, start: propName.getStart(), end: propName.getEnd() }]; 105 start: elemAccess.getStart(), end: elemAccess.getEnd() 121 return { start: funcExpr.getStart(), end: funcExpr.getEnd(), replacementText: text }; 136 ? funcLikeDecl.equalsGreaterThanToken.getStart() 137 : funcLikeDecl.body.getStart(); 154 const newFieldPos = ctorDecl.getStart(); 178 … autofixes.push({ start: param.getStart(), end: param.getEnd(), replacementText: newParamText }); 194 …autofixes.push({ start: ctorDecl.body.getStart(), end: ctorDecl.body.getEnd(), replacementText: ne…
|
/third_party/typescript/src/linter/ArkTSLinter_1_1/ |
D | Autofixer.ts | 41 …value => value.start === node.getStart() && value.end === node.getEnd() && value.problemID === Fau… 91 return [{ replacementText: identName, start: propName.getStart(), end: propName.getEnd() }]; 105 start: elemAccess.getStart(), end: elemAccess.getEnd() 121 return { start: funcExpr.getStart(), end: funcExpr.getEnd(), replacementText: text }; 136 ? funcLikeDecl.equalsGreaterThanToken.getStart() 137 : funcLikeDecl.body.getStart(); 154 const newFieldPos = ctorDecl.getStart(); 178 … autofixes.push({ start: param.getStart(), end: param.getEnd(), replacementText: newParamText }); 194 …autofixes.push({ start: ctorDecl.body.getStart(), end: ctorDecl.body.getEnd(), replacementText: ne…
|
/third_party/typescript/src/services/ |
D | smartSelection.ts | 28 …& isFunctionLikeDeclaration(parentNode) && !positionsAreOnSameLine(node.getStart(sourceFile), node… 29 pushSelectionRange(node.getStart(sourceFile), node.getEnd()); 52 const end = nextNode.getStart() + "}".length; 59 … && !positionsAreOnSameLine(prevNode.getStart(), nextNode.getStart(), sourceFile); 60 let start = isBetweenMultiLineBookends ? prevNode.getEnd() : node.getStart(); 61 … const end = isBetweenMultiLineBookends ? nextNode.getStart() : getEndPos(sourceFile, node); 64 pushSelectionRange(first(node.jsDoc).getStart(), end); 74 …d && hasJSDocNodes(firstChild) && firstChild.jsDoc?.length && firstChild.getStart() !== node.pos) { 75 start = Math.min(start, first(firstChild.jsDoc).getStart()); 315 return sourceFile.getLineEndOfPosition(node.getStart());
|
D | outliningElementsCollector.ts | 29 …dOfKind(statements[firstImport], SyntaxKind.ImportKeyword, sourceFile)!.getStart(sourceFile), stat… 270 …const textSpan = createTextSpanFromBounds(node.openingElement.getStart(sourceFile), node.closingEl… 277 …const textSpan = createTextSpanFromBounds(node.openingFragment.getStart(sourceFile), node.closingF… 287 …return createOutliningSpanFromBounds(node.getStart(sourceFile), node.getEnd(), OutliningSpanKind.C… 294 …return createOutliningSpanFromBounds(node.getStart(sourceFile), node.getEnd(), OutliningSpanKind.C… 315 … if (positionsAreOnSameLine(node.getStart(), node.getEnd(), sourceFile)) return undefined; 316 const textSpan = createTextSpanFromBounds(node.getStart(), node.getEnd()); 328 …eTextSpanFromBounds(useFullStart ? openToken.getFullStart() : openToken.getStart(sourceFile), clos…
|
D | textChanges.ts | 170 return node.getStart(sourceFile); 173 const startPos = node.getStart(sourceFile); 184 const start = node.getStart(sourceFile); 356 …this.deleteRange(sourceFile, { pos: modifier.getStart(sourceFile), end: skipTrivia(sourceFile.text… 462 … return this.insertModifierAt(sourceFile, before.getStart(sourceFile), modifier, { suffix: " " }); 476 this.insertText(sourceFile, token.getStart(sourceFile), text); 480 const fnStart = node.getStart(sourceFile); 484 … pos: getLineStartPositionForPosition(jsdoc.getStart(sourceFile), sourceFile), 548 …const start = findChildOfKind(node, SyntaxKind.OpenParenToken, sourceFile)!.getStart(sourceFile) +… 556 …fKind(node, SyntaxKind.OpenParenToken, sourceFile) || first(node.parameters)).getStart(sourceFile); [all …]
|
D | rename.ts | 135 …const triggerSpan = createTextSpan(node.getStart(sourceFile) + 1 + indexAfterLastSlash, node.text.… 164 let start = node.getStart(sourceFile);
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/ |
D | DumbTextComponent.java | 189 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 …]
|
D | Selection.java | 18 public int getStart() { in getStart() method in Selection 52 return getStart() < other.getEnd(); in isLessThan()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | formattedvaluetest.cpp | 152 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Dominators.h | 90 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/typescript/src/services/formatting/ |
D | smartIndenter.ts | 49 …if (precedingTokenIsLiteral && precedingToken.getStart(sourceFile) <= position && position < prece… 174 const start = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile)); 198 const start = current.getStart(sourceFile); 258 …Start = useTrueStart ? sourceFile.getLineAndCharacterOfPosition(current.getStart(sourceFile)) : co… 266 const startPos = containingList ? containingList.pos : parent.getStart(sourceFile); 343 return sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile)); 432 …return node.parent && getListByRange(node.getStart(sourceFile), node.getEnd(), node.parent, source… 490 return { pos: children[i - 1].end, end: children[i + 1].getStart(sourceFile) };
|
D | formattingContext.ts | 86 …const startLine = this.sourceFile.getLineAndCharacterOfPosition(node.getStart(this.sourceFile)).li… 96 …const endLine = this.sourceFile.getLineAndCharacterOfPosition(closeBrace.getStart(this.sourceFile)…
|
D | formatting.ts | 132 …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), 420 …const startLine = sourceFile.getLineAndCharacterOfPosition(enclosingNode.getStart(sourceFile)).lin… 668 … if (!rangeOverlapsWithStartEnd(originalRange, node.getStart(sourceFile), node.getEnd())) { 723 const childStartPos = child.getStart(sourceFile); 1035 if (currentParent.getStart(sourceFile) === currentItem.pos) { 1043 if (currentParent.getStart(sourceFile) === currentItem.pos) { [all …]
|
/third_party/typescript/src/services/codefixes/ |
D | fixUnusedLabel.ts | 18 const pos = token.getStart(sourceFile); 19 const statementPos = labeledStatement.statement.getStart(sourceFile);
|
D | fixUnreachableCode.ts | 20 if (statement.getStart(sourceFile) !== token.getStart(sourceFile)) {
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
D | TestMultipleParagraphs.java | 110 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestMultipleParagraphs.java | 107 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/format/ |
D | FormattedValueTest.java | 138 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/ |
D | FormattedValueTest.java | 135 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/ |
D | ranges.ts | 30 pos = targetRange.range[0].getStart(f); 34 pos = targetRange.range.getStart(f);
|
/third_party/typescript/tests/baselines/reference/ |
D | APISample_linter.js | 60 let { line, character } = sourceFile.getLineAndCharacterOfPosition(node.getStart()); 118 …var _a = sourceFile.getLineAndCharacterOfPosition(node.getStart()), line = _a.line, character = _a…
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 892 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 …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | FormattedValueStringBuilderImpl.java | 111 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/Target/PowerPC/ |
D | PPCLoopInstrFormPrep.cpp | 510 if (!SE->isLoopInvariant(BasePtrSCEV->getStart(), L)) in rewriteLoadStores() 526 SE->getMinusSCEV(BasePtrSCEV->getStart(), BasePtrIncSCEV); in rewriteLoadStores() 528 BasePtrStartSCEV = BasePtrSCEV->getStart(); in rewriteLoadStores() 768 PHIBasePtrSCEV->getStart() == BasePtrStartSCEV) { in alreadyPrepared() 774 SE->getMinusSCEV(PHIBasePtrSCEV->getStart(), BasePtrStartSCEV)); in alreadyPrepared()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceRegAlloc.cpp | 364 InstNumberT Lstart = L->getLiveRange().getStart(); in init() 365 InstNumberT Rstart = R->getLiveRange().getStart(); in init() 402 InstNumberT Start = Iter.Cur->getLiveRange().getStart(); in addSpillFill() 452 Item->trimLiveRange(Cur->getLiveRange().getStart()); in handleActiveRangeExpiredOrInactive() 481 Item->trimLiveRange(Cur->getLiveRange().getStart()); in handleInactiveRangeExpiredOrReactivated() 859 KillsRange.trim(Iter.Cur->getLiveRange().getStart()); in scan()
|