Lines Matching refs:request_info

176     if ( SG(request_info).path_translated ) {  in sapi_lsapi_deactivate()
177 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
178 SG(request_info).path_translated = NULL; in sapi_lsapi_deactivate()
263 if ( (SG(request_info).request_uri ) ) in sapi_lsapi_register_variables()
264 php_self = (SG(request_info).request_uri ); in sapi_lsapi_register_variables()
372 if (SG(request_info).no_headers == 1) { in sapi_lsapi_send_headers_like_cgi()
547 if (!SG(request_info).path_translated) { in sapi_lsapi_activate()
565 path_len = strlen(SG(request_info).path_translated); in sapi_lsapi_activate()
568 if (!IS_SLASH(SG(request_info).path_translated[path_len])) { in sapi_lsapi_activate()
570 memcpy(path, SG(request_info).path_translated, path_len + 1); in sapi_lsapi_activate()
574 path = estrndup(SG(request_info).path_translated, path_len); in sapi_lsapi_activate()
631 SG(request_info).content_type = pContentType ? pContentType : ""; in init_request_info()
632 SG(request_info).request_method = LSAPI_GetRequestMethod(); in init_request_info()
633 SG(request_info).query_string = LSAPI_GetQueryString(); in init_request_info()
634 SG(request_info).request_uri = LSAPI_GetScriptName(); in init_request_info()
635 SG(request_info).content_length = LSAPI_GetReqBodyLen(); in init_request_info()
636 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info()
650 zend_stream_init_filename(&file_handle, SG(request_info).path_translated); in lsapi_execute_script()
655 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
660 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
764 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini); in lsapi_module_main()
923 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
947 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path()
1312 SG(request_info).path_translated = estrdup(*p); in cli_main()
1313 SG(request_info).argc = argc - (p - argv); in cli_main()
1314 SG(request_info).argv = p; in cli_main()
1324 … highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini); in cli_main()
1493 SG(request_info).path_translated = NULL; in main()