Home
last modified time | relevance | path

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

/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.c1657 …t->filename, t->lineno, (size_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1710 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1712 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1757 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1948 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
H A DSAPI.c1011 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_php_trace.c45 long path_translated; in fpm_php_trace_dump() local
54 if (0 > fpm_trace_get_long((long) &SG(request_info).path_translated, &l)) { in fpm_php_trace_dump()
58 path_translated = l; in fpm_php_trace_dump()
60 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump()
H A Dfpm_main.c713 if (!SG(request_info).path_translated) { in sapi_cgi_activate()
984 SG(request_info).path_translated = NULL; in init_request_info()
1220 char *path_translated = NULL; in init_request_info() local
1238 path_translated[path_translated_len] = '\0'; in init_request_info()
1243 efree(path_translated); in init_request_info()
1250 char *path_translated = NULL; in init_request_info() local
1253 memcpy(path_translated, pt, ptlen); in init_request_info()
1262 efree(path_translated); in init_request_info()
1756 SG(request_info).path_translated = NULL; in main()
1967 efree(SG(request_info).path_translated); in main()
[all …]
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);
1869 SG(request_info).path_translated = NULL;
2385 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2394 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2479 if (SG(request_info).path_translated) {
[all …]
/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.c127 char *path_translated; member
729 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
732 SG(request_info).path_translated, strlen(SG(request_info).path_translated)); in sapi_cli_server_register_variables()
1391 req->path_translated = NULL; in php_cli_server_request_ctor()
1416 if (req->path_translated) { in php_cli_server_request_dtor()
1417 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()
1922 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2142 if (client->request.path_translated && in php_cli_server_begin_send_static()
[all …]
H A Dphp_cli.c926 SG(request_info).path_translated = translated_path ? translated_path : php_self; in do_cli()
/PHP-8.2/ext/opcache/
H A Dzend_accelerator_module.c55 if (!SG(request_info).path_translated || in validate_api_restriction()
56 strlen(SG(request_info).path_translated) < len || in validate_api_restriction()
57 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.c524 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-8.2/ext/session/
H A Dsession.c1150 path = SG(request_info).path_translated; in last_modified()

Completed in 125 milliseconds