Lines Matching refs:active
184 OG(active) = NULL; in php_output_deactivate()
233 | (OG(active) ? PHP_OUTPUT_ACTIVE : 0) in php_output_get_status()
271 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE)) { in php_output_flush()
273 php_output_handler_op(OG(active), &context); in php_output_flush()
277 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
290 if (OG(active)) { in php_output_flush_all()
302 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_CLEANABLE)) { in php_output_clean()
304 php_output_handler_op(OG(active), &context); in php_output_clean()
318 if (OG(active)) { in php_output_clean_all()
339 while (OG(active) && php_output_stack_pop(PHP_OUTPUT_POP_FORCE)); in php_output_end_all()
358 while (OG(active)) { in php_output_discard_all()
368 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
376 if (OG(active)) { in php_output_get_contents()
377 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
389 if (OG(active)) { in php_output_get_length()
390 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
403 return OG(active); in php_output_get_active_handler()
564 OG(active) = handler; in php_output_handler_start()
772 if (op && OG(active) && OG(running)) { in php_output_lock_error()
1045 php_output_handler **active; in php_output_op() local
1059 if (OG(active) && (obh_cnt = zend_stack_count(&OG(handlers)))) { in php_output_op()
1065 …} else if ((active = zend_stack_top(&OG(handlers))) && (!((*active)->flags & PHP_OUTPUT_HANDLER_DI… in php_output_op()
1066 php_output_handler_op(*active, &context); in php_output_op()
1205 php_output_handler **current, *orphan = OG(active); in php_output_stack_pop()
1236 OG(active) = *current; in php_output_stack_pop()
1238 OG(active) = NULL; in php_output_stack_pop()
1334 if (!OG(active)) { in PHP_FUNCTION()
1340 …ol", E_NOTICE, "failed to flush buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1355 if (!OG(active)) { in PHP_FUNCTION()
1361 …l", E_NOTICE, "failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1376 if (!OG(active)) { in PHP_FUNCTION()
1393 if (!OG(active)) { in PHP_FUNCTION()
1416 …l", E_NOTICE, "failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1429 if(!OG(active)) { in PHP_FUNCTION()
1439 …l", E_NOTICE, "failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1494 if (!OG(active)) { in PHP_FUNCTION()
1512 if (!OG(active)) { in PHP_FUNCTION()
1521 php_output_handler_status(OG(active), return_value); in PHP_FUNCTION()