Lines Matching refs:this
56 $this->mimeType = $mimeType;
57 $this->data = $data;
58 $this->size = strlen($this->data);
59 $this->resumable = $resumable;
63 $this->chunkSize = $chunkSize;
64 $this->progress = 0;
68 $this->size = $size;
213 if (false == $this->resumeUri) {
214 $this->resumeUri = $this->getResumeUri($req);
218 $chunk = substr($this->data, $this->progress, $this->chunkSize);
221 $lastBytePos = $this->progress + strlen($chunk) - 1;
223 'content-range' => "bytes $this->progress-$lastBytePos/$this->size",
225 'content-length' => $this->chunkSize,
229 $httpRequest = new Google_HttpRequest($this->resumeUri, 'PUT', $headers, $chunk);
234 $this->progress = $range[1] + 1;
248 'x-upload-content-type' => $this->mimeType,
249 'x-upload-content-length' => $this->size,