Home
last modified time | relevance | path

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

/PHP-7.4/main/
H A Dfopen_wrappers.c404 filename = SG(request_info).path_translated;
425 filename = SG(request_info).path_translated;
443 if (SG(request_info).path_translated) {
444 efree(SG(request_info).path_translated);
445 SG(request_info).path_translated = NULL;
460 if (SG(request_info).path_translated) {
461 efree(SG(request_info).path_translated);
462 SG(request_info).path_translated = NULL;
469 if (SG(request_info).path_translated) {
470 efree(SG(request_info).path_translated);
[all …]
H A DSAPI.h83 char *path_translated; member
H A Dmain.c1715 …t->filename, t->lineno, (size_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1768 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1770 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1817 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
2013 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
H A DSAPI.c1012 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_php_trace.c49 long path_translated; in fpm_php_trace_dump() local
58 if (0 > fpm_trace_get_long((long) &SG(request_info).path_translated, &l)) { in fpm_php_trace_dump()
62 path_translated = l; in fpm_php_trace_dump()
64 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump()
H A Dfpm_main.c700 if (!SG(request_info).path_translated) { in sapi_cgi_activate()
976 SG(request_info).path_translated = NULL; in init_request_info()
1192 char *path_translated = NULL; in init_request_info() local
1210 path_translated[path_translated_len] = '\0'; in init_request_info()
1215 efree(path_translated); in init_request_info()
1222 char *path_translated = NULL; in init_request_info() local
1225 memcpy(path_translated, pt, ptlen); in init_request_info()
1234 efree(path_translated); in init_request_info()
1766 SG(request_info).path_translated = NULL; in main()
1965 efree(SG(request_info).path_translated); in main()
[all …]
H A Dfpm_php.c162 return SG(request_info).path_translated; in fpm_php_script_filename()
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c867 if (!SG(request_info).path_translated) {
1188 SG(request_info).path_translated = NULL;
1337 char *path_translated = NULL; local
1360 efree(path_translated);
1369 memcpy(path_translated, pt, ptlen);
1378 efree(path_translated);
1912 SG(request_info).path_translated = NULL;
2428 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2437 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2533 if (SG(request_info).path_translated) {
[all …]
/PHP-7.4/sapi/litespeed/
H A Dlsapi_main.c181 if ( SG(request_info).path_translated ) { in sapi_lsapi_deactivate()
182 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
183 SG(request_info).path_translated = NULL; in sapi_lsapi_deactivate()
558 if (!SG(request_info).path_translated) { in sapi_lsapi_activate()
576 path_len = strlen(SG(request_info).path_translated); in sapi_lsapi_activate()
579 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
665 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
670 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
938 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
1330 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]
/PHP-7.4/sapi/cli/
H A Dphp_cli_server.c126 char *path_translated; member
737 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
1396 req->path_translated = NULL; in php_cli_server_request_ctor()
1419 if (req->path_translated) { in php_cli_server_request_dtor()
1420 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1517 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1523 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1931 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2127 if (client->request.path_translated && in php_cli_server_begin_send_static()
2133 …fd = client->request.path_translated ? php_win32_ioutil_open(client->request.path_translated, O_RD… in php_cli_server_begin_send_static()
[all …]
H A Dphp_cli.c925 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename; in do_cli()
/PHP-7.4/ext/opcache/
H A Dzend_accelerator_module.c91 if (!SG(request_info).path_translated || in validate_api_restriction()
92 strlen(SG(request_info).path_translated) < len || in validate_api_restriction()
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
H A DZendAccelerator.c956 file_handle->filename == SG(request_info).path_translated) { in zend_get_file_handle_timestamp()
1953 file_handle->filename == SG(request_info).path_translated && in persistent_compile_file()
2237 filename == SG(request_info).path_translated && in persistent_stream_open_function()
2263 filename == SG(request_info).path_translated) || in persistent_zend_resolve_path()
/PHP-7.4/sapi/apache2handler/
H A Dsapi_apache2.c513 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-7.4/ext/session/
H A Dsession.c1146 path = SG(request_info).path_translated; in last_modified()

Completed in 110 milliseconds