Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 25 of 47) sorted by relevance

12

/external/lzma/C/
DLzma86Enc.c58 size_t minSize = 0; in Lzma86_Encode() local
92 if (outSizeProcessed <= minSize || mainResult != SZ_OK) in Lzma86_Encode()
94 minSize = outSizeProcessed; in Lzma86_Encode()
101 *destLen = LZMA86_HEADER_SIZE + minSize; in Lzma86_Encode()
/external/proguard/src/proguard/util/
DArrayUtil.java260 int minSize = Math.min(size1, size2); in compare() local
262 for (int index = 0; index < minSize; index++) in compare()
294 int minSize = Math.min(size1, size2); in compare() local
296 for (int index = 0; index < minSize; index++) in compare()
328 int minSize = Math.min(size1, size2); in compare() local
330 for (int index = 0; index < minSize; index++) in compare()
362 int minSize = Math.min(size1, size2); in compare() local
364 for (int index = 0; index < minSize; index++) in compare()
/external/dng_sdk/source/
Ddng_string_list.cpp46 void dng_string_list::Allocate (uint32 minSize) in Allocate() argument
49 if (fAllocated < minSize) in Allocate()
52 uint32 newSize = Max_uint32 (minSize, fAllocated * 2); in Allocate()
Ddng_mosaic_info.h132 virtual dng_point DownScale (uint32 minSize,
192 uint32 minSize) const;
Ddng_mosaic_info.cpp1628 uint32 minSize) const in ValidSizeDownScale()
1641 return SizeForDownScale (downScale) >= minSize; in ValidSizeDownScale()
1647 dng_point dng_mosaic_info::DownScale (uint32 minSize, in DownScale() argument
1659 minSize = Round_uint32 (minSize / cropFactor); in DownScale()
1662 prefSize = Max_uint32 (prefSize, minSize); in DownScale()
1700 if (!ValidSizeDownScale (testScale, minSize)) in DownScale()
1736 if (!ValidSizeDownScale (testScale, minSize)) in DownScale()
Ddng_string_list.h58 void Allocate (uint32 minSize);
/external/skqp/include/private/
DSkPathRef.h394 size_t minSize = newSize + newReserve; variable
396 ptrdiff_t sizeDelta = this->currSize() - minSize;
398 if (sizeDelta < 0 || static_cast<size_t>(sizeDelta) >= 3 * minSize) {
405 this->makeSpace(minSize);
412 fFreeSpace = this->currSize() - minSize;
/external/skia/include/private/
DSkPathRef.h398 size_t minSize = newSize + newReserve; variable
400 ptrdiff_t sizeDelta = this->currSize() - minSize;
402 if (sizeDelta < 0 || static_cast<size_t>(sizeDelta) >= 3 * minSize) {
409 this->makeSpace(minSize);
416 fFreeSpace = this->currSize() - minSize;
/external/icu/icu4c/source/tools/genrb/
Dustr.c31 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1)) argument
/external/skqp/src/core/
DSkRWBuffer.cpp61 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock); in LengthToCapacity() local
62 return SkTMax(length, minSize); in LengthToCapacity()
73 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity() local
74 return SkTMax(length, minSize); in LengthToCapacity()
/external/skia/src/core/
DSkRWBuffer.cpp61 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock); in LengthToCapacity() local
62 return SkTMax(length, minSize); in LengthToCapacity()
73 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity() local
74 return SkTMax(length, minSize); in LengthToCapacity()
/external/skia/src/gpu/ccpr/
DGrCCAtlas.cpp87 GrCCAtlas::GrCCAtlas(const GrCaps& caps, int minSize) in GrCCAtlas() argument
88 : fMaxAtlasSize(SkTMax(minSize, caps.maxPreferredRenderTargetSize())) { in GrCCAtlas()
92 int initialSize = GrNextPow2(minSize + kPadding); in GrCCAtlas()
DGrCCAtlas.h31 GrCCAtlas(const GrCaps&, int minSize);
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DCameraConnectionFragment.java269 final int minSize = Math.max(Math.min(width, height), MINIMUM_PREVIEW_SIZE); in chooseOptimalSize() local
282 if (option.getHeight() >= minSize && option.getWidth() >= minSize) { in chooseOptimalSize()
289 LOGGER.i("Desired size: " + desiredSize + ", min size: " + minSize + "x" + minSize); in chooseOptimalSize()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DByteArrayWrapper.java242 int minSize = size < other.size ? size : other.size; in compareTo()
243 for (int i = 0; i < minSize; ++i) { in compareTo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DByteArrayWrapper.java254 int minSize = size < other.size ? size : other.size; in compareTo()
255 for (int i = 0; i < minSize; ++i) { in compareTo()
/external/deqp/modules/gles3/functional/
Des3fUniformApiTests.cpp996 int minSize; member
1002 …: name(name_), minSize(minS), maxSize(maxS), type(type_), isUsedInShader(used) { DE_ASSERT(minSize in BasicUniformReportRef()
1004 : name(name_), minSize(1), maxSize(1), type(type_), isUsedInShader(used) {} in BasicUniformReportRef()
1216 int minSize; in generateBasicUniforms() local
1217 for (minSize = varType.getArraySize(); minSize > 0 && !isElemActive[minSize-1]; minSize--); in generateBasicUniforms()
1219 …ormReportRef(arrayRootName.c_str(), minSize, size, varType.getElementType().getBasicType(), isPare… in generateBasicUniforms()
1502 DE_ASSERT(reference.minSize >= 1 || (reference.minSize == 0 && !reference.isUsedInShader)); in getActiveUniforms()
1503 DE_ASSERT(reference.minSize <= reference.maxSize); in getActiveUniforms()
1518 if (reportedSize < reference.minSize || reportedSize > reference.maxSize) in getActiveUniforms()
1522 …<< (reference.minSize == reference.maxSize ? de::toString(reference.minSize) : "in the range [" + … in getActiveUniforms()
[all …]
Des3fBufferWriteTests.cpp432 const int minSize = 12; in iterate() local
481 const int size = rnd.getInt(minSize, maxSize); in iterate()
500 …ndFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.7f), 3.0f)), minSize, m_curSize); in iterate()
664 const int minSize = 12; in init() local
677 spec->size = rnd.getInt(minSize, maxSize); in init()
/external/deqp/modules/glshared/
DglsInteractionTestUtil.cpp228 const float minSize = 0.5f; in computeRandomQuad() local
230 int minW = deCeilFloatToInt32(minSize * (float)targetWidth); in computeRandomQuad()
231 int minH = deCeilFloatToInt32(minSize * (float)targetHeight); in computeRandomQuad()
DglsTextureBufferCase.cpp446 const size_t minSize = 4*16; in modifyBufferSubData() local
447 …const size_t size = de::max<size_t>(minSize, size_t((float)(texture.getSize() != 0 ? texture.g… in modifyBufferSubData()
469 const size_t minSize = 4*16; in modifyMapWrite() local
470 …const size_t size = de::max<size_t>(minSize, size_t((float)(texture.getSize() != 0 ? texture.g… in modifyMapWrite()
503 const size_t minSize = 4*16; in modifyMapReadWrite() local
504 …const size_t size = de::max<size_t>(minSize, size_t((float)(texture.getSize() != 0 ? texture.g… in modifyMapReadWrite()
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp831 int minSize; member
837 …: name(name_), minSize(minS), maxSize(maxS), type(type_), isUsedInShader(used) { DE_ASSERT(minSize in BasicUniformReportRef()
839 : name(name_), minSize(1), maxSize(1), type(type_), isUsedInShader(used) {} in BasicUniformReportRef()
1045 int minSize; in generateBasicUniforms() local
1046 for (minSize = varType.getArraySize(); minSize > 0 && !isElemActive[minSize-1]; minSize--); in generateBasicUniforms()
1048 …ormReportRef(arrayRootName.c_str(), minSize, size, varType.getElementType().getBasicType(), isPare… in generateBasicUniforms()
1305 DE_ASSERT(reference.minSize >= 1 || (reference.minSize == 0 && !reference.isUsedInShader)); in getActiveUniforms()
1306 DE_ASSERT(reference.minSize <= reference.maxSize); in getActiveUniforms()
1321 if (reportedSize < reference.minSize || reportedSize > reference.maxSize) in getActiveUniforms()
1325 …<< (reference.minSize == reference.maxSize ? de::toString(reference.minSize) : "in the range [" + … in getActiveUniforms()
Des2fBufferWriteTests.cpp432 const int minSize = 12; in iterate() local
469 const int size = rnd.getInt(minSize, maxSize); in iterate()
488 …ndFloatToInt32((float)m_curSize * deFloatPow(rnd.getFloat(0.0f, 0.7f), 3.0f)), minSize, m_curSize); in iterate()
664 const int minSize = 12; in init() local
677 spec->size = rnd.getInt(minSize, maxSize); in init()
/external/skia/src/image/
DSkImage_Raster.cpp40 static bool ValidArgs(const Info& info, size_t rowBytes, size_t* minSize) { in ValidArgs() argument
68 if (minSize) { in ValidArgs()
69 *minSize = size; in ValidArgs()
/external/skqp/src/image/
DSkImage_Raster.cpp40 static bool ValidArgs(const Info& info, size_t rowBytes, size_t* minSize) { in ValidArgs() argument
68 if (minSize) { in ValidArgs()
69 *minSize = size; in ValidArgs()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c121 int32_t minSize; in TestKeyInRootRecursive() local
125 … const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); in TestKeyInRootRecursive()
128 if (minSize > subBundleSize) { in TestKeyInRootRecursive()
129 minSize = subBundleSize; in TestKeyInRootRecursive()
136 for (idx = 0; idx < minSize && sameArray; idx++) { in TestKeyInRootRecursive()
171 int32_t minSize = ures_getSize(subRootBundle); in TestKeyInRootRecursive() local
175 if (minSize > ures_getSize(subBundle)) { in TestKeyInRootRecursive()
176 minSize = ures_getSize(subBundle); in TestKeyInRootRecursive()
200 for (idx = 0; idx < minSize; idx++) { in TestKeyInRootRecursive()

12