Lines Matching refs:arg

32     nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length);
34 nxt_perl_psgi_io_arg_t *arg, const void *vbuf, size_t length);
37 nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length);
39 nxt_perl_psgi_io_arg_t *arg, const void *vbuf, size_t length);
57 nxt_perl_psgi_io_arg_t *arg, const char *mode, void *req);
135 nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length) in nxt_perl_psgi_io_input_read() argument
137 return nxt_unit_request_read(arg->req, vbuf, length); in nxt_perl_psgi_io_input_read()
143 nxt_perl_psgi_io_arg_t *arg, const void *vbuf, size_t length) in nxt_perl_psgi_io_input_write() argument
151 nxt_perl_psgi_io_arg_t *arg, void *vbuf, size_t length) in nxt_perl_psgi_io_error_read() argument
159 nxt_perl_psgi_io_arg_t *arg, const void *vbuf, size_t length) in nxt_perl_psgi_io_error_write() argument
161 nxt_unit_req_error(arg->req, "Perl: %s", (const char*) vbuf); in nxt_perl_psgi_io_error_write()
446 nxt_perl_psgi_io_arg_t *arg, const char *mode, void *req) in nxt_perl_psgi_io_init() argument
451 if (arg->io == NULL) { in nxt_perl_psgi_io_init()
452 fp = nxt_perl_psgi_layer_stream_fp_create(aTHX_ arg->rv, mode); in nxt_perl_psgi_io_init()
463 arg->io = io; in nxt_perl_psgi_io_init()
464 arg->fp = fp; in nxt_perl_psgi_io_init()
467 arg->req = req; in nxt_perl_psgi_io_init()
474 nxt_perl_psgi_io_release(PerlInterpreter *my_perl, nxt_perl_psgi_io_arg_t *arg) in nxt_perl_psgi_io_release() argument
476 if (arg->io != NULL) { in nxt_perl_psgi_io_release()
477 SvREFCNT_dec(arg->io); in nxt_perl_psgi_io_release()
478 arg->io = NULL; in nxt_perl_psgi_io_release()