Home
last modified time | relevance | path

Searched refs:segmentLength (Results 1 – 13 of 13) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java149 int segmentLength; in getExifSegment() local
172 segmentLength = streamReader.getUInt16() - 2; in getExifSegment()
175 if (segmentLength != streamReader.skip(segmentLength)) { in getExifSegment()
182 byte[] segmentData = new byte[segmentLength]; in getExifSegment()
184 if (segmentLength != streamReader.read(segmentData)) { in getExifSegment()
186 … Log.d(TAG, "Unable to read segment data for type=" + segmentType + " length=" + segmentLength); in getExifSegment()
/external/okhttp/okio/okio/src/main/java/okio/
DGzipSink.java132 int segmentLength = (int) Math.min(byteCount, head.limit - head.pos); in updateCrc() local
133 crc.update(head.data, head.pos, segmentLength); in updateCrc()
134 byteCount -= segmentLength; in updateCrc()
/external/okio/okio/src/jvmMain/kotlin/okio/
DGzipSink.kt131 val segmentLength = minOf(remaining, head.limit - head.pos).toInt() in updateCrc() constant
132 crc.update(head.data, head.pos, segmentLength) in updateCrc()
133 remaining -= segmentLength in updateCrc()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java304 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoArguments() local
305 if (segmentLength > 0) { in getTextWithNoArguments()
306 int limit = i + segmentLength; in getTextWithNoArguments()
323 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getLength() local
324 if (segmentLength > 0) { in getLength()
325 int limit = i + segmentLength; in getLength()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java302 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoArguments() local
303 if (segmentLength > 0) { in getTextWithNoArguments()
304 int limit = i + segmentLength; in getTextWithNoArguments()
321 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getLength() local
322 if (segmentLength > 0) { in getLength()
323 int limit = i + segmentLength; in getLength()
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp172 float segmentLength = SkScalarInvert(numSegments); in quadraticTo() local
173 float leftT = maxCurvatureT - segmentLength/2; in quadraticTo()
174 float rightT = maxCurvatureT + segmentLength/2; in quadraticTo()
179 rightT = segmentLength; in quadraticTo()
182 leftT = 1 - segmentLength; in quadraticTo()
302 float segmentLength = SkScalarInvert(numSegments); in cubicTo() local
303 float leftT = maxCurvatureT - segmentLength/2; in cubicTo()
304 float rightT = maxCurvatureT + segmentLength/2; in cubicTo()
309 rightT = segmentLength; in cubicTo()
312 leftT = 1 - segmentLength; in cubicTo()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DGzipSink.java134 int segmentLength = (int) Math.min(byteCount, head.limit - head.pos); in updateCrc() local
135 crc.update(head.data, head.pos, segmentLength); in updateCrc()
136 byteCount -= segmentLength; in updateCrc()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DOggPacket.java144 int segmentLength = pageHeader.laces[startSegmentIndex + segmentCount++]; in calculatePacketSize() local
145 size += segmentLength; in calculatePacketSize()
146 if (segmentLength != 255) { in calculatePacketSize()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DSegmentDownloader.java133 long segmentLength = segmentLengthAndBytesDownloaded.first; in download() local
136 if (segmentLength != C.LENGTH_UNSET) { in download()
137 if (segmentLength == segmentBytesDownloaded) { in download()
143 contentLength += segmentLength; in download()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DCachedPathIteratorFactory.java393 float segmentLength = mSegmentsLength[mNextIndex]; in jumpToSegment() local
394 if (accLength + segmentLength >= length && mTypes[mNextIndex] != SEG_MOVETO) { in jumpToSegment()
401 (length - accLength) / segmentLength, in jumpToSegment()
417 accLength += segmentLength; in jumpToSegment()
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp737 int32_t segmentLength = digits.length() - pos; in appendNumericCEs() local
738 if(segmentLength > 254) { segmentLength = 254; } in appendNumericCEs()
739 appendNumericSegmentCEs(digits.data() + pos, segmentLength, errorCode); in appendNumericCEs()
740 pos += segmentLength; in appendNumericCEs()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java1013 int segmentLength = digits.length() - pos;
1014 if(segmentLength > 254) { segmentLength = 254; }
1015 appendNumericSegmentCEs(digits.subSequence(pos, pos + segmentLength));
1016 pos += segmentLength;
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java1015 int segmentLength = digits.length() - pos;
1016 if(segmentLength > 254) { segmentLength = 254; }
1017 appendNumericSegmentCEs(digits.subSequence(pos, pos + segmentLength));
1018 pos += segmentLength;