Lines Matching full:handle
18 Handle<T>::Handle(T* obj) {
24 Handle<T>::Handle(T* obj, Isolate* isolate) {
30 inline bool Handle<T>::is_identical_to(const Handle<T> o) const {
42 inline T* Handle<T>::operator*() const {
48 inline T** Handle<T>::location() const {
56 bool Handle<T>::IsDereferenceAllowed(DereferenceCheckMode mode) const {
62 Object** handle = reinterpret_cast<Object**>(location_);
64 if (roots_array_start <= handle &&
65 handle < roots_array_start + Heap::kStrongRootListLength &&
67 static_cast<Heap::RootListIndex>(handle - roots_array_start))) {
77 return !heap->isolate()->IsDeferredHandle(handle);
119 Handle<T> HandleScope::CloseAndEscape(Handle<T> handle_value) {
125 // Allocate one handle in the parent scope.
127 Handle<T> result(CreateHandle<T>(isolate_, value));
145 // handle, and return the result.
160 // Shrink the current handle scope to make it impossible to do
161 // handle allocations without an explicit handle scope.
170 // Restore state in current handle scope to re-enable handle