• Home
  • Raw
  • Download

Lines Matching refs:StreamBase

41 template int StreamBase::WriteString<ASCII>(
43 template int StreamBase::WriteString<UTF8>(
45 template int StreamBase::WriteString<UCS2>(
47 template int StreamBase::WriteString<LATIN1>(
51 int StreamBase::ReadStartJS(const FunctionCallbackInfo<Value>& args) { in ReadStartJS()
56 int StreamBase::ReadStopJS(const FunctionCallbackInfo<Value>& args) { in ReadStopJS()
60 int StreamBase::UseUserBuffer(const FunctionCallbackInfo<Value>& args) { in UseUserBuffer()
68 int StreamBase::Shutdown(const FunctionCallbackInfo<Value>& args) { in Shutdown()
75 void StreamBase::SetWriteResult(const StreamWriteResult& res) { in SetWriteResult()
80 int StreamBase::Writev(const FunctionCallbackInfo<Value>& args) { in Writev()
178 int StreamBase::WriteBuffer(const FunctionCallbackInfo<Value>& args) { in WriteBuffer()
216 int StreamBase::WriteString(const FunctionCallbackInfo<Value>& args) { in WriteString()
322 MaybeLocal<Value> StreamBase::CallJSOnreadMethod(ssize_t nread, in CallJSOnreadMethod()
350 StreamBase::kOnReadFunctionField); in CallJSOnreadMethod()
356 bool StreamBase::IsIPCPipe() { in IsIPCPipe()
361 int StreamBase::GetFD() { in GetFD()
366 Local<Object> StreamBase::GetObject() { in GetObject()
370 void StreamBase::AddMethod(Environment* env, in AddMethod()
385 void StreamBase::AddMethods(Environment* env, Local<FunctionTemplate> t) { in AddMethods()
398 env->SetProtoMethod(t, "readStart", JSMethod<&StreamBase::ReadStartJS>); in AddMethods()
399 env->SetProtoMethod(t, "readStop", JSMethod<&StreamBase::ReadStopJS>); in AddMethods()
400 env->SetProtoMethod(t, "shutdown", JSMethod<&StreamBase::Shutdown>); in AddMethods()
403 JSMethod<&StreamBase::UseUserBuffer>); in AddMethods()
404 env->SetProtoMethod(t, "writev", JSMethod<&StreamBase::Writev>); in AddMethods()
405 env->SetProtoMethod(t, "writeBuffer", JSMethod<&StreamBase::WriteBuffer>); in AddMethods()
407 t, "writeAsciiString", JSMethod<&StreamBase::WriteString<ASCII>>); in AddMethods()
409 t, "writeUtf8String", JSMethod<&StreamBase::WriteString<UTF8>>); in AddMethods()
411 t, "writeUcs2String", JSMethod<&StreamBase::WriteString<UCS2>>); in AddMethods()
413 t, "writeLatin1String", JSMethod<&StreamBase::WriteString<LATIN1>>); in AddMethods()
420 StreamBase::kOnReadFunctionField>, in AddMethods()
422 StreamBase::kOnReadFunctionField, in AddMethods()
426 void StreamBase::GetFD(const FunctionCallbackInfo<Value>& args) { in GetFD()
428 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetFD()
436 void StreamBase::GetBytesRead(const FunctionCallbackInfo<Value>& args) { in GetBytesRead()
437 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetBytesRead()
444 void StreamBase::GetBytesWritten(const FunctionCallbackInfo<Value>& args) { in GetBytesWritten()
445 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetBytesWritten()
452 void StreamBase::GetExternal(const FunctionCallbackInfo<Value>& args) { in GetExternal()
453 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetExternal()
460 template <int (StreamBase::*Method)(const FunctionCallbackInfo<Value>& args)>
461 void StreamBase::JSMethod(const FunctionCallbackInfo<Value>& args) { in JSMethod()
462 StreamBase* wrap = StreamBase::FromObject(args.Holder().As<Object>()); in JSMethod()
489 Environment* env = static_cast<StreamBase*>(stream_)->stream_env(); in OnStreamAlloc()
495 StreamBase* stream = static_cast<StreamBase*>(stream_); in OnStreamRead()
522 StreamBase* stream = static_cast<StreamBase*>(stream_); in OnStreamRead()
539 StreamBase::SKIP_NREAD_CHECKS); in OnStreamRead()
550 StreamBase* stream = static_cast<StreamBase*>(stream_); in OnStreamAfterReqFinished()
622 ShutdownWrap* StreamBase::CreateShutdownWrap( in CreateShutdownWrap()
629 WriteWrap* StreamBase::CreateWriteWrap( in CreateWriteWrap()