Home
last modified time | relevance | path

Searched refs:BlockSize (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp45 MappedBlockStream::MappedBlockStream(uint32_t BlockSize, in MappedBlockStream() argument
49 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData), in MappedBlockStream()
53 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream() argument
56 BlockSize, Layout, MsfData, Allocator); in createStream()
67 Layout.SB->BlockSize, SL, MsfData, Allocator); in createIndexedStream()
77 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createDirectoryStream()
85 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator); in createFpmStream()
172 uint32_t First = Offset / BlockSize; in readLongestContiguousChunk()
181 uint32_t OffsetInFirstBlock = Offset % BlockSize; in readLongestContiguousChunk()
182 uint32_t BytesFromFirstBlock = BlockSize - OffsetInFirstBlock; in readLongestContiguousChunk()
[all …]
DMSFBuilder.cpp38 MSFBuilder::MSFBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow, in MSFBuilder() argument
41 FreePageMap(kDefaultFreePageMap), BlockSize(BlockSize), in MSFBuilder()
50 uint32_t BlockSize, in create() argument
52 if (!isValidBlockSize(BlockSize)) in create()
56 return MSFBuilder(BlockSize, in create()
114 uint32_t NextFpmBlock = alignTo(OldBlockCount, BlockSize) + 1; in allocateBlocks()
127 NextFpmBlock += BlockSize; in allocateBlocks()
159 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream()
182 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream()
196 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize()
[all …]
DMSFCommon.cpp25 if (!isValidBlockSize(SB.BlockSize)) in validateSuperBlock()
37 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock()
42 if (NumDirectoryBlocks > SB.BlockSize / sizeof(support::ulittle32_t)) in validateSuperBlock()
77 FL.Length = NumFpmIntervals * Msf.SB->BlockSize; in getFpmStreamLayout()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/
DMSFCommon.h36 support::ulittle32_t BlockSize; member
108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() argument
109 return divideCeil(NumBytes, BlockSize); in bytesToBlocks()
112 inline uint64_t blockToOffset(uint64_t BlockNumber, uint64_t BlockSize) { in blockToOffset() argument
113 return BlockNumber * BlockSize; in blockToOffset()
117 return L.SB->BlockSize; in getFpmIntervalLength()
132 inline uint32_t getNumFpmIntervals(uint32_t BlockSize, uint32_t NumBlocks, in getNumFpmIntervals() argument
140 return divideCeil(NumBlocks - FpmNumber, BlockSize); in getNumFpmIntervals()
145 return divideCeil(NumBlocks, 8 * BlockSize); in getNumFpmIntervals()
151 return getNumFpmIntervals(L.SB->BlockSize, L.SB->NumBlocks,
DMappedBlockStream.h44 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout,
74 uint32_t getBlockSize() const { return BlockSize; } in getBlockSize()
79 MappedBlockStream(uint32_t BlockSize, const MSFStreamLayout &StreamLayout,
90 const uint32_t BlockSize; variable
110 createStream(uint32_t BlockSize, const MSFStreamLayout &Layout,
149 WritableMappedBlockStream(uint32_t BlockSize,
DMSFBuilder.h57 uint32_t BlockSize,
121 MSFBuilder(uint32_t BlockSize, uint32_t MinBlockCount, bool CanGrow,
134 uint32_t BlockSize; variable
/third_party/boost/libs/move/test/
Dinplace_merge_test.cpp30 const std::size_t BlockSize = 7u; variable
53 const std::size_t DataSize = ExtraA + NumBlocksA*BlockSize + NumBlocksB*BlockSize + ExtraB; in alternating_test()
55 const std::size_t HdrSize = BlockSize + KeySize; in alternating_test()
69 for (std::size_t szt_i = 0u; szt_i != BlockSize; ++szt_i) { in alternating_test()
83 for (std::size_t szt_i = 0u; szt_i != BlockSize; ++szt_i) { in alternating_test()
92 for (std::size_t szt_i = 0u; szt_i != BlockSize; ++szt_i, ++szt_t) { in alternating_test()
110 , testarray.get()+HdrSize, BlockSize, ExtraA, NumBlocksA, NumBlocksB, ExtraB in alternating_test()
115 || is_buffer(testarray.get()+ KeySize+DataSize, BlockSize) )); in alternating_test()
121 , testarray.get()+HdrSize, BlockSize, ExtraA, NumBlocksA, NumBlocksB, ExtraB in alternating_test()
126 || is_buffer(testarray.get()+ KeySize, BlockSize) )); in alternating_test()
[all …]
/third_party/boringssl/src/crypto/cipher_extra/test/
Dmake_legacy_aead_tests.go161 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DDebugLinesSubsection.cpp33 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader)) in operator ()()
36 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader); in operator ()()
42 Len = BlockHeader->BlockSize; in operator ()()
118 BlockHeader.BlockSize = sizeof(LineBlockFragmentHeader); in commit()
119 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry); in commit()
121 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry); in commit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTarWriter.cpp33 static const int BlockSize = 512; variable
54 static_assert(sizeof(UstarHeader) == BlockSize, "invalid Ustar header");
84 OS.seek(alignTo(Pos, BlockSize)); in pad()
197 OS << std::string(BlockSize * 2, '\0'); in append()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DPDBFile.cpp54 uint32_t PDBFile::getBlockSize() const { return ContainerLayout.SB->BlockSize; } in getBlockSize()
76 ContainerLayout.SB->BlockSize); in getNumDirectoryBlocks()
81 ContainerLayout.SB->BlockSize; in getBlockMapOffset()
134 if (Buffer->getLength() % SB->BlockSize != 0) in parseFileHeaders()
206 : msf::bytesToBlocks(StreamSize, ContainerLayout.SB->BlockSize); in parseStreamData()
219 (uint64_t)(Block + 1) * ContainerLayout.SB->BlockSize; in parseStreamData()
DPDBFileBuilder.cpp41 Error PDBFileBuilder::initialize(uint32_t BlockSize) { in initialize() argument
42 auto ExpectedMsf = MSFBuilder::create(Allocator, BlockSize); in initialize()
325 blockToOffset(InfoStreamBlocks.front(), Layout.SB->BlockSize); in commit()
/third_party/boost/boost/container/
Doptions.hpp456 template<std::size_t BlockBytes, std::size_t BlockSize>
460 static const std::size_t block_size = BlockSize;
514 BOOST_INTRUSIVE_OPTION_CONSTANT(block_size, std::size_t, BlockSize, block_size)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp136 unsigned BlockSize = 0; in ComputeBlockSizes() local
138 BlockSize += TII->getInstSizeInBytes(MI); in ComputeBlockSizes()
143 BlockSizes[MBB->getNumber()].first = BlockSize; in ComputeBlockSizes()
144 FuncSize += BlockSize; in ComputeBlockSizes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerMatrixIntrinsics.cpp734 unsigned BlockSize = VF; in LowerMultiply() local
735 for (unsigned I = 0; I < R; I += BlockSize) { in LowerMultiply()
737 while (I + BlockSize > R) in LowerMultiply()
738 BlockSize /= 2; in LowerMultiply()
742 Value *L = extractVector(Lhs, I, K, BlockSize, Builder); in LowerMultiply()
744 Value *Splat = Builder.CreateVectorSplat(BlockSize, RH, "splat"); in LowerMultiply()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DPDBFileBuilder.h45 Error initialize(uint32_t BlockSize);
/third_party/ffmpeg/libavcodec/
Dvp9shared.h77 enum BlockSize { enum
Dvp9dec.h85 enum BlockSize bs;
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cross_containers.hpp615 template <size_t StackSize = 4096, size_t BlockSize = 4096>
728 size_t target_size = len > BlockSize ? len : BlockSize; in append()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DDebugLinesSubsection.h45 support::ulittle32_t BlockSize; // Code size of block, in bytes. member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DMachOLinkGraphBuilder.cpp457 JITTargetAddress BlockSize = BlockEnd - BlockStart; in graphifyRegularSymbols() local
471 StringRef(NSec.Data + BlockOffset, BlockSize), BlockStart, in graphifyRegularSymbols()
473 : G->createZeroFillBlock(*NSec.GraphSection, BlockSize, in graphifyRegularSymbols()
DEHFrameSupport.cpp112 uint64_t BlockSize = BlockReader.getOffset() - RecordStartOffset; in processBlock() local
113 auto &NewBlock = G.splitBlock(B, BlockSize); in processBlock()
/third_party/skia/third_party/externals/d3d12allocator/src/
DTests.cpp576 poolDesc.BlockSize = 11 * MEGABYTE; in TestCustomPools()
593 CHECK_BOOL( poolStats.UnusedBytes == poolStats.BlockCount * poolDesc.BlockSize ); in TestCustomPools()
607 CHECK_BOOL( poolStats.UnusedBytes == poolStats.BlockCount * poolDesc.BlockSize ); in TestCustomPools()
614 CHECK_BOOL( poolStats.UnusedBytes == poolStats.BlockCount * poolDesc.BlockSize ); in TestCustomPools()
644 CHECK_BOOL( poolStats.UnusedBytes == poolDesc.BlockSize - poolStats.UsedBytes ); in TestCustomPools()
695 …CHECK_BOOL( poolStats.UnusedBytes == poolStats.BlockCount * poolDesc.BlockSize - poolStats.UsedByt… in TestCustomPools()
/third_party/boringssl/src/crypto/fipsmodule/ec/
Dmake_p256-x86_64-tests.go222 stream := cipher.NewCTR(block, make([]byte, block.BlockSize()))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeAnalyzer.cpp908 int BlockSize = (CurrentRecordPos / 8) - BlockEntryPos; in parseBlock() local
909 auto Ptr = Stream.getPointerToByte(BlockEntryPos, BlockSize); in parseBlock()
910 Hasher.update(ArrayRef<uint8_t>(Ptr, BlockSize)); in parseBlock()

12