Home
last modified time | relevance | path

Searched refs:blocks_ (Results 1 – 5 of 5) sorted by relevance

/external/chromium/net/tools/flip_server/
Dbalsa_headers.cc84 for (Blocks::const_iterator iter = blocks_.begin(); in GetTotalBufferBlockSize()
85 iter != blocks_.end(); in GetTotalBufferBlockSize()
97 DCHECK_GE(blocks_.size(), 1u); in WriteToContiguousBuffer()
98 if (blocks_[0].buffer == NULL && sp.size() <= blocksize_) { in WriteToContiguousBuffer()
99 blocks_[0] = AllocBlock(); in WriteToContiguousBuffer()
100 memcpy(blocks_[0].start_of_unused_bytes(), sp.data(), sp.size()); in WriteToContiguousBuffer()
101 } else if (blocks_[0].bytes_free < sp.size()) { in WriteToContiguousBuffer()
103 const size_t old_storage_size_used = blocks_[0].bytes_used(); in WriteToContiguousBuffer()
106 char* old_storage = blocks_[0].buffer; in WriteToContiguousBuffer()
111 blocks_[0].buffer = new_storage; in WriteToContiguousBuffer()
[all …]
Dbalsa_headers.h105 DCHECK_LT(block_idx, blocks_.size()) in GetPtr()
106 << block_idx << ", " << blocks_.size(); in GetPtr()
107 return blocks_[block_idx].buffer; in GetPtr()
111 DCHECK_LT(block_idx, blocks_.size()) in GetPtr()
112 << block_idx << ", " << blocks_.size(); in GetPtr()
113 return blocks_[block_idx].buffer; in GetPtr()
166 return blocks_[0].buffer; in StartOfFirstBlock()
170 return blocks_[0].buffer + blocks_[0].bytes_used(); in EndOfFirstBlock()
177 Blocks::size_type num_blocks() const { return blocks_.size(); } in num_blocks()
178 size_t buffer_size(size_t idx) const { return blocks_[idx].buffer_size; } in buffer_size()
[all …]
/external/v8/src/
Dapi.h401 blocks_(0),
440 inline List<internal::Object**>* blocks() { return &blocks_; }
444 blocks_.Initialize(0);
452 ASSERT(blocks_.length() == 0);
455 blocks_.Free();
466 List<internal::Object**> blocks_; local
531 while (!blocks_.is_empty()) {
532 internal::Object** block_start = blocks_.last();
541 blocks_.RemoveLast();
550 ASSERT((blocks_.is_empty() && prev_limit == NULL) ||
[all …]
Dhydrogen.cc427 blocks_.Add(block); in AddBlock()
485 for (int i = 0; i < blocks_.length(); i++) { in Verify()
486 HBasicBlock* block = blocks_.at(i); in Verify()
533 ASSERT(blocks_.at(0)->predecessors()->is_empty()); in Verify()
537 ReachabilityAnalyzer analyzer(entry_block_, blocks_.length(), NULL); in Verify()
538 ASSERT(analyzer.visited_count() == blocks_.length()); in Verify()
544 for (int i = 0; i < blocks_.length(); ++i) { in Verify()
545 HBasicBlock* block = blocks_.at(i); in Verify()
552 blocks_.length(), in Verify()
672 blocks_(8), in HGraph()
[all …]
Dhydrogen.h217 blocks_(8), in HLoopInformation()
219 blocks_.Add(loop_header); in HLoopInformation()
224 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } in blocks()
239 ZoneList<HBasicBlock*> blocks_; variable
251 const ZoneList<HBasicBlock*>* blocks() const { return &blocks_; } in blocks()
365 ZoneList<HBasicBlock*> blocks_; variable