Home
last modified time | relevance | path

Searched refs:rangeLength (Results 1 – 9 of 9) sorted by relevance

/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DRandomAccessFileInputStream.java55 private long rangeLength; field in RandomAccessFileInputStream
82 public RandomAccessFileInputStream(File file, long rangeOffset, long rangeLength) in RandomAccessFileInputStream() argument
86 setRange(rangeOffset, rangeLength); in RandomAccessFileInputStream()
106 public void setRange(long rangeOffset, long rangeLength) throws IOException { in setRange() argument
110 if (rangeLength < 0) { in setRange()
113 if (rangeOffset + rangeLength > fileLength) { in setRange()
116 if (rangeOffset + rangeLength < 0) { in setRange()
120 this.rangeLength = rangeLength; in setRange()
129 long result = rangeLength - rangeRelativePosition; in available()
DRandomAccessFileInputStreamFactory.java39 private final long rangeLength; field in RandomAccessFileInputStreamFactory
48 public RandomAccessFileInputStreamFactory(File file, long rangeOffset, long rangeLength) { in RandomAccessFileInputStreamFactory() argument
51 this.rangeLength = rangeLength; in RandomAccessFileInputStreamFactory()
56 return new RandomAccessFileInputStream(file, rangeOffset, rangeLength); in newStream()
/external/deqp/framework/randomshaders/
DrsgUtils.cpp297 float rangeLength = 0.0f; in computeRangeLengthSum() local
306 rangeLength += maxVal - minVal; in computeRangeLengthSum()
315 rangeLength += (float)(maxVal - minVal); in computeRangeLengthSum()
326 rangeLength += (float)(maxVal - minVal); in computeRangeLengthSum()
334 rangeLength += computeRangeLengthSum(valueRange.arrayElement(ndx)); in computeRangeLengthSum()
342 rangeLength += computeRangeLengthSum(valueRange.member(ndx)); in computeRangeLengthSum()
350 return rangeLength; in computeRangeLengthSum()
DrsgExpression.cpp412 float rangeLength = maxVal - minVal; in getWeight() local
414 DE_ASSERT(rangeLength >= 0.0f); in getWeight()
415 return deFloatMax(0.1f, 1.0f - rangeLength); in getWeight()
466 int rangeLength = maxVal - minVal; in getWeight() local
468 DE_ASSERT(rangeLength >= 0); in getWeight()
469 return deFloatMax(0.1f, 1.0f - (float)rangeLength/4.0f); in getWeight()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DMinimalZipArchive.java103 long rangeLength = offsetOfNextEntry - entry.getFileOffsetOfLocalEntry(); in listEntriesInternal() local
104 in.setRange(entry.getFileOffsetOfLocalEntry(), rangeLength); in listEntriesInternal() local
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DBsDiff.java121 final int rangeLength = oldDataRangeStartB - oldDataRangeStartA; in searchForMatch() local
122 final int pivot = oldDataRangeStartA + (rangeLength / 2); in searchForMatch()
/external/icu/icu4c/source/tools/gennorm2/
Dgennorm2.cpp263 int32_t rangeLength= in parseFile() local
307 if(rangeLength!=1) { in parseFile()
/external/icu/icu4c/source/tools/toolutil/
Duparse.cpp353 int32_t rangeLength= in u_parseCodePointRange() local
362 return rangeLength; in u_parseCodePointRange()
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h2646 unsigned int rangeLength = cacheRangeEndY-cacheRangeStartY;
2650 … e = async_work_group_strided_copy(inputImageCache + (rangeLength*i), inputImage+pos+i, rangeLengt…
2707 cp.y = (float) *(p + rangeLength);
2708 cp.z = (float) *(p + (rangeLength * 2));
2713 cp.w = (float) *(p + (rangeLength * alpha_index));