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

1 2 3 4 5 6 7 8 91011

  /external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
RandomHelper.java 52 String buildRandomFileName(int averageNodeLength, int totalLength) {
55 while (buf.length() < totalLength) {
56 int remaining = totalLength - buf.length();
  /frameworks/support/tv-provider/src/android/support/media/tv/
CollectionUtils.java 37 int totalLength = first.length;
39 totalLength += array.length;
41 T[] result = Arrays.copyOf(first, totalLength);
  /external/wycheproof/java/com/google/security/wycheproof/testcases/
CipherInputStreamTest.java 112 int totalLength = 0;
115 length = cis.read(result, totalLength, result.length - totalLength);
117 totalLength += length;
119 } while (length >= 0 && totalLength != result.length);
136 int totalLength = 0;
139 length = cis.read(result, totalLength, result.length - totalLength);
141 totalLength += length;
143 } while (length >= 0 && totalLength != result.length)
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
EllipsizeLayout.java 65 int totalLength = 0;
101 totalLength += child.getMeasuredWidth()
109 outOfSpec |= (ellipsizeView == null) || (totalLength == 0);
111 if (!outOfSpec && totalLength > parentWidth) {
112 int maxWidth = ellipsizeView.getMeasuredWidth() - (totalLength - parentWidth);
  /cts/apps/VpnApp/src/com/android/cts/vpnfirewall/
Ipv4Packet.java 32 int totalLength;
48 totalLength = stream.readUnsignedShort();
70 if (totalLength < headerLength) {
71 throw new IllegalArgumentException("Total length = " + totalLength
74 data = new byte[totalLength - headerLength];
77 byte[] original = new byte[totalLength];
92 totalLength = headerLength + data.length;
101 stream.writeShort(totalLength);
130 out.append("\n Total length: ").append(totalLength);
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
BerTlv.java 134 int totalLength = 0;
138 totalLength += itemLength + 3; //3: 'tag'(1 byte) and 'length'(2 bytes).
140 totalLength += itemLength + 2; //2: 'tag'(1 byte) and 'length'(1 byte).
154 if (length != totalLength) {
  /frameworks/base/obex/javax/obex/
ServerSession.java 263 int totalLength = 3;
271 totalLength += header.length;
272 data = new byte[totalLength];
274 data[1] = (byte)(totalLength >> 8);
275 data[2] = (byte)totalLength;
278 data = new byte[totalLength];
281 data[2] = (byte)totalLength;
301 int totalLength = 3;
315 totalLength = 3;
389 totalLength += head.length
    [all...]
ClientSession.java 107 int totalLength = 4;
117 totalLength += head.length;
128 byte[] requestPacket = new byte[totalLength];
339 int totalLength = 2;
365 totalLength += head.length;
367 if (totalLength > mMaxTxPacketSize) {
393 byte[] packet = new byte[totalLength];
  /developers/build/prebuilts/gradle/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java 161 int totalLength = first.length;
163 totalLength += array.length;
165 byte[] result = Arrays.copyOf(first, totalLength);
  /developers/samples/android/connectivity/nfc/CardEmulation/Application/src/main/java/com/example/android/cardemulation/
CardService.java 161 int totalLength = first.length;
163 totalLength += array.length;
165 byte[] result = Arrays.copyOf(first, totalLength);
  /development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
CardService.java 161 int totalLength = first.length;
163 totalLength += array.length;
165 byte[] result = Arrays.copyOf(first, totalLength);
  /packages/apps/TV/common/src/com/android/tv/common/
CollectionUtils.java 38 int totalLength = first.length;
40 totalLength += array.length;
42 T[] result = Arrays.copyOf(first, totalLength);
  /external/skia/bench/
MeasureBench.cpp 73 SkScalar totalLength = meas.getLength();
74 SkScalar pieceLength = totalLength / fPieces;
86 SkScalar totalLength = meas.getLength();
87 SkScalar pieceLength = totalLength / fPieces;
  /packages/apps/DeskClock/src/com/android/deskclock/data/
Timer.java 108 Timer(int id, State state, long length, long totalLength, long lastStartTime,
113 mTotalLength = totalLength;
316 final long totalLength;
319 totalLength = length;
322 totalLength = mTotalLength;
326 return new Timer(mId, mState, length, totalLength, mLastStartTime,
341 final long totalLength = mTotalLength + delta;
356 return new Timer(mId, state, mLength, totalLength, lastStartTime,
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 55 private long totalLength;
212 this.totalLength = 0;
245 return totalLength + newInputLen + bufOff;
376 if (totalLength == 0)
397 if (totalLength == 0)
454 long c = ((totalLength * 8) + 127) >>> 7;
475 Pack.longToBigEndian(totalLength * 8, X, 8);
534 totalLength = 0;
568 totalLength += BLOCK_SIZE;
580 totalLength += len
    [all...]
  /frameworks/base/media/jni/
android_media_MediaDescrambler.cpp 164 ssize_t totalLength,
179 if (!ensureBufferCapacity(totalLength)) {
184 (const void*)((const uint8_t*)srcPtr + srcOffset), totalLength);
210 if (*bytesWritten > 0 && (ssize_t) *bytesWritten <= totalLength) {
343 ssize_t totalLength = getSubSampleInfo(
346 if (totalLength < 0) {
355 env, srcBuf, srcOffset, srcLimit, totalLength, &srcPtr, &srcArray);
362 env, dstBuf, dstOffset, dstLimit, totalLength, &dstPtr, &dstArray);
377 key, totalLength, subSamples,
android_media_MediaDescrambler.h 42 ssize_t totalLength,
  /external/swiftshader/src/OpenGL/libGL/
Shader.cpp 53 int totalLength = 0;
59 totalLength += length[i];
63 totalLength += (int)strlen(string[i]);
67 mSource = new char[totalLength + 1];
87 mSource[totalLength] = '\0';
  /external/swiftshader/src/OpenGL/libGLESv2/
Shader.cpp 54 int totalLength = 0;
60 totalLength += length[i];
64 totalLength += (int)strlen(string[i]);
68 mSource = new char[totalLength + 1];
88 mSource[totalLength] = '\0';
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 160 int totalLength = 0;
163 totalLength += length;
166 Log.v(TAG, "Wrote " + totalLength + " bytes for photo " + inputUri.toString());
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
LinearLayoutCompat.java 639 final int totalLength = mTotalLength;
640 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
667 final int totalLength = mTotalLength;
668 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
750 final int totalLength = mTotalLength;
751 mTotalLength = Math.max(totalLength, totalLength + largestChildHeight +
835 final int totalLength = mTotalLength
    [all...]
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
RopeByteString.java 117 private final int totalLength;
136 totalLength = leftLength + right.size();
255 checkIndex(index, totalLength);
267 return totalLength;
288 return totalLength >= minLengthByDepth[treeDepth];
307 final int length = checkRange(beginIndex, endIndex, totalLength);
314 if (length == totalLength) {
451 if (totalLength != otherByteString.size()) {
454 if (totalLength == 0) {
505 if (pos >= totalLength) {
    [all...]
  /external/skia/src/gpu/
GrTRecorder.h 207 const int totalLength = length_of<Header>::kValue + length_of<TItem>::kValue + dataLength;
212 while (fTailBlock->fBack + totalLength > fTailBlock->fLength) {
214 fTailBlock = MemBlock::Alloc(SkTMax(2 * fTailBlock->fLength, totalLength), fTailBlock);
224 header->fTotalLength = totalLength;
227 fTailBlock->fBack += totalLength;
  /frameworks/base/core/java/android/widget/
LinearLayout.java 788 final int totalLength = mTotalLength;
789 mTotalLength = Math.max(totalLength, totalLength + lp.topMargin + lp.bottomMargin);
818 final int totalLength = mTotalLength;
819 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
    [all...]
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
CachedPathIteratorFactory.java 82 float totalLength = 0;
122 totalLength += mSegmentsLength[i];
125 mTotalLength = totalLength;
220 float totalLength = 0;
231 totalLength += Point2D.distance(previousPoint[0], previousPoint[1], segment[0],
241 return totalLength;

Completed in 1368 milliseconds

1 2 3 4 5 6 7 8 91011