Home
last modified time | relevance | path

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

/external/sl4a/Common/src/org/apache/commons/codec/binary/
DBase64Codec.java156 private final int lineLength; field in Base64Codec
265 public Base64Codec(int lineLength) { in Base64Codec() argument
266 this(lineLength, CHUNK_SEPARATOR); in Base64Codec()
291 public Base64Codec(int lineLength, byte[] lineSeparator) { in Base64Codec() argument
292 this(lineLength, lineSeparator, false); in Base64Codec()
320 public Base64Codec(int lineLength, byte[] lineSeparator, boolean urlSafe) { in Base64Codec() argument
322 lineLength = 0; // disable chunk-separating in Base64Codec()
325 this.lineLength = lineLength > 0 ? (lineLength / 4) * 4 : 0; in Base64Codec()
328 if (lineLength > 0) { in Base64Codec()
484 if (lineLength > 0 && pos > 0) { in encode()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddatadrivennumberformattestsuite.cpp178 int32_t lineLength; in readLine() local
179 const UChar *line = ucbuf_readline(f, &lineLength, &status); in readLine()
189 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readLine()
190 fFileLine.setTo(FALSE, line, lineLength); in readLine()
191 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readLine()
192 if (lineLength == 0) { in readLine()
Dcollationtest.cpp971 int32_t lineLength; in readNonEmptyLine() local
972 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readNonEmptyLine()
979 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readNonEmptyLine()
981 lineLength = (int32_t)(comment - line); in readNonEmptyLine()
983 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine()
985 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine()
986 if(lineLength != 0) { in readNonEmptyLine()
987 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
/external/opencv3/modules/cudaimgproc/src/cuda/
Dhough_segments.cu59 const int lineGap, const int lineLength, in houghLinesProbabilistic() argument
70 if (curVotes >= lineLength && in houghLinesProbabilistic()
180 bool good_line = ::abs(line_end[1].x - line_end[0].x) >= lineLength || in houghLinesProbabilistic()
181 ::abs(line_end[1].y - line_end[0].y) >= lineLength; in houghLinesProbabilistic()
200 bool good_line = ::abs(line_end[1].x - line_end[0].x) >= lineLength || in houghLinesProbabilistic()
201 ::abs(line_end[1].y - line_end[0].y) >= lineLength; in houghLinesProbabilistic()
217 …ask, PtrStepSzi accum, int4* out, int maxSize, float rho, float theta, int lineGap, int lineLength) in houghLinesProbabilistic_gpu() argument
232 lineGap, lineLength, in houghLinesProbabilistic_gpu()
/external/icu/icu4c/source/tools/gendict/
Dgendict.cpp221 int32_t lineLength; in readLine() local
222 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readLine()
225 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine()
227 lineLength = (int32_t)(comment - line); in readLine()
229 …while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1]… in readLine()
231 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength; } in readLine()
232 fileLine.setTo(FALSE, line, lineLength); in readLine()
/external/opencv/otherlibs/highgui/
Dgrfmt_pxm.cpp389 int lineLength; in WriteImage() local
394 lineLength = channels * width * depth / 8; in WriteImage()
396 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32; in WriteImage()
398 if( bufferSize < lineLength ) in WriteImage()
399 bufferSize = lineLength; in WriteImage()
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_pxm.cpp398 int lineLength; in write() local
402 lineLength = width * (int)img.elemSize(); in write()
404 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32; in write()
406 if( bufferSize < lineLength ) in write()
407 bufferSize = lineLength; in write()
/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/opencv3/modules/imgproc/src/opencl/
Dhough_lines.cl182 … int linesMax, int threshold, int lineLength, int lineGap, float rho, float theta)
294 bool good_line = fabs(line_end[1].x - line_end[0].x) >= lineLength ||
295 fabs(line_end[1].y - line_end[0].y) >= lineLength;
314 bool good_line = fabs(line_end[1].x - line_end[0].x) >= lineLength ||
315 fabs(line_end[1].y - line_end[0].y) >= lineLength;
/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/skia/gm/
Ddashing.cpp209 SkScalar lineLength, in drawDashedLines() argument
231 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines()
240 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()
/external/autotest/client/cros/graphics/
Ddrm.py360 lineLength = fb.width * fb.bpp // 8
372 channels = m.read(lineLength)
/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/opencv3/modules/cudaimgproc/src/
Dhough_segments.cpp68 …sk, PtrStepSzi accum, int4* out, int maxSize, float rho, float theta, int lineGap, int lineLength);
/external/icu/icu4c/source/test/perf/dicttrieperf/
Ddicttrieperf.cpp626 int32_t lineLength=lines[i].len; in call() local
627 for(int32_t j=1; j<lineLength; ++j) { in call()
/external/opencv3/modules/imgproc/src/
Dhough.cpp417 int lineLength, int lineGap, in HoughLinesProbabilistic() argument
446 …ppiHoughProbLine_8u32f_C1R(image.data, image.step, srcSize, threshold, lineLength, lineGap, (IppiP… in HoughLinesProbabilistic()
597 good_line = std::abs(line_end[1].x - line_end[0].x) >= lineLength || in HoughLinesProbabilistic()
598 std::abs(line_end[1].y - line_end[0].y) >= lineLength; in HoughLinesProbabilistic()
/external/opencv/cv/src/
Dcvhough.cpp485 int lineLength, int lineGap, in icvHoughLinesProbabalistic() argument
661 good_line = abs(line_end[1].x - line_end[0].x) >= lineLength || in icvHoughLinesProbabalistic()
662 abs(line_end[1].y - line_end[0].y) >= lineLength; in icvHoughLinesProbabalistic()
/external/skia/src/gpu/effects/
DGrDashingEffect.cpp515 SkScalar lineLength = SkPoint::Distance(devicePts[0], devicePts[1]); in onPrepareDraws() local
517 lineLength += 2.f * halfDevStroke; in onPrepareDraws()
519 devIntervals[0] = lineLength; in onPrepareDraws()
/external/opencv/cv/include/
Dcvcompat.h517 int lineLength, int lineGap, in cvHoughLinesP() argument
522 rho, theta, threshold, lineLength, lineGap ); in cvHoughLinesP()