Searched refs:BLOCK_SIZE_BYTES (Results 1 – 10 of 10) sorted by relevance
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipherChaCha20.java | 36 private static final int BLOCK_SIZE_BYTES = 64; field in OpenSSLCipherChaCha20 80 int len = Math.min(BLOCK_SIZE_BYTES - currentBlockConsumedBytes, inputLenRemaining); in updateInternal() 81 byte[] singleBlock = new byte[BLOCK_SIZE_BYTES]; in updateInternal() 82 byte[] singleBlockOut = new byte[BLOCK_SIZE_BYTES]; in updateInternal() 85 BLOCK_SIZE_BYTES, encodedKey, iv, blockCounter); in updateInternal() 88 if (currentBlockConsumedBytes < BLOCK_SIZE_BYTES) { in updateInternal() 92 assert currentBlockConsumedBytes == BLOCK_SIZE_BYTES; in updateInternal() local 101 currentBlockConsumedBytes = inputLenRemaining % BLOCK_SIZE_BYTES; in updateInternal() 102 blockCounter += inputLenRemaining / BLOCK_SIZE_BYTES; in updateInternal()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipherChaCha20.java | 39 private static final int BLOCK_SIZE_BYTES = 64; field in OpenSSLCipherChaCha20 84 int len = Math.min(BLOCK_SIZE_BYTES - currentBlockConsumedBytes, inputLenRemaining); in updateInternal() 85 byte[] singleBlock = new byte[BLOCK_SIZE_BYTES]; in updateInternal() 86 byte[] singleBlockOut = new byte[BLOCK_SIZE_BYTES]; in updateInternal() 89 BLOCK_SIZE_BYTES, encodedKey, iv, blockCounter); in updateInternal() 92 if (currentBlockConsumedBytes < BLOCK_SIZE_BYTES) { in updateInternal() 96 assert currentBlockConsumedBytes == BLOCK_SIZE_BYTES; in updateInternal() local 105 currentBlockConsumedBytes = inputLenRemaining % BLOCK_SIZE_BYTES; in updateInternal() 106 blockCounter += inputLenRemaining / BLOCK_SIZE_BYTES; in updateInternal()
|
/external/deqp/modules/internal/ |
D | ditAstcTests.cpp | 90 if (!astc::isValidBlock(data + blockNdx*astc::BLOCK_SIZE_BYTES, format, mode)) in verifyBlocksValid() 97 TCU_CHECK(numBytes % astc::BLOCK_SIZE_BYTES == 0); in getNumBlocksFromBytes() 98 return (numBytes / astc::BLOCK_SIZE_BYTES); in getNumBlocksFromBytes() 135 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate() 151 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate() 171 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fASTCDecompressionCases.cpp | 99 for (int i = tcu::astc::BLOCK_SIZE_BYTES-1; i >= 0; i--) in astcBlockDataStr() 114 for (int i = tcu::astc::BLOCK_SIZE_BYTES-1; i >= 0; i--) in astcBlockDataStr() 395 DE_ASSERT(m_blockData.size() % tcu::astc::BLOCK_SIZE_BYTES == 0); in init() 397 … << TestLog::Message << "Total " << m_blockData.size() / tcu::astc::BLOCK_SIZE_BYTES << " blocks t… in init() 419 const int totalNumBlocks = (int)m_blockData.size() / tcu::astc::BLOCK_SIZE_BYTES; in iterate() 441 DE_ASSERT(compressed.getDataSize() == numBlocksPerImage*tcu::astc::BLOCK_SIZE_BYTES); in iterate() 442 … &m_blockData[m_numBlocksTested*tcu::astc::BLOCK_SIZE_BYTES], curNumNonDummyBlocks*tcu::astc::BLOC… in iterate() 444 …ks((deUint8*)compressed.getData() + curNumNonDummyBlocks*tcu::astc::BLOCK_SIZE_BYTES, curNumDummyB… in iterate() 491 …iled block:\n" << astcBlockDataStr(&m_blockData[blockNdx*tcu::astc::BLOCK_SIZE_BYTES]) << TestLog:… in iterate() 566 DE_ASSERT(compressed.getDataSize() == totalNumBlocks*tcu::astc::BLOCK_SIZE_BYTES); in iterate()
|
/external/mesa3d/src/gallium/state_trackers/xvmc/ |
D | xvmc_private.h | 43 #define BLOCK_SIZE_BYTES (BLOCK_SIZE_SAMPLES * 2) macro
|
D | block.c | 51 blocks->blocks = MALLOC(BLOCK_SIZE_BYTES * num_blocks); in XvMCCreateBlocks()
|
/external/deqp/framework/common/ |
D | tcuAstcUtil.hpp | 56 BLOCK_SIZE_BYTES = 128/8, enumerator
|
D | tcuAstcUtil.cpp | 1684 dst.resize(dst.size() + BLOCK_SIZE_BYTES); in pushBytesToVector() 2439 dst.reserve(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData() 2462 dst.reserve(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData() 2850 dst.resize(numBlocks*BLOCK_SIZE_BYTES); in generateBlockCaseTestData() 2873 deUint8* const curBlockPtr = dst + numBlocksGenerated*BLOCK_SIZE_BYTES; in generateRandomBlocks() 2890 deUint8* const curBlockPtr = dst + numBlocksGenerated*BLOCK_SIZE_BYTES; in generateRandomValidBlocks() 2904 block.assignToMemory(&dst[ndx * BLOCK_SIZE_BYTES]); in generateDummyVoidExtentBlocks() 2929 …k(blockParams, blockWidth, blockHeight, iseInputs).assignToMemory(dst + blockNdx*BLOCK_SIZE_BYTES); in generateDummyNormalBlocks()
|
D | tcuCompressedTexture.cpp | 40 return astc::BLOCK_SIZE_BYTES; in getBlockSize()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 817 …nerateRandomValidBlocks(compressedData, compressedLevel->getDataSize()/tcu::astc::BLOCK_SIZE_BYTES, in populateCompressedLevels()
|