Home
last modified time | relevance | path

Searched refs:roots_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/mojo/examples/embedded_app/
Dembedded_app.cc90 roots_[root->id()] = root; in OnRootAdded()
114 DCHECK(roots_.find(node->id()) != roots_.end()); in OnNodeDestroy()
115 roots_.erase(node->id()); in OnNodeDestroy()
122 RootMap::iterator root = roots_.find(node_id); in ProcessPendingNodeColor()
123 if (root == roots_.end()) in ProcessPendingNodeColor()
139 RootMap roots_; member in mojo::examples::EmbeddedApp
/external/chromium_org/mojo/services/view_manager/
Dview_manager_service_impl.cc100 DCHECK(roots_.empty()); in SetRoots()
106 roots_.swap(roots); in SetRoots()
164 (roots_.count(NodeIdToTransportId(node->id())) > 0) || in ProcessNodeHierarchyChanged()
210 const bool in_roots = roots_.erase(NodeIdToTransportId(node)) > 0; in ProcessNodeDeleted()
212 if (in_roots && roots_.empty()) in ProcessNodeDeleted()
213 roots_.insert(NodeIdToTransportId(InvalidNodeId())); in ProcessNodeDeleted()
254 return (roots_.empty() || in CanRemoveNodeFromParent()
268 if (roots_.empty()) in CanAddNode()
431 if (roots_.count(node_ids[i]) > 0) in AddRoots()
435 roots_.insert(node_ids[i]); in AddRoots()
[all …]
Dview_manager_service_impl.h253 NodeIdSet roots_; variable
/external/chromium_org/mojo/services/public/cpp/view_manager/lib/
Dview_manager_client_impl.cc647 return roots_; in GetRoots()
814 std::vector<Node*>::const_iterator it = roots_.begin(); in AddRoot()
815 for (; it != roots_.end(); ++it) { in AddRoot()
819 roots_.push_back(root); in AddRoot()
826 std::find(roots_.begin(), roots_.end(), root); in RemoveRoot()
827 if (it != roots_.end()) in RemoveRoot()
828 roots_.erase(it); in RemoveRoot()
Dview_manager_client_impl.h149 std::vector<Node*> roots_; variable
/external/chromium_org/v8/src/
Dheap.h803 return type::cast(roots_[k##camel_name##RootIndex]); \
806 return reinterpret_cast<type*>(roots_[k##camel_name##RootIndex]); \
814 return Map::cast(roots_[k##Name##MapRootIndex]); \
820 return String::cast(roots_[k##name##RootIndex]); \ in STRUCT_LIST()
910 roots_[kCodeStubsRootIndex] = value; in public_set_code_stubs()
922 roots_[kNonMonomorphicCacheRootIndex] = value; in public_set_non_monomorphic_cache()
926 roots_[kEmptyScriptRootIndex] = script; in public_set_empty_script()
930 roots_[kStoreBufferTopRootIndex] = reinterpret_cast<Smi*>(top); in public_set_store_buffer_top()
934 roots_[kMaterializedObjectsRootIndex] = objects; in public_set_materialized_objects()
938 Object** roots_array_start() { return roots_; } in roots_array_start()
[all …]
Dfactory.h585 &isolate()->heap()->roots_[Heap::k##camel_name##RootIndex])); \
593 &isolate()->heap()->roots_[Heap::k##Name##MapRootIndex])); \
601 &isolate()->heap()->roots_[Heap::k##name##RootIndex])); \ in STRUCT_LIST()
Dheap.cc142 memset(roots_, 0, sizeof(roots_[0]) * kRootListLength); in Heap()
2513 roots_[entry.index] = map; in CreateInitialMaps()
2555 roots_[entry.index] = map; in CreateInitialMaps()
2811 roots_[constant_string_table[i].index] = *str; in CreateInitialObjects()
3105 return Map::cast(roots_[RootIndexForExternalArrayType(array_type)]); in MapForExternalArrayType()
3127 return Map::cast(roots_[RootIndexForFixedTypedArray(array_type)]); in MapForFixedTypedArray()
3183 roots_[RootIndexForEmptyExternalArray(map->elements_kind())]); in EmptyExternalArrayForMap()
3189 roots_[RootIndexForEmptyFixedTypedArray(map->elements_kind())]); in EmptyFixedTypedArrayForMap()
4778 v->VisitPointer(reinterpret_cast<Object**>(&roots_[kStringTableRootIndex])); in IterateWeakRoots()
4792 v->VisitPointers(&roots_[kSmiRootsStart], &roots_[kRootListLength]); in IterateSmiRoots()
[all …]
Disolate.cc1968 CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), in Init()