Lines Matching refs:vpath_len

135 	size_t vpath_len;  member
737 "SCRIPT_NAME", strlen("SCRIPT_NAME"), client->request.vpath, client->request.vpath_len); in sapi_cli_server_register_variables()
756 "PHP_SELF", strlen("PHP_SELF"), client->request.vpath, client->request.vpath_len); in sapi_cli_server_register_variables()
1398 req->vpath_len = 0; in php_cli_server_request_ctor()
1444 …char *buf = safe_pemalloc(1, request->vpath_len, 1 + document_root_len + 1 + sizeof("index.html"),… in php_cli_server_request_translate_vpath()
1451 if (request->vpath_len != 0) { in php_cli_server_request_translate_vpath()
1455 memmove(p, request->vpath, request->vpath_len); in php_cli_server_request_translate_vpath()
1457 q = p + request->vpath_len; in php_cli_server_request_translate_vpath()
1464 p += request->vpath_len; in php_cli_server_request_translate_vpath()
1515 request->vpath_len = q - vpath; in php_cli_server_request_translate_vpath()
1521 request->vpath_len = q - vpath; in php_cli_server_request_translate_vpath()
1528 for (;i<request->vpath_len;i++) { in php_cli_server_request_translate_vpath()
1538 static void normalize_vpath(char **retval, size_t *retval_len, const char *vpath, size_t vpath_len,… in normalize_vpath() argument
1547 decoded_vpath = pestrndup(vpath, vpath_len, persistent); in normalize_vpath()
1552 decoded_vpath_end = decoded_vpath + php_raw_url_decode(decoded_vpath, (int)vpath_len); in normalize_vpath()
1631 size_t vpath_len; in php_cli_server_client_read_request_on_path() local
1635 normalize_vpath(&vpath, &vpath_len, at, length, 1); in php_cli_server_client_read_request_on_path()
1637 client->request.vpath_len = vpath_len; in php_cli_server_client_read_request_on_path()
1818 const char *end = vpath + client->request.vpath_len; in php_cli_server_client_read_request_on_message_complete()