Home
last modified time | relevance | path

Searched refs:TG (Results 1 – 4 of 4) sorted by relevance

/PHP-5.5/sapi/tux/
H A Dphp_tux.c59 if (TG(number_vec)) { in sapi_tux_ub_write()
62 n = TG(number_vec); in sapi_tux_ub_write()
73 TG(number_vec) = 0; in sapi_tux_ub_write()
154 TG(number_vec) = n; in sapi_tux_send_headers()
155 TG(header_vec) = vec; in sapi_tux_send_headers()
322 TG(number_vec) = 0; in tux_request_ctor()
353 if (TG(header_vec)) { in tux_request_dtor()
395 TG(req) = req; in TUXAPI_handle_events()
409 TG(on_close) = arg; in tux_register_on_close()
416 if (TG(on_close)) TG(on_close)(fd); in tux_closed_conn()
[all …]
/PHP-5.5/sapi/thttpd/
H A Dthttpd.c223 if (TG(seen_cl) && !TG(seen_cn) && TG(hc)->do_keep_alive) { in sapi_thttpd_send_headers()
300 memcpy(buf + 1, TG(hc)->pathinfo, strlen(TG(hc)->pathinfo) + 1); in sapi_thttpd_register_variables()
439 TG(seen_cl) = 0;
440 TG(seen_cn) = 0;
441 TG(sbuf).c = 0;
658 TG(hc) = hc;
677 if (TG(seen_cl) == 0 || TG(seen_cn) == 1) {
685 TG(hc)->response = TG(sbuf).c;
686 TG(hc)->responselen = TG(sbuf).len;
687 TG(hc)->maxresponse = TG(sbuf).a;
[all …]
/PHP-5.5/ext/tidy/
H A Dphp_tidy.h43 #define TG(v) TSRMG(tidy_globals_id, zend_tidy_globals *, v) macro
45 #define TG(v) (tidy_globals.v)
H A Dtidy.c166 if (TG(default_config) && TG(default_config)[0]) { \
167 if (tidyLoadConfig(_doc, TG(default_config)) < 0) { \
168 …ULL TSRMLS_CC, E_WARNING, "Unable to load Tidy configuration file at '%s'.", TG(default_config)); \
1159 …if (TG(clean_output) && (h = php_tidy_output_handler_init(name, name_len, 0, PHP_OUTPUT_HANDLER_ST… in php_tidy_clean_output_start()
1170 if (!TG(clean_output)) { in php_tidy_output_handler_init()
1171 TG(clean_output) = 1; in php_tidy_output_handler_init()
1183 …if (TG(clean_output) && (output_context->op & PHP_OUTPUT_HANDLER_START) && (output_context->op & P… in php_tidy_output_handler()

Completed in 38 milliseconds