Lines Matching refs:this
17 $this->stream = fopen("test1://".substr($path, 8), $mode);
18 return !empty($this->stream);
21 $this->pos = strlen($this->data);
23 $this->pos = 0;
30 if (!empty($this->stream)) {
31 return fread($this->stream, $count);
33 $ret = substr($this->data, $this->pos, $count);
34 $this->pos += strlen($ret);
40 if (!empty($this->stream)) {
41 return ftell($this->stream);
43 return $this->pos;
48 if (!empty($this->stream)) {
49 return feof($this->stream);
51 return $this->pos >= strlen($this->data);
56 if (!empty($this->stream)) {
57 return fseek($this->stream, $offset, $whence);
61 if ($offset < $this->data && $offset >= 0) {
62 $this->pos = $offset;
70 $this->pos += $offset;
77 if (strlen($this->data) + $offset >= 0) {
78 $this->pos = strlen($this->data) + $offset;