/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | CTSBlockCipher.java | 16 private int blockSize; field in class:CTSBlockCipher 33 blockSize = cipher.getBlockSize(); 35 buf = new byte[blockSize * 2]; 96 System.arraycopy(buf, blockSize, buf, 0, blockSize); 98 bufOff = blockSize; 131 int blockSize = getBlockSize(); 150 System.arraycopy(buf, blockSize, buf, 0, blockSize); 152 bufOff = blockSize; [all...] |
H A D | CFBBlockCipher.java | 21 private int blockSize; field in class:CFBBlockCipher 40 this.blockSize = bitBlockSize / 8; 45 this.inBuf = new byte[blockSize]; 113 return cipher.getAlgorithmName() + "/CFB" + (blockSize * 8); 132 if (byteCount == blockSize) 136 System.arraycopy(cfbV, blockSize, cfbV, 0, cfbV.length - blockSize); 137 System.arraycopy(inBuf, 0, cfbV, cfbV.length - blockSize, blockSize); 153 if (byteCount == blockSize) [all...] |
H A D | OFBBlockCipher.java | 20 private final int blockSize; field in class:OFBBlockCipher 28 * @param blockSize the block size in bits (note: a multiple of 8) 32 int blockSize) 37 this.blockSize = blockSize / 8; 107 return cipher.getAlgorithmName() + "/OFB" + (blockSize * 8); 118 return blockSize; 141 processBytes(in, inOff, blockSize, out, outOff); 143 return blockSize; 168 if (byteCount == blockSize) 30 OFBBlockCipher( BlockCipher cipher, int blockSize) argument [all...] |
H A D | CBCBlockCipher.java | 19 private int blockSize; field in class:CBCBlockCipher 32 this.blockSize = cipher.getBlockSize(); 34 this.IV = new byte[blockSize]; 35 this.cbcV = new byte[blockSize]; 36 this.cbcNextV = new byte[blockSize]; 73 if (iv.length != blockSize) 182 if ((inOff + blockSize) > in.length) 191 for (int i = 0; i < blockSize; i++) 225 if ((inOff + blockSize) > in.length) 230 System.arraycopy(in, inOff, cbcNextV, 0, blockSize); [all...] |
H A D | SICBlockCipher.java | 21 private final int blockSize; field in class:SICBlockCipher 38 this.blockSize = cipher.getBlockSize(); 39 this.IV = new byte[blockSize]; 40 this.counter = new byte[blockSize]; 41 this.counterOut = new byte[blockSize]; 55 if (blockSize < IV.length) 57 throw new IllegalArgumentException("CTR/SIC mode requires IV no greater than: " + blockSize + " bytes."); 60 int maxCounterSize = (8 > blockSize / 2) ? blockSize / 2 : 8; 62 if (blockSize [all...] |
/external/gptfdisk/ |
H A D | diskio-unix.cc | 136 int err = -1, blockSize = 0; local 148 err = ioctl(fd, DKIOCGETBLOCKSIZE, &blockSize); 153 blockSize = minfo.dki_lbsize; 156 err = ioctl(fd, DIOCGSECTORSIZE, &blockSize); 159 err = ioctl(fd, BLKSSZGET, &blockSize); 163 blockSize = SECTOR_SIZE; 176 return (blockSize); 296 int blockSize, numBlocks, retval = 0; local 306 blockSize = GetBlockSize(); 307 if (numBytes <= blockSize) { 339 int blockSize = 512, i, numBlocks, retval = 0; local [all...] |
H A D | diskio-windows.cc | 127 DWORD blockSize = 0, retBytes; local 138 blockSize = geom.Geometry.BytesPerSector; 140 blockSize = SECTOR_SIZE; 144 return (blockSize); 216 int blockSize = 512, i, numBlocks; local 227 blockSize = GetBlockSize(); 228 if (numBytes <= blockSize) { 230 tempSpace = new char [blockSize]; 232 numBlocks = numBytes / blockSize; 233 if ((numBytes % blockSize) ! 260 int blockSize = 512, i, numBlocks, retval = 0; local [all...] |
/external/lzma/Java/Tukaani/src/ |
H A D | XZSeekEncDemo.java | 33 int blockSize = 1024 * 1024; 35 blockSize = Integer.parseInt(args[1]); 39 blockSize))); 45 System.err.println("Block size: " + blockSize + " B"); 50 int left = blockSize; 62 left = blockSize;
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
H A D | allocator.h | 95 PooledAllocator(int blockSize = BLOCKSIZE) 97 blocksize = blockSize; 125 int blockSize; local 141 blockSize = (size + sizeof(void*) + (WORDSIZE-1) > BLOCKSIZE) ? 145 void* m = ::malloc(blockSize); 158 remaining = blockSize - sizeof(void*) - shift;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Common/ |
H A D | b2BlockAllocator.cpp | 48 int32 blockSize; member in struct:b2Chunk 137 int32 blockSize = s_blockSizes[index]; 138 chunk->blockSize = blockSize; 139 int32 blockCount = b2_chunkSize / blockSize; 140 b2Assert(blockCount * blockSize <= b2_chunkSize); 143 b2Block* block = (b2Block*)((int8*)chunk->blocks + blockSize * i); 144 b2Block* next = (b2Block*)((int8*)chunk->blocks + blockSize * (i + 1)); 147 b2Block* last = (b2Block*)((int8*)chunk->blocks + blockSize * (blockCount - 1)); 177 int32 blockSize [all...] |
/external/opencv3/modules/java/src/ |
H A D | calib3d+StereoSGBM.java | 162 // C++: static Ptr_StereoSGBM create(int minDisparity, int numDisparities, int blockSize, int P1 = 0, int P2 = 0, int disp12MaxDiff = 0, int preFilterCap = 0, int uniquenessRatio = 0, int speckleWindowSize = 0, int speckleRange = 0, int mode = StereoSGBM::MODE_SGBM) 165 //javadoc: StereoSGBM::create(minDisparity, numDisparities, blockSize, P1, P2, disp12MaxDiff, preFilterCap, uniquenessRatio, speckleWindowSize, speckleRange, mode) 166 public static StereoSGBM create(int minDisparity, int numDisparities, int blockSize, int P1, int P2, int disp12MaxDiff, int preFilterCap, int uniquenessRatio, int speckleWindowSize, int speckleRange, int mode) argument 169 StereoSGBM retVal = new StereoSGBM(create_0(minDisparity, numDisparities, blockSize, P1, P2, disp12MaxDiff, preFilterCap, uniquenessRatio, speckleWindowSize, speckleRange, mode)); 174 //javadoc: StereoSGBM::create(minDisparity, numDisparities, blockSize) 175 public static StereoSGBM create(int minDisparity, int numDisparities, int blockSize) argument 178 StereoSGBM retVal = new StereoSGBM(create_1(minDisparity, numDisparities, blockSize)); 221 // C++: static Ptr_StereoSGBM create(int minDisparity, int numDisparities, int blockSize, int P1 = 0, int P2 = 0, int disp12MaxDiff = 0, int preFilterCap = 0, int uniquenessRatio = 0, int speckleWindowSize = 0, int speckleRange = 0, int mode = StereoSGBM::MODE_SGBM) 222 private static native long create_0(int minDisparity, int numDisparities, int blockSize, int P1, int P2, int disp12MaxDiff, int preFilterCap, int uniquenessRatio, int speckleWindowSize, int speckleRange, int mode); argument 223 private static native long create_1(int minDisparity, int numDisparities, int blockSize); argument [all...] |
H A D | calib3d+StereoBM.java | 176 // C++: void setSmallerBlockSize(int blockSize) 179 //javadoc: StereoBM::setSmallerBlockSize(blockSize) 180 public void setSmallerBlockSize(int blockSize) argument 183 setSmallerBlockSize_0(nativeObj, blockSize); 246 // C++: static Ptr_StereoBM create(int numDisparities = 0, int blockSize = 21) 249 //javadoc: StereoBM::create(numDisparities, blockSize) 250 public static StereoBM create(int numDisparities, int blockSize) argument 253 StereoBM retVal = new StereoBM(create_0(numDisparities, blockSize)); 308 // C++: void setSmallerBlockSize(int blockSize) 309 private static native void setSmallerBlockSize_0(long nativeObj, int blockSize); argument 324 create_0(int numDisparities, int blockSize) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
H A D | CBCBlockCipherMac.java | 145 int blockSize = cipher.getBlockSize(); 146 int gapLen = blockSize - bufOff; 158 while (len > blockSize) 162 len -= blockSize; 163 inOff += blockSize; 176 int blockSize = cipher.getBlockSize(); 183 while (bufOff < blockSize) 191 if (bufOff == blockSize)
|
/external/lz4/programs/ |
H A D | fuzzer.c | 317 int dictSize, blockSize, blockStart; local 322 blockSize = FUZ_rand(&randState) % FUZ_MAX_BLOCK_SIZE; 323 blockStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize); 329 LZ4_compress_continue(&LZ4dict, block, compressedBuffer, blockSize); 331 LZ4_compress_continue(&LZ4dict, block, compressedBuffer, blockSize); 333 LZ4_compress_continue(&LZ4dict, block, compressedBuffer, blockSize); 343 int dictSize, blockSize, blockStart, compressedSize, HCcompressedSize; local 351 blockSize = FUZ_rand(&randState) % FUZ_MAX_BLOCK_SIZE; 352 blockStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize); 362 ret = LZ4_compressHC(block, compressedBuffer, blockSize); [all...] |
/external/opencv3/modules/cudaimgproc/src/ |
H A D | corners.cpp | 69 CornerBase(int srcType, int blockSize, int ksize, int borderType); 83 CornerBase::CornerBase(int srcType, int blockSize, int ksize, int borderType) : 84 srcType_(srcType), blockSize_(blockSize), ksize_(ksize), borderType_(borderType) 125 Harris(int srcType, int blockSize, int ksize, double k, int borderType) : 126 CornerBase(srcType, blockSize, ksize, borderType), k_(static_cast<float>(k)) 153 MinEigenVal(int srcType, int blockSize, int ksize, int borderType) : 154 CornerBase(srcType, blockSize, ksize, borderType) 179 Ptr<cuda::CornernessCriteria> cv::cuda::createHarrisCorner(int srcType, int blockSize, int ksize, double k, int borderType) 181 return makePtr<Harris>(srcType, blockSize, ksize, k, borderType); 184 Ptr<cuda::CornernessCriteria> cv::cuda::createMinEigenValCorner(int srcType, int blockSize, in [all...] |
/external/deqp/execserver/ |
H A D | xsPosixFileReader.hpp | 38 FileReader (int blockSize, int numBlocks);
|
/external/deqp/framework/delibs/destream/ |
H A D | deRingbuffer.h | 33 deRingbuffer* deRingbuffer_create (deInt32 blockSize, deInt32 blockCount);
|
/external/opencv3/modules/features2d/src/ |
H A D | gftt.cpp | 54 blockSize(_blockSize), useHarrisDetector(_useHarrisDetector), k(_k) 67 void setBlockSize(int blockSize_) { blockSize = blockSize_; } 68 int getBlockSize() const { return blockSize; } 89 blockSize, useHarrisDetector, k ); 98 blockSize, useHarrisDetector, k ); 105 *keypoint_it = KeyPoint( *corner_it, (float)blockSize ); 112 int blockSize; member in class:cv::GFTTDetector_Impl
|
/external/opencv/cv/src/ |
H A D | cvoptflowbm.cpp | 90 // blockSize, // size of basic blocks which are compared 106 CvSize blockSize, CvSize shiftSize, 118 int stand_accept_level = blockSize.height * blockSize.width * SMALL_DIFF; 119 int stand_escape_level = blockSize.height * blockSize.width * BIG_DIFF; 142 int DownStep = blockSize.height * imgStep; 147 int blSize = blockSize.width * blockSize.height; 311 NumberBlocksX = (int) imgSize.width / blockSize 104 icvCalcOpticalFlowBM_8u32fR( uchar * imgA, uchar * imgB, int imgStep, CvSize imgSize, CvSize blockSize, CvSize shiftSize, CvSize maxRange, int usePrev, float *velocityX, float *velocityY, int velStep ) argument [all...] |
/external/opencv3/modules/cudaimgproc/perf/ |
H A D | perf_corners.cpp | 64 const int blockSize = GET_PARAM(3); local 79 cv::Ptr<cv::cuda::CornernessCriteria> harris = cv::cuda::createHarrisCorner(img.type(), blockSize, apertureSize, k, borderMode); 89 TEST_CYCLE() cv::cornerHarris(img, dst, blockSize, apertureSize, k, borderMode); 108 const int blockSize = GET_PARAM(3); local 121 cv::Ptr<cv::cuda::CornernessCriteria> minEigenVal = cv::cuda::createMinEigenValCorner(img.type(), blockSize, apertureSize, borderMode); 131 TEST_CYCLE() cv::cornerMinEigenVal(img, dst, blockSize, apertureSize, borderMode);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/block/ |
H A D | block.hpp | 63 __device__ __forceinline__ static uint blockSize() function in struct:cv::cudev::Block 77 uint STRIDE = Block::blockSize(); 87 uint STRIDE = Block::blockSize(); 98 uint STRIDE = Block::blockSize(); 109 uint STRIDE = Block::blockSize(); 120 uint STRIDE = Block::blockSize();
|
/external/opencv3/modules/imgproc/perf/ |
H A D | perf_corners.cpp | 25 int blockSize = get<1>(GetParam()); local 35 TEST_CYCLE() cornerHarris(src, dst, blockSize, apertureSize, k, borderType); 53 int blockSize = get<1>(GetParam()); local 62 TEST_CYCLE() cornerEigenValsAndVecs(src, dst, blockSize, apertureSize, borderType); 80 int blockSize = get<1>(GetParam()); local 89 TEST_CYCLE() cornerMinEigenVal(src, dst, blockSize, apertureSize, borderType);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fASTCDecompressionCases.cpp | 139 const IVec2& blockSize, 150 const int numXBlocks = width / blockSize.x(); 152 DE_ASSERT(width % blockSize.x() == 0 && height % blockSize.y() == 0); 162 const IVec2 blockCoord = IVec2(x, y) / blockSize; 418 const IVec2 blockSize = m_renderer->getBlockSize(); local 420 const int numXBlocksPerImage = de::min(m_context.getRenderTarget().getWidth(), 512) / blockSize.x(); 421 const int numYBlocksPerImage = de::min(m_context.getRenderTarget().getHeight(), 512) / blockSize.y(); 423 const int imageWidth = numXBlocksPerImage * blockSize.x(); 424 const int imageHeight = numYBlocksPerImage * blockSize 136 compareBlockImages(const Surface& reference, const Surface& result, const tcu::RGBA& thresholdRGBA, const IVec2& blockSize, int numNonDummyBlocks, IVec2& firstFailedBlockCoordDst, Surface& errorMaskDst, IVec4& maxDiffDst) argument [all...] |
H A D | es3fCompressedTextureTests.cpp | 49 const IVec3 blockSize = tcu::getBlockPixelSize(format); local 50 DE_ASSERT(blockSize.z() == 1); 52 return de::toString(blockSize.x()) + "x" + de::toString(blockSize.y()) + (tcu::isAstcSRGBFormat(format) ? "_srgb" : "");
|
/external/opencv3/modules/cudaimgproc/test/ |
H A D | test_corners.cpp | 63 int blockSize; local 71 blockSize = GET_PARAM(3); 85 cv::Ptr<cv::cuda::CornernessCriteria> harris = cv::cuda::createHarrisCorner(src.type(), blockSize, apertureSize, k, borderType); 91 cv::cornerHarris(src, dst_gold, blockSize, apertureSize, k, borderType); 111 int blockSize; local 119 blockSize = GET_PARAM(3); 131 cv::Ptr<cv::cuda::CornernessCriteria> minEigenVal = cv::cuda::createMinEigenValCorner(src.type(), blockSize, apertureSize, borderType); 137 cv::cornerMinEigenVal(src, dst_gold, blockSize, apertureSize, borderType);
|