Home
last modified time | relevance | path

Searched full:blockdata (Results 1 – 25 of 34) sorted by relevance

12

/external/stressapptest/src/
Ddisk_blocks.cc23 // BlockData
24 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()
[all …]
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);
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
/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/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/
DFramedLZ4CompressorOutputStream.java44 private final byte[] blockData; field in FramedLZ4CompressorOutputStream
192 blockData = new byte[params.blockSize.getSize()]; in FramedLZ4CompressorOutputStream()
213 if (currentIndex + len > blockData.length) { in write()
215 while (len > blockData.length) { in write()
216 System.arraycopy(data, off, blockData, 0, blockData.length); in write()
217 off += blockData.length; in write()
218 len -= blockData.length; in write()
219 currentIndex = blockData.length; in write()
223 System.arraycopy(data, off, blockData, currentIndex, len); in write()
279 o.write(blockData, 0, currentIndex); in flushBlock()
[all …]
/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/test/ObjectYAML/MachO/
DDWARF2-AddrSize8-FormValues.yaml359 BlockData:
371 BlockData:
383 BlockData:
395 BlockData:
441 #CHECK: BlockData:
453 #CHECK: BlockData:
465 #CHECK: BlockData:
477 #CHECK: BlockData:
DDWARF5-debug_info.yaml409 BlockData:
420 BlockData:
430 BlockData:
535 #CHECK: BlockData:
546 #CHECK: BlockData:
556 #CHECK: BlockData:
DDWARF-debug_info.yaml408 BlockData:
419 BlockData:
429 BlockData:
534 #CHECK: BlockData:
545 #CHECK: BlockData:
555 #CHECK: BlockData:
DDWARF-debug_line.yaml447 BlockData:
458 BlockData:
468 BlockData:
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMutableCodePointTrie.java792 int findBlock(int[] data, int[] blockData, int blockStart) { in findBlock() argument
793 int hashCode = makeHashCode(blockData, blockStart); in findBlock()
794 int entryIndex = findEntry(data, null, blockData, null, blockStart, hashCode); in findBlock()
802 int findBlock(char[] data, int[] blockData, int blockStart) { in findBlock() argument
803 int hashCode = makeHashCode(blockData, blockStart); in findBlock()
804 int entryIndex = findEntry(null, data, blockData, null, blockStart, hashCode); in findBlock()
812 int findBlock(char[] data, char[] blockData, int blockStart) { in findBlock() argument
813 int hashCode = makeHashCode(blockData, blockStart); in findBlock()
814 int entryIndex = findEntry(null, data, null, blockData, blockStart, hashCode); in findBlock()
832 private int makeHashCode(int[] blockData, int blockStart) { in makeHashCode() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DMutableCodePointTrie.java785 int findBlock(int[] data, int[] blockData, int blockStart) { in findBlock() argument
786 int hashCode = makeHashCode(blockData, blockStart); in findBlock()
787 int entryIndex = findEntry(data, null, blockData, null, blockStart, hashCode); in findBlock()
795 int findBlock(char[] data, int[] blockData, int blockStart) { in findBlock() argument
796 int hashCode = makeHashCode(blockData, blockStart); in findBlock()
797 int entryIndex = findEntry(null, data, blockData, null, blockStart, hashCode); in findBlock()
805 int findBlock(char[] data, char[] blockData, int blockStart) { in findBlock() argument
806 int hashCode = makeHashCode(blockData, blockStart); in findBlock()
807 int entryIndex = findEntry(null, data, null, blockData, blockStart, hashCode); in findBlock()
825 private int makeHashCode(int[] blockData, int blockStart) { in makeHashCode() argument
[all …]
/external/deqp/framework/common/
DtcuAstcUtil.cpp484 DecompressResult decodeVoidExtentBlock (void* dst, const Block128& blockData, int blockWidth, int b… in decodeVoidExtentBlock() argument
486 const deUint32 minSExtent = blockData.getBits(12, 24); in decodeVoidExtentBlock()
487 const deUint32 maxSExtent = blockData.getBits(25, 37); in decodeVoidExtentBlock()
488 const deUint32 minTExtent = blockData.getBits(38, 50); in decodeVoidExtentBlock()
489 const deUint32 maxTExtent = blockData.getBits(51, 63); in decodeVoidExtentBlock()
491 const bool isHDRBlock = blockData.isBitSet(9); in decodeVoidExtentBlock()
501 blockData.getBits(64, 79), in decodeVoidExtentBlock()
502 blockData.getBits(80, 95), in decodeVoidExtentBlock()
503 blockData.getBits(96, 111), in decodeVoidExtentBlock()
504 blockData.getBits(112, 127) in decodeVoidExtentBlock()
[all …]
/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/dng_sdk/source/
Ddng_iptc.h138 /// \param blockData The block of IPTC data.
142 void Parse (const void *blockData,
Ddng_iptc.cpp224 void dng_iptc::Parse (const void *blockData, in Parse() argument
229 dng_stream stream (blockData, in Parse()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockFieldMatrix.java126 * @exception IllegalArgumentException if <code>blockData</code> shape is
140 * @param blockData data for new matrix
144 * @exception IllegalArgumentException if <code>blockData</code> shape is
151 final T[][] blockData, final boolean copyArray) in BlockFieldMatrix() argument
154 super(extractField(blockData), rows, columns); in BlockFieldMatrix()
167 blocks = blockData; in BlockFieldMatrix()
174 if (blockData[index].length != iHeight * blockWidth(jBlock)) { in BlockFieldMatrix()
177 blockData[index].length, iHeight * blockWidth(jBlock)); in BlockFieldMatrix()
180 blocks[index] = blockData[index].clone(); in BlockFieldMatrix()
DBlockRealMatrix.java123 * @exception IllegalArgumentException if <code>blockData</code> shape is
137 * @param blockData data for new matrix
141 * @exception IllegalArgumentException if <code>blockData</code> shape is
148 final double[][] blockData, final boolean copyArray) in BlockRealMatrix() argument
164 blocks = blockData; in BlockRealMatrix()
171 if (blockData[index].length != iHeight * blockWidth(jBlock)) { in BlockRealMatrix()
174 blockData[index].length, iHeight * blockWidth(jBlock)); in BlockRealMatrix()
177 blocks[index] = blockData[index].clone(); in BlockRealMatrix()
/external/icu/icu4c/source/common/
Dumutablecptrie.cpp818 int32_t findBlock(const UIntA *data, const UIntB *blockData, int32_t blockStart) const { in findBlock() argument
819 uint32_t hashCode = makeHashCode(blockData, blockStart); in findBlock()
820 int32_t entryIndex = findEntry(data, blockData, blockStart, hashCode); in findBlock()
840 uint32_t makeHashCode(const UInt *blockData, int32_t blockStart) const { in makeHashCode() argument
842 uint32_t hashCode = blockData[blockStart++]; in makeHashCode()
844 hashCode = 37 * hashCode + blockData[blockStart++]; in makeHashCode()
867 int32_t findEntry(const UIntA *data, const UIntB *blockData, int32_t blockStart, in findEntry() argument
878 if (equalBlocks(data + dataIndex, blockData + blockStart, blockLength)) { in findEntry()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFFormValue.h57 const uint8_t *BlockData() const;
/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/lib/Transforms/Coroutines/
DCoroFrame.cpp69 // For every basic block 'i' it maintains a BlockData that consists of:
81 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/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()

12