/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 155 private final int lineLength; field in Base64Codec 264 public Base64Codec(int lineLength) { in Base64Codec() argument 265 this(lineLength, CHUNK_SEPARATOR); in Base64Codec() 290 public Base64Codec(int lineLength, byte[] lineSeparator) { in Base64Codec() argument 291 this(lineLength, lineSeparator, false); in Base64Codec() 319 public Base64Codec(int lineLength, byte[] lineSeparator, boolean urlSafe) { in Base64Codec() argument 321 lineLength = 0; // disable chunk-separating in Base64Codec() 324 this.lineLength = lineLength > 0 ? (lineLength / 4) * 4 : 0; in Base64Codec() 327 if (lineLength > 0) { in Base64Codec() 483 if (lineLength > 0 && pos > 0) { in encode() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | datadrivennumberformattestsuite.cpp | 189 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 == 0) { in readLine()
|
D | numbertest_permutation.cpp | 168 int32_t lineLength; in testPermutations() local 170 const UChar* lineBuf = ucbuf_readline(f.getAlias(), &lineLength, status); in testPermutations() 175 UnicodeString expectedLine(lineBuf, lineLength - 1); in testPermutations() 181 if (!quick && ucbuf_readline(f.getAlias(), &lineLength, status) != nullptr) { in testPermutations()
|
D | collationtest.cpp | 969 int32_t lineLength; in readNonEmptyLine() local 970 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readNonEmptyLine() 977 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readNonEmptyLine() 979 lineLength = (int32_t)(comment - line); in readNonEmptyLine() 981 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine() 983 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine() 984 if(lineLength != 0) { in readNonEmptyLine() 985 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
|
D | localematchertest.cpp | 563 int32_t lineLength; in testDataDriven() local 568 while ((p = ucbuf_readline(f.getAlias(), &lineLength, errorCode)) != nullptr && in testDataDriven() 570 line.setTo(FALSE, p, lineLength); in testDataDriven()
|
D | rbbimonkeytest.cpp | 293 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()
|
/external/icu/icu4c/source/tools/gendict/ |
D | gendict.cpp | 224 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]… in readLine() 234 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength; } in readLine() 235 fileLine.setTo(FALSE, line, lineLength); in readLine()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/guide/test/ |
D | TestUtil.kt | 79 var lineLength = 0 variable 82 if (lineLength > limit) in flushLine() 83 oldOut.print(" ($lineLength chars in total)") in flushLine() 84 val result = lineLength > 0 in flushLine() 85 lineLength = 0 in flushLine() 95 lineLength++ in write() 96 if (lineLength <= limit) in write()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | TouchCatcherView.java | 35 private double lineLength = 0.6; // Fraction of view width field in TouchCatcherView 94 int lineStart = (int) (w * (1 - lineLength) / 2); in onDraw() 95 int lineEnd = (int) (w * (1 + lineLength) / 2); in onDraw()
|
/external/jsoncpp/src/lib_json/ |
D | json_writer.cpp | 372 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultineArray() local 375 lineLength += int(childValues_[index].length()); in isMultineArray() 378 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultineArray() 595 int lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultineArray() local 598 lineLength += int(childValues_[index].length()); in isMultineArray() 601 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultineArray()
|
/external/angle/third_party/jsoncpp/source/src/lib_json/ |
D | json_writer.cpp | 554 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 560 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 563 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray() 775 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 781 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 784 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray() 1060 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 1066 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 1069 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 359 int lineLength = 1; in test_generateCertificate_AnyLineLength_Success() local 365 while (lineLength < (maxLineLength - 4)) { in test_generateCertificate_AnyLineLength_Success() 366 int end = offset + lineLength; in test_generateCertificate_AnyLineLength_Success() 372 offset += lineLength; in test_generateCertificate_AnyLineLength_Success() 380 throw new Exception("Fail at line length " + lineLength, e); in test_generateCertificate_AnyLineLength_Success() 386 lineLength++; in test_generateCertificate_AnyLineLength_Success()
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 356 int lineLength = 1; in test_generateCertificate_AnyLineLength_Success() local 362 while (lineLength < (maxLineLength - 4)) { in test_generateCertificate_AnyLineLength_Success() 363 int end = offset + lineLength; in test_generateCertificate_AnyLineLength_Success() 369 offset += lineLength; in test_generateCertificate_AnyLineLength_Success() 377 throw new Exception("Fail at line length " + lineLength, e); in test_generateCertificate_AnyLineLength_Success() 383 lineLength++; in test_generateCertificate_AnyLineLength_Success()
|
/external/skqp/tools/bookmaker/ |
D | textParser.cpp | 46 size_t lineLen = this->lineLength(); in reportWarning() 52 lineLen = err.lineLength(); in reportWarning()
|
D | textParser.h | 203 ptrdiff_t lineLength() const { in lineLength() function 540 int max = (int) (this->lineLength()); in trimmedBracketEnd() 553 size_t max = (size_t) (this->lineLength()); in trimmedBracketEnd()
|
D | mdOut.cpp | 2187 ptrdiff_t lineLength = paragraph.fChar - contentStart; in resolveOut() local 2188 if (lineLength) { in resolveOut() 2189 while (lineLength && contentStart[lineLength - 1] <= ' ') { in resolveOut() 2190 --lineLength; in resolveOut() 2192 string str(contentStart, lineLength); in resolveOut() 2194 fWroteSomething = !!lineLength; in resolveOut()
|
/external/skia/samplecode/ |
D | SampleChineseFling.cpp | 212 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument 213 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
|
/external/dng_sdk/source/ |
D | dng_parse_utils.cpp | 1854 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()
|
/external/skqp/samplecode/ |
D | SampleChineseFling.cpp | 232 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument 233 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateEnums.java | 126 int lineLength = " /** Belgian Franc */ BEF," in showCurrencies() local 130 lineLength); in showCurrencies() local 846 String type, Map<String, String> code_replacements, int lineLength) { in printRow() argument 874 if (prefix.length() > lineLength - (printedCodeName.length() + 1)) { in printRow() 876 int lastFit = prefix.lastIndexOf(' ', lineLength in printRow() 882 out.print(Utility.repeat(" ", (lineLength in printRow()
|
/external/skia/gm/ |
D | dashing.cpp | 203 SkScalar lineLength, in drawDashedLines() argument 225 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines() 234 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()
|
/external/skqp/gm/ |
D | dashing.cpp | 210 SkScalar lineLength, in drawDashedLines() argument 232 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines() 241 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | StringMsgParser.java | 163 int lineLength = i - lineStart; in parseSIPMessage() local 167 currentLine = new String(msgBuffer, lineStart, lineLength, "UTF-8"); in parseSIPMessage()
|
/external/icu/icu4c/source/test/perf/dicttrieperf/ |
D | dicttrieperf.cpp | 630 int32_t lineLength=lines[i].len; in call() local 631 for(int32_t j=1; j<lineLength; ++j) { in call()
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 955 float lineLength = tcu::distance(lineScreenSpace[0], lineScreenSpace[1]); in verifyMultisampleLineGroupRasterization() local 958 while (lineOffset < lineLength) in verifyMultisampleLineGroupRasterization() 965 if (leftoverPhase > lineLength) in verifyMultisampleLineGroupRasterization() 968 d1 = lineLength; in verifyMultisampleLineGroupRasterization() 969 leftoverPhase -= lineLength; in verifyMultisampleLineGroupRasterization() 979 if (d0 + 1.0f > lineLength) in verifyMultisampleLineGroupRasterization() 981 d1 = lineLength; in verifyMultisampleLineGroupRasterization() 982 leftoverPhase = d0 + 1.0f - lineLength; in verifyMultisampleLineGroupRasterization() 1000 d0 /= lineLength; in verifyMultisampleLineGroupRasterization() 1001 d1 /= lineLength; in verifyMultisampleLineGroupRasterization()
|