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

/PHP_TRUNK/main/
H A DSAPI.c1006 if (!SG(request_info).path_translated || (VCWD_STAT(SG(request_info).path_translated, &SG(global_stat)) == -1)) {
H A DSAPI.h87 char *path_translated; member in struct:__anon9
H A Dfopen_wrappers.c399 filename = SG(request_info).path_translated;
422 filename = SG(request_info).path_translated;
431 if (SG(request_info).path_translated != filename) {
436 /* we have to free SG(request_info).path_translated here because
440 if (SG(request_info).path_translated) {
441 efree(SG(request_info).path_translated);
442 SG(request_info).path_translated = NULL;
452 if (SG(request_info).path_translated != filename) {
457 if (SG(request_info).path_translated) {
458 efree(SG(request_info).path_translated);
[all...]
H A Dmain.c1435 snprintf(memory_leak_buf, 512, "%s(%d) : Freeing 0x%.8lX (%zu bytes), script=%s\n", t->filename, t->lineno, (zend_uintptr_t)t->addr, t->size, SAFE_FILENAME(SG(request_info).path_translated));
1480 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[%s] Script: '%s'\n", datetime_str, SAFE_FILENAME(SG(request_info).path_translated));
1482 snprintf(memory_leak_buf, sizeof(memory_leak_buf), "[null] Script: '%s'\n", SAFE_FILENAME(SG(request_info).path_translated));
1556 DTRACE_REQUEST_STARTUP(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (char *)SAFE_FILENAME(SG(request_info).request_method));
1853 DTRACE_REQUEST_SHUTDOWN(SAFE_FILENAME(SG(request_info).path_translated), SAFE_FILENAME(SG(request_info).request_uri), (char *)SAFE_FILENAME(SG(request_info).request_method));
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c484 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php_trace.c51 long path_translated; local
60 if (0 > fpm_trace_get_long((long) &SG(request_info).path_translated, &l)) {
64 path_translated = l;
66 if (0 > fpm_trace_get_strz(buf, buf_size, path_translated)) {
H A Dfpm_main.c751 if (!SG(request_info).path_translated) {
772 path_len = strlen(SG(request_info).path_translated);
775 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
777 memcpy(path, SG(request_info).path_translated, path_len + 1);
781 path = estrndup(SG(request_info).path_translated, path_len);
976 request_info.path_translated variable, the latter should
1032 * broken stuff and set path_translated to the cgi script location */
1038 SG(request_info).path_translated = NULL;
1238 char *path_translated = NULL; local
1251 path_translated
1268 char *path_translated = NULL; local
[all...]
H A Dfpm_php.c161 return SG(request_info).path_translated;
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c173 if ( SG(request_info).path_translated )
175 efree( SG(request_info).path_translated );
469 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName());
518 fp = fopen( SG(request_info).path_translated, "rb" );
525 file_handle->filename = SG(request_info).path_translated;
540 file_handle->filename = SG(request_info).path_translated;
546 len = strlen( SG(request_info).path_translated );
551 memccpy( p, SG(request_info).path_translated + len, 0, 46 );
570 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini);
851 SG(request_info).path_translated
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_module.c91 if (!SG(request_info).path_translated ||
92 strlen(SG(request_info).path_translated) < len ||
93 memcmp(SG(request_info).path_translated, ZCG(accel_directives).restrict_api, len) != 0) {
H A DZendAccelerator.c750 file_handle->filename == SG(request_info).path_translated) {
1634 file_handle->filename == SG(request_info).path_translated &&
1852 filename == SG(request_info).path_translated &&
1881 filename == SG(request_info).path_translated) ||
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c126 char *path_translated; member in struct:php_cli_server_request
657 if (SG(request_info).path_translated) {
658 sapi_cli_server_register_variable(track_vars_array, "SCRIPT_FILENAME", SG(request_info).path_translated);
1307 req->path_translated = NULL;
1330 if (req->path_translated) {
1331 pefree(req->path_translated, 1);
1432 request->path_translated = buf;
1438 request->path_translated = buf;
1753 request_info->path_translated = client->request.path_translated;
[all...]
H A Dphp_cli.c938 SG(request_info).path_translated = translated_path? translated_path: (char*)file_handle.filename;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c817 if (!SG(request_info).path_translated) {
844 path_len = strlen(SG(request_info).path_translated);
847 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
849 memcpy(path, SG(request_info).path_translated, path_len + 1);
853 path = estrndup(SG(request_info).path_translated, path_len);
1073 request_info.path_translated variable, the latter should
1127 * broken stuff and set path_translated to the cgi script location */
1133 SG(request_info).path_translated = NULL;
1282 char *path_translated = NULL; local
1295 path_translated
1312 char *path_translated = NULL; local
[all...]
/PHP_TRUNK/ext/session/
H A Dsession.c1181 path = SG(request_info).path_translated;

Completed in 34 milliseconds