Home
last modified time | relevance | path

Searched refs:lineEnd (Results 1 – 15 of 15) sorted by relevance

/third_party/icu/icu4c/source/samples/ugrep/
Dugrep.cpp65 int lineEnd; // Index of char following the new line sequence for the current line variable
143 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
144 UnicodeString s(false, ucharBuf+lineStart, lineEnd-lineStart); in main()
387 lineStart = lineEnd = startPos; in nextLine()
390 if (lineEnd >= fileLen) { in nextLine()
393 UChar c = ucharBuf[lineEnd]; in nextLine()
394 lineEnd++; in nextLine()
407 if (lineEnd < fileLen && in nextLine()
408 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
409 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/third_party/skia/third_party/externals/icu/source/samples/ugrep/
Dugrep.cpp65 int lineEnd; // Index of char following the new line sequence for the current line variable
143 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
144 UnicodeString s(false, ucharBuf+lineStart, lineEnd-lineStart); in main()
387 lineStart = lineEnd = startPos; in nextLine()
390 if (lineEnd >= fileLen) { in nextLine()
393 UChar c = ucharBuf[lineEnd]; in nextLine()
394 lineEnd++; in nextLine()
407 if (lineEnd < fileLen && in nextLine()
408 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
409 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/third_party/node/deps/v8/src/inspector/
Dsearch-util.cc91 size_t lineEnd = text.find(lineEndString, start); in lineEndings() local
92 if (lineEnd == String16::kNotFound) break; in lineEndings()
94 result->push_back(lineEnd); in lineEndings()
95 start = lineEnd + 1; in lineEndings()
111 size_t lineEnd = endings->at(lineNumber); in scriptRegexpMatchesByLines() local
112 String16 line = text.substring(start, lineEnd - start); in scriptRegexpMatchesByLines()
120 start = lineEnd + 1; in scriptRegexpMatchesByLines()
/third_party/python/Lib/
Dquopri.py59 def write(s, output=output, lineEnd=b'\n'): argument
63 output.write(s[:-1] + quote(s[-1:]) + lineEnd)
65 output.write(quote(s) + lineEnd)
67 output.write(s + lineEnd)
98 write(thisline[:MAXLINESIZE-1], lineEnd=b'=\n')
104 write(prevline, lineEnd=stripped)
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java513 int lineEnd = 0; in paint() local
523 lineEnd = tempLineEnd; in paint()
526 if (lineStart >= lineEnd) { in paint()
528 lineEnd = txt.length(); in paint()
530 lineEnd = tempLineEnd; in paint()
532 if (lineEnd > maxLineEnd) in paint()
533 lineEnd = maxLineEnd; in paint()
534 g.drawString(txt.substring(lineStart, lineEnd), 0, penY); in paint()
537 lineStart = lineEnd; in paint()
/third_party/typescript/src/services/
DoutliningElementsCollector.ts83 const lineEnd = sourceFile.getLineEndOfPosition(currentLineStart); constant
84 const lineText = sourceFile.text.substring(currentLineStart, lineEnd);
91 … const span = createTextSpanFromBounds(sourceFile.text.indexOf("//", currentLineStart), lineEnd);
97 region.textSpan.length = lineEnd - region.textSpan.start;
98 region.hintSpan.length = lineEnd - region.textSpan.start;
/third_party/skia/src/core/
DSkPath.cpp3531 SkPoint lineEnd = SkPath::kClose_Verb == verb ? *firstPt : *pts++; in IsRectContour() local
3532 SkVector lineDelta = lineEnd - lineStart; in IsRectContour()
3539 if (lineStart == lineEnd) { in IsRectContour()
3547 lineStart = lineEnd; in IsRectContour()
3559 thirdCorner = lineEnd; in IsRectContour()
3561 lineStart = lineEnd; in IsRectContour()
3574 thirdCorner = lineEnd; in IsRectContour()
3584 lineStart = lineEnd; in IsRectContour()
DSkStroke.cpp533 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() argument
534 SkVector dxy = lineEnd - lineStart; in pt_to_line()
541 hit.fX = lineStart.fX * (1 - t) + lineEnd.fX * t; in pt_to_line()
542 hit.fY = lineStart.fY * (1 - t) + lineEnd.fY * t; in pt_to_line()
/third_party/skia/modules/skparagraph/src/
DTextLine.cpp1559 auto lineEnd = this->offset().fX + this->width(); in shapeEllipsis() local
1568 right.rect.fRight >= lineEnd && in shapeEllipsis()
/third_party/typescript/src/compiler/
Dprogram.ts370 …const lineEnd = i < lastLineInFile ? getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.len… constant
371 let lineContent = file.text.slice(lineStart, lineEnd);
/third_party/typescript/src/harness/
DfourslashImpl.ts508 const lineEnd = lineStart + this.getLineContent(index).length; constant
509 this.selectRange({ fileName: this.activeFile.fileName, pos: lineStart, end: lineEnd });
/third_party/typescript/tests/baselines/reference/user/
Dacorn.log463 node_modules/acorn/acorn-loose/dist/acorn-loose.mjs(191,33): error TS2339: Property 'lineEnd' does …
496 node_modules/acorn/acorn-loose/dist/acorn-loose.js(195,35): error TS2339: Property 'lineEnd' does n…
1542 node_modules/acorn/dist/acorn_loose.es.js(199,37): error TS2339: Property 'lineEnd' does not exist …
1621 node_modules/acorn/dist/acorn_loose.js(203,37): error TS2339: Property 'lineEnd' does not exist on …
/third_party/node/tools/lint-md/
Dlint-md.mjs21593 function getLine(buffer, lineStart, lineEnd, position, maxLineLength) { argument
21601 if (lineEnd - position > maxHalfLength) {
21603 lineEnd = position + maxHalfLength - tail.length;
21606 str: head + buffer.slice(lineStart, lineEnd).replace(/\t/g, '→') + tail,
/third_party/typescript/lib/
Dtsc.js100479 …var lineEnd = i < lastLineInFile ? ts.getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.le…
100480 var lineContent = file.text.slice(lineStart, lineEnd);
DtypingsInstaller.js121129 …var lineEnd = i < lastLineInFile ? ts.getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.le…
121130 var lineContent = file.text.slice(lineStart, lineEnd);