Home
last modified time | relevance | path

Searched refs:pex_obj (Results 1 – 13 of 13) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Dpex-common.h54 struct pex_obj struct
103 int (*open_read) (struct pex_obj *, const char */* name */, int /* binary */); argument
106 int (*open_write) (struct pex_obj *, const char */* name */,
117 pid_t (*exec_child) (struct pex_obj *, int /* flags */,
124 int (*close) (struct pex_obj *, int);
129 pid_t (*wait) (struct pex_obj *, pid_t /* child */, int * /* status */,
135 int (*pipe) (struct pex_obj *, int * /* p */, int /* binary */);
139 FILE * (*fdopenr) (struct pex_obj *, int /* fd */, int /* binary */);
144 FILE * (*fdopenw) (struct pex_obj *, int /* fd */, int /* binary */);
147 void (*cleanup) (struct pex_obj *);
[all …]
Dpex-unix.c120 static pid_t pex_wait (struct pex_obj *, pid_t, int *, struct pex_time *);
125 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait()
156 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait()
167 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait()
216 pex_wait (struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time) in pex_wait()
301 static void pex_child_error (struct pex_obj *, const char *, const char *, int)
303 static int pex_unix_open_read (struct pex_obj *, const char *, int);
304 static int pex_unix_open_write (struct pex_obj *, const char *, int, int);
305 static pid_t pex_unix_exec_child (struct pex_obj *, int, const char *,
309 static int pex_unix_close (struct pex_obj *, int);
[all …]
Dpex-msdos.c54 static int pex_msdos_open (struct pex_obj *, const char *, int);
55 static int pex_msdos_open (struct pex_obj *, const char *, int);
57 static pid_t pex_msdos_exec_child (struct pex_obj *, int, const char *,
61 static int pex_msdos_close (struct pex_obj *, int);
62 static pid_t pex_msdos_wait (struct pex_obj *, pid_t, int *, struct pex_time *,
64 static void pex_msdos_cleanup (struct pex_obj *);
83 struct pex_obj *
86 struct pex_obj *ret; in pex_init()
106 pex_msdos_open (struct pex_obj *obj, const char *name, in pex_msdos_open()
142 pex_msdos_close (struct pex_obj *obj, int fd) in pex_msdos_close()
[all …]
Dpex-djgpp.c45 static int pex_djgpp_open_read (struct pex_obj *, const char *, int);
46 static int pex_djgpp_open_write (struct pex_obj *, const char *, int, int);
47 static pid_t pex_djgpp_exec_child (struct pex_obj *, int, const char *,
51 static int pex_djgpp_close (struct pex_obj *, int);
52 static pid_t pex_djgpp_wait (struct pex_obj *, pid_t, int *, struct pex_time *,
72 struct pex_obj *
83 pex_djgpp_open_read (struct pex_obj *obj ATTRIBUTE_UNUSED, in pex_djgpp_open_read()
92 pex_djgpp_open_write (struct pex_obj *obj ATTRIBUTE_UNUSED, in pex_djgpp_open_write()
108 pex_djgpp_close (struct pex_obj *obj ATTRIBUTE_UNUSED, int fd) in pex_djgpp_close()
116 pex_djgpp_exec_child (struct pex_obj *obj, int flags, const char *executable, in pex_djgpp_exec_child()
[all …]
Dpex-common.c46 static void pex_add_remove (struct pex_obj *, const char *, int);
47 static int pex_get_status_and_time (struct pex_obj *, int, const char **,
52 struct pex_obj *
56 struct pex_obj *obj; in pex_init_common()
58 obj = XNEW (struct pex_obj); in pex_init_common()
84 pex_add_remove (struct pex_obj *obj, const char *name, int allocated) in pex_add_remove()
103 temp_file (struct pex_obj *obj, int flags, char *name) in temp_file()
152 pex_run_in_environment (struct pex_obj *obj, int flags, const char *executable, in pex_run_in_environment()
370 pex_run (struct pex_obj *obj, int flags, const char *executable, in pex_run()
381 pex_input_file (struct pex_obj *obj, int flags, const char *in_name) in pex_input_file()
[all …]
Dpex-win32.c80 static int pex_win32_open_read (struct pex_obj *, const char *, int);
81 static int pex_win32_open_write (struct pex_obj *, const char *, int, int);
82 static pid_t pex_win32_exec_child (struct pex_obj *, int, const char *,
86 static int pex_win32_close (struct pex_obj *, int);
87 static pid_t pex_win32_wait (struct pex_obj *, pid_t, int *,
89 static int pex_win32_pipe (struct pex_obj *, int *, int);
90 static FILE *pex_win32_fdopenr (struct pex_obj *, int, int);
91 static FILE *pex_win32_fdopenw (struct pex_obj *, int, int);
110 struct pex_obj *
119 pex_win32_open_read (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name, in pex_win32_open_read()
[all …]
Dpexecute.txh2 @deftypefn Extension {struct pex_obj *} pex_init (int @var{flags}, @
34 @deftypefn Extension {const char *} pex_run (struct pex_obj *@var{obj}, @
145 @deftypefn Extension {const char *} pex_run_in_environment (struct pex_obj *@var{obj}, @
161 @deftypefn Extension {FILE *} pex_input_file (struct pex_obj *@var{obj}, @
179 @deftypefn Extension {FILE *} pex_input_pipe (struct pex_obj *@var{obj}, @
224 @deftypefn Extension {FILE *} pex_read_output (struct pex_obj *@var{obj}, @
237 @deftypefn Extension {FILE *} pex_read_err (struct pex_obj *@var{obj}, @
251 @deftypefn Extension int pex_get_status (struct pex_obj *@var{obj}, @
261 @deftypefn Extension int pex_get_times (struct pex_obj *@var{obj}, @
278 @deftypefn Extension void pex_free (struct pex_obj @var{obj})
Dpex-one.c28 struct pex_obj *obj; in pex_one()
Dpexecute.c35 static struct pex_obj *pex;
Dfunctions.texi813 @deftypefn Extension void pex_free (struct pex_obj @var{obj})
822 @deftypefn Extension int pex_get_status (struct pex_obj *@var{obj}, @
833 @deftypefn Extension int pex_get_times (struct pex_obj *@var{obj}, @
851 @deftypefn Extension {struct pex_obj *} pex_init (int @var{flags}, @
884 @deftypefn Extension {FILE *} pex_input_file (struct pex_obj *@var{obj}, @
903 @deftypefn Extension {FILE *} pex_input_pipe (struct pex_obj *@var{obj}, @
965 @deftypefn Extension {FILE *} pex_read_err (struct pex_obj *@var{obj}, @
979 @deftypefn Extension {FILE *} pex_read_output (struct pex_obj *@var{obj}, @
993 @deftypefn Extension {const char *} pex_run (struct pex_obj *@var{obj}, @
1105 @deftypefn Extension {const char *} pex_run_in_environment (struct pex_obj *@var{obj}, @
DChangeLog1331 * pex-common.h (struct pex_obj): Store pid values as pid_t,
1768 * pex-common.h (struct pex_obj): New fields
1978 * pex-common.h (struct pex_obj): New field input_file.
2022 * pex-common.h (struct pex_obj): Doc fixes.
2471 (struct pex_obj): Define.
/toolchain/binutils/binutils-2.25/include/
Dlibiberty.h404 extern struct pex_obj *pex_init (int flags, const char *pname,
504 extern const char *pex_run (struct pex_obj *obj, int flags,
519 extern const char *pex_run_in_environment (struct pex_obj *obj, int flags,
530 extern FILE *pex_input_file (struct pex_obj *obj, int flags,
538 extern FILE *pex_input_pipe (struct pex_obj *obj, int binary);
546 extern FILE *pex_read_output (struct pex_obj *, int binary);
554 extern FILE *pex_read_err (struct pex_obj *, int binary);
560 extern int pex_get_status (struct pex_obj *, int count, int *vector);
575 extern int pex_get_times (struct pex_obj *, int count,
581 extern void pex_free (struct pex_obj *);
/toolchain/binutils/binutils-2.25/libiberty/testsuite/
Dtest-pexecute.c181 struct pex_obj *test_pex_tmp; in main()
184 struct pex_obj *pex1; in main()