Home
last modified time | relevance | path

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

12

/PHP-8.2/ext/zend_test/tests/
H A Dobserver_zend_call_function_01.phpt26 <!-- init sum() -->
27 <sum>
28 </sum>
29 <sum>
30 </sum>
31 <sum>
32 </sum>
33 <sum>
34 </sum>
35 <sum>
[all …]
/PHP-8.2/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.c74 int indx, sum, prodlen; in _bc_simp_mul() local
83 sum = 0; in _bc_simp_mul()
91 sum += *n1ptr-- * *n2ptr++; in _bc_simp_mul()
92 *pvptr-- = sum % BASE; in _bc_simp_mul()
93 sum = sum / BASE; in _bc_simp_mul()
95 *pvptr = sum; in _bc_simp_mul()
/PHP-8.2/ext/standard/tests/array/
H A Darray_walk_closure.phpt113 ["sum"]=>
119 ["sum"]=>
125 ["sum"]=>
133 ["sum"]=>
137 ["sum"]=>
141 ["sum"]=>
151 ["sum"]=>
157 ["sum"]=>
163 ["sum"]=>
171 ["sum"]=>
[all …]
H A Darray_sum_variation3.phpt6 * sum of array containing different float values
/PHP-8.2/ext/dom/tests/
H A Ddomdocumentload_utilities.inc9 $sum = 0;
11 $sum = $sum|$value;
14 return $sum;
/PHP-8.2/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-8.2/ext/soap/tests/
H A Dserver013.phpt8 $sum = 0;
11 $sum += $val;
14 return $sum;
29 <ns1:sum>
34 </ns1:sum>
H A Dserver009.phpt12 private $sum = 0;
15 return $this->sum += $num;
H A Dserver010.phpt8 private $sum = 0;
11 return $this->sum += $num;
/PHP-8.2/ext/standard/
H A Dcrypt_sha256.c700 char sum[32]; in main() local
711 sha256_finish_ctx(&ctx, sum); in main()
712 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
721 sha256_finish_ctx(&ctx, sum); in main()
722 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
736 sha256_finish_ctx(&ctx, sum); in main()
738 if (memcmp(expected, sum, 32) != 0) { in main()
H A Dcrypt_sha512.c765 char sum[64]; in main() local
779 sha512_finish_ctx (&ctx, sum); in main()
780 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
789 sha512_finish_ctx (&ctx, sum); in main()
790 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
804 sha512_finish_ctx (&ctx, sum); in main()
805 if (memcmp (expected, sum, 64) != 0) { in main()
/PHP-8.2/build/
H A Dphp_cxx_compile_stdcxx.m4370 struct sum;
373 struct sum<N0, N1toN...>
375 static constexpr auto value = N0 + sum<N1toN...>::value;
379 struct sum<>
384 static_assert(sum<>::value == 0, "");
385 static_assert(sum<1>::value == 1, "");
386 static_assert(sum<23>::value == 23, "");
387 static_assert(sum<1, 2>::value == 3, "");
388 static_assert(sum<5, 5, 11>::value == 21, "");
389 static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, "");
/PHP-8.2/ext/standard/tests/strings/
H A Dparse_str_basic3.phpt36 $s1 = "sum=10%5c2%3d5";
144 ["sum"]=>
H A Dget_html_translation_table_basic7.phpt273 [∑] => &sum;
H A Dget_html_translation_table_basic2.phpt480 string(5) "&sum;"
989 string(5) "&sum;"
1494 string(5) "&sum;"
H A Dhtml_entity_decode_html4.phpt218 "&sum;",
H A Dget_html_translation_table_basic1.phpt467 string(5) "&sum;"
H A Dhtmlentities_html4.phpt274 &sum; U+02211
/PHP-8.2/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 …]
H A D023.phpt127 Each array variable should be equal to the sum of its indices:<br>
/PHP-8.2/ext/standard/html_tables/
H A Dents_html401.txt182 sum 2211
H A Dents_xhtml.txt214 sum 2211
/PHP-8.2/ext/phar/
H A Dtar.c89 uint32_t sum = 0; in phar_tar_checksum() local
93 sum += (unsigned char)*buf; in phar_tar_checksum()
96 return sum; in phar_tar_checksum()

Completed in 80 milliseconds

12