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

12

/external/smack/src/org/xbill/DNS/utils/
H A Dbase64.java64 * @param lineLength The number of characters per line
70 formatString(byte [] b, int lineLength, String prefix, boolean addClose) { argument
73 for (int i = 0; i < s.length(); i += lineLength) {
75 if (i + lineLength >= s.length()) {
81 sb.append(s.substring(i, i + lineLength));
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DEventSource.cpp339 int lineLength = -1; local
341 for (unsigned i = bufPos; lineLength < 0 && i < bufSize; i++) {
350 lineLength = i - bufPos;
355 if (lineLength < 0)
358 parseEventStreamLine(bufPos, fieldLength, lineLength);
359 bufPos += lineLength + 1;
373 void EventSource::parseEventStreamLine(unsigned bufPos, int fieldLength, int lineLength) argument
375 if (!lineLength) {
389 String field(&m_receiveBuf[bufPos], noValue ? lineLength : fieldLength);
392 step = lineLength;
[all...]
H A DEventSource.h110 void parseEventStreamLine(unsigned pos, int fieldLength, int lineLength);
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
H A DWebSocketHandshake.cpp287 int lineLength = readStatusLine(header, len, statusCode, statusText); local
288 if (lineLength == -1)
308 const char* p = readHTTPHeaders(header + lineLength, header + len);
414 int lineLength = end - header; local
415 if (lineLength > maximumLength) {
421 if (lineLength < 2 || *(end - 2) != '\r') {
423 return lineLength;
427 m_failureReason = formatHandshakeFailureReason("No response code found in status line: " + trimInputSample(header, lineLength - 2));
428 return lineLength;
433 return lineLength;
[all...]
/external/chromium_org/third_party/icu/source/tools/gendict/
H A Dgendict.cpp254 int32_t lineLength; local
255 const UChar *line = ucbuf_readline(f, &lineLength, errorCode);
258 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#'
260 lineLength = (int32_t)(comment - line);
262 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; }
264 while(lineLength > 0 && u_isspace(line[lineLength
[all...]
/external/icu/icu4c/source/tools/gendict/
H A Dgendict.cpp254 int32_t lineLength; local
255 const UChar *line = ucbuf_readline(f, &lineLength, errorCode);
258 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#'
260 lineLength = (int32_t)(comment - line);
262 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; }
264 while(lineLength > 0 && u_isspace(line[lineLength
[all...]
/external/opencv/otherlibs/highgui/
H A Dgrfmt_pxm.cpp389 int lineLength; local
394 lineLength = channels * width * depth / 8;
396 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32;
398 if( bufferSize < lineLength )
399 bufferSize = lineLength;
/external/smack/src/org/jivesoftware/smack/util/
H A DBase64.java660 int lineLength = 0;
665 lineLength += 4;
666 if( breakLines && lineLength == MAX_LINE_LENGTH )
670 lineLength = 0;
1232 private int lineLength; field in class:Base64.InputStream
1280 this.lineLength = 0;
1379 if( encode && breakLines && lineLength >= MAX_LINE_LENGTH )
1381 lineLength = 0;
1386 lineLength++; // This isn't important when decoding
1467 private int lineLength; field in class:Base64.OutputStream
[all...]
/external/oprofile/libpopt/
H A Dpopthelp.c141 * @param lineLength display positions remaining
147 singleOptionDefaultValue(size_t lineLength, argument
155 char * le = malloc(4*lineLength + 1);
189 size_t slen = 4*lineLength - (le - l) - sizeof("\"...\")");
225 size_t lineLength = 79 - indentLength; local
265 defs = singleOptionDefaultValue(lineLength, opt, translation_domain);
375 while (helpLength > lineLength) {
379 ch = help + lineLength - 1;
/external/jsoncpp/src/lib_json/
H A Djson_writer.cpp432 int lineLength = 4 + (size-1)*2; // '[ ' + ', '*n + ' ]' local
436 lineLength += int( childValues_[index].length() );
440 isMultiLine = isMultiLine || lineLength >= rightMargin_;
709 int lineLength = 4 + (size-1)*2; // '[ ' + ', '*n + ' ]' local
713 lineLength += int( childValues_[index].length() );
717 isMultiLine = isMultiLine || lineLength >= rightMargin_;
/external/skia/src/gpu/effects/
H A DGrDashingEffect.cpp331 SkScalar lineLength = SkPoint::Distance(devicePts[0], devicePts[1]); local
333 lineLength += 2.f * halfDevStroke;
335 devIntervals[0] = lineLength;
371 SkScalar lineLength = SkPoint::Distance(devicePts[0], devicePts[1]); local
373 lineLength += 2.f * halfDevStroke;
380 lineLength, halfDevStroke);
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/
H A DMHTMLArchive.cpp205 size_t lineLength = std::min(encodedDataLength - index, maximumLineLength); local
206 mhtmlData->append(encodedData.data() + index, lineLength);
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DTypingCommand.cpp60 void operator()(size_t lineOffset, size_t lineLength, bool isLastLine) const argument
63 if (!lineOffset || lineLength > 0)
64 m_typingCommand->insertTextRunWithoutNewlines(m_text.substring(lineOffset, lineLength), m_selectInsertedText);
66 if (lineLength > 0)
67 m_typingCommand->insertTextRunWithoutNewlines(m_text.substring(lineOffset, lineLength), false);
/external/chromium_org/third_party/skia/gm/
H A Ddashing.cpp214 SkScalar lineLength,
236 pts[1].set(lineLength, SkIntToScalar(y));
245 pts[1].set(SkIntToScalar(x), lineLength); local
213 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument
/external/skia/gm/
H A Ddashing.cpp201 SkScalar lineLength,
223 pts[1].set(lineLength, SkIntToScalar(y));
232 pts[1].set(SkIntToScalar(x), lineLength); local
200 drawDashedLines(SkCanvas* canvas, SkScalar lineLength, SkScalar phase, SkScalar dashLength, int strokeWidth, bool circles) argument
/external/chromium_org/ui/accessibility/extensions/caretbrowsing/
H A Dtraverse_util.js623 * @param {number} lineLength The maximum number of characters in a line.
630 startCursor, endCursor, nodesCrossed, lineLength, breakTags) {
634 if (str.length + word.length + 1 > lineLength)
659 * @param {number} lineLength The maximum number of characters in a line.
666 startCursor, endCursor, nodesCrossed, lineLength, breakTags) {
670 if (str.length + word.length + 1 > lineLength)
/external/icu/icu4c/source/test/intltest/
H A Dcollationtest.cpp945 int32_t lineLength; local
946 const UChar *line = ucbuf_readline(f, &lineLength, errorCode);
953 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#'
955 lineLength = (int32_t)(comment - line);
957 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; }
959 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; }
[all...]
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrDashingEffect.cpp336 SkScalar lineLength = SkPoint::Distance(devicePts[0], devicePts[1]); local
338 lineLength += 2.f * halfDevStroke;
340 devIntervals[0] = lineLength;
389 SkScalar lineLength = SkPoint::Distance(devicePts[0], devicePts[1]); local
391 lineLength += 2.f * halfDevStroke;
398 lineLength, halfDevStroke);
/external/robolectric/lib/main/
H A Dcommons-codec-1.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/codec/ ...
/external/owasp/sanitizer/lib/commons-codec-1.4/
H A Dcommons-codec-1.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/codec/ ...
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DStringMsgParser.java163 int lineLength = i - lineStart;
167 currentLine = new String(msgBuffer, lineStart, lineLength, "UTF-8");
/external/chromium_org/third_party/icu/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp627 int32_t lineLength=lines[i].len; local
628 for(int32_t j=1; j<lineLength; ++j) {
/external/icu/icu4c/source/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp627 int32_t lineLength=lines[i].len; local
628 for(int32_t j=1; j<lineLength; ++j) {
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderThemeChromiumMac.mm1546 float lineLength = unzoomedRect.width() * 16 / 28;
1550 xPath.addRoundedRect(FloatRect(-lineLength / 2, -lineWidth / 2, lineLength, lineWidth),
1552 xPath.addRoundedRect(FloatRect(-lineWidth / 2, -lineLength / 2, lineWidth, lineLength),
/external/opencv/cv/src/
H A Dcvhough.cpp485 int lineLength, int lineGap,
661 good_line = abs(line_end[1].x - line_end[0].x) >= lineLength ||
662 abs(line_end[1].y - line_end[0].y) >= lineLength;
483 icvHoughLinesProbabalistic( CvMat* image, float rho, float theta, int threshold, int lineLength, int lineGap, CvSeq *lines, int linesMax ) argument

Completed in 597 milliseconds

12