/third_party/vk-gl-cts/modules/internal/ |
D | ditAstcTests.cpp | 68 …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::generateDefaultVoidExtentBlocks(&generatedData[0], numBlocks); in iterate() [all …]
|
/third_party/gptfdisk/ |
D | diskio-windows.cc | 225 int blockSize = 512, i, numBlocks; in Read() local 238 numBlocks = 1; in Read() 241 numBlocks = numBytes / blockSize; in Read() 243 numBlocks++; in Read() 244 tempSpace = new char [numBlocks * blockSize]; in Read() 252 ReadFile(fd, tempSpace, numBlocks * blockSize, &retval, NULL); in Read() 258 if (((numBlocks * blockSize) != numBytes) && (retval > 0)) in Read() 269 int blockSize = 512, i, numBlocks, retval = 0; in Write() local 282 numBlocks = 1; in Write() 285 numBlocks = numBytes / blockSize; in Write() [all …]
|
D | diskio-unix.cc | 338 int blockSize, numBlocks, retval = 0; in Read() local 350 numBlocks = 1; in Read() 353 numBlocks = numBytes / blockSize; in Read() 355 numBlocks++; in Read() 356 tempSpace = new char [numBlocks * blockSize]; in Read() 364 retval = read(fd, tempSpace, numBlocks * blockSize); in Read() 368 if (((numBlocks * blockSize) != numBytes) && (retval > 0)) in Read() 381 int blockSize, i, numBlocks, retval = 0; in Write() local 393 numBlocks = 1; in Write() 396 numBlocks = numBytes / blockSize; in Write() [all …]
|
/third_party/FreeBSD/sys/crypto/rijndael/ |
D | rijndael-api-fst.c | 86 int i, k, numBlocks; in rijndael_blockEncrypt() local 98 numBlocks = inputLen/128; in rijndael_blockEncrypt() 102 for (i = numBlocks; i > 0; i--) { in rijndael_blockEncrypt() 125 for (i = numBlocks - 1; i > 0; i--) { in rijndael_blockEncrypt() 154 for (i = numBlocks; i > 0; i--) { in rijndael_blockEncrypt() 188 return 128*numBlocks; in rijndael_blockEncrypt() 202 int i, numBlocks, padLen; in rijndael_padEncrypt() local 214 numBlocks = inputOctets/16; in rijndael_padEncrypt() 218 for (i = numBlocks; i > 0; i--) { in rijndael_padEncrypt() 223 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt() [all …]
|
/third_party/lzma/C/ |
D | XzIn.c | 67 for (i = 0; i < p->numBlocks; i++) in Xz_GetUnpackSize() 78 for (i = 0; i < p->numBlocks; i++) in Xz_GetPackSize() 94 size_t numBlocks, pos = 1; in Xz_ReadIndex2() local 108 numBlocks = (size_t)numBlocks64; in Xz_ReadIndex2() 109 if (numBlocks != numBlocks64 || numBlocks * 2 > size) in Xz_ReadIndex2() 114 if (numBlocks != 0) in Xz_ReadIndex2() 117 p->numBlocks = numBlocks; in Xz_ReadIndex2() 118 p->blocks = (CXzBlockSizes *)ISzAlloc_Alloc(alloc, sizeof(CXzBlockSizes) * numBlocks); in Xz_ReadIndex2() 121 for (i = 0; i < numBlocks; i++) in Xz_ReadIndex2() 279 num += p->streams[i].numBlocks; in Xzs_GetNumBlocks()
|
D | Sha256Opt.c | 154 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks); 158 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks) in Sha256_UpdateBlocks_HW() argument 164 if (numBlocks == 0) in Sha256_UpdateBlocks_HW() 199 while (--numBlocks); in Sha256_UpdateBlocks_HW() 295 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks); 299 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks) in Sha256_UpdateBlocks_HW() argument 303 if (numBlocks == 0) in Sha256_UpdateBlocks_HW() 333 while (--numBlocks); in Sha256_UpdateBlocks_HW() 350 void Z7_FASTCALL Sha256_UpdateBlocks(UInt32 state[8], const Byte *data, size_t numBlocks); 354 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks); [all …]
|
D | AesOpt.c | 60 void Z7_FASTCALL name(UInt32 *ivAes, Byte *data8, size_t numBlocks) 83 for (; numBlocks != 0; numBlocks--, data++) in AES_FUNC_START2() 178 dataEnd = data + numBlocks; \ 179 if (numBlocks >= NUM_WAYS) \ 196 dataEnd = data + numBlocks; \ 197 if (numBlocks >= NUM_WAYS * 2) \ 528 void Z7_FASTCALL name(UInt32 *p, Byte *data, size_t numBlocks) \ 533 { name(p, data, numBlocks); } 547 void Z7_FASTCALL name ## _256(UInt32 *p, Byte *data, size_t numBlocks); \ 548 void Z7_FASTCALL name ## _256(UInt32 *p, Byte *data, size_t numBlocks) \ [all …]
|
D | Aes.c | 313 void Z7_FASTCALL AesCbc_Encode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Encode() argument 315 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Encode() 331 void Z7_FASTCALL AesCbc_Decode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Decode() argument 334 for (; numBlocks != 0; numBlocks--, data += AES_BLOCK_SIZE) in AesCbc_Decode() 355 void Z7_FASTCALL AesCtr_Code(UInt32 *p, Byte *data, size_t numBlocks) in AesCtr_Code() argument 357 for (; numBlocks != 0; numBlocks--) in AesCtr_Code()
|
D | Sha256.c | 51 void Z7_FASTCALL Sha256_UpdateBlocks(UInt32 state[8], const Byte *data, size_t numBlocks); 54 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks); 227 void Z7_FASTCALL Sha256_UpdateBlocks_HW(UInt32 state[8], const Byte *data, size_t numBlocks); 257 void Z7_FASTCALL Sha256_UpdateBlocks(UInt32 state[8], const Byte *data, size_t numBlocks) in Sha256_UpdateBlocks() argument 283 while (numBlocks) in Sha256_UpdateBlocks() 358 numBlocks--; in Sha256_UpdateBlocks() 400 size_t numBlocks = size >> 6; in Sha256_Update() local 401 SHA256_UPDATE_BLOCKS(p)(p->state, data, numBlocks); in Sha256_Update() 405 data += (numBlocks << 6); in Sha256_Update()
|
D | XzEnc.c | 103 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() 582 UInt64 numBlocks = fileSize / p->blockSize; in XzEncProps_Normalize_Fixed() local 583 if (numBlocks * p->blockSize != fileSize) in XzEncProps_Normalize_Fixed() [all …]
|
D | Aes.h | 32 typedef void (Z7_FASTCALL *AES_CODE_FUNC)(UInt32 *ivAes, Byte *data, size_t numBlocks); 45 void Z7_FASTCALL funcName(UInt32 *ivAes, Byte *data, size_t numBlocks);
|
D | Xz.c | 29 p->numBlocks = 0; in Xz_Construct() 37 p->numBlocks = 0; in Xz_Free()
|
/third_party/vk-gl-cts/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 generateDefaultVoidExtentBlocks (deUint8* dst, size_t numBlocks); 71 void generateDefaultNormalBlocks (deUint8* dst, size_t numBlocks, int blockWidth, int blockHeigh…
|
D | tcuAstcUtil.cpp | 709 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 …]
|
/third_party/vk-gl-cts/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()
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
D | QrCode.java | 334 int numBlocks = NUM_ERROR_CORRECTION_BLOCKS[errorCorrectionLevel.ordinal()][version]; in addEccAndInterleave() local 337 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave() 338 int shortBlockDataLen = rawCodewords / numBlocks - blockEccLen; in addEccAndInterleave() 345 for (int i = 0, k = 0; i < numBlocks; i++) { in addEccAndInterleave() 348 for (int j = 0, l = i; j < datLen; j++, k++, l += numBlocks) { // Copy data in addEccAndInterleave() 353 for (int j = 0, l = data.length + i; j < blockEccLen; j++, l += numBlocks) // Copy ECC in addEccAndInterleave()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | AudioLatencyTuner.java | 227 int numBlocks = original / mFramesPerBlock; in incrementThreshold() local 228 numBlocks += deltaBlocks; in incrementThreshold() 229 int target = numBlocks * mFramesPerBlock; in incrementThreshold()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 649 int numBlocks = (int)layout.blocks.size(); in generateValues() local 651 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1257 int numBlocks = (int)srcLayout.blocks.size(); in copyUniformData() local 1259 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyUniformData() 1443 int numBlocks = (int)glLayout.blocks.size(); in iterate() local 1444 vector<vector<deUint8> > glData(numBlocks); in iterate() 1447 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() 1455 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() 1475 int numBlocks = (int)glLayout.blocks.size(); in iterate() local 1481 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() [all …]
|
/third_party/vk-gl-cts/execserver/ |
D | xsPosixFileReader.cpp | 33 FileReader::FileReader (int blockSize, int numBlocks) in FileReader() argument 35 , m_buf (blockSize, numBlocks) in FileReader()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsUniformBlockCase.cpp | 668 int numBlocks = (int)layout.blocks.size(); in generateValues() local 670 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1311 int numBlocks = (int)srcLayout.blocks.size(); in copyUniformData() local 1313 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyUniformData() 1496 int numBlocks = (int)glLayout.blocks.size(); in iterate() local 1497 vector<vector<deUint8> > glData (numBlocks); in iterate() 1500 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() 1508 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() 1527 int numBlocks = (int)glLayout.blocks.size(); in iterate() local 1535 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in iterate() [all …]
|
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
D | QrCode.java | 434 int numBlocks = NUM_ERROR_CORRECTION_BLOCKS[errorCorrectionLevel.ordinal()][version]; in addEccAndInterleave() local 437 int numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleave() 438 int shortBlockLen = rawCodewords / numBlocks; in addEccAndInterleave() 441 byte[][] blocks = new byte[numBlocks][]; in addEccAndInterleave() 443 for (int i = 0, k = 0; i < numBlocks; i++) { in addEccAndInterleave()
|
/third_party/qrcodegen/c/ |
D | qrcodegen-test.c | 110 size_t numBlocks = (size_t)NUM_ERROR_CORRECTION_BLOCKS[(int)ecl][version]; in addEccAndInterleaveReference() local 113 size_t numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleaveReference() 114 size_t shortBlockLen = rawCodewords / numBlocks; in addEccAndInterleaveReference() 117 uint8_t **blocks = malloc(numBlocks * sizeof(uint8_t*)); in addEccAndInterleaveReference() 124 for (size_t i = 0, k = 0; i < numBlocks; i++) { in addEccAndInterleaveReference() 145 for (size_t j = 0; j < numBlocks; j++) { in addEccAndInterleaveReference() 153 for (size_t i = 0; i < numBlocks; i++) in addEccAndInterleaveReference()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 683 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local 685 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout() 779 const int numBlocks = (int)layout.blocks.size(); in generateValues() local 781 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues() 783 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1546 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local 1548 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData() 1793 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local 1796 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData() 2167 const int numBlocks = (int)glLayout.blocks.size(); in iterate() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 716 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local 718 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout() 824 const int numBlocks = (int)layout.blocks.size(); in generateValues() local 826 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues() 828 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1567 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local 1569 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData() 1815 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local 1818 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData() 2116 int numBlocks = 0; in iterate() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 716 int numBlocks = interface.getNumBlocks(); in computeReferenceLayout() local 718 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in computeReferenceLayout() 824 const int numBlocks = (int)layout.blocks.size(); in generateValues() local 826 DE_ASSERT(numBlocks == (int)blockPointers.size()); in generateValues() 828 for (int blockNdx = 0; blockNdx < numBlocks; blockNdx++) in generateValues() 1567 int numBlocks = (int)srcLayout.blocks.size(); in copyData() local 1569 for (int srcBlockNdx = 0; srcBlockNdx < numBlocks; srcBlockNdx++) in copyData() 1815 const int numBlocks = (int)refLayout.blocks.size(); in compareData() local 1818 for (int refBlockNdx = 0; refBlockNdx < numBlocks; refBlockNdx++) in compareData() 2116 int numBlocks = 0; in iterate() local [all …]
|