Home
last modified time | relevance | path

Searched refs:chunk_index (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/base/trace_event/
Dtrace_buffer.cc79 if (handle.chunk_index >= chunks_.size()) in GetEventByHandle()
81 TraceBufferChunk* chunk = chunks_[handle.chunk_index].get(); in GetEventByHandle()
92 size_t chunk_index = recyclable_chunks_queue_[current_iteration_index_]; in NextChunk() local
94 if (chunk_index >= chunks_.size()) // Skip uninitialized chunks. in NextChunk()
96 DCHECK(chunks_[chunk_index]); in NextChunk()
97 return chunks_[chunk_index].get(); in NextChunk()
106 size_t chunk_index = recyclable_chunks_queue_[queue_index]; in CloneForIteration() local
107 if (chunk_index >= chunks_.size()) // Skip uninitialized chunks. in CloneForIteration()
109 TraceBufferChunk* chunk = chunks_[chunk_index].get(); in CloneForIteration()
120 size_t chunk_index = recyclable_chunks_queue_[queue_index]; in EstimateTraceMemoryOverhead() local
[all …]
Dtrace_event_unittest.cc2633 size_t chunk_index; in TEST_F() local
2638 chunks[i] = buffer->GetChunk(&chunk_index).release(); in TEST_F()
2640 EXPECT_EQ(i, chunk_index); in TEST_F()
2656 chunks[i] = buffer->GetChunk(&chunk_index).release(); in TEST_F()
2658 EXPECT_EQ(i, chunk_index); in TEST_F()
2672 chunks[i] = buffer->GetChunk(&chunk_index).release(); in TEST_F()
2674 EXPECT_EQ(num_chunks - i - 1, chunk_index); in TEST_F()
2692 size_t chunk_index; in TEST_F() local
2700 chunks[i] = buffer->GetChunk(&chunk_index).release(); in TEST_F()
2702 EXPECT_EQ(i, chunk_index); in TEST_F()
[all …]
Dtrace_event_impl.h78 unsigned chunk_index : 26; member
Dtrace_log.cc168 size_t chunk_index, in MakeHandle() argument
172 DCHECK(chunk_index <= TraceBufferChunk::kMaxChunkIndex); in MakeHandle()
175 handle->chunk_index = static_cast<uint16_t>(chunk_index); in MakeHandle()
216 handle.chunk_index != chunk_index_) { in GetEventByHandle()
1591 handle.chunk_index == thread_shared_chunk_index_) { in GetEventByHandleInternal()
/external/v8/src/
Dunicode.cc459 int chunk_index = c >> 13; in Is() local
460 switch (chunk_index) { in Is()
645 int chunk_index = c >> 13; in Is() local
646 switch (chunk_index) { in Is()
837 int chunk_index = c >> 13; in Is() local
838 switch (chunk_index) { in Is()
1059 int chunk_index = c >> 13; in Is() local
1060 switch (chunk_index) { in Is()
1199 int chunk_index = c >> 13; in Is() local
1200 switch (chunk_index) { in Is()
[all …]
Daddress-map.h82 static BackReference Reference(AllocationSpace space, uint32_t chunk_index, in Reference() argument
87 SpaceBits::encode(space) | ChunkIndexBits::encode(chunk_index) | in Reference()
107 DCHECK(chunk_index() == 0); in large_object_index()
111 uint32_t chunk_index() const { in chunk_index() function
/external/v8/src/snapshot/
Dserialize.cc764 CHECK(back_reference.chunk_index() == 0); in GetBackReferencedObject()
769 uint32_t chunk_index = back_reference.chunk_index(); in GetBackReferencedObject() local
770 DCHECK_LE(chunk_index, current_chunk_[space]); in GetBackReferencedObject()
772 Address address = reservations_[space][chunk_index].start + chunk_offset; in GetBackReferencedObject()
870 int chunk_index = current_chunk_[space_index]; in Allocate() local
871 CHECK_LE(high_water_[space_index], reservation[chunk_index].end); in Allocate()
1127 int chunk_index = current_chunk_[space]; in ReadData() local
1130 CHECK_EQ(reservation[chunk_index].end, high_water_[space]); in ReadData()
1132 chunk_index = ++current_chunk_[space]; in ReadData()
1133 CHECK_LT(chunk_index, reservation.length()); in ReadData()
[all …]
/external/v8/src/debug/
Dliveedit.js595 var chunk_index = 0;
597 this.current = function() { return chunks[chunk_index]; };
599 var chunk = chunks[chunk_index];
601 chunk_index++;
603 this.done = function() { return chunk_index >= chunks.length; };