Lines Matching refs:active

185 		OG(active) = NULL;  in php_output_deactivate()
239 | (OG(active) ? PHP_OUTPUT_ACTIVE : 0) in php_output_get_status()
277 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE)) { in php_output_flush()
279 php_output_handler_op(OG(active), &context); in php_output_flush()
283 zend_stack_push(&OG(handlers), &OG(active)); in php_output_flush()
296 if (OG(active)) { in php_output_flush_all()
308 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_CLEANABLE)) { in php_output_clean()
310 php_output_handler_op(OG(active), &context); in php_output_clean()
324 if (OG(active)) { in php_output_clean_all()
345 while (OG(active) && php_output_stack_pop(PHP_OUTPUT_POP_FORCE)); in php_output_end_all()
364 while (OG(active)) { in php_output_discard_all()
374 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
382 if (OG(active)) { in php_output_get_contents()
383 if (OG(active)->buffer.used) { in php_output_get_contents()
384 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used); in php_output_get_contents()
399 if (OG(active)) { in php_output_get_length()
400 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
413 return OG(active); in php_output_get_active_handler()
575 OG(active) = handler; in php_output_handler_start()
783 if (op && OG(active) && OG(running)) { in php_output_lock_error()
1050 php_output_handler **active; in php_output_op() local
1064 if (OG(active) && (obh_cnt = zend_stack_count(&OG(handlers)))) { in php_output_op()
1070 …} else if ((active = zend_stack_top(&OG(handlers))) && (!((*active)->flags & PHP_OUTPUT_HANDLER_DI… in php_output_op()
1071 php_output_handler_op(*active, &context); in php_output_op()
1210 php_output_handler **current, *orphan = OG(active); in php_output_stack_pop()
1241 OG(active) = *current; in php_output_stack_pop()
1243 OG(active) = NULL; in php_output_stack_pop()
1337 if (!OG(active)) { in PHP_FUNCTION()
1343 …ol", E_NOTICE, "Failed to flush buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1357 if (!OG(active)) { in PHP_FUNCTION()
1363 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1377 if (!OG(active)) { in PHP_FUNCTION()
1393 if (!OG(active)) { in PHP_FUNCTION()
1415 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1427 if(!OG(active)) { in PHP_FUNCTION()
1437 …l", E_NOTICE, "Failed to delete buffer of %s (%d)", ZSTR_VAL(OG(active)->name), OG(active)->level); in PHP_FUNCTION()
1488 if (!OG(active)) { in PHP_FUNCTION()
1505 if (!OG(active)) { in PHP_FUNCTION()
1514 php_output_handler_status(OG(active), return_value); in PHP_FUNCTION()