Lines Matching refs:pos
382 //$pos = strpos($data, "\xFF\xEE\x00\x0EAdobe\0");
383 //if ($pos !== false) {
388 while (($pos = strpos($data, "ICC_PROFILE\0", $offset)) !== false) {
390 $length = $this->twoBytesToInt(substr($data, $pos - 2, 2)) - 16;
391 $sn = max(1, ord($data[$pos + 12]));
392 $nom = max(1, ord($data[$pos + 13]));
393 $icc[$sn - 1] = substr($data, $pos + 14, $length);
394 $offset = ($pos + 14 + $length);
829 $pos = strpos($t, chr(0));
830 if (is_int($pos)) {
831 $trns = [$pos];
1226 $pos = strpos($t, chr(0));
1227 if (is_int($pos)) {
1228 $pal = imagecolorsforindex($im, $pos);