Lines Matching refs:z_rusage
661 zval *z_status = NULL, *z_rusage = NULL; in PHP_FUNCTION() local
668 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lz/|lz/", &pid, &z_status, &options, &z_rusage) == FAI… in PHP_FUNCTION()
675 if (z_rusage) { in PHP_FUNCTION()
676 if (Z_TYPE_P(z_rusage) != IS_ARRAY) { in PHP_FUNCTION()
677 zval_dtor(z_rusage); in PHP_FUNCTION()
678 array_init(z_rusage); in PHP_FUNCTION()
680 zend_hash_clean(Z_ARRVAL_P(z_rusage)); in PHP_FUNCTION()
698 PHP_RUSAGE_TO_ARRAY(rusage, z_rusage); in PHP_FUNCTION()
714 zval *z_status = NULL, *z_rusage = NULL; in PHP_FUNCTION() local
721 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z/|lz/", &z_status, &options, &z_rusage) == FAILURE) { in PHP_FUNCTION()
727 if (z_rusage) { in PHP_FUNCTION()
728 if (Z_TYPE_P(z_rusage) != IS_ARRAY) { in PHP_FUNCTION()
729 zval_dtor(z_rusage); in PHP_FUNCTION()
730 array_init(z_rusage); in PHP_FUNCTION()
732 zend_hash_clean(Z_ARRVAL_P(z_rusage)); in PHP_FUNCTION()
751 PHP_RUSAGE_TO_ARRAY(rusage, z_rusage); in PHP_FUNCTION()