Lines Matching defs:context
63 ->GetFunction(env->context())
68 constructor->NewInstance(env->context(), 1, &type_value));
74 Local<Context> context,
76 Environment* env = Environment::GetCurrent(context);
112 SetConstructorFunction(context, target, "TCP", t);
119 SetConstructorFunction(context, target, "TCPConnectWrap", cwt);
126 target->Set(context,
203 if (!args[0]->Int32Value(env->context()).To(&enable)) return;
253 if (!args[1]->Int32Value(env->context()).To(&port)) return;
255 !args[2]->Uint32Value(env->context()).To(&flags)) {
287 if (!args[0]->Int32Value(env->context()).To(&backlog)) return;
310 if (!args[2]->Int32Value(env->context()).To(&port)) return;
347 CHECK(args[2]->Uint32Value(env->context()).IsJust());
348 int port = args[2]->Uint32Value(env->context()).FromJust();
379 ->Set(env()->context(), env()->handle_onclose_symbol(), close_callback)
419 info->Set(env->context(),
422 info->Set(env->context(), env->family_string(), env->ipv6_string()).Check();
423 info->Set(env->context(),
432 info->Set(env->context(),
435 info->Set(env->context(), env->family_string(), env->ipv4_string()).Check();
436 info->Set(env->context(),
442 info->Set(env->context(),