Lines Matching refs:i

228 			for ($i = 0; $i < $this->ClearCode; $i++) {
229 $this->Next[$i] = 0;
230 $this->Vals[$i] = $i;
233 for (; $i < (1 << $this->MAX_LZW_BITS); $i++) {
234 $this->Next[$i] = 0;
235 $this->Vals[$i] = 0;
260 for ($i = 0; $i < $this->ClearCode; $i++) {
261 $this->Next[$i] = 0;
262 $this->Vals[$i] = $i;
265 for (; $i < (1 << $this->MAX_LZW_BITS); $i++) {
266 $this->Next[$i] = 0;
267 $this->Vals[$i] = 0;
354 for ($i = 0; $i < $Count; $i++) {
355 $this->Buf[2 + $i] = ord($data[$i]);
368 for ($i = $this->CurBit, $j = 0; $j < $this->CodeSize; $i++, $j++) {
369 $iRet |= (($this->Buf[ (int) ($i / 8) ] & (1 << ($i % 8))) != 0) << $j;
400 for ($i = 0; $i < $num; $i++) {
401 $rgb = substr($lpData, $i * 3, 3);
419 for ($i = 0; $i < $this->m_nColors; $i++) {
421 chr($this->m_arColors[ $i] & 0x000000FF) . // R
422 chr(($this->m_arColors[$i] & 0x0000FF00) >> 8) . // G
423 chr(($this->m_arColors[$i] & 0x00FF0000) >> 16); // B
435 for ($i = 0; $i < $this->m_nColors; $i++) {
437 chr(($this->m_arColors[$i] & 0x00FF0000) >> 16) . // B
438 chr(($this->m_arColors[$i] & 0x0000FF00) >> 8) . // G
439 chr($this->m_arColors[ $i] & 0x000000FF) . // R
457 for ($i = 0; $i < $this->m_nColors; $i++) {
458 $r2 = ($this->m_arColors[$i] & 0x000000FF);
459 $g2 = ($this->m_arColors[$i] & 0x0000FF00) >> 8;
460 $b2 = ($this->m_arColors[$i] & 0x00FF0000) >> 16;
464 $idx = $i;
757 for ($i = 0; $i < 4; $i++) {
758 switch($i) {
1049 for ($i = 0; $i < $nColors; $i++) {
1050 $tmp .= ($i == $this->m_img->m_nTrans) ? "\x00" : "\xFF";
1093 for ($i = 0; $i < $NumColorsInPal; $i++) {
1094 $ThisImageColor[$i] = imagecolorallocate(
1096 ord($pal[($i * 3) + 0]),
1097 ord($pal[($i * 3) + 1]),
1098 ord($pal[($i * 3) + 2]));