Home
last modified time | relevance | path

Searched refs:countLines (Results 1 – 13 of 13) sorted by relevance

/third_party/flutter/skia/src/codec/
DSkCodec.cpp541 int SkCodec::getScanlines(void* dst, int countLines, size_t rowBytes) { in getScanlines() argument
547 if (countLines <= 0 || fCurrScanline + countLines > fDstInfo.height()) { in getScanlines()
551 const int linesDecoded = this->onGetScanlines(dst, countLines, rowBytes); in getScanlines()
552 if (linesDecoded < countLines) { in getScanlines()
554 countLines, linesDecoded); in getScanlines()
556 fCurrScanline += countLines; in getScanlines()
560 bool SkCodec::skipScanlines(int countLines) { in skipScanlines() argument
566 if (countLines < 0 || fCurrScanline + countLines > fDstInfo.height()) { in skipScanlines()
573 bool result = this->onSkipScanlines(countLines); in skipScanlines()
574 fCurrScanline += countLines; in skipScanlines()
/third_party/skia/src/codec/
DSkCodec.cpp601 int SkCodec::getScanlines(void* dst, int countLines, size_t rowBytes) { in getScanlines() argument
607 if (countLines <= 0 || fCurrScanline + countLines > fDstInfo.height()) { in getScanlines()
611 const int linesDecoded = this->onGetScanlines(dst, countLines, rowBytes); in getScanlines()
612 if (linesDecoded < countLines) { in getScanlines()
614 countLines, linesDecoded); in getScanlines()
616 fCurrScanline += countLines; in getScanlines()
620 bool SkCodec::skipScanlines(int countLines) { in skipScanlines() argument
626 if (countLines < 0 || fCurrScanline + countLines > fDstInfo.height()) { in skipScanlines()
633 bool result = this->onSkipScanlines(countLines); in skipScanlines()
634 fCurrScanline += countLines; in skipScanlines()
/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp111 REPORTER_ASSERT(reporter, selectableText->countLines() == 5); in UNIX_ONLY_TEST()
112 for (LineIndex lineIndex = 0; lineIndex < selectableText->countLines(); ++lineIndex) { in UNIX_ONLY_TEST()
293 …lectableText->lastInLinePosition(PositionType::kGraphemeCluster, selectableText->countLines() - 1); in UNIX_ONLY_TEST()
294 while (position.fLineIndex < selectableText->countLines() - 1) { in UNIX_ONLY_TEST()
/third_party/skia/include/codec/
DSkCodec.h513 int getScanlines(void* dst, int countLines, size_t rowBytes);
532 bool skipScanlines(int countLines);
/third_party/flutter/skia/include/codec/
DSkCodec.h518 int getScanlines(void* dst, int countLines, size_t rowBytes);
537 bool skipScanlines(int countLines);
/third_party/skia/experimental/sktext/editor/
DTexts.h110 size_t lineCount() const { return fSelectableText->countLines(); } in lineCount()
112 SkASSERT(lineIndex < fSelectableText->countLines()); in getLine()
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/export_to_sheets/
Dmain.go149 lines, err := countLines(data)
213 func countLines(data []byte) (int, error) { func
/third_party/skia/experimental/sktext/include/
DText.h220 size_t countLines() const { return fVisualLines.size(); } in countLines() function
336 size_t countLines() const { return fBoxLines.size(); } in countLines() function
DInterface.h185 size_t countLines() const;
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts7 function countLines(program: Program): Map<number> { function
687 const lineCounts = countLines(program);
/third_party/node/test/parallel/
Dtest-util-inspect.js1000 const countLines = (str) => (str.match(/\n/g) || []).length; function
1003 assert.strictEqual(countLines(withoutColor), countLines(withColor));
/third_party/skia/experimental/sktext/src/
DText.cpp818 if (current.fLineIndex == this->countLines() - 1) { in downPosition()
/third_party/typescript/lib/
Dtsc.js94809 function countLines(program) { function
95269 var lineCounts = countLines(program);