HomeSort by relevance Sort by last modified time
    Searched refs:lineLength (Results 1 - 25 of 35) sorted by null

1 2

  /external/jmonkeyengine/engine/src/test/jme3test/batching/
TestBatchNodeCluster.java 60 private int lineLength = 50;
206 if (xpos >= lineLength * 2) {
213 //y = yPosition.get(yPosition.size() - lineLength) + 2;
216 if (yPosition.size() > lineLength) {
218 if (y == 0 && ypos < yLimitf && getym(lineLength) > ypos - 2) {
220 } else if (y == 1 && ypos > yLimits && getym(lineLength) < ypos + 2) {
222 } else if (y == 2 && getym(lineLength) > ypos - 2 && getym(lineLength) < ypos + 2) {
229 } else if (y == 0 && getym(lineLength) >= ypos - 4) {
231 } else if (y == 0 && getym(lineLength) >= ypos - 2)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
DiscretePathEffectTest.java 92 int lineLength = END_X - START_X;
94 assertTrue(numGreenPixels >= lineLength);
100 assertTrue(intersect < lineLength);
102 assertTrue(intersect >= lineLength / SEGMENT_LENGTH);
  /external/smack/src/org/xbill/DNS/utils/
base64.java 64 * @param lineLength The number of characters per line
70 formatString(byte [] b, int lineLength, String prefix, boolean addClose) {
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/
EventSource.cpp 327 int lineLength = -1;
329 for (unsigned int i = bufPos; lineLength < 0 && i < bufSize; i++) {
338 lineLength = i - bufPos;
343 if (lineLength < 0)
346 parseEventStreamLine(bufPos, fieldLength, lineLength);
347 bufPos += lineLength + 1;
361 void EventSource::parseEventStreamLine(unsigned bufPos, int fieldLength, int lineLength)
363 if (!lineLength) {
377 String field(&m_receiveBuf[bufPos], noValue ? lineLength : fieldLength);
380 step = lineLength;
    [all...]
EventSource.h 106 void parseEventStreamLine(unsigned pos, int fieldLength, int lineLength);
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketHandshake.cpp 291 int lineLength = readStatusLine(header, len, statusCode, statusText);
292 if (lineLength == -1)
312 const char* p = readHTTPHeaders(header + lineLength, header + len);
427 int lineLength = end - header;
428 if (lineLength > maximumLength) {
434 if (lineLength < 2 || *(end - 2) != '\r') {
436 return lineLength;
440 m_failureReason = "No response code found: " + trimInputSample(header, lineLength - 2);
441 return lineLength;
446 return lineLength;
    [all...]
  /external/icu4c/tools/gendict/
gendict.cpp 256 int32_t lineLength;
257 const UChar *line = ucbuf_readline(f, &lineLength, errorCode);
260 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#'
262 lineLength = (int32_t)(comment - line);
264 while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1] == LINEFEED_CHARACTER)) { --lineLength; }
266 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength;
    [all...]
  /external/opencv/otherlibs/highgui/
grfmt_pxm.cpp 389 int lineLength;
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/
Base64.java 660 int lineLength = 0;
665 lineLength += 4;
666 if( breakLines && lineLength == MAX_LINE_LENGTH )
670 lineLength = 0;
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialSelectorView.java 312 int lineLength = mLineLength;
313 lineLength -= mSelectionRadius;
314 pointX = mXCenter + (int) (lineLength * Math.sin(mSelectionRadians));
315 pointY = mYCenter - (int) (lineLength * Math.cos(mSelectionRadians));
  /external/oprofile/libpopt/
popthelp.c 141 * @param lineLength display positions remaining
147 singleOptionDefaultValue(size_t lineLength,
155 char * le = malloc(4*lineLength + 1);
189 size_t slen = 4*lineLength - (le - l) - sizeof("\"...\")");
225 size_t lineLength = 79 - indentLength;
265 defs = singleOptionDefaultValue(lineLength, opt, translation_domain);
375 while (helpLength > lineLength) {
379 ch = help + lineLength - 1;
  /libcore/luni/src/test/java/libcore/java/security/cert/
CertificateFactoryTest.java 212 int lineLength = 1;
218 while (lineLength < (maxLineLength - 4)) {
219 int end = offset + lineLength;
225 offset += lineLength;
233 throw new Exception("Fail at line length " + lineLength, e);
239 lineLength++;
  /external/skia/gm/
dashing.cpp 189 SkScalar lineLength,
211 pts[1].set(lineLength, SkIntToScalar(y));
220 pts[1].set(SkIntToScalar(x), lineLength);
  /external/chromium_org/third_party/WebKit/Source/core/loader/archive/
MHTMLArchive.cpp 203 size_t lineLength = std::min(encodedDataLength - index, maximumLineLength);
204 mhtmlData->append(encodedData.data() + index, lineLength);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
TypingCommand.cpp 58 void operator()(size_t lineOffset, size_t lineLength, bool isLastLine) const
61 if (!lineOffset || lineLength > 0)
62 m_typingCommand->insertTextRunWithoutNewlines(m_text.substring(lineOffset, lineLength), m_selectInsertedText);
64 if (lineLength > 0)
65 m_typingCommand->insertTextRunWithoutNewlines(m_text.substring(lineOffset, lineLength), false);
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapbMessageMmsEmail.java 270 int partLength, lineLength = 0;
271 lineLength += headerName.getBytes().length;
276 if(lineLength + partLength >= 998) // max line length in RFC2822
279 lineLength = 0;
282 lineLength += partLength;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
TextEditorModel.js 125 lineLength: function(lineNumber)
152 if (range.endLine - range.startLine === 1 && range.endColumn === 0 && range.startColumn === this.lineLength(range.startLine))
583 result.startColumn = this.lineLength(--result.startLine);
594 if (result.endColumn < this.lineLength(result.endLine))
  /external/robolectric/lib/main/
commons-codec-1.6.jar 
  /prebuilts/devtools/tools/lib/
commons-codec-1.4.jar 
  /prebuilts/tools/common/http-client/
commons-codec-1.4.jar 
  /prebuilts/tools/common/m2/repository/commons-codec/commons-codec/1.4/
commons-codec-1.4.jar 
  /external/nist-sip/java/gov/nist/javax/sip/parser/
StringMsgParser.java 163 int lineLength = i - lineStart;
167 currentLine = new String(msgBuffer, lineStart, lineLength, "UTF-8");
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
VisualRefactoring.java     [all...]
  /external/icu4c/test/perf/dicttrieperf/
dicttrieperf.cpp 627 int32_t lineLength=lines[i].len;
628 for(int32_t j=1; j<lineLength; ++j) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
GCWrapper.java 593 double lineLength = Math.sqrt(dy * dy + dx * dx);
597 // to the endpoint (x1 + lineLength, y1) stretching up to (x2,y2).
600 double ax = x1 + lineLength - arrowHeight;

Completed in 2208 milliseconds

1 2