Lines Matching refs:active

185 		OG(active) = NULL;  in php_output_deactivate()
219 | (OG(active) ? PHP_OUTPUT_ACTIVE : 0) in php_output_get_status()
257 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE)) { in php_output_flush()
259 php_output_handler_op(OG(active), &context); in php_output_flush()
263 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
276 if (OG(active)) { in php_output_flush_all()
288 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_CLEANABLE)) { in php_output_clean()
290 php_output_handler_op(OG(active), &context); in php_output_clean()
304 if (OG(active)) { in php_output_clean_all()
325 while (OG(active) && php_output_stack_pop(PHP_OUTPUT_POP_FORCE)); in php_output_end_all()
344 while (OG(active)) { in php_output_discard_all()
354 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
362 if (OG(active)) { in php_output_get_contents()
363 if (OG(active)->buffer.used) { in php_output_get_contents()
364 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
379 if (OG(active)) { in php_output_get_length()
380 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
393 return OG(active); in php_output_get_active_handler()
555 OG(active) = handler; in php_output_handler_start()
763 if (op && OG(active) && OG(running)) { in php_output_lock_error()
1038 php_output_handler **active; in php_output_op() local
1052 if (OG(active) && (obh_cnt = zend_stack_count(&OG(handlers)))) { in php_output_op()
1058 …} else if ((active = zend_stack_top(&OG(handlers))) && (!((*active)->flags & PHP_OUTPUT_HANDLER_DI… in php_output_op()
1059 php_output_handler_op(*active, &context); in php_output_op()
1198 php_output_handler **current, *orphan = OG(active); in php_output_stack_pop()
1229 OG(active) = *current; in php_output_stack_pop()
1231 OG(active) = NULL; in php_output_stack_pop()
1325 if (!OG(active)) { in PHP_FUNCTION()
1331 …ol", E_NOTICE, "Failed to flush buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1345 if (!OG(active)) { in PHP_FUNCTION()
1351 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1365 if (!OG(active)) { in PHP_FUNCTION()
1381 if (!OG(active)) { in PHP_FUNCTION()
1403 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1415 if(!OG(active)) { in PHP_FUNCTION()
1425 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1476 if (!OG(active)) { in PHP_FUNCTION()
1493 if (!OG(active)) { in PHP_FUNCTION()
1502 php_output_handler_status(OG(active), return_value); in PHP_FUNCTION()