Lines Matching defs:context
404 v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
407 if (isolate == nullptr) isolate = context->GetIsolate();
421 v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
424 if (isolate == nullptr) isolate = context->GetIsolate();
430 if (!ToV8Value(context, vec[i], isolate).ToLocal(&arr[i]))
438 v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
441 if (isolate == nullptr) isolate = context->GetIsolate();
447 if (!ToV8Value(context, entry, isolate).ToLocal(&value))
449 if (set_js->Add(context, value).IsEmpty())
457 v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
460 if (isolate == nullptr) isolate = context->GetIsolate();
466 if (!ToV8Value(context, item.first, isolate).ToLocal(&first) ||
467 !ToV8Value(context, item.second, isolate).ToLocal(&second) ||
468 ret->Set(context, first, second).IsEmpty()) {
477 v8::MaybeLocal<v8::Value> ToV8Value(v8::Local<v8::Context> context,
480 if (isolate == nullptr) isolate = context->GetIsolate();