Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/vendor/splitbrain/php-archive/src/
H A DZip.php789 * @param boolean|null $comp if compression is used, if null it's determined from $len != $clen
792 protected function makeCentralFileRecord($offset, $ts, $crc, $len, $clen, $name, $comp = null) argument
794 if(is_null($comp)) $comp = $len != $clen;
795 $comp = $comp ? 8 : 0;
804 $header .= pack('v', $comp); // compression method - deflate|none
836 * @param boolean|null $comp if compression is used, if null it's determined from $len != $clen
839 protected function makeLocalFileHeader($ts, $crc, $len, $clen, $name, $comp = null) argument
841 if(is_null($comp)) $comp = $len != $clen;
842 $comp = $comp ? 8 : 0;
850 $header .= pack('v', $comp); // compression method - deflate|none
/dokuwiki/inc/Utf8/
H A DPhpString.php364 $comp = 0;
368 $pos = strpos($haystack, $needle, $offset + $comp);
376 $comp = $pos - $length;
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php1436 protected function toRGB_helper($comp, $temp1, $temp2) { argument
1437 if ($comp < 0) $comp += 1.0;
1438 elseif ($comp > 1) $comp -= 1.0;
1440 if (6 * $comp < 1) return $temp1 + ($temp2 - $temp1) * 6 * $comp;
1441 if (2 * $comp < 1) return $temp2;
1442 if (3 * $comp < 2) return $temp1 + ($temp2 - $temp1)*((2/3) - $comp) * 6;