Lines Matching refs:first

158 	bc_num first, second, result;  in PHP_FUNCTION()  local
177 bc_init_num(&first); in PHP_FUNCTION()
181 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
191 bc_add (first, second, &result, scale); in PHP_FUNCTION()
196 bc_free_num(&first); in PHP_FUNCTION()
209 bc_num first, second, result; in PHP_FUNCTION() local
228 bc_init_num(&first); in PHP_FUNCTION()
232 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
242 bc_sub (first, second, &result, scale); in PHP_FUNCTION()
247 bc_free_num(&first); in PHP_FUNCTION()
260 bc_num first, second, result; in PHP_FUNCTION() local
279 bc_init_num(&first); in PHP_FUNCTION()
283 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
293 bc_multiply (first, second, &result, scale); in PHP_FUNCTION()
298 bc_free_num(&first); in PHP_FUNCTION()
311 bc_num first, second, result; in PHP_FUNCTION() local
330 bc_init_num(&first); in PHP_FUNCTION()
334 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
344 switch (bc_divide(first, second, &result, scale)) { in PHP_FUNCTION()
354 bc_free_num(&first); in PHP_FUNCTION()
367 bc_num first, second, result; in PHP_FUNCTION() local
386 bc_init_num(&first); in PHP_FUNCTION()
390 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
400 switch (bc_modulo(first, second, &result, scale)) { in PHP_FUNCTION()
410 bc_free_num(&first); in PHP_FUNCTION()
423 bc_num first, second, mod, result; in PHP_FUNCTION() local
443 bc_init_num(&first); in PHP_FUNCTION()
448 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
463 if (bc_raisemod(first, second, mod, &result, scale) == SUCCESS) { in PHP_FUNCTION()
468 bc_free_num(&first); in PHP_FUNCTION()
482 bc_num first, second, result; in PHP_FUNCTION() local
501 bc_init_num(&first); in PHP_FUNCTION()
505 if (php_str2num(&first, ZSTR_VAL(left)) == FAILURE) { in PHP_FUNCTION()
515 bc_raise (first, second, &result, scale); in PHP_FUNCTION()
520 bc_free_num(&first); in PHP_FUNCTION()
576 bc_num first, second; in PHP_FUNCTION() local
595 bc_init_num(&first); in PHP_FUNCTION()
598 if (!bc_str2num(&first, ZSTR_VAL(left), scale)) { in PHP_FUNCTION()
608 RETVAL_LONG(bc_compare(first, second)); in PHP_FUNCTION()
611 bc_free_num(&first); in PHP_FUNCTION()