Coverage Report

Created: 2017-06-23 10:30

/home/travis/build/MoarVM/MoarVM/src/io/procops.h
Line
Count
Source (jump to first uncovered line)
1
0
#define MVM_PIPE_INHERIT        1
2
#define MVM_PIPE_IGNORE         2
3
0
#define MVM_PIPE_CAPTURE        4
4
#define MVM_PIPE_INHERIT_IN     1
5
#define MVM_PIPE_IGNORE_IN      2
6
0
#define MVM_PIPE_CAPTURE_IN     4
7
#define MVM_PIPE_INHERIT_OUT    8
8
#define MVM_PIPE_IGNORE_OUT    16
9
0
#define MVM_PIPE_CAPTURE_OUT   32
10
#define MVM_PIPE_INHERIT_ERR   64
11
#define MVM_PIPE_IGNORE_ERR   128
12
0
#define MVM_PIPE_CAPTURE_ERR  256
13
0
#define MVM_PIPE_MERGED_OUT_ERR 512
14
15
MVMObject * MVM_proc_getenvhash(MVMThreadContext *tc);
16
MVMint64 MVM_proc_shell(MVMThreadContext *tc, MVMString *cmd, MVMString *cwd, MVMObject *env,
17
        MVMObject *in, MVMObject *out, MVMObject *err, MVMint64 flags);
18
MVMint64 MVM_proc_spawn(MVMThreadContext *tc, MVMObject *argv, MVMString *cwd, MVMObject *env,
19
        MVMObject *in, MVMObject *out, MVMObject *err, MVMint64 flags);
20
MVMObject * MVM_proc_spawn_async(MVMThreadContext *tc, MVMObject *queue, MVMObject *args,
21
         MVMString *cwd, MVMObject *env, MVMObject *callbacks);
22
void MVM_proc_kill_async(MVMThreadContext *tc, MVMObject *handle, MVMint64 signal);
23
MVMint64 MVM_proc_getpid(MVMThreadContext *tc);
24
MVMint64 MVM_proc_rand_i(MVMThreadContext *tc);
25
MVMnum64 MVM_proc_rand_n(MVMThreadContext *tc);
26
MVMnum64 MVM_proc_randscale_n(MVMThreadContext *tc, MVMnum64 scale);
27
void MVM_proc_seed(MVMThreadContext *tc, MVMint64 seed);
28
MVMint64 MVM_proc_time_i(MVMThreadContext *tc);
29
MVMObject * MVM_proc_clargs(MVMThreadContext *tc);
30
MVMnum64 MVM_proc_time_n(MVMThreadContext *tc);
31
MVMString * MVM_executable_name(MVMThreadContext *tc);
32
33
#ifdef _WIN32
34
#include <wchar.h>
35
MVM_PUBLIC char ** MVM_UnicodeToUTF8_argv(const int argc, wchar_t **argv);
36
#endif
37