Home
last modified time | relevance | path

Searched refs:minSize (Results 1 - 25 of 52) sorted by relevance

123

/third_party/lzma/C/
H A DLzma86Enc.c55 size_t minSize = 0; in Lzma86_Encode() local
89 if (outSizeProcessed <= minSize || mainResult != SZ_OK) in Lzma86_Encode()
91 minSize = outSizeProcessed; in Lzma86_Encode()
98 *destLen = LZMA86_HEADER_SIZE + minSize; in Lzma86_Encode()
/third_party/skia/src/core/
H A DSkBlockAllocator.cpp197 void SkBlockAllocator::addBlock(int minSize, int maxSize) { in addBlock() argument
198 SkASSERT(minSize > (int) sizeof(Block) && minSize <= maxSize); in addBlock()
214 if (this->scratchBlockSize() >= minSize) { in addBlock()
220 } else if (minSize < maxSize) { in addBlock()
244 allocSize = std::min(alignAllocSize(std::max(minSize, sizeIncrement * nextN1)), in addBlock()
248 SkASSERT(minSize == maxSize); in addBlock()
250 allocSize = alignAllocSize(minSize); in addBlock()
H A DSkZip.h192 size_t minSize = SIZE_MAX; in MakeZip() local
196 minSize = std::min(minSize, s); in MakeZip()
200 SkASSERT(minSize == maxSize); in MakeZip()
/third_party/skia/third_party/externals/dng_sdk/source/
H A 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()
H A Ddng_mosaic_info.h126 /// to prefSize as possible in longer dimension, but no smaller than minSize.
127 /// \param minSize Number of pixels as minium for longer dimension of downsampled image.
132 virtual dng_point DownScale (uint32 minSize,
192 uint32 minSize) const;
H A Ddng_mosaic_info.cpp1628 uint32 minSize) const
1641 return SizeForDownScale (downScale) >= minSize;
1647 dng_point dng_mosaic_info::DownScale (uint32 minSize,
1659 minSize = Round_uint32 (minSize / cropFactor);
1662 prefSize = Max_uint32 (prefSize, minSize);
1700 if (!ValidSizeDownScale (testScale, minSize))
1736 if (!ValidSizeDownScale (testScale, minSize))
H A Ddng_string_list.h58 void Allocate (uint32 minSize);
/third_party/skia/third_party/externals/oboe/src/common/
H A DQuirksManager.cpp46 int32_t minSize = bottomMargin * burst; in clipBufferSize() local
48 if (adjustedSize < minSize ) { in clipBufferSize()
49 adjustedSize = minSize; in clipBufferSize()
/third_party/node/deps/icu-small/source/tools/genrb/
H A Dustr.c31 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1))
/third_party/icu/icu4c/source/tools/genrb/
H A Dustr.c31 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1))
/third_party/skia/third_party/externals/icu/source/tools/genrb/
H A Dustr.c31 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1))
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DByteArrayWrapper.java258 int minSize = size < other.size ? size : other.size; in compareTo()
259 for (int i = 0; i < minSize; ++i) { in compareTo()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DByteArrayWrapper.java246 int minSize = size < other.size ? size : other.size; in compareTo()
247 for (int i = 0; i < minSize; ++i) { in compareTo()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fUniformApiTests.cpp995 // \note minSize and maxSize are for arrays and can be distinct since implementations are allowed, but not required, to trim the inactive end indices of arrays.
996 int minSize; member
1002 : name(name_), minSize(minS), maxSize(maxS), type(type_), isUsedInShader(used) { DE_ASSERT(minSize <= maxSize); } 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()
[all...]
H A Des3fBufferWriteTests.cpp432 const int minSize = 12; in iterate() local
481 const int size = rnd.getInt(minSize, maxSize); in iterate()
500 const int size = de::clamp(deRoundFloatToInt32((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()
/third_party/lzma/CPP/7zip/Common/
H A DMethodProps.h225 UInt64 minSize = MyMin(blockSize1, blockSize2); in Get_Xz_BlockSize() local
226 if (minSize != 0) in Get_Xz_BlockSize()
227 return minSize; in Get_Xz_BlockSize()
/third_party/vk-gl-cts/modules/glshared/
H A DglsInteractionTestUtil.cpp228 const float minSize = 0.5f;
230 int minW = deCeilFloatToInt32(minSize * (float)targetWidth);
231 int minH = deCeilFloatToInt32(minSize * (float)targetHeight);
H A 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.getSize() : texture.getBufferSize()) * (0.7f + 0.3f * rng.getFloat()))); 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.getSize() : texture.getBufferSize()) * (0.7f + 0.3f * rng.getFloat()))); 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.getSize() : texture.getBufferSize()) * (0.7f + 0.3f * rng.getFloat()))); in modifyMapReadWrite()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fUniformApiTests.cpp830 // \note minSize and maxSize are for arrays and can be distinct since implementations are allowed, but not required, to trim the inactive end indices of arrays.
831 int minSize; member
837 : name(name_), minSize(minS), maxSize(maxS), type(type_), isUsedInShader(used) { DE_ASSERT(minSize <= maxSize); } 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()
[all...]
H A Des2fBufferWriteTests.cpp432 const int minSize = 12; in iterate() local
469 const int size = rnd.getInt(minSize, maxSize); in iterate()
488 const int size = de::clamp(deRoundFloatToInt32((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()
/third_party/skia/src/image/
H A DSkImage_Raster.cpp39 static bool ValidArgs(const SkImageInfo& info, size_t rowBytes, size_t* minSize) { in ValidArgs() argument
73 if (minSize) { in ValidArgs()
74 *minSize = size; in ValidArgs()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
H A DEdge.java305 int minSize = Math.min(lhs.size(), rhs.size()); in compareEdges()
306 for (int n = 0; n < minSize; n++) { in compareEdges()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcldrtest.c123 int32_t minSize; in TestKeyInRootRecursive() local
127 const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); in TestKeyInRootRecursive()
130 if (minSize > subBundleSize) { in TestKeyInRootRecursive()
131 minSize = subBundleSize; in TestKeyInRootRecursive()
138 for (idx = 0; idx < minSize && sameArray; idx++) { in TestKeyInRootRecursive()
173 int32_t minSize = ures_getSize(subRootBundle); in TestKeyInRootRecursive() local
177 if (minSize > ures_getSize(subBundle)) { in TestKeyInRootRecursive()
178 minSize = ures_getSize(subBundle); in TestKeyInRootRecursive()
202 for (idx = 0; idx < minSize; idx++) { in TestKeyInRootRecursive()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTestsEXT.cpp166 const auto minSize = kLocalInvocations * kElementSize; in checkSupport() local
170 if (meshProperties.maxTaskPayloadSize < minSize) in checkSupport()
173 if (meshProperties.maxTaskSharedMemorySize < minSize) in checkSupport()
176 if (meshProperties.maxTaskPayloadAndSharedMemorySize < minSize) in checkSupport()
179 if (meshProperties.maxMeshPayloadAndSharedMemorySize < minSize) in checkSupport()
1595 const auto minSize = kLocalInvocations * kElementSize; in checkSupport() local
1601 if (meshProperties.maxTaskPayloadSize < minSize) in checkSupport()
1604 if (meshProperties.maxTaskPayloadAndSharedMemorySize < minSize) in checkSupport()
1608 if (meshProperties.maxMeshSharedMemorySize < minSize) in checkSupport()
1611 if (meshProperties.maxMeshPayloadAndSharedMemorySize < minSize) in checkSupport()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderPropertyTestsEXT.cpp166 const auto minSize = kLocalInvocations * kElementSize; in checkSupport() local
170 if (meshProperties.maxTaskPayloadSize < minSize) in checkSupport()
173 if (meshProperties.maxTaskSharedMemorySize < minSize) in checkSupport()
176 if (meshProperties.maxTaskPayloadAndSharedMemorySize < minSize) in checkSupport()
179 if (meshProperties.maxMeshPayloadAndSharedMemorySize < minSize) in checkSupport()
1595 const auto minSize = kLocalInvocations * kElementSize; in checkSupport() local
1601 if (meshProperties.maxTaskPayloadSize < minSize) in checkSupport()
1604 if (meshProperties.maxTaskPayloadAndSharedMemorySize < minSize) in checkSupport()
1608 if (meshProperties.maxMeshSharedMemorySize < minSize) in checkSupport()
1611 if (meshProperties.maxMeshPayloadAndSharedMemorySize < minSize) in checkSupport()
[all...]

Completed in 32 milliseconds

123