Home | History | Annotate | Download | only in src

Lines Matching refs:GetIsolate

229       args.GetIsolate()->ThrowException(String::NewFromUtf8(
230 args.GetIsolate(), "system: Argument 4 must be a number"));
238 args.GetIsolate()->ThrowException(String::NewFromUtf8(
239 args.GetIsolate(), "system: Argument 3 must be a number"));
441 HandleScope scope(args.GetIsolate());
448 args.GetIsolate()->ThrowException(String::NewFromUtf8(
449 args.GetIsolate(), "system: Argument 2 must be an array"));
454 command_args = Array::New(args.GetIsolate(), 0);
457 args.GetIsolate()->ThrowException(String::NewFromUtf8(
458 args.GetIsolate(), "Too many arguments to system()"));
462 args.GetIsolate()->ThrowException(String::NewFromUtf8(
463 args.GetIsolate(), "Too few arguments to system()"));
471 if (!exec_args.Init(args.GetIsolate(), args[0], command_args)) {
478 args.GetIsolate()->ThrowException(
479 String::NewFromUtf8(args.GetIsolate(), "pipe syscall failed."));
483 args.GetIsolate()->ThrowException(
484 String::NewFromUtf8(args.GetIsolate(), "pipe syscall failed."));
501 if (!ChildLaunchedOK(args.GetIsolate(), exec_error_fds)) return;
503 GetIsolate(),
514 if (!WaitForChild(args.GetIsolate(),
530 args.GetIsolate()->ThrowException(
531 String::NewFromUtf8(args.GetIsolate(), message));
537 args.GetIsolate()->ThrowException(
538 String::NewFromUtf8(args.GetIsolate(), message));
542 args.GetIsolate()->ThrowException(
543 String::NewFromUtf8(args.GetIsolate(), strerror(errno)));
552 args.GetIsolate()->ThrowException(
553 String::NewFromUtf8(args.GetIsolate(), message));
567 args.GetIsolate()->ThrowException(
568 String::NewFromUtf8(args.GetIsolate(), message));
624 args.GetIsolate()->ThrowException(
625 String::NewFromUtf8(args.GetIsolate(), message));
630 args.GetIsolate()->ThrowException(
631 String::NewFromUtf8(args.GetIsolate(), message));
637 args.GetIsolate()->ThrowException(
638 String::NewFromUtf8(args.GetIsolate(), message));
641 mkdirp(args.GetIsolate(), *directory, mask);
648 args.GetIsolate()->ThrowException(
649 String::NewFromUtf8(args.GetIsolate(), message));
655 args.GetIsolate()->ThrowException(
656 String::NewFromUtf8(args.GetIsolate(), message));
666 args.GetIsolate()->ThrowException(
667 String::NewFromUtf8(args.GetIsolate(), message));
675 args.GetIsolate()->ThrowException(
676 String::NewFromUtf8(args.GetIsolate(), message));
682 args.GetIsolate()->ThrowException(
683 String::NewFromUtf8(args.GetIsolate(), message));
693 args.GetIsolate()->ThrowException(
694 String::NewFromUtf8(args.GetIsolate(), message));
701 args.GetIsolate()->ThrowException(
702 String::NewFromUtf8(args.GetIsolate(), message));