Lines Matching refs:active

184 		OG(active) = NULL;  in php_output_deactivate()
218 | (OG(active) ? PHP_OUTPUT_ACTIVE : 0) in php_output_get_status()
256 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE)) { in php_output_flush()
258 php_output_handler_op(OG(active), &context); in php_output_flush()
262 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
275 if (OG(active)) { in php_output_flush_all()
287 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_CLEANABLE)) { in php_output_clean()
289 php_output_handler_op(OG(active), &context); in php_output_clean()
303 if (OG(active)) { in php_output_clean_all()
324 while (OG(active) && php_output_stack_pop(PHP_OUTPUT_POP_FORCE)); in php_output_end_all()
343 while (OG(active)) { in php_output_discard_all()
353 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
361 if (OG(active)) { in php_output_get_contents()
362 if (OG(active)->buffer.used) { in php_output_get_contents()
363 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
378 if (OG(active)) { in php_output_get_length()
379 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
392 return OG(active); in php_output_get_active_handler()
554 OG(active) = handler; in php_output_handler_start()
762 if (op && OG(active) && OG(running)) { in php_output_lock_error()
1041 php_output_handler **active; in php_output_op() local
1055 if (OG(active) && (obh_cnt = zend_stack_count(&OG(handlers)))) { in php_output_op()
1061 …} else if ((active = zend_stack_top(&OG(handlers))) && (!((*active)->flags & PHP_OUTPUT_HANDLER_DI… in php_output_op()
1062 php_output_handler_op(*active, &context); in php_output_op()
1201 php_output_handler **current, *orphan = OG(active); in php_output_stack_pop()
1232 OG(active) = *current; in php_output_stack_pop()
1234 OG(active) = NULL; in php_output_stack_pop()
1328 if (!OG(active)) { in PHP_FUNCTION()
1334 …ol", E_NOTICE, "Failed to flush buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1348 if (!OG(active)) { in PHP_FUNCTION()
1354 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1368 if (!OG(active)) { in PHP_FUNCTION()
1384 if (!OG(active)) { in PHP_FUNCTION()
1406 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1418 if(!OG(active)) { in PHP_FUNCTION()
1428 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1479 if (!OG(active)) { in PHP_FUNCTION()
1496 if (!OG(active)) { in PHP_FUNCTION()
1505 php_output_handler_status(OG(active), return_value); in PHP_FUNCTION()