Home
last modified time | relevance | path

Searched refs:req (Results 1 – 22 of 22) sorted by relevance

/PHP-5.3/sapi/fpm/fpm/
H A Dfastcgi.c292 req->out_pos = req->out_buf; in fcgi_init_request()
509 req->out_pos = req->out_buf; in fcgi_read_request()
688 ret = safe_read(req, str, req->in_len); in fcgi_read()
700 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()
729 if ((force || !req->keep) && req->fd >= 0) { in fcgi_close()
793 req->fd = req->listen_socket;
908 req->out_hdr = (fcgi_header*) req->out_pos;
919req->out_pos += fcgi_make_header(req->out_hdr, (fcgi_request_type)req->out_hdr->type, req->id, len…
930 len = req->out_pos - req->out_buf;
949 req->out_pos = req->out_buf;
[all …]
H A Dfastcgi.h117 void fcgi_init_request(fcgi_request *req, int listen_socket);
118 int fcgi_accept_request(fcgi_request *req);
119 int fcgi_finish_request(fcgi_request *req, int force_close);
123 void fcgi_close(fcgi_request *req, int force, int destroy);
125 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
126 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
128 int fcgi_read(fcgi_request *req, char *str, int len);
130 ssize_t fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len);
131 int fcgi_flush(fcgi_request *req, int close);
/PHP-5.3/sapi/cgi/
H A Dfastcgi.c521 req->out_pos = req->out_buf; in fcgi_init_request()
676 req->out_pos = req->out_buf; in fcgi_read_request()
855 ret = safe_read(req, str, req->in_len); in fcgi_read()
867 if (safe_read(req, buf, req->in_pad) != req->in_pad) { in fcgi_read()
959 req->fd = req->listen_socket;
1077req->out_pos += fcgi_make_header(req->out_hdr, (fcgi_request_type)req->out_hdr->type, req->id, len…
1088 len = req->out_pos - req->out_buf;
1107 req->out_pos = req->out_buf;
1126 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1136 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
[all …]
H A Dfastcgi.h120 void fcgi_init_request(fcgi_request *req, int listen_socket);
121 int fcgi_accept_request(fcgi_request *req);
122 int fcgi_finish_request(fcgi_request *req, int force_close);
124 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
125 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
127 int fcgi_read(fcgi_request *req, char *str, int len);
129 int fcgi_write(fcgi_request *req, fcgi_request_type type, const char *str, int len);
130 int fcgi_flush(fcgi_request *req, int close);
/PHP-5.3/sapi/tux/
H A Dphp_tux.c41 user_req_t *req; member
94 TG(req)->bytes_sent += n; in sapi_tux_ub_write()
167 TG(req)->objectlen = count_bytes; in sapi_tux_read_post()
168 TG(req)->object_addr = buffer; in sapi_tux_read_post()
174 return TG(req)->objectlen; in sapi_tux_read_post()
184 return TG(req)->cookies; in sapi_tux_read_cookies()
230 if (TG(req)->field[0]) { \ in sapi_tux_register_variables()
391 tux_closed_conn(req->sock); in TUXAPI_handle_events()
395 TG(req) = req; in TUXAPI_handle_events()
404 return tux(TG(tux_action), req); in TUXAPI_handle_events()
[all …]
/PHP-5.3/ext/recode/
H A Drecode.c150 char *req, *str; in PHP_FUNCTION() local
152 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &req, &req_len, &str, &str_len) == FAIL… in PHP_FUNCTION()
163 if (!recode_scan_request(request, req)) { in PHP_FUNCTION()
164 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal recode request '%s'", req); in PHP_FUNCTION()
189 char *req; in PHP_FUNCTION() local
195 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srr", &req, &req_len, &input, &output) == FA… in PHP_FUNCTION()
216 if (!recode_scan_request(request, req)) { in PHP_FUNCTION()
217 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Illegal recode request '%s'", req); in PHP_FUNCTION()
/PHP-5.3/sapi/apache_hooks/
H A Dsapi_apache.c66 zval *req; in apache_php_module_hook() local
81 req = php_apache_request_new(r); in apache_php_module_hook()
83 php_register_variable_ex("request", req, NULL TSRMLS_CC); in apache_php_module_hook()
86 php_register_variable_ex("request", req, PG(http_globals)[TRACK_VARS_SERVER] TSRMLS_CC); in apache_php_module_hook()
120 zval_dtor(req); in apache_php_module_hook()
H A Dphp_apache.c163 zval *req; in php_apache_request_new() local
172 MAKE_STD_ZVAL(req); in php_apache_request_new()
173 object_init_ex(req, apacherequest_class_entry); in php_apache_request_new()
174 zend_hash_index_update(Z_OBJPROP_P(req), 0, &addr, sizeof(zval *), NULL); in php_apache_request_new()
176 return req; in php_apache_request_new()
/PHP-5.3/ext/openssl/
H A Dopenssl.c760 #define PHP_SSL_REQ_INIT(req) memset(req, 0, sizeof(*req)) argument
765 req->config_filename, req->var, req->req_config TSRMLS_CC) == FAILURE) return FAILURE
787 req->req_config = CONF_load(NULL, req->config_filename, NULL); in php_openssl_parse_config()
806 CONF_get_string(req->req_config, req->section_name, "default_md")); in php_openssl_parse_config()
810 CONF_get_string(req->req_config, req->section_name, "req_extensions")); in php_openssl_parse_config()
812 CONF_get_number(req->req_config, req->section_name, "default_bits")); in php_openssl_parse_config()
832 req->digest_name = CONF_get_string(req->req_config, req->section_name, "default_md"); in php_openssl_parse_config()
835 req->digest = req->md_alg = EVP_get_digestbyname(req->digest_name); in php_openssl_parse_config()
838 req->md_alg = req->digest = EVP_md5(); in php_openssl_parse_config()
858 if (req->priv_key) { in php_openssl_dispose_config()
[all …]
H A DREADME240 openssl req -new -key /tmp/test.key -out /tmp/test.crt -days 365 -x509
/PHP-5.3/ext/xmlrpc/tests/
H A Dbug51288.phpt8 $req = '<?xml version="1.0"?><methodCall></methodCall>';
9 var_dump(xmlrpc_decode_request($req, $method));
H A Dbug47818.phpt23 function call($req) {
24 return xmlrpc_server_call_method($this->s, $req, null);
H A Dbug50761.phpt7 $req = '<?xml version="1.0"?>
30 $res = xmlrpc_server_call_method($server, $req, null);
/PHP-5.3/ext/soap/tests/schema/
H A Dtest_schema.inc65 $req = $x->__getlastrequest();
67 $HTTP_RAW_POST_DATA = $req;
71 echo $req;
74 echo $req;
/PHP-5.3/ext/soap/tests/bugs/
H A Dbug42183.phpt10 $req = <<<EOF
23 $server->handle($req);
H A Dbug44882.phpt11 public function __doRequest($req, $loc, $act, $ver, $one_way = 0)
/PHP-5.3/ext/openssl/tests/
H A Dopenssl.cnf1 [ req ]
/PHP-5.3/ext/phar/tests/files/
H A Dopenssl.cnf1 [ req ]
/PHP-5.3/ext/ldap/tests/
H A DREADME9 $ openssl req -newkey rsa:1024 -x509 -nodes -out server.pem -keyout server.pem -days 3650
/PHP-5.3/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c740 XMLRPC_REQUEST req = XMLRPC_REQUEST_FromXML(in_buf, len, in_options); in XMLRPC_VALUE_FromXML() local
742 if(req) { in XMLRPC_VALUE_FromXML()
743 xResponse = req->io; in XMLRPC_VALUE_FromXML()
744 XMLRPC_RequestFree(req, 0); in XMLRPC_VALUE_FromXML()
/PHP-5.3/ext/ldap/
H A Dldap.c2055 int _ldap_rebind_proc(LDAP *ldap, const char *url, ber_tag_t req, ber_int_t msgid, void *params) in _ldap_rebind_proc() argument
/PHP-5.3/
H A DNEWS5508 - Implement #36732 (req/x509 extensions support for openssl_csr_new and

Completed in 139 milliseconds