Home
last modified time | relevance | path

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

1234

/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()
/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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/macs/
DCBCBlockCipherMac.java36 this(cipher, (cipher.getBlockSize() * 8) / 2, null); in CBCBlockCipherMac()
50 this(cipher, (cipher.getBlockSize() * 8) / 2, padding); in CBCBlockCipherMac()
101 mac = new byte[cipher.getBlockSize()]; in CBCBlockCipherMac()
103 buf = new byte[cipher.getBlockSize()]; in CBCBlockCipherMac()
147 int blockSize = cipher.getBlockSize(); in update()
178 int blockSize = cipher.getBlockSize(); in doFinal()
/external/swiftshader/third_party/llvm-7.0/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/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/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowStatFsTest.java23 assertThat(statsFs.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldRegisterStats()
34 assertThat(statsFs.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldRegisterStatsWithFile()
49 assertThat(statsFsForTmp.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
54 assertThat(statsFsForA.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
59 assertThat(statsFsForB.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
64 assertThat(statsFsForAC.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldUseBestMatch()
76 assertThat(statsFs.getBlockSize()).isEqualTo(ShadowStatFs.BLOCK_SIZE); in shouldResetStateBetweenTests()
/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()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DBufferedBlockCipher.java42 buf = new byte[cipher.getBlockSize()]; in BufferedBlockCipher()
99 public int getBlockSize() in getBlockSize() method in BufferedBlockCipher
101 return cipher.getBlockSize(); in getBlockSize()
122 leftOver = total % buf.length - (cipher.getBlockSize() + 2); in getUpdateOutputSize()
206 int blockSize = getBlockSize(); in processBytes()
/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()
DCTSBlockCipher.java34 blockSize = cipher.getBlockSize(); in CTSBlockCipher()
132 int blockSize = getBlockSize(); in processBytes()
199 int blockSize = cipher.getBlockSize(); in doFinal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DOFBBlockCipher.java41 this.IV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
42 this.ofbV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
43 this.ofbOutV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
118 public int getBlockSize() in getBlockSize() method in OFBBlockCipher
DCFBBlockCipher.java44 this.IV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
45 this.cfbV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
46 this.cfbOutV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
171 public int getBlockSize() in getBlockSize() method in CFBBlockCipher
DCBCBlockCipher.java34 this.blockSize = cipher.getBlockSize(); in CBCBlockCipher()
125 public int getBlockSize() in getBlockSize() method in CBCBlockCipher
127 return cipher.getBlockSize(); in getBlockSize()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DExplainOutputStyle.cpp92 return FileOffset / File.pdb().getBlockSize(); in pdbBlockIndex()
96 uint64_t BlockStart = pdbBlockIndex() * File.pdb().getBlockSize(); in pdbBlockOffset()
106 return ((pdbBlockIndex() - 1) % File.pdb().getBlockSize() == 0); in isPdbFpm1()
109 return ((pdbBlockIndex() - 2) % File.pdb().getBlockSize() == 0); in isPdbFpm2()
205 uint32_t FpmChunk = pdbBlockIndex() / File.pdb().getBlockSize(); in explainPdbFpmBlockOffset()
211 8 * (FpmChunk * File.pdb().getBlockSize() + pdbBlockOffset()); in explainPdbFpmBlockOffset()
251 getOffsetInStream(Layout.Blocks, FileOffset, File.pdb().getBlockSize()); in explainPdbStreamOffset()
279 getOffsetInStream(DirectoryBlocks, FileOffset, File.pdb().getBlockSize()); in explainPdbStreamDirectoryOffset()
DLinePrinter.cpp219 auto Runs = computeBlockRuns(File.getBlockSize(), Stream); in formatMsfStreamData()
232 uint64_t Base = FoundRun.Block * File.getBlockSize() + RunOffset; in formatMsfStreamData()
257 uint32_t UsedBytes = std::min(L, File.getBlockSize()); in formatMsfStreamBlocks()
259 cantFail(File.getBlockData(Blocks.front(), File.getBlockSize())); in formatMsfStreamBlocks()
261 BaseOffset *= File.getBlockSize(); in formatMsfStreamBlocks()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DCipherEncryptBenchmark.java83 return conscryptCipher.getBlockSize() > 0 ? conscryptCipher.getBlockSize() : 128; in messageSize()
87 return TestUtils.newTextMessage(cipher.getBlockSize()); in newMessage()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DCipherEncryptBenchmark.java88 return conscryptCipher.getBlockSize() > 0 ? conscryptCipher.getBlockSize() : 128; in messageSize()
92 return TestUtils.newTextMessage(cipher.getBlockSize()); in newMessage()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h75 uint32_t getBlockSize() const { return BlockSize; } in getBlockSize() function
145 uint32_t getBlockSize() const { return ReadInterface.getBlockSize(); } in getBlockSize() function
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java38 buf = new byte[cipher.getBlockSize()]; in PaddedBufferedBlockCipher()
190 int blockSize = getBlockSize(); in processBytes()
249 int blockSize = cipher.getBlockSize(); in doFinal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java169 this.ivLength = baseEngine.getBlockSize(); in BaseBlockCipher()
224 return baseEngine.getBlockSize(); in engineGetBlockSize()
314 ivLength = baseEngine.getBlockSize(); in engineSetMode()
320 ivLength = baseEngine.getBlockSize(); in engineSetMode()
331 new OFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
336 ivLength = baseEngine.getBlockSize(); in engineSetMode()
347 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
381 ivLength = baseEngine.getBlockSize(); in engineSetMode()
417 ivLength = baseEngine.getBlockSize(); in engineSetMode()
463 ivLength = baseEngine.getBlockSize(); in engineSetMode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseBlockCipher.java165 this.ivLength = baseEngine.getBlockSize(); in BaseBlockCipher()
220 return baseEngine.getBlockSize(); in engineGetBlockSize()
310 ivLength = baseEngine.getBlockSize(); in engineSetMode()
316 ivLength = baseEngine.getBlockSize(); in engineSetMode()
327 new OFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
332 ivLength = baseEngine.getBlockSize(); in engineSetMode()
343 new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize())); in engineSetMode()
377 ivLength = baseEngine.getBlockSize(); in engineSetMode()
413 ivLength = baseEngine.getBlockSize(); in engineSetMode()
459 ivLength = baseEngine.getBlockSize(); in engineSetMode()

1234