Home
last modified time | relevance | path

Searched refs:BlockData (Results 1 – 18 of 18) sorted by relevance

/external/stressapptest/src/
Ddisk_blocks.h38 class BlockData {
40 BlockData();
41 ~BlockData();
69 DISALLOW_COPY_AND_ASSIGN(BlockData);
112 BlockData *GetUnusedBlock(int64 segment);
116 int RemoveBlock(BlockData *block);
123 BlockData *GetRandomBlock();
127 int ReleaseBlock(BlockData *block);
131 BlockData *block;
138 void InsertOnStructure(BlockData *block);
Ddisk_blocks.cc24 BlockData::BlockData() : address_(0), size_(0), in BlockData() function in BlockData
30 BlockData::~BlockData() { in ~BlockData()
34 void BlockData::set_initialized() { in set_initialized()
40 bool BlockData::initialized() const { in initialized()
81 void DiskBlockTable::InsertOnStructure(BlockData *block) { in InsertOnStructure()
99 int DiskBlockTable::RemoveBlock(BlockData *block) { in RemoveBlock()
132 int DiskBlockTable::ReleaseBlock(BlockData *block) { in ReleaseBlock()
147 BlockData *DiskBlockTable::GetRandomBlock() { in GetRandomBlock()
168 BlockData *b = it->second->block; in GetRandomBlock()
195 BlockData *DiskBlockTable::GetUnusedBlock(int64 segment) { in GetUnusedBlock()
[all …]
Dworker.h722 virtual bool WriteBlockToDisk(int fd, BlockData *block);
725 virtual bool ValidateBlockOnDisk(int fd, BlockData *block);
764 std::queue<BlockData*> in_flight_sectors_; // Queue of sectors written but
Dworker.cc2864 BlockData *block = block_table_->GetUnusedBlock(segment); in DoWork()
2905 BlockData *block = in_flight_sectors_.front(); in DoWork()
3039 bool DiskThread::WriteBlockToDisk(int fd, BlockData *block) { in WriteBlockToDisk()
3091 bool DiskThread::ValidateBlockOnDisk(int fd, BlockData *block) { in ValidateBlockOnDisk()
3238 BlockData *block = block_table_->GetRandomBlock(); in DoWork()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DDWARFVisitor.cpp76 onValue((uint64_t)FormVal->BlockData.size(), true); in traverseDebugInfo()
78 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo()
79 FormVal->BlockData.size()), in traverseDebugInfo()
83 auto writeSize = FormVal->BlockData.size(); in traverseDebugInfo()
86 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo()
87 FormVal->BlockData.size()), in traverseDebugInfo()
92 auto writeSize = FormVal->BlockData.size(); in traverseDebugInfo()
95 MemoryBufferRef(StringRef((const char *)&FormVal->BlockData[0], in traverseDebugInfo()
96 FormVal->BlockData.size()), in traverseDebugInfo()
101 auto writeSize = FormVal->BlockData.size(); in traverseDebugInfo()
[all …]
DDWARFYAML.cpp119 if (!FormValue.BlockData.empty() || !IO.outputting()) in mapping()
120 IO.mapOptional("BlockData", FormValue.BlockData); in mapping()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp187 ArrayRef<uint8_t> BlockData; in readLongestContiguousChunk() local
189 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) in readLongestContiguousChunk()
192 BlockData = BlockData.drop_front(OffsetInFirstBlock); in readLongestContiguousChunk()
193 Buffer = ArrayRef<uint8_t>(BlockData.data(), ByteSpan); in readLongestContiguousChunk()
228 ArrayRef<uint8_t> BlockData; in tryReadContiguously() local
231 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) { in tryReadContiguously()
235 BlockData = BlockData.drop_front(OffsetInBlock); in tryReadContiguously()
236 Buffer = ArrayRef<uint8_t>(BlockData.data(), Size); in tryReadContiguously()
255 ArrayRef<uint8_t> BlockData; in readBytes() local
257 if (auto EC = MsfData.readBytes(Offset, BlockSize, BlockData)) in readBytes()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp171 auto BlockData = Val.getValue(); in dumpDebugInfo() local
172 std::copy(BlockData.begin(), BlockData.end(), in dumpDebugInfo()
173 std::back_inserter(NewValue.BlockData)); in dumpDebugInfo()
175 NewValue.Value = NewValue.BlockData.size(); in dumpDebugInfo()
/external/v8/src/debug/
Ddebug-interface.h255 class V8_EXPORT_PRIVATE BlockData {
257 MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR(BlockData);
264 explicit BlockData(i::CoverageBlock* block, in BlockData() function
284 BlockData GetBlockData(size_t i) const;
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.h57 const uint8_t *BlockData() const;
DDWARFFormValue.cpp399 const uint8_t *DWARFFormValue::BlockData() const { in BlockData() function in DWARFFormValue
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDWARFDebugInfoTest.cpp51 const uint8_t BlockData[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}; in TestAllForms() local
52 const uint32_t BlockSize = sizeof(BlockData); in TestAllForms()
97 CUDie.addAttribute(Attr_DW_FORM_block, DW_FORM_block, BlockData, BlockSize); in TestAllForms()
100 CUDie.addAttribute(Attr_DW_FORM_block1, DW_FORM_block1, BlockData, BlockSize); in TestAllForms()
103 CUDie.addAttribute(Attr_DW_FORM_block2, DW_FORM_block2, BlockData, BlockSize); in TestAllForms()
106 CUDie.addAttribute(Attr_DW_FORM_block4, DW_FORM_block4, BlockData, BlockSize); in TestAllForms()
256 EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0); in TestAllForms()
264 EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0); in TestAllForms()
272 EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0); in TestAllForms()
280 EXPECT_TRUE(memcmp(ExtractedBlockData.data(), BlockData, BlockSize) == 0); in TestAllForms()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp81 struct BlockData { struct
87 SmallVector<BlockData, SmallVectorThreshold> Block;
89 iterator_range<succ_iterator> successors(BlockData const &BD) const { in successors()
94 BlockData &getBlockData(BasicBlock *BB) { in getBlockData()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DLinePrinter.cpp258 ArrayRef<uint8_t> BlockData = in formatMsfStreamBlocks() local
262 OS << format_bytes_with_ascii(BlockData, BaseOffset, 32, 4, in formatMsfStreamBlocks()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h93 std::vector<llvm::yaml::Hex8> BlockData; member
/external/v8/src/inspector/
Dv8-profiler-agent-impl.cc360 v8::debug::Coverage::BlockData block_data = in coverageToProtocol()
/external/v8/src/
Dapi.cc9861 int debug::Coverage::BlockData::StartOffset() const { return block_->start; } in StartOffset()
9862 int debug::Coverage::BlockData::EndOffset() const { return block_->end; } in EndOffset()
9863 uint32_t debug::Coverage::BlockData::Count() const { return block_->count; } in Count()
9885 debug::Coverage::BlockData debug::Coverage::FunctionData::GetBlockData( in GetBlockData()
9887 return BlockData(&function_->blocks.at(i), coverage_); in GetBlockData()
Dd8.cc2074 debug::Coverage::BlockData block_data = function_data.GetBlockData(k); in WriteLcovData()