Home
last modified time | relevance | path

Searched refs:path_translated (Results 1 – 14 of 14) sorted by relevance

/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_main.c716 if (!SG(request_info).path_translated) { in sapi_cgi_activate()
987 SG(request_info).path_translated = NULL; in init_request_info()
1223 char *path_translated = NULL; in init_request_info() local
1241 path_translated[path_translated_len] = '\0'; in init_request_info()
1246 efree(path_translated); in init_request_info()
1253 char *path_translated = NULL; in init_request_info() local
1256 memcpy(path_translated, pt, ptlen); in init_request_info()
1265 efree(path_translated); in init_request_info()
1759 SG(request_info).path_translated = NULL; in main()
1970 efree(SG(request_info).path_translated); in main()
[all …]
H A Dfpm_php_trace.c44 long path_translated; in fpm_php_trace_dump() local
53 if (0 > fpm_trace_get_long((long) &SG(request_info).path_translated, &l)) { in fpm_php_trace_dump()
57 path_translated = l; in fpm_php_trace_dump()
59 if (0 > fpm_trace_get_strz(buf, sizeof(buf), path_translated)) { in fpm_php_trace_dump()
H A Dfpm_php.c179 return SG(request_info).path_translated; in fpm_php_script_filename()
/PHP-8.2/sapi/cgi/
H A Dcgi_main.c863 if (!SG(request_info).path_translated) {
1173 SG(request_info).path_translated = NULL;
1322 char *path_translated = NULL; local
1345 efree(path_translated);
1354 memcpy(path_translated, pt, ptlen);
1363 efree(path_translated);
1858 SG(request_info).path_translated = NULL;
2378 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2387 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2478 if (SG(request_info).path_translated) {
[all …]
/PHP-8.2/main/
H A Dfopen_wrappers.c405 } else if (SG(request_info).path_translated) {
407 strlen(SG(request_info).path_translated), 0);
428 } else if (SG(request_info).path_translated) {
430 strlen(SG(request_info).path_translated), 0);
446 if (SG(request_info).path_translated) {
447 efree(SG(request_info).path_translated);
448 SG(request_info).path_translated = NULL;
463 if (SG(request_info).path_translated) {
464 efree(SG(request_info).path_translated);
465 SG(request_info).path_translated = NULL;
[all …]
H A DSAPI.h78 char *path_translated; member
H A Dmain.c1644 …t->filename, t->lineno, (size_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1697 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1699 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1744 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1935 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
H A DSAPI.c1015 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
/PHP-8.2/sapi/litespeed/
H A Dlsapi_main.c177 if ( SG(request_info).path_translated ) { in sapi_lsapi_deactivate()
178 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
179 SG(request_info).path_translated = NULL; in sapi_lsapi_deactivate()
548 if (!SG(request_info).path_translated) { in sapi_lsapi_activate()
566 path_len = strlen(SG(request_info).path_translated); in sapi_lsapi_activate()
569 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
656 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
661 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
924 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
1316 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]
/PHP-8.2/sapi/cli/
H A Dphp_cli_server.c136 char *path_translated; member
738 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
741 SG(request_info).path_translated, strlen(SG(request_info).path_translated)); in sapi_cli_server_register_variables()
1399 req->path_translated = NULL; in php_cli_server_request_ctor()
1424 if (req->path_translated) { in php_cli_server_request_dtor()
1425 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1516 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1522 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1924 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2145 if (client->request.path_translated && in php_cli_server_begin_send_static()
[all …]
H A Dphp_cli.c930 SG(request_info).path_translated = translated_path ? translated_path : php_self; in do_cli()
/PHP-8.2/ext/opcache/
H A Dzend_accelerator_module.c56 if (!SG(request_info).path_translated || in validate_api_restriction()
57 strlen(SG(request_info).path_translated) < len || in validate_api_restriction()
58 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
/PHP-8.2/sapi/apache2handler/
H A Dsapi_apache2.c533 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-8.2/ext/session/
H A Dsession.c1164 path = SG(request_info).path_translated; in last_modified()

Completed in 78 milliseconds