Home
last modified time | relevance | path

Searched refs:lineLength (Results 1 – 25 of 33) sorted by relevance

12

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java155 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/
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 == 0) { in readLine()
Dcollationtest.cpp969 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()
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()
/external/icu/icu4c/source/tools/gendict/
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]… in readLine()
234 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength; } in readLine()
235 fileLine.setTo(FALSE, line, lineLength); in readLine()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java35 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/
Djson_writer.cpp372 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/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java288 int lineLength = 1; in test_generateCertificate_AnyLineLength_Success() local
294 while (lineLength < (maxLineLength - 4)) { in test_generateCertificate_AnyLineLength_Success()
295 int end = offset + lineLength; in test_generateCertificate_AnyLineLength_Success()
301 offset += lineLength; in test_generateCertificate_AnyLineLength_Success()
309 throw new Exception("Fail at line length " + lineLength, e); in test_generateCertificate_AnyLineLength_Success()
315 lineLength++; in test_generateCertificate_AnyLineLength_Success()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/
DCertificateFactoryTest.java291 int lineLength = 1; in test_generateCertificate_AnyLineLength_Success() local
297 while (lineLength < (maxLineLength - 4)) { in test_generateCertificate_AnyLineLength_Success()
298 int end = offset + lineLength; in test_generateCertificate_AnyLineLength_Success()
304 offset += lineLength; in test_generateCertificate_AnyLineLength_Success()
312 throw new Exception("Fail at line length " + lineLength, e); in test_generateCertificate_AnyLineLength_Success()
318 lineLength++; in test_generateCertificate_AnyLineLength_Success()
/external/skqp/tools/bookmaker/
DtextParser.cpp46 size_t lineLen = this->lineLength(); in reportWarning()
52 lineLen = err.lineLength(); in reportWarning()
DtextParser.h203 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()
DmdOut.cpp2187 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()
DbmhParser.cpp404 string key = string(parser.fStart, parser.lineLength()); in addDefinition()
894 const char* end = fLine + this->lineLength(); in endHashCount()
1574 fChar = fLine + this->lineLength() - 1; in findDefinitions()
2036 lineLen = this->lineLength(); in skipToDefinitionEnd()
2085 const char* lineEnd = fLine + this->lineLength(); in topicName()
2338 const char* lineEnd = fLine + this->lineLength(); in word()
/external/skia/tools/bookmaker/
DtextParser.cpp46 size_t lineLen = this->lineLength(); in reportWarning()
52 lineLen = err.lineLength(); in reportWarning()
DtextParser.h203 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()
DmdOut.cpp2187 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()
DbmhParser.cpp404 string key = string(parser.fStart, parser.lineLength()); in addDefinition()
894 const char* end = fLine + this->lineLength(); in endHashCount()
1574 fChar = fLine + this->lineLength() - 1; in findDefinitions()
2033 lineLen = this->lineLength(); in skipToDefinitionEnd()
2082 const char* lineEnd = fLine + this->lineLength(); in topicName()
2335 const char* lineEnd = fLine + this->lineLength(); in word()
/external/dng_sdk/source/
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()
/external/skqp/samplecode/
DSampleChineseFling.cpp232 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument
233 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
/external/skia/samplecode/
DSampleChineseFling.cpp232 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/
DGenerateEnums.java126 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/
Ddashing.cpp210 SkScalar lineLength, in drawDashedLines() argument
232 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines()
241 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()
/external/skqp/gm/
Ddashing.cpp210 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/
DStringMsgParser.java163 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/
Ddicttrieperf.cpp630 int32_t lineLength=lines[i].len; in call() local
631 for(int32_t j=1; j<lineLength; ++j) { in call()

12