Home
last modified time | relevance | path

Searched refs:chunks_ (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_buffer.cc28 chunks_.reserve(max_chunks); in TraceBufferRingBuffer()
42 if (*index >= chunks_.size()) in GetChunk()
43 chunks_.resize(*index + 1); in GetChunk()
45 TraceBufferChunk* chunk = chunks_[*index].release(); in GetChunk()
46 chunks_[*index] = NULL; // Put NULL in the slot of a in-flight chunk. in GetChunk()
60 DCHECK_LT(index, chunks_.size()); in ReturnChunk()
61 DCHECK(!chunks_[index]); in ReturnChunk()
62 chunks_[index] = std::move(chunk); in ReturnChunk()
71 return chunks_.size() * TraceBufferChunk::kTraceBufferChunkSize; in Size()
79 if (handle.chunk_index >= chunks_.size()) in GetEventByHandle()
[all …]
/external/ceres-solver/internal/ceres/
Dschur_eliminator_impl.h92 chunks_.clear(); in Init()
117 chunks_.push_back(Chunk()); in Init()
118 Chunk& chunk = chunks_.back(); in Init()
149 const Chunk& chunk = chunks_.back(); in Init()
153 random_shuffle(chunks_.begin(), chunks_.end()); in Init()
223 for (int i = 0; i < chunks_.size(); ++i) { in Eliminate()
230 const Chunk& chunk = chunks_[i]; in Eliminate()
311 for (int i = 0; i < chunks_.size(); ++i) { in BackSubstitute()
312 const Chunk& chunk = chunks_[i]; in BackSubstitute()
Dschur_eliminator.h322 vector<Chunk> chunks_; variable
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h1056 chunks_[idx] = h; in Allocate()
1082 CHECK_EQ(chunks_[idx], h); in Deallocate()
1084 chunks_[idx] = chunks_[n_chunks_ - 1]; in Deallocate()
1085 chunks_[idx]->chunk_idx = idx; in Deallocate()
1101 Header *h = chunks_[i]; in TotalMemoryUsed()
1132 uptr ch = reinterpret_cast<uptr>(chunks_[i]); in GetBlockBegin()
1157 SortArray(reinterpret_cast<uptr*>(chunks_), n); in GetBlockBeginFastLocked()
1159 chunks_[i]->chunk_idx = i; in GetBlockBeginFastLocked()
1161 min_mmap_ = reinterpret_cast<uptr>(chunks_[0]); in GetBlockBeginFastLocked()
1162 max_mmap_ = reinterpret_cast<uptr>(chunks_[n - 1]) + in GetBlockBeginFastLocked()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet.cc421 assert(!chunks_.empty()); in Create()
426 CreateHeader(chunks_.size(), PT_SDES, HeaderLength(), packet, index); in Create()
427 CreateSdes(chunks_, packet, index); in Create()
433 if (chunks_.size() >= kMaxNumberOfChunks) { in WithCName()
445 chunks_.push_back(chunk); in WithCName()
454 for (const Chunk& chunk : chunks_) in BlockLength()
Drtcp_packet.h252 std::vector<Chunk> chunks_; variable
/external/v8/src/heap/
Dspaces-inl.h169 base::OS::Protect(chunks_[id].address(), chunks_[id].size()); in ProtectChunkFromPage()
175 base::OS::Unprotect(chunks_[id].address(), chunks_[id].size(), in UnprotectChunkFromPage()
176 chunks_[id].owner()->executable() == EXECUTABLE); in UnprotectChunkFromPage()
/external/v8/src/
Dutils.h572 for (int i = chunks_.length() - 1; i >= 0; i--) {
573 chunks_.at(i).Dispose();
628 for (int i = 0; i < chunks_.length(); i++) {
629 Vector<T> chunk = chunks_.at(i);
653 for (int i = chunks_.length() - 1; i >= 0; i--) {
654 chunks_.at(i).Dispose();
656 chunks_.Rewind(0);
666 List<Vector<T> > chunks_;
701 chunks_.Add(current_chunk_.SubVector(0, index_));
774 this->chunks_.Add(this->current_chunk_.SubVector(0, sequence_start_));
/external/opencv3/3rdparty/libwebp/demux/
Ddemux.c75 Chunk* chunks_; // non-image chunks member
180 Chunk** c = &dmux->chunks_; in AddChunk()
717 for (c = dmux->chunks_; c != NULL;) { in WebPDemuxDelete()
878 for (c = dmux->chunks_; c != NULL; c = c->next_) { in ChunkCount()
890 for (c = dmux->chunks_; c != NULL; c = c->next_) { in GetChunk()
/external/webp/src/demux/
Ddemux.c72 Chunk* chunks_; // non-image chunks member
657 dmux->chunks_tail_ = &dmux->chunks_; in InitDemux()
765 for (c = dmux->chunks_; c != NULL;) { in WebPDemuxDelete()
893 for (c = dmux->chunks_; c != NULL; c = c->next_) { in ChunkCount()
905 for (c = dmux->chunks_; c != NULL; c = c->next_) { in GetChunk()
/external/v8/test/cctest/
Dtest-api.cc22884 explicit TestSourceStream(const char** chunks) : chunks_(chunks), index_(0) {} in TestSourceStream()
22888 if (chunks_[index_] == NULL) { in GetMoreData()
22892 size_t len = strlen(chunks_[index_]); in GetMoreData()
22895 memcpy(copy, chunks_[index_], len); in GetMoreData()
22920 const char** chunks_; member in TestSourceStream