/external/deqp/modules/internal/ |
D | ditAstcTests.cpp | 68 void testDecompress (CompressedTexFormat format, size_t numBlocks, const deUint8* data) in testDecompress() argument 76 …TextureLevel texture (uncompressedFormat, blockPixelSize.x()*(int)numBlocks, blockPixelSiz… in testDecompress() 82 …mpressedTexFormat format, TexDecompressionParams::AstcMode mode, size_t numBlocks, const deUint8* … in verifyBlocksValid() argument 84 for (size_t blockNdx = 0; blockNdx < numBlocks; blockNdx++) in verifyBlocksValid() 125 const size_t numBlocks = 1024; in iterate() local 127 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate() 128 astc::generateDummyVoidExtentBlocks(&generatedData[0], numBlocks); in iterate() 130 testDecompress(m_format, numBlocks, &generatedData[0]); in iterate() 132 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_LDR, numBlocks, &generatedData[0]); in iterate() 133 verifyBlocksValid(m_format, TexDecompressionParams::ASTCMODE_HDR, numBlocks, &generatedData[0]); in iterate() [all …]
|
/external/lzma/C/ |
D | AesOpt.c | 18 void MY_FAST_CALL AesCbc_Encode_Intel(__m128i *p, __m128i *data, size_t numBlocks) in AesCbc_Encode_Intel() argument 21 for (; numBlocks != 0; numBlocks--, data++) in AesCbc_Encode_Intel() 55 void MY_FAST_CALL AesCbc_Decode_Intel(__m128i *p, __m128i *data, size_t numBlocks) in AesCbc_Decode_Intel() argument 58 for (; numBlocks >= NUM_WAYS; numBlocks -= NUM_WAYS, data += NUM_WAYS) in AesCbc_Decode_Intel() 87 for (; numBlocks != 0; numBlocks--, data++) in AesCbc_Decode_Intel() 110 void MY_FAST_CALL AesCtr_Code_Intel(__m128i *p, __m128i *data, size_t numBlocks) in AesCtr_Code_Intel() argument 116 for (; numBlocks >= NUM_WAYS; numBlocks -= NUM_WAYS, data += NUM_WAYS) in AesCtr_Code_Intel() 141 for (; numBlocks != 0; numBlocks--, data++) in AesCtr_Code_Intel() 165 void MY_FAST_CALL AesCbc_Encode(UInt32 *ivAes, Byte *data, size_t numBlocks); 166 void MY_FAST_CALL AesCbc_Decode(UInt32 *ivAes, Byte *data, size_t numBlocks); [all …]
|
D | Aes.c | 28 void MY_FAST_CALL AesCbc_Encode(UInt32 *ivAes, Byte *data, size_t numBlocks); 29 void MY_FAST_CALL AesCbc_Decode(UInt32 *ivAes, Byte *data, size_t numBlocks); 30 void MY_FAST_CALL AesCtr_Code(UInt32 *ivAes, Byte *data, size_t numBlocks); 32 void MY_FAST_CALL AesCbc_Encode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 33 void MY_FAST_CALL AesCbc_Decode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 34 void MY_FAST_CALL AesCtr_Code_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 225 void MY_FAST_CALL AesCbc_Encode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Encode() argument 227 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Encode() 243 void MY_FAST_CALL AesCbc_Decode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Decode() argument 246 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Decode() [all …]
|
D | XzIn.c | 52 for (i = 0; i < p->numBlocks; i++) in Xz_GetUnpackSize() 61 for (i = 0; i < p->numBlocks; i++) in Xz_GetPackSize() 75 size_t i, numBlocks, pos = 1; in Xz_ReadIndex2() local 89 numBlocks = (size_t)numBlocks64; in Xz_ReadIndex2() 90 if (numBlocks != numBlocks64 || numBlocks * 2 > size) in Xz_ReadIndex2() 95 if (numBlocks != 0) in Xz_ReadIndex2() 97 p->numBlocks = numBlocks; in Xz_ReadIndex2() 98 p->numBlocksAllocated = numBlocks; in Xz_ReadIndex2() 99 p->blocks = alloc->Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2() 102 for (i = 0; i < numBlocks; i++) in Xz_ReadIndex2() [all …]
|
D | XzEnc.c | 89 unsigned pos = 1 + Xz_WriteVarInt(buf + 1, p->numBlocks); in Xz_WriteFooter() 95 for (i = 0; i < p->numBlocks; i++) in Xz_WriteFooter() 130 if (p->blocks == 0 || p->numBlocksAllocated == p->numBlocks) in Xz_AddIndexRecord() 132 size_t num = (p->numBlocks + 1) * 2; in Xz_AddIndexRecord() 140 if (p->numBlocks != 0) in Xz_AddIndexRecord() 142 memcpy(blocks, p->blocks, p->numBlocks * sizeof(CXzBlockSizes)); in Xz_AddIndexRecord() 149 CXzBlockSizes *block = &p->blocks[p->numBlocks++]; in Xz_AddIndexRecord()
|
D | Xz.c | 29 p->numBlocks = p->numBlocksAllocated = 0; in Xz_Construct() 37 p->numBlocks = p->numBlocksAllocated = 0; in Xz_Free()
|
D | LzFindMt.c | 102 static SRes MtSync_Create2(CMtSync *p, THREAD_FUNC_TYPE startAddress, void *obj, UInt32 numBlocks) in MtSync_Create2() argument 114 RINOK_THREAD(Semaphore_Create(&p->freeSemaphore, numBlocks, numBlocks)); in MtSync_Create2() 115 RINOK_THREAD(Semaphore_Create(&p->filledSemaphore, 0, numBlocks)); in MtSync_Create2() 124 static SRes MtSync_Create(CMtSync *p, THREAD_FUNC_TYPE startAddress, void *obj, UInt32 numBlocks) in MtSync_Create() argument 126 SRes res = MtSync_Create2(p, startAddress, obj, numBlocks); in MtSync_Create()
|
/external/gptfdisk/ |
D | diskio-windows.cc | 216 int blockSize = 512, i, numBlocks; in Read() local 229 numBlocks = 1; in Read() 232 numBlocks = numBytes / blockSize; in Read() 234 numBlocks++; in Read() 235 tempSpace = new char [numBlocks * blockSize]; in Read() 243 ReadFile(fd, tempSpace, numBlocks * blockSize, &retval, NULL); in Read() 249 if (((numBlocks * blockSize) != numBytes) && (retval > 0)) in Read() 260 int blockSize = 512, i, numBlocks, retval = 0; in Write() local 273 numBlocks = 1; in Write() 276 numBlocks = numBytes / blockSize; in Write() [all …]
|
D | diskio-unix.cc | 296 int blockSize, numBlocks, retval = 0; in Read() local 308 numBlocks = 1; in Read() 311 numBlocks = numBytes / blockSize; in Read() 313 numBlocks++; in Read() 314 tempSpace = new char [numBlocks * blockSize]; in Read() 322 retval = read(fd, tempSpace, numBlocks * blockSize); in Read() 326 if (((numBlocks * blockSize) != numBytes) && (retval > 0)) in Read() 339 int blockSize = 512, i, numBlocks, retval = 0; in Write() local 351 numBlocks = 1; in Write() 354 numBlocks = numBytes / blockSize; in Write() [all …]
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
D | rijndael-api-fst.c | 95 int i, k, numBlocks; in rijndael_blockEncrypt() local 107 numBlocks = inputLen/128; in rijndael_blockEncrypt() 111 for (i = numBlocks; i > 0; i--) { in rijndael_blockEncrypt() 134 for (i = numBlocks - 1; i > 0; i--) { in rijndael_blockEncrypt() 163 for (i = numBlocks; i > 0; i--) { in rijndael_blockEncrypt() 195 return 128*numBlocks; in rijndael_blockEncrypt() 209 int i, numBlocks, padLen; in rijndael_padEncrypt() local 221 numBlocks = inputOctets/16; in rijndael_padEncrypt() 225 for (i = numBlocks; i > 0; i--) { in rijndael_padEncrypt() 230 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt() [all …]
|
/external/lzma/CPP/7zip/Crypto/ |
D | MyAes.cpp | 65 void MY_FAST_CALL AesCbc_Encode(UInt32 *ivAes, Byte *data, size_t numBlocks); 66 void MY_FAST_CALL AesCbc_Decode(UInt32 *ivAes, Byte *data, size_t numBlocks); 67 void MY_FAST_CALL AesCtr_Code(UInt32 *ivAes, Byte *data, size_t numBlocks); 69 void MY_FAST_CALL AesCbc_Encode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 70 void MY_FAST_CALL AesCbc_Decode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks); 71 void MY_FAST_CALL AesCtr_Code_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks);
|
/external/deqp/framework/common/ |
D | tcuAstcUtil.hpp | 67 void generateRandomBlocks (deUint8* dst, size_t numBlocks, CompressedTexFormat format, deUint32… 68 void generateRandomValidBlocks (deUint8* dst, size_t numBlocks, CompressedTexFormat format, TexD… 70 void generateDummyVoidExtentBlocks (deUint8* dst, size_t numBlocks); 71 void generateDummyNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeight);
|
D | tcuAstcUtil.cpp | 697 const int numBlocks = deDivRoundUp32(numValues, 5); in decodeISE() local 698 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE() 700 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in decodeISE() 706 const int numBlocks = deDivRoundUp32(numValues, 3); in decodeISE() local 707 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE() 709 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in decodeISE() 2164 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE() local 2165 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE() 2167 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE() 2176 const int numBlocks = deDivRoundUp32(numValues, 3); in encodeISE() local [all …]
|
/external/pdfium/third_party/bigint/ |
D | BigIntegerUtils.hh | 55 unsigned int numBlocks = (length + piecesPerBlock - 1) / piecesPerBlock; in dataToBigInteger() local 58 BigInteger::Blk *blocks = new BigInteger::Blk[numBlocks]; in dataToBigInteger() 63 for (blockNum = 0, pieceNum = 0; blockNum < numBlocks; blockNum++) { in dataToBigInteger() 72 BigInteger x(blocks, numBlocks, sign); in dataToBigInteger()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
D | SICBlockCipher.java | 178 long numBlocks = (n + byteCount) / blockSize; in adjustCounter() local 180 long rem = numBlocks; in adjustCounter() 196 byteCount = (int)((n + byteCount) - (blockSize * numBlocks)); in adjustCounter() 200 long numBlocks = (-n - byteCount) / blockSize; in adjustCounter() local 202 long rem = numBlocks; in adjustCounter() 221 int gap = (int)(byteCount + n + (blockSize * numBlocks)); in adjustCounter()
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_imaadpcm.c | 323 EAS_I32 numBlocks; in IMADecoderLocate() local 327 numBlocks = (EAS_I32) (pState->loopStart / pState->blockSize); in IMADecoderLocate() 328 samplesInLastBlock = (EAS_I32) pState->loopStart - (numBlocks * pState->blockSize); in IMADecoderLocate() 337 samplesPerLoop = numBlocks * samplesPerBlock + samplesInLastBlock; in IMADecoderLocate() 340 …EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x2380b977, 0x00000007 , numBlocks, samplesPerLoop, samplesIn… in IMADecoderLocate()
|
/external/deqp/framework/delibs/decpp/ |
D | deBlockBuffer.hpp | 52 BlockBuffer (int blockSize, int numBlocks); 99 BlockBuffer<T>::BlockBuffer (int blockSize, int numBlocks) in BlockBuffer() argument 107 , m_numBlocks (numBlocks) in BlockBuffer() 115 DE_ASSERT(numBlocks > 0); in BlockBuffer() 130 m_empty = deSemaphore_create(numBlocks, DE_NULL); in BlockBuffer()
|
/external/deqp/execserver/ |
D | xsPosixFileReader.cpp | 33 FileReader::FileReader (int blockSize, int numBlocks) in FileReader() argument 35 , m_buf (blockSize, numBlocks) in FileReader()
|
/external/skia/src/gpu/ |
D | GrLayerHoister.cpp | 141 if (0 == topLevelGPUData->numBlocks()) { in FindLayersToAtlas() 145 atlased->setReserve(atlased->count() + topLevelGPUData->numBlocks()); in FindLayersToAtlas() 147 for (int i = 0; i < topLevelGPUData->numBlocks(); ++i) { in FindLayersToAtlas() 199 if (0 == topLevelGPUData->numBlocks()) { in FindLayersToHoist() 204 for (int i = 0; i < topLevelGPUData->numBlocks(); ++i) { in FindLayersToHoist()
|
/external/skia/src/core/ |
D | SkChunkAlloc.cpp | 211 int numBlocks = 0; in validate() local 218 ++numBlocks; in validate() 228 SkASSERT(fBlockCount == numBlocks); in validate()
|
D | SkDeque.cpp | 220 int numBlocks = 0; in numBlocksAllocated() local 223 ++numBlocks; in numBlocksAllocated() 226 return numBlocks; in numBlocksAllocated()
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 667 int numBlocks = (int)layout.blocks.size(); in generateValues() local 669 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1308 int numBlocks = (int)srcLayout.blocks.size(); in copyUniformData() local 1310 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyUniformData() 1493 int numBlocks = (int)glLayout.blocks.size(); in iterate() local 1494 vector<vector<deUint8> > glData (numBlocks); in iterate() 1497 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() 1505 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() 1524 int numBlocks = (int)glLayout.blocks.size(); in iterate() local 1532 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 688 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local 690 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout() 784 const int numBlocks = (int)layout.blocks.size(); in generateValues() local 786 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues() 788 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1537 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local 1539 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData() 1784 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local 1787 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData() 2158 const int numBlocks = (int)glLayout.blocks.size(); in iterate() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 603 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local 605 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout() 699 const int numBlocks = (int)layout.blocks.size(); in generateValues() local 701 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues() 703 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1315 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local 1317 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData() 1562 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local 1565 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData() 1855 int numBlocks = 0; in iterate() local [all …]
|
/external/skia/tests/ |
D | MemsetTest.cpp | 13 size_t capacity, size_t used, int numBlocks) { in check_alloc() argument 16 SkDEBUGCODE(REPORTER_ASSERT(reporter, alloc.blockCount() == numBlocks);) in check_alloc()
|