/external/skia/src/ports/ |
D | SkImageGeneratorNDK.cpp | 109 static bool set_target_size(AImageDecoder* decoder, const SkISize& size, const SkISize targetSize) { in set_target_size() argument 110 if (size != targetSize) { in set_target_size() 121 && targetSize == SkISize::Make(width, height)) { in set_target_size() 129 if (targetSize.width() > size.width() || targetSize.height() > size.height()) { in set_target_size() 136 return ok(AImageDecoder_setTargetSize(decoder, targetSize.width(), targetSize.height())); in set_target_size()
|
/external/brotli/research/ |
D | sieve.cc | 82 TextIdx targetSize = static_cast<TextIdx>(dictionary_size_limit); in sieve_generate() local 83 if (targetSize != dictionary_size_limit) { in sieve_generate() 203 if (size <= targetSize) { in sieve_generate() 210 if (size == targetSize) { in sieve_generate() 215 if (size < targetSize) { in sieve_generate() 221 if (size < targetSize) { in sieve_generate() 223 } else if (size > targetSize) { in sieve_generate() 242 if (size < targetSize) { in sieve_generate() 244 } else if (size > targetSize) { in sieve_generate()
|
D | dictionary_generator.cc | 130 size_t targetSize = 16 << 10; in main() local 226 targetSize = readInt(arg2); in main() 227 if (targetSize < 256 || targetSize > (1 << 25)) { in main() 307 targetSize, sliceLen, sizes, data.data())); in main() 310 targetSize, sizes, data.data())); in main() 313 targetSize, sliceLen, blockSize, sizes, data.data())); in main()
|
D | durchschlag.cc | 447 TextIdx targetSize = static_cast<TextIdx>(dictionary_size_limit); in durchschlagGenerateExclusive() local 448 if (targetSize != dictionary_size_limit) { in durchschlagGenerateExclusive() 469 if (targetSize < blockLen || total < blockLen) { in durchschlagGenerateExclusive() 491 if (dictSize > targetSize - blockLen) { in durchschlagGenerateExclusive() 546 return createDictionary(data, ranges, targetSize); in durchschlagGenerateExclusive() 553 TextIdx targetSize = static_cast<TextIdx>(dictionary_size_limit); in durchschlagGenerateCollaborative() local 554 if (targetSize != dictionary_size_limit) { in durchschlagGenerateCollaborative() 575 if (targetSize < blockLen || total < blockLen) { in durchschlagGenerateCollaborative() 592 if (dictSize > targetSize - blockLen) { in durchschlagGenerateCollaborative() 638 return createDictionary(data, ranges, targetSize); in durchschlagGenerateCollaborative()
|
/external/icu/icu4c/source/test/cintltst/ |
D | eurocreg.c | 147 int32_t targetSize, euroBackSize; in isEuroAware() local 151 targetSize = ucnv_fromUChars(myConv, in isEuroAware() 166 targetSize, in isEuroAware()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 796 , targetSize (targetSize_) in TestConfig() 819 UVec2 targetSize; member 2714 const UVec2& targetSize) in pushReadImagesToBuffers() argument 2780 { targetSize.x(), targetSize.y(), 1u } // imageExtent in pushReadImagesToBuffers() 2799 { targetSize.x(), targetSize.y(), 1u } // imageExtent in pushReadImagesToBuffers() 2942 const UVec2& targetSize, in clearReferenceValues() argument 2948 DE_ASSERT(targetSize.x() * targetSize.y() == (deUint32)values.size()); in clearReferenceValues() 2949 DE_ASSERT(offset.x() + size.x() <= targetSize.x()); in clearReferenceValues() 2950 DE_ASSERT(offset.y() + size.y() <= targetSize.y()); in clearReferenceValues() 2960 values[x + y * targetSize.x()].setValue(compNdx, *value.getValue(compNdx)); in clearReferenceValues() [all …]
|
/external/lz4/tests/ |
D | fuzzer.c | 400 int const targetSize = srcSize * (int)((FUZ_rand(&randState) & 127)+1) >> 7; in FUZ_test() local 402 compressedBuffer[targetSize] = endCheck; in FUZ_test() 403 cSize = LZ4_compress_destSize(block, compressedBuffer, &srcSize, targetSize); in FUZ_test() 404 … FUZ_CHECKTEST(cSize > targetSize, "LZ4_compress_destSize() result larger than dst buffer !"); in FUZ_test() 405 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test() 407 … DISPLAYLEVEL(5, "destSize : %7i/%7i; content%7i/%7i ", cSize, targetSize, srcSize, blockSize); in FUZ_test() 408 if (targetSize>0) { in FUZ_test() 429 int const targetSize = srcSize * (int)((FUZ_rand(&randState) & 127)+1) >> 7; in FUZ_test() local 433 compressedBuffer[targetSize] = endCheck; in FUZ_test() 434 …cSize = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLe… in FUZ_test() [all …]
|
/external/OpenCL-CTS/test_conformance/vectors/ |
D | structs.cpp | 361 cl_int targetSize = (cl_int)vecWidth; in checkCorrectnessStep() local 363 if (targetSize == 3) in checkCorrectnessStep() 365 targetSize = 4; // hack for 4-aligned vec3 types in checkCorrectnessStep() 369 if (targetArr[i] != targetSize) in checkCorrectnessStep() 372 pClState->m_numThreads, targetSize, targetArr[i]); in checkCorrectnessStep()
|
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Encoder.java | 81 int targetSize = byteBuffer.capacity() * 2; in growIfNeeded() local 82 while (targetSize < dataEnd) { in growIfNeeded() 83 targetSize *= 2; in growIfNeeded() 85 ByteBuffer newBuffer = ByteBuffer.allocateDirect(targetSize); in growIfNeeded()
|
/external/deqp/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 263 …RandomizedRenderGrid (const IVec2& targetSize, const IVec2& cellSize, int maxCellCount, deUint32 s… 272 …static IVec2 getRandomOffset (deUint32 seed, IVec2 targetSize, IVec2 cellSize, IVec2 grid, int c… 282 RandomizedRenderGrid::RandomizedRenderGrid (const IVec2& targetSize, const IVec2& cellSize, int max… in RandomizedRenderGrid() argument 283 : m_targetSize (targetSize) in RandomizedRenderGrid() 285 , m_grid (targetSize / cellSize) in RandomizedRenderGrid() 288 …, m_cellCount (deMin32(maxCellCount, ((targetSize.y() % cellSize.y()) == 0) && m_grid.y() > 1 ? … in RandomizedRenderGrid() 289 , m_baseRandomOffset (getRandomOffset(seed, targetSize, cellSize, m_grid, m_cellCount)) in RandomizedRenderGrid() 293 IVec2 RandomizedRenderGrid::getRandomOffset (deUint32 seed, IVec2 targetSize, IVec2 cellSize, IVec2… in getRandomOffset() argument 297 IVec2 extraSpace = targetSize - (cellSize * grid); in getRandomOffset() 304 DE_ASSERT(targetSize.x() > cellSize.x() && targetSize.y() > cellSize.y()); in getRandomOffset() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fOcclusionQueryTests.cpp | 71 …, float occluderSize, int numTargetDraws, int numTargetsPerDraw, float targetSize, deUint32 queryM… 97 …, float occluderSize, int numTargetDraws, int numTargetsPerDraw, float targetSize, deUint32 queryM… in OcclusionQueryCase() argument 104 , m_targetSize (targetSize) in OcclusionQueryCase()
|
D | es3fMultisampleTests.cpp | 632 const IVec2 targetSize = getRenderTargetSize(); in iterate() local 640 …if ((targetSize.x() >= 2048 || targetSize.y() >= 2048) && (detectedNumSamples >= (m_numSamples/2))) in iterate()
|
/external/conscrypt/common/src/test/java/org/conscrypt/ |
D | MacTest.java | 306 int targetSize = (input.remaining() / NUM_SPLITS) + 1; in split() local 309 int size = Math.min(targetSize, input.remaining()); in split()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ |
D | MacTest.java | 315 int targetSize = (input.remaining() / NUM_SPLITS) + 1; in split() local 318 int size = Math.min(targetSize, input.remaining()); in split()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/parser/moshi/ |
D | LinkedHashTreeMap.java | 677 void reset(int targetSize) { in reset() argument 679 int treeCapacity = Integer.highestOneBit(targetSize) * 2 - 1; in reset() 680 leavesToSkip = treeCapacity - targetSize; in reset()
|
/external/icu/icu4c/source/test/intltest/ |
D | ssearch.cpp | 1192 int32_t targetSize = targetOrders.size() - 1; in simpleSearch() local 1206 for(int32_t i = 0; i < targetSize; i += 1) { in simpleSearch()
|
/external/deqp/modules/gles2/performance/ |
D | es2pShaderCompilationCases.cpp | 226 int targetSize = (int)(deFloatCeil(factor*(float)v.size())); in vectorLowestPercentage() local 230 while ((int)temp.size() > targetSize) in vectorLowestPercentage()
|
/external/deqp/modules/gles3/performance/ |
D | es3pShaderCompilationCases.cpp | 226 int targetSize = (int)(deFloatCeil(factor*(float)v.size())); in vectorLowestPercentage() local 230 while ((int)temp.size() > targetSize) in vectorLowestPercentage()
|