Searched refs:countLines (Results 1 – 13 of 13) sorted by relevance
/third_party/flutter/skia/src/codec/ |
D | SkCodec.cpp | 541 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/ |
D | SkCodec.cpp | 601 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/ |
D | SelectableText.cpp | 111 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/ |
D | SkCodec.h | 513 int getScanlines(void* dst, int countLines, size_t rowBytes); 532 bool skipScanlines(int countLines);
|
/third_party/flutter/skia/include/codec/ |
D | SkCodec.h | 518 int getScanlines(void* dst, int countLines, size_t rowBytes); 537 bool skipScanlines(int countLines);
|
/third_party/skia/experimental/sktext/editor/ |
D | Texts.h | 110 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/ |
D | main.go | 149 lines, err := countLines(data) 213 func countLines(data []byte) (int, error) { func
|
/third_party/skia/experimental/sktext/include/ |
D | Text.h | 220 size_t countLines() const { return fVisualLines.size(); } in countLines() function 336 size_t countLines() const { return fBoxLines.size(); } in countLines() function
|
D | Interface.h | 185 size_t countLines() const;
|
/third_party/typescript/src/executeCommandLine/ |
D | executeCommandLine.ts | 7 function countLines(program: Program): Map<number> { function 687 const lineCounts = countLines(program);
|
/third_party/node/test/parallel/ |
D | test-util-inspect.js | 1000 const countLines = (str) => (str.match(/\n/g) || []).length; function 1003 assert.strictEqual(countLines(withoutColor), countLines(withColor));
|
/third_party/skia/experimental/sktext/src/ |
D | Text.cpp | 818 if (current.fLineIndex == this->countLines() - 1) { in downPosition()
|
/third_party/typescript/lib/ |
D | tsc.js | 94809 function countLines(program) { function 95269 var lineCounts = countLines(program);
|