Lines Matching refs:SG

53 	LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);  in php_info_pi3web()
128 cb = (LPCONTROL_BLOCK) SG(server_context); in zend_pi3web_ub_write()
166 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_send_headers()
172 if (SG(sapi_headers).send_default_content_type) { in sapi_pi3web_send_headers()
176 …zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) accumulate… in sapi_pi3web_send_headers()
181 if (SG(sapi_headers).send_default_content_type) { in sapi_pi3web_send_headers()
185 …zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t) concat_hea… in sapi_pi3web_send_headers()
190 lpCB->dwHttpStatusCode = SG(sapi_headers).http_response_code; in sapi_pi3web_send_headers()
194 if (SG(sapi_headers).http_status_line) { in sapi_pi3web_send_headers()
195 efree(SG(sapi_headers).http_status_line); in sapi_pi3web_send_headers()
196 SG(sapi_headers).http_status_line = 0; in sapi_pi3web_send_headers()
214 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_read_post()
219 if ((DWORD)SG(read_post_bytes) < lpCB->cbAvailable) { in sapi_pi3web_read_post()
220 read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_pi3web_read_post()
221 memcpy(buffer, lpCB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_pi3web_read_post()
225 && (SG(read_post_bytes)+read_from_buf) < lpCB->cbTotalBytes) { in sapi_pi3web_read_post()
228 …read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_… in sapi_pi3web_read_post()
247 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_read_cookies()
268 SG(server_context) = lpCB; in init_request_info()
269 SG(request_info).request_method = lpCB->lpszMethod; in init_request_info()
270 SG(request_info).query_string = lpCB->lpszQueryString; in init_request_info()
271 SG(request_info).path_translated = lpCB->lpszPathTranslated; in init_request_info()
272 SG(request_info).request_uri = lpCB->lpszUri; in init_request_info()
273 SG(request_info).content_type = lpCB->lpszContentType; in init_request_info()
274 SG(request_info).content_length = lpCB->cbTotalBytes; in init_request_info()
275SG(request_info).auth_user = (lpCB->lpszUser) ? (char *)estrdup((const char *)(lpCB->lpszUse… in init_request_info()
276SG(request_info).auth_password = (lpCB->lpszPassword) ? (char *)estrdup((const char *)(lpCB->lps… in init_request_info()
277 SG(sapi_headers).http_response_code = 200; in init_request_info()
285 LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context); in sapi_pi3web_register_variables()
403 if (SG(request_info).cookie_data) { in PHP5_wrapper()
404 efree(SG(request_info).cookie_data); in PHP5_wrapper()