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