Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/bcmath/libbcmath/src/
H A Dadd.c50 bc_num sum = NULL; local
56 sum = _bc_do_add (n1, n2, scale_min);
57 sum->n_sign = n1->n_sign;
67 sum = _bc_do_sub (n2, n1, scale_min);
68 sum->n_sign = n2->n_sign;
73 sum = bc_new_num (1, res_scale);
74 memset (sum->n_value, 0, res_scale+1);
78 sum = _bc_do_sub (n1, n2, scale_min);
79 sum->n_sign = n1->n_sign;
85 *result = sum;
H A Ddoaddsub.c50 bc_num sum; local
59 sum = bc_new_num (sum_digits, MAX(sum_scale, scale_min));
64 sumptr = (char *) (sum->n_value + sum_scale + sum_digits);
74 sumptr = (char *) (sum->n_value + sum_scale + sum_digits - 1);
127 _bc_rm_leading_zeros (sum);
128 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.4/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_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.4/ext/dom/tests/
H A Ddomdocumentload_utilities.inc9 $sum = 0;
11 $sum = $sum|$value;
14 return $sum;
/PHP-7.4/ext/fileinfo/libmagic/
H A Dis_tar.c104 int sum, recsum; in is_tar() local
112 sum = 0; in is_tar()
116 sum += *p++; in is_tar()
120 sum -= header->header.chksum[i]; in is_tar()
121 sum += ' ' * sizeof(header->header.chksum); in is_tar()
123 if (sum != recsum) in is_tar()
/PHP-7.4/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.4/ext/standard/
H A Dcrypt_sha256.c680 char sum[32]; in main() local
691 sha256_finish_ctx(&ctx, sum); in main()
692 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
701 sha256_finish_ctx(&ctx, sum); in main()
702 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
716 sha256_finish_ctx(&ctx, sum); in main()
718 if (memcmp(expected, sum, 32) != 0) { in main()
H A Dcrypt_sha512.c745 char sum[64]; in main() local
759 sha512_finish_ctx (&ctx, sum); in main()
760 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
769 sha512_finish_ctx (&ctx, sum); in main()
770 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
784 sha512_finish_ctx (&ctx, sum); in main()
785 if (memcmp (expected, sum, 64) != 0) { in main()
/PHP-7.4/build/
H A Dphp_cxx_compile_stdcxx.m4355 struct sum;
358 struct sum<N0, N1toN...>
360 static constexpr auto value = N0 + sum<N1toN...>::value;
364 struct sum<>
369 static_assert(sum<>::value == 0, "");
370 static_assert(sum<1>::value == 1, "");
371 static_assert(sum<23>::value == 23, "");
372 static_assert(sum<1, 2>::value == 3, "");
373 static_assert(sum<5, 5, 11>::value == 21, "");
374 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
/PHP-7.4/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.4/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.4/ext/standard/html_tables/
H A Dents_html401.txt182 sum 2211
H A Dents_xhtml.txt214 sum 2211

Completed in 49 milliseconds

12