Lines Matching refs:active
178 OG(active) = NULL; in php_output_deactivate()
227 | (OG(active) ? PHP_OUTPUT_ACTIVE : 0) in php_output_get_status()
282 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_FLUSHABLE)) { in php_output_flush()
284 php_output_handler_op(OG(active), &context); in php_output_flush()
288 zend_stack_push(&OG(handlers), &OG(active), sizeof(php_output_handler *)); in php_output_flush()
301 if (OG(active)) { in php_output_flush_all()
313 if (OG(active) && (OG(active)->flags & PHP_OUTPUT_HANDLER_CLEANABLE)) { in php_output_clean()
315 php_output_handler_op(OG(active), &context); in php_output_clean()
329 if (OG(active)) { in php_output_clean_all()
350 while (OG(active) && php_output_stack_pop(PHP_OUTPUT_POP_FORCE TSRMLS_CC)); in php_output_end_all()
369 while (OG(active)) { in php_output_discard_all()
379 return OG(active) ? zend_stack_count(&OG(handlers)) : 0; in php_output_get_level()
387 if (OG(active)) { in php_output_get_contents()
388 ZVAL_STRINGL(p, OG(active)->buffer.data, OG(active)->buffer.used, 1); in php_output_get_contents()
400 if (OG(active)) { in php_output_get_length()
401 ZVAL_LONG(p, OG(active)->buffer.used); in php_output_get_length()
414 return OG(active); in php_output_get_active_handler()
579 OG(active) = handler; in php_output_handler_start()
775 if (op && OG(active) && OG(running)) { in php_output_lock_error()
1056 php_output_handler **active; in php_output_op() local
1070 if (OG(active) && (obh_cnt = zend_stack_count(&OG(handlers)))) { in php_output_op()
1076 …} else if ((SUCCESS == zend_stack_top(&OG(handlers), (void *) &active)) && (!((*active)->flags & P… in php_output_op()
1077 php_output_handler_op(*active, &context); in php_output_op()
1218 php_output_handler **current, *orphan = OG(active); in php_output_stack_pop()
1249 OG(active) = *current; in php_output_stack_pop()
1251 OG(active) = NULL; in php_output_stack_pop()
1348 if (!OG(active)) { in PHP_FUNCTION()
1354 …ol" TSRMLS_CC, E_NOTICE, "failed to flush buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1369 if (!OG(active)) { in PHP_FUNCTION()
1375 …l" TSRMLS_CC, E_NOTICE, "failed to delete buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1390 if (!OG(active)) { in PHP_FUNCTION()
1407 if (!OG(active)) { in PHP_FUNCTION()
1430 …l" TSRMLS_CC, E_NOTICE, "failed to delete buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1443 if(!OG(active)) { in PHP_FUNCTION()
1453 …l" TSRMLS_CC, E_NOTICE, "failed to delete buffer of %s (%d)", OG(active)->name, OG(active)->level); in PHP_FUNCTION()
1508 if (!OG(active)) { in PHP_FUNCTION()
1528 if (!OG(active)) { in PHP_FUNCTION()
1535 php_output_handler_status(OG(active), return_value); in PHP_FUNCTION()