Lines Matching defs:context

83   Context::Scope context_scope(env->context());
98 hello_obj->Set(env->context(), env->session_id_string(), buf)
100 hello_obj->Set(env->context(), env->servername_string(), servername)
103 ->Set(env->context(),
118 Context::Scope context_scope(env->context());
135 Context::Scope context_scope(env->context());
194 Context::Scope context_scope(env->context());
207 if (info->Set(env->context(), env->servername_string(), servername_str)
209 info->Set(env->context(), env->ocsp_request_string(), ocsp).IsNothing()) {
338 env->context(),
496 ->NewInstance(env->context())
554 Context::Scope context_scope(env->context());
563 if (object->Get(env->context(), env->onhandshakestart_string())
580 if (object->Get(env->context(), env->onhandshakedone_string())
773 // the SSL context object being destroyed. We have to carefully
808 Local<Context> context = env()->isolate()->GetCurrentContext();
809 if (UNLIKELY(context.IsEmpty())) return;
817 if (UNLIKELY(!error->ToObject(context).ToLocal(&obj))) return;
1337 Context::Scope context_scope(env->context());
1343 Local<Value> ctx = p->object()->Get(env->context(), env->sni_context_string())
1350 // Failure: incorrect SNI context object
1483 Local<Value> psk_val = obj->Get(env->context(), env->psk_string())
1492 Local<Value> identity_val = obj->Get(env->context(), env->identity_string())
1541 Local<Value> ctx = object->Get(env->context(), env->sni_context_string())
1550 // Store the SNI context for later use.
1560 // Failure: incorrect SNI context object
1912 ByteSource context;
1915 context = ByteSource::FromBuffer(args[2]);
1923 context.data<unsigned char>(),
1924 context.size(),
2082 args[0]->Int32Value(env->context()).FromJust());
2090 Local<Context> context,
2092 Environment* env = Environment::GetCurrent(context);
2095 SetMethod(context, target, "wrap", TLSWrap::Wrap);
2177 Local<Function> fn = t->GetFunction(env->context()).ToLocalChecked();
2181 target->Set(env->context(), tlsWrapString, fn).Check();