Lines Matching defs:index
185 // at index i are retained by the primary object via a chain of i+1
195 FromIndexField::encode(from->index())),
205 HeapGraphEdge::HeapGraphEdge(Type type, int index, HeapEntry* from,
208 FromIndexField::encode(from->index())),
210 index_(index) {
214 HeapEntry::HeapEntry(HeapSnapshot* snapshot, int index, Type type,
218 index_(index),
225 DCHECK_GE(index, 0);
286 void HeapEntry::SetIndexedReference(HeapGraphEdge::Type type, int index,
291 snapshot_->edges().emplace_back(type, index, this, entry);
301 int index = children_count_ + 1;
303 ? names->GetFormatted("%d / %s", index, description)
304 : names->GetName(index);
331 base::EmbeddedVector<char, 64> index;
332 edge_name = index.begin();
339 SNPrintF(index, "%d", edge.index());
350 SNPrintF(index, "%d", edge.index());
361 SNPrintF(index, "!!! unknown edge type: %d ", edge.type());
448 locations_.emplace_back(entry->index(), scriptId, line, col);
504 // The dummy element at zero index is needed as entries_map_ cannot hold
1288 int index;
1291 #define CONTEXT_FIELD_INDEX_NAME(index, _, name) {Context::index, #name},
1303 int idx = scope_info.ContextHeaderLength() + it->index();
1332 int index = native_context_names[i].index;
1334 SetInternalReference(entry, name, context.get(index),
1335 FixedArray::OffsetOfElementAt(index));
1848 uint32_t index = static_cast<uint32_t>(k.Number());
1849 SetElementReference(entry, index, dictionary.ValueAt(i));
2083 int index = offset / kTaggedSize;
2084 DCHECK(!visited_fields_[index]);
2085 visited_fields_[index] = true;
2097 void V8HeapExplorer::SetElementReference(HeapEntry* parent_entry, int index,
2101 parent_entry->SetIndexedReference(HeapGraphEdge::kElement, index, child_entry,
2118 void V8HeapExplorer::SetInternalReference(HeapEntry* parent_entry, int index,
2126 names_->GetName(index), child_entry,
2132 HeapEntry* parent_entry, int index,
2142 parent_entry->SetIndexedReference(HeapGraphEdge::kHidden, index,
2160 void V8HeapExplorer::SetWeakReference(HeapEntry* parent_entry, int index,
2169 names_->GetFormatted("%d", index),
2234 // names->GetFormatted("%d / %s", index, description)
2694 // type, name|index, to_node.
2713 DCHECK_EQ(0, snapshot_->root()->index());
2820 ? edge->index() : GetStringId(edge->name());
2839 edges[i - 1]->from()->index() <= edges[i]->from()->index());
3152 int index = static_cast<int>(reinterpret_cast<uintptr_t>(entry->value));
3153 sorted_strings[index] = reinterpret_cast<const unsigned char*>(entry->key);