Searched refs:percent (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/phar/tests/files/
H A Dpear2coverage.phar.php338 $percent = 0;
340 $percent = round(($covered / $total) * 100);
343 if ($percent < 50) {
345 } elseif ($percent < 75) {
350 $output->text($percent . '% code coverage');
363 $percent = $source->coveragePercentage();
365 if ($percent < 50) {
367 } elseif ($percent < 75) {
372 $output->text(' Coverage: ' . str_pad($percent . '%', 4, ' ', STR_PAD_LEFT));
451 $percent
335 $percent = 0; variable
337 $percent = round(($covered / $total) * 100); variable
360 $percent = $source->coveragePercentage(); variable
448 $percent = $source->coveragePercentage(); variable
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c2307 ZEND_ARG_INFO(1, percent)
H A Dstring.c3080 /* {{{ proto int similar_text(string str1, string str2 [, float percent])
3085 zval *percent = NULL; local
3089 if (zend_parse_parameters(ZEND_NUM_ARGS(), "SS|z/", &t1, &t2, &percent) == FAILURE) {
3094 convert_to_double_ex(percent);
3099 Z_DVAL_P(percent) = 0;
3108 Z_DVAL_P(percent) = sim * 200.0 / (t1->len + t2->len);

Completed in 18 milliseconds