Home
last modified time | relevance | path

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

123456

/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 …]
/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_platform/bcprov/src/main/java/com/android/internal/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/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-10.0/llvm/lib/Transforms/Instrumentation/
DMaximumSpanningTree.h40 static bool getBlockSize(const T *X) { in getBlockSize() function
50 size_t XSizeA = getBlockSize(X.first.first); in operator()
51 size_t YSizeA = getBlockSize(Y.first.first); in operator()
55 size_t XSizeB = getBlockSize(X.first.second); in operator()
56 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DOFBBlockCipher.java36 if (bitBlockSize > (cipher.getBlockSize() * 8) || bitBlockSize < 8 || bitBlockSize % 8 != 0) in OFBBlockCipher()
44 this.IV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
45 this.ofbV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
46 this.ofbOutV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
121 public int getBlockSize() in getBlockSize() method in OFBBlockCipher
DCFBBlockCipher.java39 if (bitBlockSize > (cipher.getBlockSize() * 8) || bitBlockSize < 8 || bitBlockSize % 8 != 0) in CFBBlockCipher()
47 this.IV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
48 this.cfbV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
49 this.cfbOutV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
174 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()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DMaximumSpanningTree.h40 static bool getBlockSize(const T *X) { in getBlockSize() function
50 size_t XSizeA = getBlockSize(X.first.first); in operator()
51 size_t YSizeA = getBlockSize(Y.first.first); in operator()
55 size_t XSizeB = getBlockSize(X.first.second); in operator()
56 size_t YSizeB = getBlockSize(Y.first.second); in operator()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/
DOFBBlockCipher.java38 if (bitBlockSize > (cipher.getBlockSize() * 8) || bitBlockSize < 8 || bitBlockSize % 8 != 0) in OFBBlockCipher()
46 this.IV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
47 this.ofbV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
48 this.ofbOutV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
123 public int getBlockSize() in getBlockSize() method in OFBBlockCipher
DCFBBlockCipher.java41 if (bitBlockSize > (cipher.getBlockSize() * 8) || bitBlockSize < 8 || bitBlockSize % 8 != 0) in CFBBlockCipher()
49 this.IV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
50 this.cfbV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
51 this.cfbOutV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
176 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/
DOFBBlockCipher.java38 if (bitBlockSize > (cipher.getBlockSize() * 8) || bitBlockSize < 8 || bitBlockSize % 8 != 0) in OFBBlockCipher()
46 this.IV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
47 this.ofbV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
48 this.ofbOutV = new byte[cipher.getBlockSize()]; in OFBBlockCipher()
123 public int getBlockSize() in getBlockSize() method in OFBBlockCipher
DCFBBlockCipher.java41 if (bitBlockSize > (cipher.getBlockSize() * 8) || bitBlockSize < 8 || bitBlockSize % 8 != 0) in CFBBlockCipher()
49 this.IV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
50 this.cfbV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
51 this.cfbOutV = new byte[cipher.getBlockSize()]; in CFBBlockCipher()
176 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/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/repackaged_platform/bcprov/src/main/java/com/android/internal/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/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/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/llvm-project/llvm/tools/llvm-pdbutil/
DExplainOutputStyle.cpp91 return FileOffset / File.pdb().getBlockSize(); in pdbBlockIndex()
95 uint64_t BlockStart = pdbBlockIndex() * File.pdb().getBlockSize(); in pdbBlockOffset()
105 return ((pdbBlockIndex() - 1) % File.pdb().getBlockSize() == 0); in isPdbFpm1()
108 return ((pdbBlockIndex() - 2) % File.pdb().getBlockSize() == 0); in isPdbFpm2()
204 uint32_t FpmChunk = pdbBlockIndex() / File.pdb().getBlockSize(); in explainPdbFpmBlockOffset()
210 8 * (FpmChunk * File.pdb().getBlockSize() + pdbBlockOffset()); in explainPdbFpmBlockOffset()
250 getOffsetInStream(Layout.Blocks, FileOffset, File.pdb().getBlockSize()); in explainPdbStreamOffset()
278 getOffsetInStream(DirectoryBlocks, FileOffset, File.pdb().getBlockSize()); in explainPdbStreamDirectoryOffset()
/external/llvm-project/llvm/include/llvm/DebugInfo/MSF/
DMappedBlockStream.h72 uint32_t getBlockSize() const { return BlockSize; } in getBlockSize() function
142 uint32_t getBlockSize() const { return ReadInterface.getBlockSize(); } in getBlockSize() function
/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()

123456