Lines Matching refs:req

1320 static int php_cli_server_request_ctor(php_cli_server_request *req) /* {{{ */  in php_cli_server_request_ctor()  argument
1325 req->protocol_version = 0; in php_cli_server_request_ctor()
1326 req->request_uri = NULL; in php_cli_server_request_ctor()
1327 req->request_uri_len = 0; in php_cli_server_request_ctor()
1328 req->vpath = NULL; in php_cli_server_request_ctor()
1329 req->vpath_len = 0; in php_cli_server_request_ctor()
1330 req->path_translated = NULL; in php_cli_server_request_ctor()
1331 req->path_translated_len = 0; in php_cli_server_request_ctor()
1332 req->path_info = NULL; in php_cli_server_request_ctor()
1333 req->path_info_len = 0; in php_cli_server_request_ctor()
1334 req->query_string = NULL; in php_cli_server_request_ctor()
1335 req->query_string_len = 0; in php_cli_server_request_ctor()
1336 zend_hash_init(&req->headers, 0, NULL, char_ptr_dtor_p, 1); in php_cli_server_request_ctor()
1337 zend_hash_init(&req->headers_original_case, 0, NULL, NULL, 1); in php_cli_server_request_ctor()
1338 req->content = NULL; in php_cli_server_request_ctor()
1339 req->content_len = 0; in php_cli_server_request_ctor()
1340 req->ext = NULL; in php_cli_server_request_ctor()
1341 req->ext_len = 0; in php_cli_server_request_ctor()
1345 static void php_cli_server_request_dtor(php_cli_server_request *req) /* {{{ */ in php_cli_server_request_dtor() argument
1347 if (req->request_uri) { in php_cli_server_request_dtor()
1348 pefree(req->request_uri, 1); in php_cli_server_request_dtor()
1350 if (req->vpath) { in php_cli_server_request_dtor()
1351 pefree(req->vpath, 1); in php_cli_server_request_dtor()
1353 if (req->path_translated) { in php_cli_server_request_dtor()
1354 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1356 if (req->path_info) { in php_cli_server_request_dtor()
1357 pefree(req->path_info, 1); in php_cli_server_request_dtor()
1359 if (req->query_string) { in php_cli_server_request_dtor()
1360 pefree(req->query_string, 1); in php_cli_server_request_dtor()
1362 zend_hash_destroy(&req->headers); in php_cli_server_request_dtor()
1363 zend_hash_destroy(&req->headers_original_case); in php_cli_server_request_dtor()
1364 if (req->content) { in php_cli_server_request_dtor()
1365 pefree(req->content, 1); in php_cli_server_request_dtor()