Lines Matching refs:req

1385 static void php_cli_server_request_ctor(php_cli_server_request *req) /* {{{ */  in php_cli_server_request_ctor()  argument
1387 req->protocol_version = 0; in php_cli_server_request_ctor()
1388 req->request_uri = NULL; in php_cli_server_request_ctor()
1389 req->vpath = NULL; in php_cli_server_request_ctor()
1390 req->vpath_len = 0; in php_cli_server_request_ctor()
1391 req->path_translated = NULL; in php_cli_server_request_ctor()
1392 req->path_translated_len = 0; in php_cli_server_request_ctor()
1393 req->path_info = NULL; in php_cli_server_request_ctor()
1394 req->path_info_len = 0; in php_cli_server_request_ctor()
1395 req->query_string = NULL; in php_cli_server_request_ctor()
1396 req->query_string_len = 0; in php_cli_server_request_ctor()
1397 zend_hash_init(&req->headers, 0, NULL, cli_header_value_dtor, 1); in php_cli_server_request_ctor()
1399 GC_MAKE_PERSISTENT_LOCAL(&req->headers); in php_cli_server_request_ctor()
1400 zend_hash_init(&req->headers_original_case, 0, NULL, NULL, 1); in php_cli_server_request_ctor()
1401 GC_MAKE_PERSISTENT_LOCAL(&req->headers_original_case); in php_cli_server_request_ctor()
1402 req->content = NULL; in php_cli_server_request_ctor()
1403 req->content_len = 0; in php_cli_server_request_ctor()
1404 req->ext = NULL; in php_cli_server_request_ctor()
1405 req->ext_len = 0; in php_cli_server_request_ctor()
1408 static void php_cli_server_request_dtor(php_cli_server_request *req) /* {{{ */ in php_cli_server_request_dtor() argument
1410 if (req->request_uri) { in php_cli_server_request_dtor()
1411 zend_string_release_ex(req->request_uri, /* persistent */ true); in php_cli_server_request_dtor()
1413 if (req->vpath) { in php_cli_server_request_dtor()
1414 pefree(req->vpath, 1); in php_cli_server_request_dtor()
1416 if (req->path_translated) { in php_cli_server_request_dtor()
1417 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1419 if (req->path_info) { in php_cli_server_request_dtor()
1420 pefree(req->path_info, 1); in php_cli_server_request_dtor()
1422 if (req->query_string) { in php_cli_server_request_dtor()
1423 pefree(req->query_string, 1); in php_cli_server_request_dtor()
1425 zend_hash_destroy(&req->headers); in php_cli_server_request_dtor()
1426 zend_hash_destroy(&req->headers_original_case); in php_cli_server_request_dtor()
1427 if (req->content) { in php_cli_server_request_dtor()
1428 pefree(req->content, 1); in php_cli_server_request_dtor()