Home
last modified time | relevance | path

Searched refs:numBlocks (Results 1 – 25 of 27) sorted by relevance

12

/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c95 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/C/
DXzIn.c50 for (i = 0; i < p->numBlocks; i++) in Xz_GetUnpackSize()
59 for (i = 0; i < p->numBlocks; i++) in Xz_GetPackSize()
73 size_t i, numBlocks, crcStartPos, pos = 1; in Xz_ReadIndex2() local
87 numBlocks = (size_t)numBlocks64; in Xz_ReadIndex2()
88 if (numBlocks != numBlocks64 || numBlocks * 2 > size) in Xz_ReadIndex2()
94 if (numBlocks != 0) in Xz_ReadIndex2()
96 p->numBlocks = numBlocks; in Xz_ReadIndex2()
97 p->numBlocksAllocated = numBlocks; in Xz_ReadIndex2()
98 p->blocks = alloc->Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2()
101 for (i = 0; i < numBlocks; i++) in Xz_ReadIndex2()
[all …]
DXzEnc.c85 unsigned pos = 1 + Xz_WriteVarInt(buf + 1, p->numBlocks); in Xz_WriteFooter()
91 for (i = 0; i < p->numBlocks; i++) in Xz_WriteFooter()
126 if (p->blocks == 0 || p->numBlocksAllocated == p->numBlocks) in Xz_AddIndexRecord()
128 size_t num = (p->numBlocks + 1) * 2; in Xz_AddIndexRecord()
136 if (p->numBlocks != 0) in Xz_AddIndexRecord()
138 memcpy(blocks, p->blocks, p->numBlocks * sizeof(CXzBlockSizes)); in Xz_AddIndexRecord()
145 CXzBlockSizes *block = &p->blocks[p->numBlocks++]; in Xz_AddIndexRecord()
DXz.c27 p->numBlocks = p->numBlocksAllocated = 0; in Xz_Construct()
35 p->numBlocks = p->numBlocksAllocated = 0; in Xz_Free()
DLzFindMt.c100 …Sync_Create2(CMtSync *p, unsigned (MY_STD_CALL *startAddress)(void *), void *obj, UInt32 numBlocks) in MtSync_Create2() argument
112 RINOK_THREAD(Semaphore_Create(&p->freeSemaphore, numBlocks, numBlocks)); in MtSync_Create2()
113 RINOK_THREAD(Semaphore_Create(&p->filledSemaphore, 0, numBlocks)); in MtSync_Create2()
122 …tSync_Create(CMtSync *p, unsigned (MY_STD_CALL *startAddress)(void *), void *obj, UInt32 numBlocks) in MtSync_Create() argument
124 SRes res = MtSync_Create2(p, startAddress, obj, numBlocks); in MtSync_Create()
DXz.h108 size_t numBlocks; member
207 UInt64 numBlocks; member
DXzDec.c647 p->numBlocks++; in XzUnpacker_Code()
682 p->numBlocks = 0; in XzUnpacker_Code()
696 p->indexPreSize = 1 + Xz_WriteVarInt(p->buf + 1, p->numBlocks); in XzUnpacker_Code()
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp786 const int numBlocks = divRoundUp(numValues, 5); in encodeISE() local
787 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
789 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
798 const int numBlocks = divRoundUp(numValues, 3); in encodeISE() local
799 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
801 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in encodeISE()
967 const int numBlocks = 1<<13; in generateBlockCaseTestData() local
969 dst.reserve(numBlocks*ASTC_BLOCK_SIZE_BYTES); in generateBlockCaseTestData()
971 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateBlockCaseTestData()
973 const deUint32 baseValue = blockNdx*(numValues-1) / (numBlocks-1); in generateBlockCaseTestData()
[all …]
Des3fASTCDecompressionCases.hpp117 …static void generateDefaultBlockData (deUint8* dst, int numBlocks, int blockWidth, i…
/external/sonivox/arm-hybrid-22k/lib_src/
Deas_imaadpcm.c323 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/sonivox/arm-wt-22k/lib_src/
Deas_imaadpcm.c323 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/
DdeBlockBuffer.hpp52 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()
DdeBlockBuffer.cpp165 int numBlocks = rnd.getInt(2, 128); in runTest() local
170 MessageBuffer buffer (blockSize, numBlocks); in runTest()
/external/sonivox/arm-fm-22k/lib_src/
Deas_imaadpcm.c323 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/chromium_org/third_party/skia/tests/
DTextureCompressionTest.cpp83 const int numBlocks = (kWidth / kLATCBlockDimension) * (kHeight / kLATCBlockDimension); in DEF_TEST() local
84 const size_t kSizeToBe = static_cast<size_t>(kLATCEncodedBlockSize * numBlocks); in DEF_TEST()
110 for (int i = 0; i < numBlocks; ++i) { in DEF_TEST()
/external/skia/tests/
DTextureCompressionTest.cpp83 const int numBlocks = (kWidth / kLATCBlockDimension) * (kHeight / kLATCBlockDimension); in DEF_TEST() local
84 const size_t kSizeToBe = static_cast<size_t>(kLATCEncodedBlockSize * numBlocks); in DEF_TEST()
110 for (int i = 0; i < numBlocks; ++i) { in DEF_TEST()
/external/deqp/execserver/
DxsPosixFileReader.cpp33 FileReader::FileReader (int blockSize, int numBlocks) in FileReader() argument
35 , m_buf (blockSize, numBlocks) in FileReader()
DxsPosixFileReader.hpp38 FileReader (int blockSize, int numBlocks);
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp667 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/
Des31fSSBOLayoutCase.cpp688 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/chromium_org/third_party/skia/src/core/
DSkDeque.cpp220 int numBlocks = 0; in numBlocksAllocated() local
223 ++numBlocks; in numBlocksAllocated()
226 return numBlocks; in numBlocksAllocated()
/external/skia/src/core/
DSkDeque.cpp220 int numBlocks = 0; in numBlocksAllocated() local
223 ++numBlocks; in numBlocksAllocated()
226 return numBlocks; in numBlocksAllocated()
/external/lzma/CPP/7zip/Common/
DStreamObjects.cpp162 size_t numBlocks = (size_t)1 << _numBlocksLog; in Init() local
163 for (size_t i = 0; i < numBlocks; i++) in Init()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1713 const int numBlocks = divRoundUp(numValues, 5); in decodeISE() local
1714 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE()
1716 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in decodeISE()
1722 const int numBlocks = divRoundUp(numValues, 3); in decodeISE() local
1723 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE()
1725 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in decodeISE()
/external/clang/lib/Analysis/
DUninitializedValues.cpp777 PruneBlocksHandler(unsigned numBlocks) in PruneBlocksHandler()
778 : hadUse(numBlocks, false), hadAnyUse(false), in PruneBlocksHandler()

12