/external/v8/src/asmjs/ |
D | switch-logic.cc | 20 size_t root_index = (begin + end) / 2; in CreateBst() local 21 CaseNode* root = nodes->at(root_index); in CreateBst() 22 if (root_index != 0) { in CreateBst() 23 root->left = CreateBst(nodes, begin, root_index - 1); in CreateBst() 25 root->right = CreateBst(nodes, root_index + 1, end); in CreateBst()
|
/external/v8/src/ |
D | address-map.cc | 18 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); in RootIndexMap() local 19 Object* root = isolate->heap()->root(root_index); in RootIndexMap() 25 if (isolate->heap()->RootCanBeTreatedAsConstant(root_index)) { in RootIndexMap() 38 CHECK(!Heap::RootIsImmortalImmovable(root_index)); in RootIndexMap()
|
D | turbo-assembler.cc | 35 Heap::RootListIndex root_index; in IndirectLoadConstant() local 36 if (isolate()->heap()->IsRootHandle(object, &root_index)) { in IndirectLoadConstant() 38 LoadRoot(destination, root_index); in IndirectLoadConstant() 87 int32_t TurboAssemblerBase::RootRegisterOffset(Heap::RootListIndex root_index) { in RootRegisterOffset() argument 88 return (root_index << kPointerSizeLog2) - kRootRegisterBias; in RootRegisterOffset()
|
D | turbo-assembler.h | 54 static int32_t RootRegisterOffset(Heap::RootListIndex root_index);
|
D | disassembler.cc | 102 Heap::RootListIndex root_index = in RootRelativeName() local 107 isolate_->heap()->root(root_index)->ShortPrint(&accumulator); in RootRelativeName()
|
D | objects-debug.cc | 2123 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(i); in CanLeak() local 2124 if (map == heap->root(root_index)) return false; in CanLeak()
|
D | code-stub-assembler.cc | 1460 Heap::RootListIndex root_index) { in LoadAndUntagToWord32Root() argument 1463 int index = root_index * kPointerSize; in LoadAndUntagToWord32Root() 2721 Heap::RootListIndex root_index) { in StoreObjectFieldRoot() argument 2722 if (Heap::RootIsImmortalImmovable(root_index)) { in StoreObjectFieldRoot() 2723 return StoreObjectFieldNoWriteBarrier(object, offset, LoadRoot(root_index)); in StoreObjectFieldRoot() 2725 return StoreObjectField(object, offset, LoadRoot(root_index)); in StoreObjectFieldRoot() 10039 Heap::RootListIndex root_index) { in InitializeFieldsWithRoot() argument 10043 Node* root_value = LoadRoot(root_index); in InitializeFieldsWithRoot()
|
D | code-stub-assembler.h | 824 TNode<Int32T> LoadAndUntagToWord32Root(Heap::RootListIndex root_index);
|
/external/v8/src/snapshot/ |
D | startup-serializer.cc | 37 int root_index = root_index_map()->Lookup(obj); in SerializeObject() local 40 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 41 if (root_has_been_serialized(root_index)) { in SerializeObject() 42 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject() 139 int root_index = static_cast<int>(current - start); in VisitRootPointers() local 140 root_has_been_serialized_.set(root_index); in VisitRootPointers()
|
D | builtin-serializer.cc | 98 int root_index = root_index_map()->Lookup(o); in SerializeObject() local 99 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 100 DCHECK(startup_serializer_->root_has_been_serialized(root_index)); in SerializeObject() 101 PutRoot(root_index, o, how_to_code, where_to_point, skip); in SerializeObject()
|
D | partial-serializer.cc | 62 int root_index = root_index_map()->Lookup(obj); in SerializeObject() local 63 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 64 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
|
D | startup-serializer.h | 31 bool root_has_been_serialized(int root_index) const { in root_has_been_serialized() argument 32 return root_has_been_serialized_.test(root_index); in root_has_been_serialized()
|
D | serializer.cc | 243 int root_index, HeapObject* object, in PutRoot() argument 247 PrintF(" Encoding root %d:", root_index); in PutRoot() 258 root_index < kNumberOfRootArrayConstants && !Heap::InNewSpace(object)) { in PutRoot() 260 sink_.Put(kRootArrayConstants + root_index, "RootConstant"); in PutRoot() 262 sink_.Put(kRootArrayConstantsWithSkip + root_index, "RootConstant"); in PutRoot() 268 sink_.PutInt(root_index, "root_index"); in PutRoot() 743 int root_index = serializer_->root_index_map()->Lookup(current_contents); in VisitPointers() local 746 if (current != start && root_index != RootIndexMap::kInvalidRootIndex && in VisitPointers() 747 Heap::RootIsImmortalImmovable(root_index) && in VisitPointers()
|
D | code-serializer.cc | 129 int root_index = root_index_map()->Lookup(obj); in SerializeObject() local 130 if (root_index != RootIndexMap::kInvalidRootIndex) { in SerializeObject() 131 PutRoot(root_index, obj, how_to_code, where_to_point, skip); in SerializeObject()
|
D | deserializer.cc | 687 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); in ReadData() local 689 MaybeObject::FromObject(isolate->heap()->root(root_index)); in ReadData() 821 Heap::RootListIndex root_index = static_cast<Heap::RootListIndex>(id); in ReadDataCase() local 822 new_object = isolate->heap()->root(root_index); in ReadDataCase()
|
/external/ImageMagick/MagickCore/ |
D | nt-base.c | 1135 static int NTLocateGhostscript(DWORD flags,int *root_index, in NTLocateGhostscript() argument 1157 *root_index=0; in NTLocateGhostscript() 1206 *root_index=j; in NTLocateGhostscript() 1247 root_index=0; in NTGhostscriptGetString() local 1291 (void) NTLocateGhostscript(flags,&root_index,&product_family, in NTGhostscriptGetString() 1305 (void) NTLocateGhostscript(flags,&root_index,&product_family, in NTGhostscriptGetString() 1318 if (NTGetRegistryValue(registry_roots[root_index].hkey,buffer,flags,name, in NTGhostscriptGetString() 1322 "registry: \"%s\\%s\\%s\"=\"%s\"",registry_roots[root_index].name, in NTGhostscriptGetString()
|
/external/v8/src/compiler/ |
D | code-assembler.cc | 955 TNode<Object> CodeAssembler::LoadRoot(Heap::RootListIndex root_index) { in LoadRoot() argument 956 if (isolate()->heap()->RootCanBeTreatedAsConstant(root_index)) { in LoadRoot() 957 Handle<Object> root = isolate()->heap()->root_handle(root_index); in LoadRoot() 971 IntPtrConstant(root_index * kPointerSize))); in LoadRoot() 1025 Node* CodeAssembler::StoreRoot(Heap::RootListIndex root_index, Node* value) { in StoreRoot() argument 1026 DCHECK(Heap::RootCanBeWrittenAfterInitialization(root_index)); in StoreRoot() 1030 IntPtrConstant(root_index * kPointerSize), value); in StoreRoot()
|
D | code-assembler.h | 811 TNode<Object> LoadRoot(Heap::RootListIndex root_index); 841 Node* StoreRoot(Heap::RootListIndex root_index, Node* value);
|
D | instruction-selector.cc | 473 Heap::RootListIndex root_index; in OperandForDeopt() local 474 if (isolate->heap()->IsRootHandle(constant, &root_index) && in OperandForDeopt() 475 root_index == Heap::kOptimizedOutRootIndex) { in OperandForDeopt()
|
D | simplified-lowering.cc | 1208 Heap::RootListIndex root_index; in WriteBarrierKindFor() local 1211 &root_index)) { in WriteBarrierKindFor() 1212 if (heap->RootIsImmortalImmovable(root_index)) { in WriteBarrierKindFor()
|
/external/v8/src/heap/ |
D | heap.h | 433 V8_EXPORT_PRIVATE static bool RootIsImmortalImmovable(int root_index); 440 static bool RootCanBeWrittenAfterInitialization(RootListIndex root_index); 900 bool RootCanBeTreatedAsConstant(RootListIndex root_index);
|
D | heap.cc | 2696 bool Heap::RootCanBeWrittenAfterInitialization(Heap::RootListIndex root_index) { in RootCanBeWrittenAfterInitialization() argument 2697 switch (root_index) { in RootCanBeWrittenAfterInitialization() 2730 bool Heap::RootCanBeTreatedAsConstant(RootListIndex root_index) { in RootCanBeTreatedAsConstant() argument 2731 bool can_be = !RootCanBeWrittenAfterInitialization(root_index) && in RootCanBeTreatedAsConstant() 2732 !InNewSpace(root(root_index)); in RootCanBeTreatedAsConstant() 2733 DCHECK_IMPLIES(can_be, IsImmovable(HeapObject::cast(root(root_index)))); in RootCanBeTreatedAsConstant() 3837 bool Heap::RootIsImmortalImmovable(int root_index) { in RootIsImmortalImmovable() argument 3838 switch (root_index) { in RootIsImmortalImmovable()
|
/external/v8/src/compiler/x64/ |
D | instruction-selector-x64.cc | 1711 Heap::RootListIndex root_index; in VisitWord64Compare() local 1714 heap->IsRootHandle(m.right().Value(), &root_index)) { in VisitWord64Compare() 1720 g.TempImmediate(TurboAssemblerBase::RootRegisterOffset(root_index)), in VisitWord64Compare() 1723 heap->IsRootHandle(m.left().Value(), &root_index)) { in VisitWord64Compare() 1728 g.TempImmediate(TurboAssemblerBase::RootRegisterOffset(root_index)), in VisitWord64Compare()
|
/external/v8/include/ |
D | v8.h | 9855 int root_index; 9857 root_index = I::kTrueValueRootIndex; 9859 root_index = I::kFalseValueRootIndex; 9861 *value_ = *I::GetRoot(GetIsolate(), root_index);
|