Home
last modified time | relevance | path

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

12

/PHP-5.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.c86 int indx, sum, prodlen; in _bc_simp_mul() local
95 sum = 0; in _bc_simp_mul()
103 sum += *n1ptr-- * *n2ptr++; in _bc_simp_mul()
104 *pvptr-- = sum % BASE; in _bc_simp_mul()
105 sum = sum / BASE; in _bc_simp_mul()
107 *pvptr = sum; in _bc_simp_mul()
/PHP-5.3/ext/fileinfo/libmagic/
H A Dis_tar.c97 int sum, recsum; in is_tar() local
105 sum = 0; in is_tar()
108 sum += *p++; in is_tar()
112 sum -= header->header.chksum[i]; in is_tar()
113 sum += ' ' * sizeof header->header.chksum; in is_tar()
115 if (sum != recsum) in is_tar()
/PHP-5.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-5.3/ext/sqlite/libsqlite/src/
H A Dencode.c138 int sum; in sqlite_encode_binary() local
140 sum = cnt[i] + cnt[(i+1)&0xff] + cnt[(i+'\'')&0xff]; in sqlite_encode_binary()
141 if( sum<m ){ in sqlite_encode_binary()
142 m = sum; in sqlite_encode_binary()
H A Dfunc.c409 double sum; /* Sum of terms */ member
421 p->sum += sqliteAtoF(argv[0], 0); in sumStep()
428 sqlite_set_result_double(context, p ? p->sum : 0.0); in sumFinalize()
434 sqlite_set_result_double(context, p->sum/(double)p->cnt); in avgFinalize()
444 double sum; /* Sum of terms */ member
460 p->sum += x;
471 sqrt((p->sum2 - p->sum*p->sum/rCnt)/(rCnt-1.0)));
/PHP-5.3/ext/standard/tests/array/
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
H A Darray_sum_variation1.phpt6 * Description: Returns the sum of the array entries
/PHP-5.3/ext/mbstring/libmbfl/
H A DMakefile.am7 CLEANFILES=*.log *.sum
/PHP-5.3/ext/standard/
H A Dcrypt_sha256.c703 char sum[32]; in main() local
714 sha256_finish_ctx(&ctx, sum); in main()
715 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
724 sha256_finish_ctx(&ctx, sum); in main()
725 if (memcmp(tests[cnt].result, sum, 32) != 0) { in main()
739 sha256_finish_ctx(&ctx, sum); in main()
741 if (memcmp(expected, sum, 32) != 0) { in main()
H A Dcrypt_sha512.c767 char sum[64]; in main() local
781 sha512_finish_ctx (&ctx, sum); in main()
782 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
791 sha512_finish_ctx (&ctx, sum); in main()
792 if (memcmp (tests[cnt].result, sum, 64) != 0) { in main()
806 sha512_finish_ctx (&ctx, sum); in main()
807 if (memcmp (expected, sum, 64) != 0) { in main()
/PHP-5.3/ext/standard/tests/strings/
H A Dparse_str_basic3.phpt58 $s1 = "sum=10%5c2%3d5";
60 var_dump($sum);
H A Dget_html_translation_table_basic2.phpt457 string(5) "&sum;"
964 string(5) "&sum;"
1473 string(5) "&sum;"
H A Dhtml_entity_decode_html4.phpt218 "&sum;",
/PHP-5.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 …]

Completed in 56 milliseconds

12