Lines Matching defs:target
203 Local<Object> target)
204 : WeakReference(realm, object, target, 0) {}
208 Local<Object> target,
213 if (!target.IsEmpty()) {
214 target_.Reset(realm->isolate(), target);
228 // Users can still hold strong references to target in addition to the
232 // keeping the target alive, the best we can do to maintain consistency is to
233 // simply save a reference to the target in the snapshot (effectively making
238 Local<Object> target = target_.Get(context->GetIsolate());
239 target_index_ = creator->AddData(context, target);
249 info->target = target_index_;
262 Local<Object> target;
263 if (weak_info->target != 0) {
264 target = context->GetDataFromSnapshotOnce<Object>(weak_info->target)
268 Realm::GetCurrent(context), holder, target, weak_info->reference_count);
392 void Initialize(Local<Object> target,
408 target
444 target->Set(context, env->constants_string(), constants).Check();
448 context, target, "getPromiseDetails", GetPromiseDetails);
449 SetMethodNoSideEffect(context, target, "getProxyDetails", GetProxyDetails);
451 context, target, "getCallerLocation", GetCallerLocation);
453 context, target, "isArrayBufferDetached", IsArrayBufferDetached);
454 SetMethodNoSideEffect(context, target, "previewEntries", PreviewEntries);
456 context, target, "getOwnNonIndexProperties", GetOwnNonIndexProperties);
458 context, target, "getConstructorName", GetConstructorName);
459 SetMethodNoSideEffect(context, target, "getExternalValue", GetExternalValue);
460 SetMethod(context, target, "sleep", Sleep);
463 context, target, "arrayBufferViewHasBuffer", ArrayBufferViewHasBuffer);
467 CHECK(target
481 SetConstructorFunction(context, target, "WeakReference", weak_ref);
483 SetMethod(context, target, "guessHandleType", GuessHandleType);
485 SetMethodNoSideEffect(context, target, "toUSVString", ToUSVString);