Lines Matching refs:router
193 char *router; member
684 } else if (client->server->router) { in sapi_cli_server_register_variables()
685 sapi_cli_server_register_variable(track_vars_array, "SCRIPT_FILENAME", client->server->router); in sapi_cli_server_register_variables()
2162 zend_stream_init_filename(&zfd, server->router); in php_cli_server_dispatch_router()
2198 if (server->router || !is_static_file) { in php_cli_server_dispatch()
2207 if (server->router) { in php_cli_server_dispatch()
2224 if (server->router) { in php_cli_server_dispatch()
2276 if (server->router) { in php_cli_server_dtor()
2277 pefree(server->router, 1); in php_cli_server_dtor()
2417 …(php_cli_server *server, const char *addr, const char *document_root, const char *router) /* {{{ */ in php_cli_server_ctor() argument
2479 if (router) { in php_cli_server_ctor()
2480 size_t router_len = strlen(router); in php_cli_server_ctor()
2481 _router = pestrndup(router, router_len, 1); in php_cli_server_ctor()
2486 server->router = _router; in php_cli_server_ctor()
2489 server->router = NULL; in php_cli_server_ctor()
2694 const char *router = NULL; in do_cli_server() local
2755 router = argv[php_optind]; in do_cli_server()
2758 if (FAILURE == php_cli_server_ctor(&server, server_bind_address, document_root, router)) { in do_cli_server()