Home
last modified time | relevance | path

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

12

/external/deqp/modules/internal/
DditAstcTests.cpp68 …mpressedTexFormat format, TexDecompressionParams::AstcMode mode, size_t numBlocks, const deUint8* … in testDecompress() argument
73 …TextureLevel texture (uncompressedFormat, blockPixelSize.x()*(int)numBlocks, blockPixelSiz… in testDecompress()
78 void testDecompress (CompressedTexFormat format, size_t numBlocks, const deUint8* data) in testDecompress() argument
80 testDecompress(format, TexDecompressionParams::ASTCMODE_LDR, numBlocks, data); in testDecompress()
83 testDecompress(format, TexDecompressionParams::ASTCMODE_HDR, numBlocks, data); in testDecompress()
86 …mpressedTexFormat format, TexDecompressionParams::AstcMode mode, size_t numBlocks, const deUint8* … in verifyBlocksValid() argument
88 for (size_t blockNdx = 0; blockNdx < numBlocks; blockNdx++) in verifyBlocksValid()
133 const size_t numBlocks = 1024; in iterate() local
135 generatedData.resize(numBlocks*astc::BLOCK_SIZE_BYTES); in iterate()
136 astc::generateDummyVoidExtentBlocks(&generatedData[0], numBlocks); in iterate()
[all …]
/external/lzma/C/
DAesOpt.c18 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 …]
DAes.c28 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);
238 void MY_FAST_CALL AesCbc_Encode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Encode() argument
240 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Encode()
256 void MY_FAST_CALL AesCbc_Decode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Decode() argument
259 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Decode()
[all …]
DXzIn.c59 for (i = 0; i < p->numBlocks; i++) in Xz_GetUnpackSize()
68 for (i = 0; i < p->numBlocks; i++) in Xz_GetPackSize()
82 size_t numBlocks, pos = 1; in Xz_ReadIndex2() local
96 numBlocks = (size_t)numBlocks64; in Xz_ReadIndex2()
97 if (numBlocks != numBlocks64 || numBlocks * 2 > size) in Xz_ReadIndex2()
102 if (numBlocks != 0) in Xz_ReadIndex2()
105 p->numBlocks = numBlocks; in Xz_ReadIndex2()
106 p->blocks = (CXzBlockSizes *)ISzAlloc_Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2()
109 for (i = 0; i < numBlocks; i++) in Xz_ReadIndex2()
262 num += p->streams[i].numBlocks; in Xzs_GetNumBlocks()
DXzEnc.c103 size_t numBlocks; member
112 p->numBlocks = 0; in XzEncIndex_Construct()
120 p->numBlocks = 0; in XzEncIndex_Init()
131 p->numBlocks = 0; in XzEncIndex_Free()
152 static SRes XzEncIndex_PreAlloc(CXzEncIndex *p, UInt64 numBlocks, UInt64 unpackSize, UInt64 totalSi… in XzEncIndex_PreAlloc() argument
159 pos = numBlocks * pos2; in XzEncIndex_PreAlloc()
189 p->numBlocks++; in XzEncIndex_AddIndexRecord()
199 unsigned pos = 1 + Xz_WriteVarInt(buf + 1, p->numBlocks); in XzEncIndex_WriteFooter()
550 UInt64 numBlocks = fileSize / p->blockSize; in XzEncProps_Normalize_Fixed() local
551 if (numBlocks * p->blockSize != fileSize) in XzEncProps_Normalize_Fixed()
[all …]
DXz.c29 p->numBlocks = 0; in Xz_Construct()
37 p->numBlocks = 0; in Xz_Free()
DLzFindMt.c104 static SRes MtSync_Create2(CMtSync *p, THREAD_FUNC_TYPE startAddress, void *obj, UInt32 numBlocks) in MtSync_Create2() argument
116 RINOK_THREAD(Semaphore_Create(&p->freeSemaphore, numBlocks, numBlocks)); in MtSync_Create2()
117 RINOK_THREAD(Semaphore_Create(&p->filledSemaphore, 0, numBlocks)); in MtSync_Create2()
126 static SRes MtSync_Create(CMtSync *p, THREAD_FUNC_TYPE startAddress, void *obj, UInt32 numBlocks) in MtSync_Create() argument
128 SRes res = MtSync_Create2(p, startAddress, obj, numBlocks); in MtSync_Create()
/external/gptfdisk/
Ddiskio-windows.cc216 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 …]
Ddiskio-unix.cc298 int blockSize, numBlocks, retval = 0; in Read() local
310 numBlocks = 1; in Read()
313 numBlocks = numBytes / blockSize; in Read()
315 numBlocks++; in Read()
316 tempSpace = new char [numBlocks * blockSize]; in Read()
324 retval = read(fd, tempSpace, numBlocks * blockSize); in Read()
328 if (((numBlocks * blockSize) != numBytes) && (retval > 0)) in Read()
341 int blockSize = 512, i, numBlocks, retval = 0; in Write() local
353 numBlocks = 1; in Write()
356 numBlocks = numBytes / blockSize; in Write()
[all …]
/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/CPP/7zip/Crypto/
DMyAes.cpp65 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/
DtcuAstcUtil.hpp67 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);
DtcuAstcUtil.cpp709 const int numBlocks = deDivRoundUp32(numValues, 5); in decodeISE() local
710 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE()
712 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in decodeISE()
718 const int numBlocks = deDivRoundUp32(numValues, 3); in decodeISE() local
719 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in decodeISE()
721 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 3*(numBlocks-1) : 3; in decodeISE()
2190 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE() local
2191 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
2193 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
2202 const int numBlocks = deDivRoundUp32(numValues, 3); in encodeISE() local
[all …]
/external/pdfium/third_party/bigint/
DBigIntegerUtils.hh55 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/
DSICBlockCipher.java178 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DSICBlockCipher.java180 long numBlocks = (n + byteCount) / blockSize; in adjustCounter() local
182 long rem = numBlocks; in adjustCounter()
198 byteCount = (int)((n + byteCount) - (blockSize * numBlocks)); in adjustCounter()
202 long numBlocks = (-n - byteCount) / blockSize; in adjustCounter() local
204 long rem = numBlocks; in adjustCounter()
223 int gap = (int)(byteCount + n + (blockSize * numBlocks)); in adjustCounter()
/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()
/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/execserver/
DxsPosixFileReader.cpp33 FileReader::FileReader (int blockSize, int numBlocks) in FileReader() argument
35 , m_buf (blockSize, numBlocks) in FileReader()
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp654 int numBlocks = (int)layout.blocks.size(); in generateValues() local
656 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues()
1262 int numBlocks = (int)srcLayout.blocks.size(); in copyUniformData() local
1264 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyUniformData()
1448 int numBlocks = (int)glLayout.blocks.size(); in iterate() local
1449 vector<vector<deUint8> > glData(numBlocks); in iterate()
1452 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate()
1460 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate()
1480 int numBlocks = (int)glLayout.blocks.size(); in iterate() local
1486 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate()
[all …]
/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()
1551 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local
1553 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData()
1798 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local
1801 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData()
2172 const int numBlocks = (int)glLayout.blocks.size(); in iterate() local
[all …]
/external/skqp/src/core/
DSkDeque.cpp219 int numBlocks = 0; in numBlocksAllocated() local
222 ++numBlocks; in numBlocksAllocated()
225 return numBlocks; in numBlocksAllocated()
/external/skia/src/core/
DSkDeque.cpp219 int numBlocks = 0; in numBlocksAllocated() local
222 ++numBlocks; in numBlocksAllocated()
225 return numBlocks; in numBlocksAllocated()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp719 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local
721 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout()
827 const int numBlocks = (int)layout.blocks.size(); in generateValues() local
829 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues()
831 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues()
1618 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local
1620 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData()
1866 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local
1869 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData()
2164 int numBlocks = 0; in iterate() local
[all …]

12