Home
last modified time | relevance | path

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

12

/php-src/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-src/ext/bcmath/libbcmath/src/
H A Dadd.c44 bc_num sum = NULL; in bc_add() local
47 sum = _bc_do_add(n1, n2); in bc_add()
48 sum->n_sign = n1->n_sign; in bc_add()
55 sum = _bc_do_sub(n2, n1); in bc_add()
56 sum->n_sign = n2->n_sign; in bc_add()
60 sum = bc_new_num (1, MAX(scale_min, MAX(n1->n_scale, n2->n_scale))); in bc_add()
64 sum = _bc_do_sub(n1, n2); in bc_add()
65 sum->n_sign = n1->n_sign; in bc_add()
69 return sum; in bc_add()
H A Ddoaddsub.c43 bc_num sum; in _bc_do_add() local
54 sum = bc_new_num_nonzeroed(sum_len, sum_scale); in _bc_do_add()
59 sumptr = (char *) (sum->n_value + sum_scale + sum_len - 1); in _bc_do_add()
163 _bc_rm_leading_zeros(sum); in _bc_do_add()
164 return sum; in _bc_do_add()
/php-src/ext/standard/tests/array/array_walk/
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 …]
/php-src/ext/dom/tests/
H A Ddomdocumentload_utilities.inc9 $sum = 0;
11 $sum = $sum|$value;
14 return $sum;
/php-src/ext/sockets/tests/
H A Dsocket_icmp.phpt30 $sum = array_sum($bit);
32 while ($sum >> 16) {
33 $sum = ($sum & 0xFFFF) + ($sum >> 16);
35 return ~ $sum & 0xFFFF;
/php-src/ext/fileinfo/libmagic/
H A Dis_tar.c106 int sum, recsum; in is_tar() local
125 sum = 0; in is_tar()
129 sum += *p++; in is_tar()
133 sum -= header->header.chksum[i]; in is_tar()
134 sum += ' ' * sizeof(header->header.chksum); in is_tar()
136 if (sum != recsum) in is_tar()
/php-src/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-src/ext/standard/
H A Dcrypt_sha256.c695 char sum[32]; in main() local
706 sha256_finish_ctx(&ctx, sum); in main()
707 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
716 sha256_finish_ctx(&ctx, sum); in main()
717 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
731 sha256_finish_ctx(&ctx, sum); in main()
733 if (memcmp(expected, sum, 32) != 0) { in main()
H A Dcrypt_sha512.c764 char sum[64]; in main() local
778 sha512_finish_ctx (&ctx, sum); in main()
779 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
788 sha512_finish_ctx (&ctx, sum); in main()
789 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
803 sha512_finish_ctx (&ctx, sum); in main()
804 if (memcmp (expected, sum, 64) != 0) { in main()
/php-src/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-src/ext/standard/tests/array/
H A Darray_sum_variation3.phpt6 * sum of array containing different float values
/php-src/ext/opcache/
H A Dzend_accelerator_util_funcs.c487 __m128i sum = _mm_add_epi32(lower, higher); /* [A * 16 + I * 8:H * 9 + P * 1] */ in adler32_do16_loop() local
488 accumulate_s2 = _mm_add_epi32(accumulate_s2, sum); in adler32_do16_loop()
492 sum = _mm_sad_epu8(read, zero); in adler32_do16_loop()
493 s1 += _mm_cvtsi128_si32(sum) + _mm_extract_epi16(sum, 4); in adler32_do16_loop()
/php-src/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;"
/php-src/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-src/ext/standard/html_tables/
H A Dents_html401.txt182 sum 2211
H A Dents_xhtml.txt214 sum 2211
/php-src/ext/phar/
H A Dtar.c92 uint32_t sum = 0; in phar_tar_checksum() local
96 sum += (unsigned char)*buf; in phar_tar_checksum()
99 return sum; in phar_tar_checksum()

Completed in 53 milliseconds

12