Home
last modified time | relevance | path

Searched refs:lineCount (Results 1 – 25 of 34) sorted by relevance

12

/third_party/jerryscript/tools/vera++/scripts/rules/
Djerry_no_leading_or_trailing_empty_line.tcl18 set lineCount [getLineCount $f]
19 if {$lineCount > 0} {
25 set lastLine [getLine $f $lineCount]
27 report $f $lineCount "trailing empty line(s)"
/third_party/icu/icu4c/source/tools/genrb/
Dread.c42 static int32_t lineCount; variable
57 lineCount = 1; in resetLineNumber()
88 *linenumber = lineCount; in getNextToken()
108 *linenumber = lineCount; in getNextToken()
205 lineCount++; in getStringToken()
227 warning(lineCount, "Mixing quoted and unquoted strings"); in getStringToken()
409 line = lineCount; in seekUntilEndOfComment()
455 lineCount++; in isWhitespace()
472 lineCount++; in isNewline()
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dread.c40 static int32_t lineCount; variable
55 lineCount = 1; in resetLineNumber()
86 *linenumber = lineCount; in getNextToken()
106 *linenumber = lineCount; in getNextToken()
203 lineCount++; in getStringToken()
225 warning(lineCount, "Mixing quoted and unquoted strings"); in getStringToken()
407 line = lineCount; in seekUntilEndOfComment()
453 lineCount++; in isWhitespace()
470 lineCount++; in isNewline()
/third_party/node/deps/icu-small/source/tools/genrb/
Dread.c42 static int32_t lineCount; variable
57 lineCount = 1; in resetLineNumber()
88 *linenumber = lineCount; in getNextToken()
108 *linenumber = lineCount; in getNextToken()
205 lineCount++; in getStringToken()
227 warning(lineCount, "Mixing quoted and unquoted strings"); in getStringToken()
409 line = lineCount; in seekUntilEndOfComment()
455 lineCount++; in isWhitespace()
472 lineCount++; in isNewline()
/third_party/icu/tools/unicode/c/genprops/
Dnamespropsbuilder.cpp188 static uint32_t lineCount=0, wordCount=0; variable
639 lineCount2=lineCount; in compressLines()
640 lineCount=0; in compressLines()
697 printf("number of groups: %lu\n", (unsigned long)lineCount); in compressLines()
757 (unsigned long)lineCount); in build()
849 groupStringOffset=groupsOffset+2+6*lineCount; in writeBinaryData()
880 udata_write16(pData, (uint16_t)lineCount); in writeBinaryData()
881 for(i=0; i<lineCount; ++i) { in writeBinaryData()
986 if(lineCount==MAX_LINE_COUNT) { in addLine()
1023 line=lines+lineCount; in addLine()
[all …]
/third_party/typescript/src/server/
DscriptVersionCache.ts7 lineCount(): number; method
406 return this.root.lineCount();
410 const lineCount = this.getLineCount(); constant
411 if (oneBasedLine <= lineCount) {
581 this.totalLines += child.lineCount();
679 lineNumberAccumulator += child.lineCount();
684 const lineCount = this.lineCount(); constant
685 if (lineCount === 0) { // it's empty! (and lineNumberToInfo expects a one-based line)
688 const leaf = Debug.checkDefined(this.lineNumberToInfo(lineCount, 0).leaf);
689 … return { oneBasedLine: lineCount, zeroBasedColumn: leaf.charCount(), lineText: undefined };
[all …]
/third_party/node/test/parallel/
Dtest-stream-preprocess.js16 const lineCount = modelData.match(/\n/g).length; constant
39 }, lineCount)).on('close', common.mustCall(() => {
57 }, lineCount)).on('close', common.mustCall(() => {
/third_party/skia/src/core/
DSkLineClipper.cpp216 int lineCount = 1; in ClipLine() local
263 lineCount = SkToInt(r - result); in ClipLine()
269 for (int i = 0; i <= lineCount; i++) { in ClipLine()
270 lines[lineCount - i] = result[i]; in ClipLine()
273 memcpy(lines, result, (lineCount + 1) * sizeof(SkPoint)); in ClipLine()
275 return lineCount; in ClipLine()
DSkEdgeBuilder.cpp249 int lineCount = SkLineClipper::ClipLine(e.fPts, clip, lines, canCullToTheRight); in buildPoly() local
250 SkASSERT(lineCount <= SkLineClipper::kMaxClippedLineSegments); in buildPoly()
251 for (int i = 0; i < lineCount; i++) { in buildPoly()
DSkEdgeClipper.cpp54 int lineCount = SkLineClipper::ClipLine(pts, clip, lines, fCanCullToTheRight); in clipLine() local
55 for (int i = 0; i < lineCount; i++) { in clipLine()
/third_party/icu/icu4c/source/tools/gendict/
Dgendict.cpp336 int lineCount = 0; in main() local
342 lineCount++; in main()
349 fprintf(stderr, "Error: no word on line %i!\n", lineCount); in main()
361 fprintf(stderr, "Error: value too long on line %i!\n", lineCount); in main()
370 … fprintf(stderr, "Error: value syntax error or value too large on line %i!\n", lineCount); in main()
389 status.errorName(), lineCount); in main()
393 …if (verbose) { printf("Processed %d lines, added %d words, minlen %d, maxlen %d\n", lineCount, wor… in main()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDumbTextComponent.java69 private transient int lineCount = 1; field in DumbTextComponent
310 } else if (line >= lineCount) { in lineDelta()
539 for (int i = 0; i < lineCount; y += lineHeight, ++i) { in paint2()
621 for (int i = 1; i < lineCount; ++i) { in findLine()
627 if (off == lineStarts[lineCount] && in findLine()
629 return lineCount; in findLine()
631 return lineCount-1; in findLine()
643 if (line >= lineCount) { in point2Offset()
696 lineCount = 1; in fixLineStarts()
704 for (int start = 0; start < contents.length() && lineCount < MAX_LINES; in fixLineStarts()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/gendict/
Dgendict.cpp336 int lineCount = 0; in main() local
342 lineCount++; in main()
349 fprintf(stderr, "Error: no word on line %i!\n", lineCount); in main()
361 fprintf(stderr, "Error: value too long on line %i!\n", lineCount); in main()
370 … fprintf(stderr, "Error: value syntax error or value too large on line %i!\n", lineCount); in main()
389 status.errorName(), lineCount); in main()
393 …if (verbose) { printf("Processed %d lines, added %d words, minlen %d, maxlen %d\n", lineCount, wor… in main()
/third_party/skia/tests/
DPathOpsTightBoundsTest.cpp19 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines() local
21 for (int lIndex = 0; lIndex < lineCount; ++lIndex) { in testTightBoundsLines()
64 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads() local
66 for (int lIndex = 0; lIndex < lineCount; ++lIndex) { in testTightBoundsQuads()
/third_party/skia/bench/
DTypefaceBench.cpp214 UtfToGlyph(SkTextEncoding encoding, const char* (*text), int lineCount, const char* name) in UtfToGlyph() argument
217 , fLineCount{lineCount}
/third_party/node/deps/v8/src/inspector/
Dv8-profiler-agent-impl.cc47 unsigned lineCount = node->GetHitLineCount(); in buildInspectorObjectForPositionTicks() local
48 if (!lineCount) return nullptr; in buildInspectorObjectForPositionTicks()
51 std::vector<v8::CpuProfileNode::LineTick> entries(lineCount); in buildInspectorObjectForPositionTicks()
52 if (node->GetLineTicks(&entries[0], lineCount)) { in buildInspectorObjectForPositionTicks()
53 for (unsigned i = 0; i < lineCount; i++) { in buildInspectorObjectForPositionTicks()
/third_party/node/deps/v8/src/profiler/
Dprofile-generator.cc793 const v8::CpuProfileNode* node, int lineCount) { in SerializePositionTicks() argument
794 std::vector<v8::CpuProfileNode::LineTick> entries(lineCount); in SerializePositionTicks()
795 if (node->GetLineTicks(&entries[0], lineCount)) { in SerializePositionTicks()
796 for (int i = 0; i < lineCount; i++) { in SerializePositionTicks()
803 if (i != (lineCount - 1)) writer_->AddCharacter(','); in SerializePositionTicks()
857 unsigned lineCount = node->GetHitLineCount(); in SerializeNode() local
858 if (lineCount) { in SerializeNode()
860 SerializePositionTicks(node, lineCount); in SerializeNode()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/htmldiff/
Dhtmldiff.pl197 my $lineCount = 0;
219 $lineCount ++;
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.cpp504 int lineCount = 0; in getOrParseFileTokens() local
507 lineCount++; in getOrParseFileTokens()
516 (*tokens)[lineCount] = Token{ Token::Return, "" }; in getOrParseFileTokens()
520 (*tokens)[lineCount] = Token{ Token::Identifier, match.str(2) }; in getOrParseFileTokens()
/third_party/node/test/fixtures/source-map/
Denclosing-call-site.js.map4 "lineCount":1,
/third_party/gptfdisk/
Dparttypes.cc585 int colCount = 1, lineCount = 1; in ShowAllTypes() local
608 if ((maxLines > 0) && (lineCount++ % maxLines) == 0) { in ShowAllTypes()
/third_party/typescript/src/testRunner/parallel/
Dhost.ts151 let lineCount = 0;
162 lineCount++;
165 this._lineCount = lineCount;
/third_party/skia/src/gpu/ops/
DAAHairLinePathRenderer.cpp1167 int lineCount = lines.count() / 2; in onPrepareDraws() local
1173 if (lineCount > kMaxLines || quadAndConicCount > kMaxQuadsAndConics) { in onPrepareDraws()
1178 if (lineCount) { in onPrepareDraws()
1186 kIdxsPerLineSeg, lineCount, kLineSegsNumInIdxBuffer); in onPrepareDraws()
1194 for (int i = 0; i < lineCount; ++i) { in onPrepareDraws()
/third_party/skia/modules/skplaintexteditor/include/
Deditor.h84 size_t lineCount() const { return fLines.size(); } in lineCount() function
/third_party/skia/gm/
Dcompositor_quads.cpp262 const bool edgeAA[4], const SkPoint lines[], int lineCount, int* quadCount) { in clipTile() argument
263 if (lineCount == 0) { in clipTile()
318 canvas, tileID, baseRect, quad, edgeAA, lines + 2, lineCount - 1, quadCount); in clipTile()
409 draws += this->clipTile(canvas, tileID, baseRect, sub, subAA, lines + 2, lineCount - 1, in clipTile()

12