Lines Matching defs:context
73 Context::Scope context_scope(env->context());
77 if (!object->Get(env->context(), env->onunpipe_string()).ToLocal(&onunpipe))
89 if (!object->Get(env->context(), env->source_string()).ToLocal(&source_v) ||
90 !object->Get(env->context(), env->sink_string()).ToLocal(&sink_v) ||
95 if (object->Set(env->context(), env->source_string(), null).IsNothing() ||
96 object->Set(env->context(), env->sink_string(), null).IsNothing() ||
98 ->Set(env->context(), env->pipe_target_string(), null)
101 ->Set(env->context(), env->pipe_source_string(), null)
165 Context::Scope context_scope(env->context());
253 if (obj->Set(env->context(), env->source_string(), source->GetObject())
258 ->Set(env->context(), env->pipe_target_string(), obj)
262 if (obj->Set(env->context(), env->sink_string(), sink->GetObject())
267 ->Set(env->context(), env->pipe_source_string(), obj)
314 Local<Context> context,
316 Environment* env = Environment::GetCurrent(context);
328 SetConstructorFunction(context, target, "StreamPipe", pipe);