Lines Matching refs:funcs

54 		 const struct pex_funcs *funcs)  in pex_init_common()  argument
76 obj->funcs = funcs; in pex_init_common()
191 in = obj->funcs->open_read (obj, obj->next_input_name, in pex_run_in_environment()
256 if (obj->funcs->pipe (obj, p, (flags & PEX_BINARY_OUTPUT) != 0) < 0) in pex_run_in_environment()
269 out = obj->funcs->open_write (obj, outname, in pex_run_in_environment()
306 if (obj->funcs->pipe (obj, p, (flags & PEX_BINARY_ERROR) != 0) < 0) in pex_run_in_environment()
323 errdes = obj->funcs->open_write (obj, errname, in pex_run_in_environment()
344 pid = obj->funcs->exec_child (obj, flags, executable, argv, env, in pex_run_in_environment()
357 obj->funcs->close (obj, in); in pex_run_in_environment()
359 obj->funcs->close (obj, out); in pex_run_in_environment()
361 obj->funcs->close (obj, errdes); in pex_run_in_environment()
437 if (obj->funcs->pipe (obj, p, binary != 0) < 0) in pex_input_pipe()
440 f = obj->funcs->fdopenw (obj, p[WRITE_PORT], binary != 0); in pex_input_pipe()
444 obj->funcs->close (obj, p[READ_PORT]); in pex_input_pipe()
445 obj->funcs->close (obj, p[WRITE_PORT]); in pex_input_pipe()
494 obj->read_output = obj->funcs->fdopenr (obj, o, binary); in pex_read_output()
509 obj->read_err = obj->funcs->fdopenr (obj, o, binary); in pex_read_err()
534 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i], in pex_get_status_and_time()
607 obj->funcs->close (obj, obj->next_input); in pex_free()
609 obj->funcs->close (obj, obj->stderr_pipe); in pex_free()
644 if (obj->funcs->cleanup != NULL) in pex_free()
645 obj->funcs->cleanup (obj); in pex_free()