/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/ |
D | MSFCommonTest.cpp | 29 SB.BlockSize = 4096; in TEST() 36 SB.NumBlocks = SB.BlockSize; in TEST() 38 SB.NumBlocks = SB.BlockSize + 1; in TEST() 40 SB.NumBlocks = SB.BlockSize * 8; in TEST() 42 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST() 47 SB.NumBlocks = SB.BlockSize; in TEST() 49 SB.NumBlocks = SB.BlockSize * 8; in TEST() 99 SB.BlockSize = 4096; in TEST() 117 SB.NumBlocks = SB.BlockSize * 8 + 1; in TEST() 119 EXPECT_EQ(SB.BlockSize + 1, SL.Length); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/ |
D | MappedBlockStream.cpp | 46 MappedBlockStream::MappedBlockStream(uint32_t BlockSize, in MappedBlockStream() argument 50 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData), in MappedBlockStream() 54 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream() argument 57 BlockSize, Layout, MsfData, Allocator); in createStream() 68 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream() 78 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream() 86 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createFpmStream() 173 uint32_t First = Offset / BlockSize; in readLongestContiguousChunk() 182 uint32_t OffsetInFirstBlock = Offset % BlockSize; in readLongestContiguousChunk() 183 uint32_t BytesFromFirstBlock = BlockSize - OffsetInFirstBlock; in readLongestContiguousChunk() [all …]
|
D | MSFBuilder.cpp | 39 MSFBuilder::MSFBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow, in MSFBuilder() argument 42 FreePageMap(kDefaultFreePageMap), BlockSize(BlockSize), in MSFBuilder() 51 uint32_t BlockSize, in create() argument 53 if (!isValidBlockSize(BlockSize)) in create() 57 return MSFBuilder(BlockSize, in create() 115 uint32_t NextFpmBlock = alignTo(OldBlockCount, BlockSize) + 1; in allocateBlocks() 128 NextFpmBlock += BlockSize; in allocateBlocks() 160 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream() 183 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream() 197 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize() [all …]
|
D | MSFCommon.cpp | 26 if (!isValidBlockSize(SB.BlockSize)) in validateSuperBlock() 38 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock() 43 if (NumDirectoryBlocks > SB.BlockSize / sizeof(support::ulittle32_t)) in validateSuperBlock() 78 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout()
|
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
D | JITMemoryManager.cpp | 58 uintptr_t BlockSize : (sizeof(intptr_t)*CHAR_BIT - 2); 64 return *(MemoryRangeHeader*)((char*)this+BlockSize); in getBlockAfter() 102 void *EndOfBlock = (char*)this + BlockSize; in SetEndOfBlockSizeMarker() 103 ((intptr_t *)EndOfBlock)[-1] = BlockSize; in SetEndOfBlockSizeMarker() 167 BlockSize += FollowingFreeBlock.BlockSize; in FreeBlock() 178 PrevFreeBlock->GrowBlock(PrevFreeBlock->BlockSize + BlockSize); in FreeBlock() 199 assert(NewSize > BlockSize && "Not growing block?"); in GrowBlock() 200 BlockSize = NewSize; in GrowBlock() 222 assert(NewSize <= BlockSize && in TrimAllocationToSize() 227 if (BlockSize <= NewSize+FreeRangeHeader::getMinBlockSize()) in TrimAllocationToSize() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/ |
D | MSFCommon.h | 37 support::ulittle32_t BlockSize; member 109 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() argument 110 return divideCeil(NumBytes, BlockSize); in bytesToBlocks() 113 inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) { in blockToOffset() argument 114 return BlockNumber * BlockSize; in blockToOffset() 118 return L.SB->BlockSize; in getFpmIntervalLength() 133 inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, in getNumFpmIntervals() argument 141 return divideCeil(NumBlocks - FpmNumber, BlockSize); in getNumFpmIntervals() 146 return divideCeil(NumBlocks, 8 * BlockSize); in getNumFpmIntervals() 152 return getNumFpmIntervals(L.SB->BlockSize, L.SB->NumBlocks,
|
D | MappedBlockStream.h | 45 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout, 75 uint32_t getBlockSize() const { return BlockSize; } in getBlockSize() 80 MappedBlockStream(uint32_t BlockSize, const MSFStreamLayout &StreamLayout, 91 const uint32_t BlockSize; variable 111 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout, 150 WritableMappedBlockStream(uint32_t BlockSize,
|
D | MSFBuilder.h | 58 uint32_t BlockSize, 122 MSFBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow, 135 uint32_t BlockSize; variable
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorRoundtripTest.java | 42 … { new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.K64) }, in factory() 43 …{ new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.K256) }, in factory() 44 …] { new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.M1) }, in factory() 47 …ct[] { new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.M4, in factory() 50 …ct[] { new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.M4, in factory() 53 …t[] { new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.K64, in factory() 56 …ct[] { new FramedLZ4CompressorOutputStream.Parameters(FramedLZ4CompressorOutputStream.BlockSize.M4, in factory()
|
/external/boringssl/src/ssl/test/runner/ |
D | shim_ticket.go | 42 if len(in) < len(name)+block.BlockSize()+1+h.Size() { 63 iv := in[:block.BlockSize()] 64 in = in[block.BlockSize():] 65 if l := len(in); l == 0 || l%block.BlockSize() != 0 { 74 if pad == 0 || pad > block.BlockSize() || pad > len(in) { 100 iv := make([]byte, block.BlockSize()) 102 pad := block.BlockSize() - (len(in) % block.BlockSize())
|
D | ticket.go | 162 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size) 163 iv := encrypted[:aes.BlockSize] 173 cipher.NewCTR(block, iv).XORKeyStream(encrypted[aes.BlockSize:], serialized) 183 if len(encrypted) < aes.BlockSize+sha256.Size { 187 iv := encrypted[:aes.BlockSize] 202 ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
|
/external/boringssl/src/crypto/cipher_extra/test/ |
D | make_legacy_aead_tests.go | 161 iv := make([]byte, block.BlockSize()) 171 sealed = make([]byte, 0, len(input)+len(digest)+cbc.BlockSize()) 179 paddingLen := cbc.BlockSize() - len(sealed)%cbc.BlockSize() 181 if paddingLen != cbc.BlockSize() { 189 paddingLen += cbc.BlockSize() 191 if 256%cbc.BlockSize() != 0 { 194 paddingLen = 256 - len(sealed)%cbc.BlockSize() 298 hashBlockSize := hash.New().BlockSize()
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | PDBFile.h | 57 support::ulittle32_t BlockSize; member 106 static uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() argument 107 return alignTo(NumBytes, BlockSize) / BlockSize; in bytesToBlocks() 110 static uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) { in blockToOffset() argument 111 return BlockNumber * BlockSize; in blockToOffset()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/ |
D | FramedLZ4CompressorOutputStream.java | 62 public enum BlockSize { enum in FramedLZ4CompressorOutputStream 73 BlockSize(int size, int index) { in BlockSize() method in FramedLZ4CompressorOutputStream.BlockSize 89 private final BlockSize blockSize; 99 public static final Parameters DEFAULT = new Parameters(BlockSize.M4, true, false, false); 107 public Parameters(BlockSize blockSize) { in Parameters() 119 public Parameters(BlockSize blockSize, in Parameters() 135 … public Parameters(BlockSize blockSize, boolean withContentChecksum, boolean withBlockChecksum, in Parameters() 156 … public Parameters(BlockSize blockSize, boolean withContentChecksum, boolean withBlockChecksum, in Parameters()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
D | DebugLinesSubsection.cpp | 34 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader)) in operator ()() 37 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader); in operator ()() 43 Len = BlockHeader->BlockSize; in operator ()() 119 BlockHeader.BlockSize = sizeof(LineBlockFragmentHeader); in commit() 120 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry); in commit() 122 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry); in commit()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | PDBFile.cpp | 43 uint32_t PDBFile::getBlockSize() const { return SB->BlockSize; } in getBlockSize() 56 return bytesToBlocks(SB->NumDirectoryBytes, SB->BlockSize); in getNumDirectoryBlocks() 60 return (uint64_t)SB->BlockMapAddr * SB->BlockSize; in getBlockMapOffset() 146 StreamSize == UINT32_MAX ? 0 : bytesToBlocks(StreamSize, SB->BlockSize); in parseStreamData() 158 uint64_t BlockEndOffset = (uint64_t)(Block + 1) * SB->BlockSize; in parseStreamData() 305 if (SB->BlockSize % sizeof(support::ulittle32_t) != 0) in setSuperBlock() 309 switch (SB->BlockSize) { in setSuperBlock() 321 if (Buffer->getLength() % SB->BlockSize != 0) in setSuperBlock() 337 if (NumDirectoryBlocks > SB->BlockSize / sizeof(support::ulittle32_t)) in setSuperBlock()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 68 unsigned BlockSize = 0; in runOnMachineFunction() local 71 BlockSize += TII->GetInstSizeInBytes(MBBI); in runOnMachineFunction() 73 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction() 74 FuncSize += BlockSize; in runOnMachineFunction()
|
/external/swiftshader/third_party/LLVM/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 67 unsigned BlockSize = 0; in runOnMachineFunction() local 70 BlockSize += TII->GetInstSizeInBytes(MBBI); in runOnMachineFunction() 72 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction() 73 FuncSize += BlockSize; in runOnMachineFunction()
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430BranchSelector.cpp | 71 unsigned BlockSize = 0; in runOnMachineFunction() local 73 BlockSize += TII->GetInstSizeInBytes(MI); in runOnMachineFunction() 75 BlockSizes[MBB.getNumber()] = BlockSize; in runOnMachineFunction() 76 FuncSize += BlockSize; in runOnMachineFunction()
|
/external/libcxx/test/support/ |
D | controlled_allocators.hpp | 405 static const std::size_t BlockSize = alignof(std::max_align_t); member in MinAlignedAllocator 408 std::size_t bytes = (s + BlockSize - 1) & ~(BlockSize - 1); in alloc_size() 409 bytes += BlockSize; in alloc_size() 410 assert(bytes % BlockSize == 0); in alloc_size() 415 return reinterpret_cast<std::uintptr_t>(p) % BlockSize == 0; in is_max_aligned() 419 if (alignof(T) == BlockSize) { in is_min_aligned() 422 return reinterpret_cast<std::uintptr_t>(p) % BlockSize == alignof(T); in is_min_aligned()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | TarWriter.cpp | 34 static const int BlockSize = 512; variable 55 static_assert(sizeof(UstarHeader) == BlockSize, "invalid Ustar header"); 85 OS.seek(alignTo(Pos, BlockSize)); in pad() 198 OS << std::string(BlockSize * 2, '\0'); in append()
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/PDB/ |
D | MsfFile.rst | 20 in ``SuperBlock::BlockSize``. The file consists of 1 or more iterations of the 26 4. ``SuperBlock::BlockSize - 3`` blocks of data 57 ulittle32_t BlockSize; 67 - **BlockSize** - The block size of the internal file system. Valid values are 76 - **NumBlocks** - The total number of blocks in the file. ``NumBlocks * BlockSize`` 88 ``ulittle32_t``'s in this array is given by ``ceil(NumDirectoryBytes / BlockSize)``. 107 at intervals of BlockSize. Because each FPM block is of size ``BlockSize`` 161 ``ulittle32_t``, since ``60 <= SuperBlock->BlockSize``.
|
/external/eigen/unsupported/Eigen/src/SparseExtra/ |
D | BlockSparseMatrix.h | 71 BlockSize = _BlockAtCompileTime, 80 …ypename BlockSparseMatrixT::Scalar, BlockSparseMatrixT::BlockSize, BlockSparseMatrixT::BlockSize> … 81 …ame BlockSparseMatrixT::RealScalar, BlockSparseMatrixT::BlockSize, BlockSparseMatrixT::BlockSize> … 162 BlockSize = BlockSparseMatrixT::BlockSize, 167 …kSparseMatrixT::Scalar, (RowsAtCompileTime==1)? 1 : BlockSize, (ColsAtCompileTime==1)? 1 : BlockSi… 295 BlockSize=_BlockAtCompileTime, 306 …typedef BlockSparseMatrix<Scalar, BlockSize, IsColMajor ? ColMajor : RowMajor, StorageIndex> Plain… 312 m_outerIndex(0),m_blockSize(BlockSize) 325 m_outerIndex(0),m_blockSize(BlockSize) 337 …eigen_assert(m_blockSize == BlockSize && " CAN NOT COPY BETWEEN FIXED-SIZE AND VARIABLE-SIZE BLOCK… [all …]
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCBranchSelector.cpp | 109 unsigned BlockSize = 0; in runOnMachineFunction() local 111 BlockSize += TII->GetInstSizeInBytes(MI); in runOnMachineFunction() 113 BlockSizes[MBB->getNumber()] = BlockSize; in runOnMachineFunction() 114 FuncSize += BlockSize; in runOnMachineFunction()
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
D | ModuleSubstreamVisitor.h | 43 if (BlockHeader->BlockSize < sizeof(LineFileBlockHeader)) in operator() 46 uint32_t Size = BlockHeader->BlockSize - sizeof(LineFileBlockHeader); in operator() 52 Len = BlockHeader->BlockSize; in operator()
|