Home
last modified time | relevance | path

Searched refs:lineLength (Results 1 - 20 of 20) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
H A Ddatadrivennumberformattestsuite.cpp189 int32_t lineLength; in readLine() local
190 const UChar *line = ucbuf_readline(f, &lineLength, &status); in readLine()
200 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readLine()
201 fFileLine.setTo(false, line, lineLength); in readLine()
202 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readLine()
203 if (lineLength in readLine()
[all...]
H A Dnumbertest_permutation.cpp172 int32_t lineLength; in testPermutations() local
174 const UChar* lineBuf = ucbuf_readline(f.getAlias(), &lineLength, status); in testPermutations()
179 UnicodeString expectedLine(lineBuf, lineLength - 1); in testPermutations()
185 if (!quick && ucbuf_readline(f.getAlias(), &lineLength, status) != nullptr) { in testPermutations()
H A Dcollationtest.cpp974 int32_t lineLength;
975 const UChar *line = ucbuf_readline(f, &lineLength, errorCode);
982 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#'
984 lineLength = (int32_t)(comment - line);
986 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; }
988 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; }
[all...]
H A Dlocalematchertest.cpp653 int32_t lineLength; in testDataDriven() local
658 while ((p = ucbuf_readline(f.getAlias(), &lineLength, errorCode)) != nullptr && in testDataDriven()
660 line.setTo(false, p, lineLength); in testDataDriven()
H A Drbbimonkeytest.cpp293 int32_t lineLength = 0; in compileRules() local
294 const UChar *lineBuf = ucbuf_readline(rules, &lineLength, &status); in compileRules()
298 UnicodeString line(lineBuf, lineLength); in compileRules()
/third_party/icu/icu4c/source/tools/gendict/
H A Dgendict.cpp224 int32_t lineLength; in readLine() local
225 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readLine()
228 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine()
230 lineLength = (int32_t)(comment - line); in readLine()
232 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; } in readLine()
234 while(lineLength > 0 && u_isspace(line[lineLength in readLine()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/gendict/
H A Dgendict.cpp224 int32_t lineLength; in readLine() local
225 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readLine()
228 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine()
230 lineLength = (int32_t)(comment - line); in readLine()
232 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; } in readLine()
234 while(lineLength > 0 && u_isspace(line[lineLength in readLine()
[all...]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/
H A DDebuggingOutputStream.java27 private int lineLength; field in DebuggingOutputStream
51 if (++lineLength == LINE_LENGTH) { in write()
53 lineLength = 0; in write()
/third_party/popt/src/
H A Dpopthelp.c200 * @param lineLength display positions remaining
206 singleOptionDefaultValue(size_t lineLength, in singleOptionDefaultValue() argument
212 char * le = malloc(4*lineLength + 1); in singleOptionDefaultValue()
255 size_t limit = 4*lineLength - (le - l) - sizeof("\"\")"); in singleOptionDefaultValue()
290 size_t lineLength = columns->max - indentLength; in singleOptionHelp() local
350 defs = singleOptionDefaultValue(lineLength, opt, translation_domain); in singleOptionHelp()
443 while (helpLength > lineLength) { in singleOptionHelp()
447 ch = help + lineLength - 1; in singleOptionHelp()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_parse_utils.cpp1854 uint32 lineLength = 0; in DumpXMP() local
1865 if (lineLength == 0) in DumpXMP()
1870 lineLength = 5; in DumpXMP()
1880 lineLength = 0; in DumpXMP()
1887 if (lineLength >= 128) in DumpXMP()
1892 lineLength = 5; in DumpXMP()
1901 lineLength += 1; in DumpXMP()
1910 lineLength += 4; in DumpXMP()
1918 if (lineLength != 0) in DumpXMP()
/third_party/skia/samplecode/
H A DSampleChineseFling.cpp216 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument
217 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
/third_party/icu/tools/unicode/c/genuca/
H A Dgenuca.cpp686 int32_t lineLength = (int32_t)uprv_strlen(line); in readAnElement() local
687 while(lineLength>0 && (line[lineLength-1] == '\r' || line[lineLength-1] == '\n')) { in readAnElement()
688 line[--lineLength] = 0; in readAnElement()
691 if(lineLength >= 3 && line[0] == (char)0xef && in readAnElement()
696 lineLength -= 3; in readAnElement()
/third_party/skia/gm/
H A Ddashing.cpp199 SkScalar lineLength, in drawDashedLines()
221 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines()
230 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines() local
198 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) drawDashedLines() argument
/third_party/icu/icu4c/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp630 int32_t lineLength=lines[i].len; in call() local
631 for(int32_t j=1; j<lineLength; ++j) { in call()
/third_party/vk-gl-cts/framework/common/
H A DtcuRasterizationVerifier.cpp965 float lineLength = tcu::distance(lineScreenSpace[0], lineScreenSpace[1]);
968 while (lineOffset < lineLength)
977 if (leftoverPhase > lineLength)
980 d1 = lineLength;
981 leftoverPhase -= lineLength;
991 if (d0 + 1.0f > lineLength)
993 d1 = lineLength;
994 leftoverPhase = d0 + 1.0f - lineLength;
1002 if (d1 > lineLength)
1003 d1 = lineLength;
[all...]
/third_party/skia/src/gpu/ops/
H A DDashOp.cpp512 SkScalar lineLength = SkPoint::Distance(devicePts[0], devicePts[1]); variable
514 lineLength += 2.f * halfDevStroke;
516 devIntervals[0] = lineLength;
/third_party/protobuf/conformance/third_party/jsoncpp/
H A Djsoncpp.cpp4490 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultineArray() local
4496 lineLength += int(childValues_[index].length()); in isMultineArray()
4499 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultineArray()
4709 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultineArray() local
4715 lineLength += int(childValues_[index].length()); in isMultineArray()
4718 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultineArray()
4992 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultineArray() local
4998 lineLength += int(childValues_[index].length()); in isMultineArray()
5001 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultineArray()
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp4435 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4441 lineLength += int(childValues_[index].length());
4444 isMultiLine = isMultiLine || lineLength >= rightMargin_;
4655 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4661 lineLength += int(childValues_[index].length());
4664 isMultiLine = isMultiLine || lineLength >= rightMargin_;
4931 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4937 lineLength += int(childValues_[index].length());
4940 isMultiLine = isMultiLine || lineLength >= rightMargin_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp4435 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4441 lineLength += int(childValues_[index].length());
4444 isMultiLine = isMultiLine || lineLength >= rightMargin_;
4655 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4661 lineLength += int(childValues_[index].length());
4664 isMultiLine = isMultiLine || lineLength >= rightMargin_;
4931 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4937 lineLength += int(childValues_[index].length());
4940 isMultiLine = isMultiLine || lineLength >= rightMargin_;
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
H A Djsoncpp.cpp4435 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4441 lineLength += int(childValues_[index].length());
4444 isMultiLine = isMultiLine || lineLength >= rightMargin_;
4655 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4661 lineLength += int(childValues_[index].length());
4664 isMultiLine = isMultiLine || lineLength >= rightMargin_;
4931 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]'
4937 lineLength += int(childValues_[index].length());
4940 isMultiLine = isMultiLine || lineLength >= rightMargin_;

Completed in 39 milliseconds