Home
last modified time | relevance | path

Searched refs:getBlockSize (Results 1 – 25 of 48) sorted by relevance

12

/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp127 uint32_t First = Offset / Pdb.getBlockSize(); in readLongestContiguousChunk()
137 uint32_t OffsetInFirstBlock = Offset % Pdb.getBlockSize(); in readLongestContiguousChunk()
138 uint32_t BytesFromFirstBlock = Pdb.getBlockSize() - OffsetInFirstBlock; in readLongestContiguousChunk()
141 BytesFromFirstBlock + (BlockSpan - 1) * Pdb.getBlockSize(); in readLongestContiguousChunk()
142 auto Result = Pdb.getBlockData(BlockList[First], Pdb.getBlockSize()); in readLongestContiguousChunk()
161 uint32_t BlockNum = Offset / Pdb.getBlockSize(); in tryReadContiguously()
162 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in tryReadContiguously()
164 std::min(Size, Pdb.getBlockSize() - OffsetInBlock); in tryReadContiguously()
166 llvm::alignTo(Size - BytesFromFirstBlock, Pdb.getBlockSize()) / in tryReadContiguously()
167 Pdb.getBlockSize(); in tryReadContiguously()
[all …]
DPDBFile.cpp43 uint32_t PDBFile::getBlockSize() const { return SB->BlockSize; } in getBlockSize() function in PDBFile
78 uint64_t StreamBlockOffset = blockToOffset(BlockIndex, getBlockSize()); in getBlockData()
88 if (Offset >= getBlockSize()) in setBlockData()
92 if (Data.size() > getBlockSize() - Offset) in setBlockData()
97 uint64_t StreamBlockOffset = blockToOffset(BlockIndex, getBlockSize()); in setBlockData()
DPDBFileBuilder.cpp69 BlocksNeeded += File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap()
77 uint32_t NumBlocks = File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
DCBCBlockCipherMac.java34 this(cipher, (cipher.getBlockSize() * 8) / 2, null); in CBCBlockCipherMac()
48 this(cipher, (cipher.getBlockSize() * 8) / 2, padding); in CBCBlockCipherMac()
99 mac = new byte[cipher.getBlockSize()]; in CBCBlockCipherMac()
101 buf = new byte[cipher.getBlockSize()]; in CBCBlockCipherMac()
145 int blockSize = cipher.getBlockSize(); in update()
176 int blockSize = cipher.getBlockSize(); in doFinal()
/external/llvm/lib/Transforms/Instrumentation/
DMaximumSpanningTree.h41 static bool getBlockSize(const T *X) { in getBlockSize() function
51 size_t XSizeA = getBlockSize(X.first.first); in operator()
52 size_t YSizeA = getBlockSize(Y.first.first); in operator()
56 size_t XSizeB = getBlockSize(X.first.second); in operator()
57 size_t YSizeB = getBlockSize(Y.first.second); in operator()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DBufferedBlockCipher.java40 buf = new byte[cipher.getBlockSize()]; in BufferedBlockCipher()
97 public int getBlockSize() in getBlockSize() method in BufferedBlockCipher
99 return cipher.getBlockSize(); in getBlockSize()
120 leftOver = total % buf.length - (cipher.getBlockSize() + 2); in getUpdateOutputSize()
204 int blockSize = getBlockSize(); in processBytes()
DBlockCipher.java33 public int getBlockSize(); in getBlockSize() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DOFBBlockCipher.java39 this.IV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
40 this.ofbV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
41 this.ofbOutV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
116 public int getBlockSize() in getBlockSize() method in OFBBlockCipher
DCFBBlockCipher.java42 this.IV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
43 this.cfbV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
44 this.cfbOutV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
169 public int getBlockSize() in getBlockSize() method in CFBBlockCipher
DCBCBlockCipher.java32 this.blockSize = cipher.getBlockSize(); in CBCBlockCipher()
123 public int getBlockSize() in getBlockSize() method in CBCBlockCipher
125 return cipher.getBlockSize(); in getBlockSize()
DSICBlockCipher.java38 this.blockSize = cipher.getBlockSize(); in SICBlockCipher()
86 public int getBlockSize() in getBlockSize() method in SICBlockCipher
88 return cipher.getBlockSize(); in getBlockSize()
DCTSBlockCipher.java33 blockSize = cipher.getBlockSize(); in CTSBlockCipher()
131 int blockSize = getBlockSize(); in processBytes()
198 int blockSize = cipher.getBlockSize(); in doFinal()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DStatFsTest.java24 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStats()
35 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldRegisterStatsWithFile()
44 assertThat(statsFs.getBlockSize(), equalTo(ShadowStatFs.BLOCK_SIZE)); in shouldResetStateBetweenTests()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java36 buf = new byte[cipher.getBlockSize()]; in PaddedBufferedBlockCipher()
188 int blockSize = getBlockSize(); in processBytes()
247 int blockSize = cipher.getBlockSize(); in doFinal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java182 this.ivLength = baseEngine.getBlockSize(); in BaseBlockCipher()
219 return baseEngine.getBlockSize(); in engineGetBlockSize()
309 ivLength = baseEngine.getBlockSize(); in engineSetMode()
315 ivLength = baseEngine.getBlockSize(); in engineSetMode()
326 new OFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
331 ivLength = baseEngine.getBlockSize(); in engineSetMode()
342 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
374 ivLength = baseEngine.getBlockSize(); in engineSetMode()
395 ivLength = baseEngine.getBlockSize(); in engineSetMode()
427 ivLength = baseEngine.getBlockSize(); in engineSetMode()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DIPDBFile.h28 virtual uint32_t getBlockSize() const = 0;
DPDBFile.h78 uint32_t getBlockSize() const override;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESedeWrapEngine.java165 int blockSize = engine.getBlockSize(); in wrap()
227 final int blockSize = engine.getBlockSize(); in unwrap()
DDESedeEngine.java80 public int getBlockSize() in getBlockSize() method in DESedeEngine
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowStatFs.java24 public int getBlockSize() { in getBlockSize() method in ShadowStatFs
/external/deqp/modules/gles3/functional/
Des3fASTCDecompressionCases.cpp248 IVec2 getBlockSize (void) const { return m_blockSize; } in getBlockSize() function in deqp::gles3::Functional::ASTCDecompressionCaseInternal::ASTCRenderer2D
418 const IVec2 blockSize = m_renderer->getBlockSize(); in iterate()
542 const IVec2 blockSize = m_renderer->getBlockSize(); in init()
554 const IVec2 blockSize = m_renderer->getBlockSize(); in iterate()
/external/deqp/framework/common/
DtcuCompressedTexture.hpp80 int getBlockSize (CompressedTexFormat format);
/external/lzma/Java/Tukaani/
DNEWS26 - long getBlockSize(int blockNumber)
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp52 uint32_t getBlockSize() const override { return 1; } in getBlockSize() function in __anon4d625d420111::DiscontiguousFile
56 return getBlockCount() * getBlockSize(); in getStreamByteSize()
73 if (Offset > getBlockSize() - SrcData.size()) in setBlockData()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp516 UVec2 getBlockSize (vk::VkFormat format) in getBlockSize() function
648 const UVec2 srcBlockSize (getBlockSize(srcPlaneFormat)); in genCopies()
654 const UVec2 dstBlockSize (getBlockSize(dstPlaneFormat)); in genCopies()
857 const UVec2 srcBlockSize (getBlockSize(srcPlaneFormat)); in imageCopyTest()
871 const UVec2 dstBlockSize (getBlockSize(dstPlaneFormat)); in imageCopyTest()

12