Lines Matching refs:SG

199     if ( SG(request_info).path_translated )  in sapi_lsapi_deactivate()
201 efree( SG(request_info).path_translated ); in sapi_lsapi_deactivate()
380 if ( (SG(request_info).request_uri ) ) in sapi_lsapi_register_variables()
381 php_self = (SG(request_info).request_uri ); in sapi_lsapi_register_variables()
457 LSAPI_SetRespStatus( SG(sapi_headers).http_response_code ); in sapi_lsapi_send_headers()
466 if (SG(sapi_headers).send_default_content_type) { in sapi_lsapi_send_headers()
582 SG(request_info).content_type = pContentType ? pContentType : ""; in init_request_info()
583 SG(request_info).request_method = LSAPI_GetRequestMethod(); in init_request_info()
584 SG(request_info).query_string = LSAPI_GetQueryString(); in init_request_info()
585 SG(request_info).request_uri = LSAPI_GetScriptName(); in init_request_info()
586 SG(request_info).content_length = LSAPI_GetReqBodyLen(); in init_request_info()
587 SG(request_info).path_translated = estrdup( LSAPI_GetScriptFileName()); in init_request_info()
590 SG(sapi_headers).http_response_code = 200; in init_request_info()
604 SG(options) |= SAPI_OPTION_NO_CHDIR; in lsapi_chdir_primary_script()
636 fp = fopen( SG(request_info).path_translated, "rb" ); in lsapi_fopen_primary_script()
643 file_handle->filename = SG(request_info).path_translated; in lsapi_fopen_primary_script()
658 file_handle->filename = SG(request_info).path_translated; in lsapi_execute_script()
664 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
669 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
695 highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); in lsapi_module_main()
859 ctx->path = SG(request_info).path_translated; in lsapi_activate_user_ini_basic_checks()
887 path = ctx->path = estrndup(SG(request_info).path_translated, ctx->path_len); in lsapi_activate_user_ini_mk_path()
1104 SG(server_context) = (void *) 1; in processReq()
1238 SG(server_context) = (void *) 1; in cli_main()
1242 SG(options) |= SAPI_OPTION_NO_CHDIR; in cli_main()
1323 SG(request_info).path_translated = estrdup(*p); in cli_main()
1324 SG(request_info).argc = argc - (p - argv); in cli_main()
1325 SG(request_info).argv = p; in cli_main()
1335 … highlight_file(SG(request_info).path_translated, &syntax_highlighter_ini TSRMLS_CC); in cli_main()
1501 SG(request_info).path_translated = NULL; in main()
1698 if (!&SG(sapi_headers).headers) { in PHP_FUNCTION()
1703 h = zend_llist_get_first_ex(&SG(sapi_headers).headers, &pos); in PHP_FUNCTION()
1724 h = zend_llist_get_next_ex(&SG(sapi_headers).headers, &pos); in PHP_FUNCTION()