Searched defs:percent (Results 1 - 2 of 2) sorted by relevance

/PHP_5_4/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_5_4/ext/standard/
H A Dstring.c3287 /* {{{ proto int similar_text(string str1, string str2 [, float percent])
3292 zval **percent = NULL; local
3297 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|Z", &t1, &t1_len, &t2, &t2_len, &percent) == FAILURE) {
3302 convert_to_double_ex(percent);
3307 Z_DVAL_PP(percent) = 0;
3316 Z_DVAL_PP(percent) = sim * 200.0 / (t1_len + t2_len);

Completed in 12 milliseconds