Home
last modified time | relevance | path

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

/PHP-7.3/main/
H A Dfopen_wrappers.c395 filename = SG(request_info).path_translated;
416 filename = SG(request_info).path_translated;
434 if (SG(request_info).path_translated) {
435 efree(SG(request_info).path_translated);
436 SG(request_info).path_translated = NULL;
451 if (SG(request_info).path_translated) {
452 efree(SG(request_info).path_translated);
453 SG(request_info).path_translated = NULL;
460 if (SG(request_info).path_translated) {
461 efree(SG(request_info).path_translated);
[all …]
H A DSAPI.h83 char *path_translated; member
H A Dmain.c1673 …t->filename, t->lineno, (size_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1718 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1720 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1763 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1972 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
H A DSAPI.c1016 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
/PHP-7.3/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.c706 if (!SG(request_info).path_translated) { in sapi_cgi_activate()
982 SG(request_info).path_translated = NULL; in init_request_info()
1200 char *path_translated = NULL; in init_request_info() local
1218 path_translated[path_translated_len] = '\0'; in init_request_info()
1223 efree(path_translated); in init_request_info()
1230 char *path_translated = NULL; in init_request_info() local
1233 memcpy(path_translated, pt, ptlen); in init_request_info()
1242 efree(path_translated); in init_request_info()
1777 SG(request_info).path_translated = NULL; in main()
1976 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.3/sapi/cgi/
H A Dcgi_main.c874 if (!SG(request_info).path_translated) {
1195 SG(request_info).path_translated = NULL;
1344 char *path_translated = NULL; local
1367 efree(path_translated);
1376 memcpy(path_translated, pt, ptlen);
1385 efree(path_translated);
1920 SG(request_info).path_translated = NULL;
2426 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2435 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2538 if (SG(request_info).path_translated) {
[all …]
/PHP-7.3/sapi/litespeed/
H A Dlsapi_main.c190 if ( SG(request_info).path_translated ) { in sapi_lsapi_deactivate()
191 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
192 SG(request_info).path_translated = NULL; in sapi_lsapi_deactivate()
565 if (!SG(request_info).path_translated) { in sapi_lsapi_activate()
583 path_len = strlen(SG(request_info).path_translated); in sapi_lsapi_activate()
586 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
670 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script()
676 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
681 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
949 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
[all …]
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c125 char *path_translated; member
682 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
1316 req->path_translated = NULL; in php_cli_server_request_ctor()
1339 if (req->path_translated) { in php_cli_server_request_dtor()
1340 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1437 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1443 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1820 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2021 if (client->request.path_translated && in php_cli_server_begin_send_static()
2027 …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.c967 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename; in do_cli()
/PHP-7.3/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()
1979 file_handle->filename == SG(request_info).path_translated && in persistent_compile_file()
2245 filename == SG(request_info).path_translated && in persistent_stream_open_function()
2276 filename == SG(request_info).path_translated) || in persistent_zend_resolve_path()
/PHP-7.3/sapi/apache2handler/
H A Dsapi_apache2.c510 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-7.3/ext/session/
H A Dsession.c1146 path = SG(request_info).path_translated; in last_modified()

Completed in 84 milliseconds