Home
last modified time | relevance | path

Searched refs:lineCount (Results 1 – 25 of 52) 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()
45 …throw (RuntimeException) new IllegalArgumentException(lineCount + ":\t" + 0 + " - while reading" +… in process()
57 … throw (RuntimeException) new IllegalArgumentException(lineCount + ":\t" + 0).initCause(e); in process()
68 … throw (RuntimeException) new IllegalArgumentException(lineCount + ":\t" + 0).initCause(e); in process()
75 lineCount = 1; in process()
77 for (;; ++lineCount) { in process()
94 if (!handleLine(lineCount, line)) { in process()
101 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
23 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
38 return handleLine(lineCount, start, end, parts); in handleLine()
DTempPrintWriter.java129 for (int lineCount = 0; ; ++lineCount) { in filesAreIdentical()
130 line1 = getLineWithoutFluff(br1, lineCount == 0, skipCopyright); in filesAreIdentical()
131 line2 = getLineWithoutFluff(br2, lineCount == 0, skipCopyright); in filesAreIdentical()
DSimpleHtmlParser.java84 private int lineCount; field in SimpleHtmlParser
90 lineCount = 0; in setReader()
95 return lineCount; in getLineCount()
118 ++lineCount; in next()
DApproximateWidth.java38 protected boolean handleLine(int lineCount, int start, int end, String[] items) {
/external/icu/icu4c/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()
/external/cldr/tools/java/org/unicode/cldr/draft/
DFileUtilities.java88 protected abstract boolean handleLine(int lineCount, int start, int end, String[] items); in handleLine() argument
103 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
118 return handleLine(lineCount, start, end, parts); in handleLine()
123 private int lineCount; field in FileUtilities.FileProcessor
135 protected boolean handleLine(int lineCount, String line) { in handleLine() argument
143 return lineCount; in getLineCount()
154 throw new ICUUncheckedIOException(lineCount + ":\t" + 0, e); in process()
166 throw new ICUUncheckedIOException(lineCount + ":\t" + 0, e); in process()
177 throw new ICUUncheckedIOException(lineCount + ":\t" + 0, e); in process()
184 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/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/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()
/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/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/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/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/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.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()
/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/skia/bench/
DTypefaceBench.cpp214 UtfToGlyph(SkTextEncoding encoding, const char* (*text), int lineCount, const char* name) in UtfToGlyph() argument
217 , fLineCount{lineCount}
/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/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/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()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DHeaderMixin.java228 int lineCount = titleView.getLineCount(); in autoAdjustTextSize()
229 if (lineCount > headerAutoSizeMaxLineOfMaxSize) { in autoAdjustTextSize()

123