v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
d8-posix.cc File Reference
#include <errno.h>
#include <fcntl.h>
#include "src/d8/d8.h"
#include <netinet/ip.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include "include/v8-container.h"
#include "include/v8-template.h"
Include dependency graph for d8-posix.cc:

Go to the source code of this file.

Classes

class  v8::ZombieProtector
 
class  v8::OpenFDCloser
 
class  v8::ExecArgs
 

Namespaces

namespace  v8
 

Functions

static int v8::LengthWithoutIncompleteUtf8 (char *buffer, int len)
 
static bool v8::WaitOnFD (int fd, int read_timeout, int total_timeout, const struct timeval &start_time)
 
static bool v8::TimeIsOut (const struct timeval &start_time, const int &total_time)
 
static bool v8::GetTimeouts (const v8::FunctionCallbackInfo< v8::Value > &info, int *read_timeout, int *total_timeout)
 
static void v8::ExecSubprocess (int *exec_error_fds, int *stdout_fds, const ExecArgs &exec_args)
 
static bool v8::ChildLaunchedOK (Isolate *isolate, int *exec_error_fds)
 
static Local< Valuev8::GetStdout (Isolate *isolate, int child_fd, const struct timeval &start_time, int read_timeout, int total_timeout)
 
static bool v8::WaitForChild (Isolate *isolate, int pid, ZombieProtector &child_waiter, const struct timeval &start_time, int read_timeout, int total_timeout)
 
static bool v8::CheckItsADirectory (Isolate *isolate, char *directory)
 
static bool v8::mkdirp (Isolate *isolate, char *directory, mode_t mask)
 

Variables

static const int v8::kReadFD = 0
 
static const int v8::kWriteFD = 1