Searched defs:percent (Results 1 - 2 of 2) 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 Dstring.c3085 /* {{{ proto int similar_text(string str1, string str2 [, float percent])
3090 zval *percent = NULL; local
3094 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "SS|z/", &t1, &t2, &percent) == FAILURE) {
3099 convert_to_double_ex(percent);
3104 Z_DVAL_P(percent) = 0;
3113 Z_DVAL_P(percent) = sim * 200.0 / (t1->len + t2->len);

Completed in 11 milliseconds