Home
last modified time | relevance | path

Searched refs:numBlocks (Results 1 – 25 of 39) 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);
232 void MY_FAST_CALL AesCbc_Encode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Encode() argument
234 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Encode()
250 void MY_FAST_CALL AesCbc_Decode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Decode() argument
253 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Decode()
[all …]
DXzIn.c52 for (i = 0; i < p->numBlocks; i++) in Xz_GetUnpackSize()
61 for (i = 0; i < p->numBlocks; i++) in Xz_GetPackSize()
75 size_t 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()
98 p->numBlocks = numBlocks; in Xz_ReadIndex2()
99 p->numBlocksAllocated = numBlocks; in Xz_ReadIndex2()
100 p->blocks = alloc->Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2()
103 for (i = 0; i < numBlocks; i++) in Xz_ReadIndex2()
[all …]
DXzEnc.c87 unsigned pos = 1 + Xz_WriteVarInt(buf + 1, p->numBlocks); in Xz_WriteFooter()
94 for (i = 0; i < p->numBlocks; i++) in Xz_WriteFooter()
132 if (!p->blocks || p->numBlocksAllocated == p->numBlocks) in Xz_AddIndexRecord()
134 size_t num = p->numBlocks * 2 + 1; in Xz_AddIndexRecord()
142 if (p->numBlocks != 0) in Xz_AddIndexRecord()
144 memcpy(blocks, p->blocks, p->numBlocks * sizeof(CXzBlockSizes)); in Xz_AddIndexRecord()
151 CXzBlockSizes *block = &p->blocks[p->numBlocks++]; in Xz_AddIndexRecord()
DXz.c29 p->numBlocks = p->numBlocksAllocated = 0; in Xz_Construct()
37 p->numBlocks = p->numBlocksAllocated = 0; in Xz_Free()
DLzFindMt.c102 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/
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.cpp697 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()
2178 const int numBlocks = deDivRoundUp32(numValues, 5); in encodeISE() local
2179 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in encodeISE()
2181 const int numValuesInBlock = blockNdx == numBlocks-1 ? numValues - 5*(numBlocks-1) : 5; in encodeISE()
2190 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/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()
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/
DvktSSBOLayoutCase.cpp652 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local
654 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout()
755 const int numBlocks = (int)layout.blocks.size(); in generateValues() local
757 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues()
759 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues()
1442 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local
1444 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData()
1689 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local
1692 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData()
1982 int numBlocks = 0; 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/tensorflow/tensorflow/core/kernels/
Dsoftmax_op_gpu.cu.cc120 const int numBlocks = Eigen::divup(rows * cols, numThreads); in Compute() local
137 GenerateNormalizedProb<<<numBlocks, numThreads, 0, cu_stream>>>( in Compute()

12