Home
last modified time | relevance | path

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

/external/v8/src/snapshot/
Ddefault-deserializer-allocator.cc53 int chunk_index = current_chunk_[space]; in AllocateRaw() local
54 DCHECK_LE(high_water_[space], reservation[chunk_index].end); in AllocateRaw()
88 uint32_t chunk_index = current_chunk_[space]; in MoveToNextChunk() local
91 CHECK_EQ(reservation[chunk_index].end, high_water_[space]); in MoveToNextChunk()
93 chunk_index = ++current_chunk_[space]; in MoveToNextChunk()
94 CHECK_LT(chunk_index, reservation.size()); in MoveToNextChunk()
95 high_water_[space] = reservation[chunk_index].start; in MoveToNextChunk()
109 uint32_t chunk_index, in GetObject() argument
112 DCHECK_LE(chunk_index, current_chunk_[space]); in GetObject()
113 Address address = reservations_[space][chunk_index].start + chunk_offset; in GetObject()
[all …]
Ddefault-serializer-allocator.cc96 size_t chunk_index = reference.chunk_index(); in BackReferenceIsAlreadyAllocated() local
97 if (chunk_index == completed_chunks_[space].size()) { in BackReferenceIsAlreadyAllocated()
100 return chunk_index < completed_chunks_[space].size() && in BackReferenceIsAlreadyAllocated()
101 reference.chunk_offset() < completed_chunks_[space][chunk_index]; in BackReferenceIsAlreadyAllocated()
Dreferences.h35 SerializerReference(uint32_t space, uint32_t chunk_index, in SerializerReference() argument
38 ChunkIndexBits::encode(chunk_index)), in SerializerReference()
42 uint32_t chunk_index, in BackReference() argument
46 return SerializerReference(space, chunk_index, chunk_offset); in BackReference()
88 uint32_t chunk_index() const { in chunk_index() function
Ddeserializer.cc293 uint32_t chunk_index = source_.GetInt(); in GetBackReferencedObject() local
298 for (uint32_t i = 0; i < chunk_index; ++i) { in GetBackReferencedObject()
305 chunk_index, chunk_offset); in GetBackReferencedObject()
310 uint32_t chunk_index = source_.GetInt(); in GetBackReferencedObject() local
313 chunk_index, chunk_offset); in GetBackReferencedObject()
Ddefault-deserializer-allocator.h55 HeapObject* GetObject(AllocationSpace space, uint32_t chunk_index,
Dbuiltin-deserializer-allocator.h76 HeapObject* GetObject(AllocationSpace space, uint32_t chunk_index, in GetObject() argument
Dcode-serializer.cc112 uint32_t chunk_index = 0; in SerializeReadOnlyObject() local
115 ++chunk_index; in SerializeReadOnlyObject()
119 SerializerReference::BackReference(RO_SPACE, chunk_index, chunk_offset); in SerializeReadOnlyObject()
Dserializer.cc294 sink_.PutInt(reference.chunk_index(), "BackRefChunkIndex"); in PutBackReference()
/external/v8/src/libplatform/tracing/
Dtrace-buffer.cc41 size_t chunk_index, event_index; in GetEventByHandle() local
43 ExtractHandle(handle, &chunk_index, &chunk_seq, &event_index); in GetEventByHandle()
44 if (chunk_index >= chunks_.size()) return nullptr; in GetEventByHandle()
45 auto& chunk = chunks_[chunk_index]; in GetEventByHandle()
69 uint64_t TraceBufferRingBuffer::MakeHandle(size_t chunk_index, in MakeHandle() argument
73 chunk_index * TraceBufferChunk::kChunkSize + event_index; in MakeHandle()
76 void TraceBufferRingBuffer::ExtractHandle(uint64_t handle, size_t* chunk_index, in ExtractHandle() argument
81 *chunk_index = indices / TraceBufferChunk::kChunkSize; in ExtractHandle()
Dtrace-buffer.h28 uint64_t MakeHandle(size_t chunk_index, uint32_t chunk_seq,
30 void ExtractHandle(uint64_t handle, size_t* chunk_index, uint32_t* chunk_seq,
/external/v8/src/
Dunicode.cc436 int chunk_index = c >> 13; in Is() local
437 switch (chunk_index) { in Is()
630 int chunk_index = c >> 13; in Is() local
631 switch (chunk_index) { in Is()
853 int chunk_index = c >> 13; in Is() local
854 switch (chunk_index) { in Is()
993 int chunk_index = c >> 13; in Is() local
994 switch (chunk_index) { in Is()
1019 int chunk_index = c >> 13; in Is() local
1020 switch (chunk_index) { in Is()
[all …]
/external/perfetto/src/protozero/test/
Dfake_scattered_buffer.cc54 std::string FakeScatteredBuffer::GetChunkAsString(size_t chunk_index) { in GetChunkAsString() argument
55 return ToHex(chunks_[chunk_index].get(), chunk_size_); in GetChunkAsString()
61 size_t chunk_index = (start + pos) / chunk_size_; in GetBytes() local
63 buf[pos] = chunks_[chunk_index].get()[chunk_offset]; in GetBytes()
Dfake_scattered_buffer.h38 std::string GetChunkAsString(size_t chunk_index);
/external/tensorflow/tensorflow/python/distribute/
Dall_reduce.py345 chunk_index = (seg_index * num_subchunks) + s
346 new_partial_reductions[chunk_index] = red_op(
347 chunks_by_dev[pred_dev][chunk_index],
348 chunks_by_dev[d][chunk_index])
354 chunk_index = (seg_index * num_subchunks) + s
355 chunks_by_dev[d][chunk_index] = new_partial_reductions[chunk_index]
409 chunk_index = (seg_index * num_subchunks) + s
410 passed_values[chunk_index] = array_ops.identity(
411 chunks_by_dev[pred_dev][chunk_index])
416 chunk_index = (seg_index * num_subchunks) + s
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Dgrpc_debug_server.py253 chunk_index = debugger_plugin_metadata["chunkIndex"]
267 chunks[chunk_index] = value.tensor
269 chunks[chunk_index] = event
306 chunk_index = int(event.graph_def[index_bar_0 + 1 : index_bar_1])
311 chunk_index] = event.graph_def[index_bar_2 + 1:]
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_using_gemm.cc328 for (int64 chunk_index = 0; chunk_index < chunk_count; ++chunk_index) { in operator ()() local
329 const int64 patch_index_start = chunk_index * patches_per_chunk; in operator ()()
Dquantized_conv_ops.cc296 for (int64 chunk_index = 0; chunk_index < chunk_count; ++chunk_index) { in operator ()() local
297 const int64 patch_index_start = chunk_index * patches_per_chunk; in operator ()()
/external/tensorflow/tensorflow/core/debug/
Ddebugger_event_metadata.proto10 int32 chunk_index = 4; field
Ddebug_io_utils.cc63 const size_t chunk_index, in PrepareChunkEventProto() argument
85 metadata.set_chunk_index(chunk_index); in PrepareChunkEventProto()
/external/gemmlowp/meta/
Dtest_streams_correctness.cc71 int chunk_index = i * rows * 8; in check() local
75 if (result[chunk_index + j * 8 + k] != chunk_start_value + k) { in check()