Lines Matching refs:str
65 $str = substr($data, $bfOffBits);
68 $str = $this->rle8_decode(substr($data, $bfOffBits), $width);
71 $str = $this->rle4_decode(substr($data, $bfOffBits), $width);
86 $bmpdata .= $str[$y0 + $x];
93 $bmpdata .= $str[$y0 + $x];
105 $n = (ord($str[$y0 + 2 * $x + 1]) * 256 + ord($str[$y0 + 2 * $x]));
116 $n = (ord($str[$y0 + 2 * $x + 1]) * 256 + ord($str[$y0 + 2 * $x]));
136 $bmpdata .= $str[$i + 2] . $str[$i + 1] . $str[$i];
144 $bmpdata .= $str[$i + 2] . $str[$i + 1] . $str[$i];
188 * @param $str
192 private function rle8_decode($str, $width)
196 $cnt = strlen($str);
198 $o = ord($str[$i]);
201 switch (ord($str[$i])) {
218 $num = ord($str[$i]);
220 $out .= $str[++$i];
227 $out .= str_repeat($str[++$i], $o);
237 * @param $str
241 private function rle4_decode($str, $width)
246 $cnt = strlen($str);
248 $o = ord($str[$i]);
251 switch (ord($str[$i])) {
266 $num = ord($str[$i]);
269 $c = ord($str[++$i]);
280 $c = ord($str[++$i]);