Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 25 of 40) sorted by relevance

12

/PHP-7.3/ext/bcmath/libbcmath/src/
H A Dadd.c51 bc_num sum = NULL; local
57 sum = _bc_do_add (n1, n2, scale_min);
58 sum->n_sign = n1->n_sign;
68 sum = _bc_do_sub (n2, n1, scale_min);
69 sum->n_sign = n2->n_sign;
74 sum = bc_new_num (1, res_scale);
75 memset (sum->n_value, 0, res_scale+1);
79 sum = _bc_do_sub (n1, n2, scale_min);
80 sum->n_sign = n1->n_sign;
86 *result = sum;
H A Ddoaddsub.c51 bc_num sum; local
60 sum = bc_new_num (sum_digits, MAX(sum_scale, scale_min));
65 sumptr = (char *) (sum->n_value + sum_scale + sum_digits);
75 sumptr = (char *) (sum->n_value + sum_scale + sum_digits - 1);
128 _bc_rm_leading_zeros (sum);
129 return sum;
H A Drecmul.c77 int indx, sum, prodlen; in _bc_simp_mul() local
86 sum = 0; in _bc_simp_mul()
94 sum += *n1ptr-- * *n2ptr++; in _bc_simp_mul()
95 *pvptr-- = sum % BASE; in _bc_simp_mul()
96 sum = sum / BASE; in _bc_simp_mul()
98 *pvptr = sum; in _bc_simp_mul()
/PHP-7.3/ext/standard/tests/array/
H A Darray_walk_closure.phpt127 ["sum"]=>
131 ["sum"]=>
135 ["sum"]=>
143 ["sum"]=>
147 ["sum"]=>
151 ["sum"]=>
159 ["sum"]=>
163 ["sum"]=>
167 ["sum"]=>
175 ["sum"]=>
[all …]
H A Darray_sum_variation3.phpt6 * Description: Returns the sum of the array entries
11 * sum of array containing different float values
H A Darray_sum_variation5.phpt6 * Description: Returns the sum of the array entries
H A Darray_sum_variation6.phpt6 * Description: Returns the sum of the array entries
H A Darray_sum_variation4.phpt6 * Description: Returns the sum of the array entries
H A Darray_sum_basic.phpt6 * Description: Returns the sum of the array entries
H A Darray_sum_error.phpt6 * Description: Returns the sum of the array entries
H A Darray_sum_variation2.phpt6 * Description: Returns the sum of the array entries
H A Darray_sum_variation7.phpt6 * Description: Returns the sum of the array entries
/PHP-7.3/ext/dom/tests/
H A Ddomdocumentload_utilities.php9 $sum = 0;
11 $sum = $sum|$value;
14 return $sum;
/PHP-7.3/ext/fileinfo/libmagic/
H A Dis_tar.c99 int sum, recsum; in is_tar() local
107 sum = 0; in is_tar()
111 sum += *p++; in is_tar()
115 sum -= header->header.chksum[i]; in is_tar()
116 sum += ' ' * sizeof(header->header.chksum); in is_tar()
118 if (sum != recsum) in is_tar()
/PHP-7.3/ext/soap/tests/
H A Dserver013.phpt8 $sum = 0;
11 $sum += $val;
14 return $sum;
29 <ns1:sum>
34 </ns1:sum>
H A Dserver010.phpt8 private $sum = 0;
11 return $this->sum += $num;
H A Dserver009.phpt16 private $sum = 0;
19 return $this->sum += $num;
/PHP-7.3/ext/standard/
H A Dcrypt_sha256.c684 char sum[32]; in main() local
695 sha256_finish_ctx(&ctx, sum); in main()
696 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
705 sha256_finish_ctx(&ctx, sum); in main()
706 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
720 sha256_finish_ctx(&ctx, sum); in main()
722 if (memcmp(expected, sum, 32) != 0) { in main()
H A Dcrypt_sha512.c749 char sum[64]; in main() local
763 sha512_finish_ctx (&ctx, sum); in main()
764 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
773 sha512_finish_ctx (&ctx, sum); in main()
774 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
788 sha512_finish_ctx (&ctx, sum); in main()
789 if (memcmp (expected, sum, 64) != 0) { in main()
/PHP-7.3/ext/standard/tests/strings/
H A Dparse_str_basic3.phpt58 $s1 = "sum=10%5c2%3d5";
207 ["sum"]=>
H A Dget_html_translation_table_basic7.phpt273 [∑] => &sum;
H A Dget_html_translation_table_basic2.phpt485 string(5) "&sum;"
994 string(5) "&sum;"
1499 string(5) "&sum;"
/PHP-7.3/tests/lang/
H A D024.phpt470 Each array variable should be equal to the sum of its indices:
695 Each array variable should be equal to the sum of its indices:
920 Each array variable should be equal to the sum of its indices:
1145 Each array variable should be equal to the sum of its indices:
1370 Each array variable should be equal to the sum of its indices:
1595 Each array variable should be equal to the sum of its indices:
1820 Each array variable should be equal to the sum of its indices:
2045 Each array variable should be equal to the sum of its indices:
2270 Each array variable should be equal to the sum of its indices:
2495 Each array variable should be equal to the sum of its indices:
[all …]
/PHP-7.3/ext/standard/html_tables/
H A Dents_html401.txt182 sum 2211
H A Dents_xhtml.txt214 sum 2211

Completed in 73 milliseconds

12