Home
last modified time | relevance | path

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

/PHP-8.1/main/
H A Dfopen_wrappers.c393 } else if (SG(request_info).path_translated) {
395 strlen(SG(request_info).path_translated), 0);
416 } else if (SG(request_info).path_translated) {
418 strlen(SG(request_info).path_translated), 0);
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;
[all …]
H A DSAPI.h78 char *path_translated; member
H A Dmain.c1615 …t->filename, t->lineno, (size_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1668 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1670 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1715 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1906 …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.1/sapi/fpm/fpm/
H A Dfpm_main.c693 if (!SG(request_info).path_translated) { in sapi_cgi_activate()
967 SG(request_info).path_translated = NULL; in init_request_info()
1203 char *path_translated = NULL; in init_request_info() local
1221 path_translated[path_translated_len] = '\0'; in init_request_info()
1226 efree(path_translated); in init_request_info()
1233 char *path_translated = NULL; in init_request_info() local
1236 memcpy(path_translated, pt, ptlen); in init_request_info()
1245 efree(path_translated); in init_request_info()
1759 SG(request_info).path_translated = NULL; in main()
1968 efree(SG(request_info).path_translated); in main()
[all …]
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_php.c179 return SG(request_info).path_translated; in fpm_php_script_filename()
/PHP-8.1/sapi/cgi/
H A Dcgi_main.c862 if (!SG(request_info).path_translated) {
1175 SG(request_info).path_translated = NULL;
1324 char *path_translated = NULL; local
1347 efree(path_translated);
1356 memcpy(path_translated, pt, ptlen);
1365 efree(path_translated);
1894 SG(request_info).path_translated = NULL;
2409 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2418 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2503 if (SG(request_info).path_translated) {
[all …]
/PHP-8.1/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()
928 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
1320 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]
/PHP-8.1/sapi/cli/
H A Dphp_cli_server.c126 char *path_translated; member
697 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
1351 req->path_translated = NULL; in php_cli_server_request_ctor()
1376 if (req->path_translated) { in php_cli_server_request_dtor()
1377 pefree(req->path_translated, 1); in php_cli_server_request_dtor()
1474 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1480 request->path_translated = buf; in php_cli_server_request_translate_vpath()
1884 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2082 if (client->request.path_translated && in php_cli_server_begin_send_static()
2088 …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.c927 SG(request_info).path_translated = translated_path ? translated_path : php_self; in do_cli()
/PHP-8.1/ext/opcache/
H A Dzend_accelerator_module.c54 if (!SG(request_info).path_translated || in validate_api_restriction()
55 strlen(SG(request_info).path_translated) < len || in validate_api_restriction()
56 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) { in validate_api_restriction()
/PHP-8.1/sapi/apache2handler/
H A Dsapi_apache2.c522 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-8.1/ext/session/
H A Dsession.c1152 path = SG(request_info).path_translated; in last_modified()

Completed in 86 milliseconds