Home
last modified time | relevance | path

Searched refs:path_translated (Results 1 – 15 of 15) sorted by last modified time

/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c196 if ( SG(request_info).path_translated ) in sapi_lsapi_deactivate()
198 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
199 SG(request_info).path_translated = NULL; in sapi_lsapi_deactivate()
471 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info()
486 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script()
492 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
497 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
669 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
693 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path()
1087 SG(request_info).path_translated = estrdup(*p); in cli_main()
[all …]
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_main.c750 if (!SG(request_info).path_translated) {
1037 SG(request_info).path_translated = NULL;
1261 char *path_translated = NULL; local
1279 path_translated[path_translated_len] = '\0';
1284 efree(path_translated);
1291 char *path_translated = NULL; local
1294 memcpy(path_translated, pt, ptlen);
1303 efree(path_translated);
1804 SG(request_info).path_translated = NULL;
1992 efree(SG(request_info).path_translated);
[all …]
H A Dfpm_php.c161 return SG(request_info).path_translated; in fpm_php_script_filename()
H A Dfpm_php_trace.c51 long path_translated; in fpm_php_trace_dump() local
60 if (0 > fpm_trace_get_long((long) &SG(request_info).path_translated, &l)) { in fpm_php_trace_dump()
64 path_translated = l; in fpm_php_trace_dump()
66 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) { in fpm_php_trace_dump()
/PHP-7.0/sapi/cli/
H A Dphp_cli_server.c126 char *path_translated; member
665 if (SG(request_info).path_translated) { in sapi_cli_server_register_variables()
1312 req->path_translated = NULL; in php_cli_server_request_ctor()
1335 if (req->path_translated) { in php_cli_server_request_dtor()
1336 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()
1823 request_info->path_translated = client->request.path_translated; in php_cli_server_client_populate_request_info()
2013 …if (client->request.path_translated && strlen(client->request.path_translated) != client->request.… in php_cli_server_begin_send_static()
2024 if (client->request.path_translated && in php_cli_server_begin_send_static()
[all …]
H A Dphp_cli.c944 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename; in do_cli()
/PHP-7.0/sapi/apache2handler/
H A Dsapi_apache2.c489 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c816 if (!SG(request_info).path_translated) {
1132 SG(request_info).path_translated = NULL;
1281 char *path_translated = NULL; local
1304 efree(path_translated);
1311 char *path_translated = NULL; local
1314 memcpy(path_translated, pt, ptlen);
1323 efree(path_translated);
1890 SG(request_info).path_translated = NULL;
2243 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
2252 if (SG(request_info).path_translated) efree(SG(request_info).path_translated);
[all …]
/PHP-7.0/main/
H A DSAPI.h87 char *path_translated; member
H A DSAPI.c1014 …if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_s… in sapi_get_stat()
H A Dfopen_wrappers.c399 filename = SG(request_info).path_translated;
422 filename = SG(request_info).path_translated;
440 if (SG(request_info).path_translated) {
441 efree(SG(request_info).path_translated);
442 SG(request_info).path_translated = NULL;
457 if (SG(request_info).path_translated) {
458 efree(SG(request_info).path_translated);
459 SG(request_info).path_translated = NULL;
466 if (SG(request_info).path_translated) {
467 efree(SG(request_info).path_translated);
[all …]
H A Dmain.c1465 …ame, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1510 …leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1512 …zeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated)); in php_message_handler_for_zend()
1586 …DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_i… in php_request_startup()
1893 …DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_… in php_request_shutdown()
/PHP-7.0/ext/session/
H A Dsession.c1252 path = SG(request_info).path_translated;
/PHP-7.0/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.c800 file_handle->filename == SG(request_info).path_translated) { in zend_get_file_handle_timestamp()
1699 file_handle->filename == SG(request_info).path_translated && in persistent_compile_file()
1945 filename == SG(request_info).path_translated && in persistent_stream_open_function()
1974 filename == SG(request_info).path_translated) || in persistent_zend_resolve_path()

Completed in 103 milliseconds