Lines Matching refs:GetIsolate
235 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
238 args.GetIsolate()->ThrowException( in GetTimeouts()
239 String::NewFromUtf8(args.GetIsolate(), in GetTimeouts()
248 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in GetTimeouts()
251 args.GetIsolate()->ThrowException( in GetTimeouts()
252 String::NewFromUtf8(args.GetIsolate(), in GetTimeouts()
468 HandleScope scope(args.GetIsolate()); in System()
475 args.GetIsolate()->ThrowException( in System()
476 String::NewFromUtf8(args.GetIsolate(), in System()
483 command_args = Array::New(args.GetIsolate(), 0); in System()
486 args.GetIsolate()->ThrowException( in System()
487 String::NewFromUtf8(args.GetIsolate(), "Too many arguments to system()", in System()
492 args.GetIsolate()->ThrowException( in System()
493 String::NewFromUtf8(args.GetIsolate(), "Too few arguments to system()", in System()
502 if (!exec_args.Init(args.GetIsolate(), args[0], command_args)) { in System()
509 args.GetIsolate()->ThrowException( in System()
510 String::NewFromUtf8(args.GetIsolate(), "pipe syscall failed.", in System()
515 args.GetIsolate()->ThrowException( in System()
516 String::NewFromUtf8(args.GetIsolate(), "pipe syscall failed.", in System()
534 if (!ChildLaunchedOK(args.GetIsolate(), exec_error_fds)) return; in System()
536 Local<Value> accumulator = GetStdout(args.GetIsolate(), stdout_fds[kReadFD], in System()
544 if (!WaitForChild(args.GetIsolate(), in System()
560 args.GetIsolate()->ThrowException( in ChangeDirectory()
561 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in ChangeDirectory()
568 args.GetIsolate()->ThrowException( in ChangeDirectory()
569 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in ChangeDirectory()
574 args.GetIsolate()->ThrowException( in ChangeDirectory()
575 String::NewFromUtf8(args.GetIsolate(), strerror(errno), in ChangeDirectory()
585 args.GetIsolate()->ThrowException( in SetUMask()
586 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in SetUMask()
596 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust()); in SetUMask()
602 args.GetIsolate()->ThrowException( in SetUMask()
603 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in SetUMask()
668 ->Int32Value(args.GetIsolate()->GetCurrentContext()) in MakeDirectory()
672 args.GetIsolate()->ThrowException( in MakeDirectory()
673 String::NewFromUtf8(args.GetIsolate(), message, in MakeDirectory()
679 args.GetIsolate()->ThrowException( in MakeDirectory()
680 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in MakeDirectory()
687 args.GetIsolate()->ThrowException( in MakeDirectory()
688 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in MakeDirectory()
692 mkdirp(args.GetIsolate(), *directory, mask); in MakeDirectory()
699 args.GetIsolate()->ThrowException( in RemoveDirectory()
700 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in RemoveDirectory()
707 args.GetIsolate()->ThrowException( in RemoveDirectory()
708 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in RemoveDirectory()
719 args.GetIsolate()->ThrowException( in SetEnvironment()
720 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in SetEnvironment()
729 args.GetIsolate()->ThrowException( in SetEnvironment()
730 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in SetEnvironment()
737 args.GetIsolate()->ThrowException( in SetEnvironment()
738 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in SetEnvironment()
749 args.GetIsolate()->ThrowException( in UnsetEnvironment()
750 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in UnsetEnvironment()
758 args.GetIsolate()->ThrowException( in UnsetEnvironment()
759 String::NewFromUtf8(args.GetIsolate(), message, NewStringType::kNormal) in UnsetEnvironment()