Home
last modified time | relevance | path

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

123

/external/cldr/tools/java/org/unicode/cldr/util/
DFileProcessor.java12 private int lineCount; field in FileProcessor
25 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
33 return lineCount; in getLineCount()
44 … throw (RuntimeException) new IllegalArgumentException(lineCount + ":\t" + 0).initCause(e); in process()
56 … throw (RuntimeException) new IllegalArgumentException(lineCount + ":\t" + 0).initCause(e); in process()
67 … throw (RuntimeException) new IllegalArgumentException(lineCount + ":\t" + 0).initCause(e); in process()
74 lineCount = 1; in process()
76 for (;; ++lineCount) { in process()
93 if (!handleLine(lineCount, line)) { in process()
100 throw new ICUUncheckedIOException(lineCount + ":\t" + line, e); in process()
DSemiFileReader.java8 protected abstract boolean handleLine(int lineCount, int start, int end, String[] items); in handleLine() argument
22 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
37 return handleLine(lineCount, start, end, parts); in handleLine()
DSimpleHtmlParser.java84 private int lineCount; field in SimpleHtmlParser
90 lineCount = 0; in setReader()
95 return lineCount; in getLineCount()
118 ++lineCount; in next()
/external/icu/icu4c/source/tools/genrb/
Dread.c39 static int32_t lineCount; variable
54 lineCount = 1; in resetLineNumber()
85 *linenumber = lineCount; in getNextToken()
105 *linenumber = lineCount; in getNextToken()
202 lineCount++; in getStringToken()
224 warning(lineCount, "Mixing quoted and unquoted strings"); in getStringToken()
406 line = lineCount; in seekUntilEndOfComment()
452 lineCount++; in isWhitespace()
469 lineCount++; in isNewline()
/external/cldr/tools/java/org/unicode/cldr/draft/
DFileUtilities.java86 protected abstract boolean handleLine(int lineCount, int start, int end, String[] items); in handleLine() argument
100 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
115 return handleLine(lineCount, start, end, parts); in handleLine()
120 private int lineCount; field in FileUtilities.FileProcessor
132 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
140 return lineCount; in getLineCount()
151 throw new ICUUncheckedIOException(lineCount + ":\t" + 0, e); in process()
163 throw new ICUUncheckedIOException(lineCount + ":\t" + 0, e); in process()
174 throw new ICUUncheckedIOException(lineCount + ":\t" + 0, e); in process()
181 lineCount = 1; in process()
[all …]
/external/slf4j/integration/src/test/java/org/slf4j/
DMissingSingletonMethodAssertionTest.java61 int lineCount = sps.stringList.size(); in test() local
62 assertTrue("number of lines should be 3 but was " + lineCount, lineCount == 3); in test()
/external/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()
/external/skia/tools/bookmaker/
Ddefinition.h100 Definition(Bracket bracket, const char* start, int lineCount, Definition* parent, char mc) in Definition() argument
101 : Definition(start, nullptr, lineCount, parent, mc) { in Definition()
106 Definition(KeyWord keyWord, const char* start, const char* end, int lineCount, in Definition() argument
108 : Definition(start, end, lineCount, parent, mc) { in Definition()
113 … Definition(Punctuation punctuation, const char* start, int lineCount, Definition* parent, char mc) in Definition() argument
114 : Definition(start, nullptr, lineCount, parent, mc) { in Definition()
DtextParser.h25 TextParser(string fileName, const char* start, const char* end, int lineCount) in TextParser() argument
31 , fLineCount(lineCount) in TextParser()
735 const char* start, const char* end, int lineCount) in MethodParser() argument
736 : TextParser(fileName, start, end, lineCount) in MethodParser()
/external/skqp/tools/bookmaker/
Ddefinition.h100 Definition(Bracket bracket, const char* start, int lineCount, Definition* parent, char mc) in Definition() argument
101 : Definition(start, nullptr, lineCount, parent, mc) { in Definition()
106 Definition(KeyWord keyWord, const char* start, const char* end, int lineCount, in Definition() argument
108 : Definition(start, end, lineCount, parent, mc) { in Definition()
113 … Definition(Punctuation punctuation, const char* start, int lineCount, Definition* parent, char mc) in Definition() argument
114 : Definition(start, nullptr, lineCount, parent, mc) { in Definition()
DtextParser.h25 TextParser(string fileName, const char* start, const char* end, int lineCount) in TextParser() argument
31 , fLineCount(lineCount) in TextParser()
735 const char* start, const char* end, int lineCount) in MethodParser() argument
736 : TextParser(fileName, start, end, lineCount) in MethodParser()
/external/skqp/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()
/external/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 …]
/external/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()
/external/emma/core/java12/com/vladium/emma/report/
DSrcFileItem.java195 final int lineCount = fldata.size (); in getAggregate() local
197 aggregates [TOTAL_LINE_COUNT] = lineCount; in getAggregate()
202 …nal IntObjectMap /* line_no:int -> LineCoverageData */ lineCoverage = new IntObjectMap (lineCount); in getAggregate()
207 for (int cl = 0; cl < lineCount; ++ cl) in getAggregate()
/external/replicaisland/src/com/replica/replicaisland/
DConversationDialogActivity.java100 int lineCount = 0; in formatPages() local
118 lineCount++; in formatPages()
121 lineCount++; in formatPages()
125 if (lineCount >= maxLinesPerPage || currentOffset >= textLength) { in formatPages()
126 lineCount = 0; in formatPages()
/external/emma/core/java12/com/vladium/emma/data/
DMethodDescriptor.java140 final int lineCount = lines.length; in getLineMap() local
142 for (int l = 0; l < lineCount; ++ l) in getLineMap()
159 for (int l = 0, lineCount = lines.length; l < lineCount; ++ l) in getLineMap()
/external/skia/tests/
DPathOpsTightBoundsTest.cpp20 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines() local
22 for (int lIndex = 0; lIndex < lineCount; ++lIndex) { in testTightBoundsLines()
65 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads() local
67 for (int lIndex = 0; lIndex < lineCount; ++lIndex) { in testTightBoundsQuads()
/external/skqp/tests/
DPathOpsTightBoundsTest.cpp20 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsLines() local
22 for (int lIndex = 0; lIndex < lineCount; ++lIndex) { in testTightBoundsLines()
65 int lineCount = ran.nextRangeU(1, 10); in testTightBoundsQuads() local
67 for (int lIndex = 0; lIndex < lineCount; ++lIndex) { in testTightBoundsQuads()
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DSDE.java490 int lineCount = 1; in lineLine() local
506 lineCount = readNumber(); in lineLine()
520 jplsStart + (lineCount * lineIncrement) -1, in lineLine()
523 njplsStart + lineCount -1, in lineLine()
/external/skia/bench/
DTypefaceBench.cpp215 UtfToGlyph(SkTextEncoding encoding, const char* (*text), int lineCount, const char* name) in UtfToGlyph() argument
218 , fLineCount{lineCount}
/external/oj-libjdwp/src/share/back/
DSDE.c547 int lineCount = 1; in lineLine() local
563 lineCount = readNumber(); in lineLine()
577 jplsStart + (lineCount * lineIncrement) -1, in lineLine()
580 njplsStart + lineCount -1, in lineLine()
/external/cldr/tools/java/org/unicode/cldr/icu/
DMakefile.java99 int lineCount = 0;
102 if (lineCount == 4) {
/external/v8/src/inspector/
Dv8-profiler-agent-impl.cc46 unsigned lineCount = node->GetHitLineCount(); in buildInspectorObjectForPositionTicks() local
47 if (!lineCount) return nullptr; in buildInspectorObjectForPositionTicks()
49 std::vector<v8::CpuProfileNode::LineTick> entries(lineCount); in buildInspectorObjectForPositionTicks()
50 if (node->GetLineTicks(&entries[0], lineCount)) { in buildInspectorObjectForPositionTicks()
51 for (unsigned i = 0; i < lineCount; i++) { in buildInspectorObjectForPositionTicks()
/external/gptfdisk/
Dparttypes.cc386 int colCount = 1, lineCount = 1; in ShowAllTypes() local
403 if ((maxLines > 0) && (lineCount++ % maxLines) == 0) { in ShowAllTypes()

123