Lines Matching refs:data
55 function deCompress($data, &$datLen)
57 $stLen = strlen($data);
60 $dp = 0; // data pointer
62 $this->LZWCommandInit($data, $dp);
64 while (($iIndex = $this->LZWCommand($data, $dp)) >= 0) {
77 function LZWCommandInit(&$data, &$dp)
79 $this->SetCodeSize = ord($data[0]);
88 $this->GetCodeInit($data, $dp);
105 function LZWCommand(&$data, &$dp)
110 $this->FirstCode = $this->GetCode($data, $dp);
122 while (($Code = $this->GetCode($data, $dp)) >= 0) {
138 $this->FirstCode = $this->GetCode($data, $dp);
188 function GetCodeInit(&$data, &$dp)
197 function GetCode(&$data, &$dp)
211 $Count = ord($data[$dp]);
216 $this->Buf[2 + $i] = ord($data[$dp + $i]);