Lines Matching defs:handle
9 #include "v8-local-handle.h" // NOLINT(build/include_directory)
29 V8_EXPORT internal::Address* Eternalize(v8::Isolate* isolate, Value* handle);
52 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) {
53 Set(isolate, handle);
58 // The eternal handle will never go away, so as with the roots, we don't
59 // even need to open a handle.
64 void Set(Isolate* isolate, Local<S> handle) {
67 api_internal::Eternalize(isolate, *handle.template UnsafeAs<Value>());
78 * An object reference that is independent of any handle scope. Where
79 * a Local handle only lives as long as the HandleScope in which it was
80 * allocated, a PersistentBase handle remains valid until it is explicitly
83 * A persistent handle contains a reference to a storage cell within
144 * The callback is supposed to reset the handle. No further V8 API may be
155 * Turns this handle into a weak phantom handle without finalization callback.
156 * The handle will be reset automatically when the garbage collector detects
168 * Annotates the strong handle with the given label, which is then used by the
169 * heap snapshot generator as a name of the edge from the root to the handle.
171 * label is valid as long as the handle is valid.
175 /** Returns true if the handle's reference is weak. */
179 * Assigns a wrapper class ID to the handle.
184 * Returns the class ID previously assigned to this handle or 0 if no class ID
331 // that the handle isn't empty before doing the checked cast.