Lines Matching refs:active

179 		OG(active) = NULL;  in php_output_deactivate()
228 | (OG(active) ? PHP_OUTPUT_ACTIVE : 0) in php_output_get_status()
283 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE)) { in php_output_flush()
285 php_output_handler_op(OG(active), &context); in php_output_flush()
289 zend_stack_push(&OG(handlers), &OG(active), sizeof(php_output_handler *)); in php_output_flush()
302 if (OG(active)) { in php_output_flush_all()
314 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_CLEANABLE)) { in php_output_clean()
316 php_output_handler_op(OG(active), &context); in php_output_clean()
330 if (OG(active)) { in php_output_clean_all()
351 while (OG(active) && php_output_stack_pop(PHP_OUTPUT_POP_FORCE TSRMLS_CC)); in php_output_end_all()
370 while (OG(active)) { in php_output_discard_all()
380 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
388 if (OG(active)) { in php_output_get_contents()
389 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used, 1); in php_output_get_contents()
401 if (OG(active)) { in php_output_get_length()
402 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
415 return OG(active); in php_output_get_active_handler()
580 OG(active) = handler; in php_output_handler_start()
776 if (op && OG(active) && OG(running)) { in php_output_lock_error()
1057 php_output_handler **active; in php_output_op() local
1071 if (OG(active) && (obh_cnt = zend_stack_count(&OG(handlers)))) { in php_output_op()
1077 …} else if ((SUCCESS == zend_stack_top(&OG(handlers), (void *) &active)) && (!((*active)->flags & P… in php_output_op()
1078 php_output_handler_op(*active, &context); in php_output_op()
1219 php_output_handler **current, *orphan = OG(active); in php_output_stack_pop()
1250 OG(active) = *current; in php_output_stack_pop()
1252 OG(active) = NULL; in php_output_stack_pop()
1349 if (!OG(active)) { in PHP_FUNCTION()
1355 …ol" TSRMLS_CC, E_NOTICE, "failed to flush buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1370 if (!OG(active)) { in PHP_FUNCTION()
1376 …l" TSRMLS_CC, E_NOTICE, "failed to delete buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1391 if (!OG(active)) { in PHP_FUNCTION()
1408 if (!OG(active)) { in PHP_FUNCTION()
1431 …l" TSRMLS_CC, E_NOTICE, "failed to delete buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1444 if(!OG(active)) { in PHP_FUNCTION()
1454 …l" TSRMLS_CC, E_NOTICE, "failed to delete buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1509 if (!OG(active)) { in PHP_FUNCTION()
1529 if (!OG(active)) { in PHP_FUNCTION()
1536 php_output_handler_status(OG(active), return_value); in PHP_FUNCTION()