Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DStreamTest.php31 $stream->close();
38 unset($stream);
49 $stream->close();
58 $stream->seek(0);
69 $stream->read(4);
71 $stream->close();
81 $stream->close();
92 $stream->close();
104 $stream->close();
114 $stream->seek(1);
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DLexerTest.php37 $stream->expect(Token::BLOCK_START_TYPE);
48 $stream->expect(Token::VAR_START_TYPE);
66 while (!$stream->isEOF()) {
67 $token = $stream->next();
172 $stream->next();
173 $node = $stream->next();
202 $stream->expect(Token::VAR_START_TYPE);
209 $stream->expect(Token::VAR_END_TYPE);
224 $stream->expect(Token::VAR_END_TYPE);
239 $stream->expect(Token::VAR_END_TYPE);
[all …]
H A DTokenStreamTest.php38 $stream = new TokenStream([], 'foo', '{{ foo }}');
47 $stream = new TokenStream(self::$tokens);
49 while (!$stream->isEOF()) {
50 $token = $stream->next();
63 $stream = new TokenStream([
66 while (!$stream->isEOF()) {
67 $stream->next();
77 $stream = new TokenStream([
80 while (!$stream->isEOF()) {
81 $stream->look();
[all …]
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/
H A DStream.php202 $stream = new SUT($name),
203 $close1 = $stream->close()
217 $stream->open(),
225 $stream->close()
252 $stream = new SUT($name),
276 $stream = new SUT($name)
289 $stream = new SUT($name)
317 $stream = new SUT($name)
330 $stream = new SUT($name)
416 $stream->open(),
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DStreamHandler.php35 protected $stream; variable in Monolog\\Handler\\StreamHandler
71 if (is_resource($stream)) {
72 $this->stream = $stream;
91 fclose($this->stream);
93 $this->stream = null;
104 return $this->stream;
149 $this->stream = $stream;
152 $stream = $this->stream;
153 if (!is_resource($stream)) {
159 flock($stream, LOCK_EX);
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/
H A DAsseticTokenParser.php57 $stream = $this->parser->getStream();
64 $stream->next();
69 $stream->next();
74 $stream->next();
79 $stream->next();
84 $stream->next();
89 $stream->next();
94 $stream->next();
105 $stream->next();
111 $key = $stream->next()->getValue();
[all …]
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DStreamWrapper.php18 private $stream; variable in GuzzleHttp\\Psr7\\StreamWrapper
36 if ($stream->isReadable()) {
38 } elseif ($stream->isWritable()) {
51 * @param StreamInterface $stream
58 'guzzle' => ['stream' => $stream]
88 return $this->stream->read($count);
98 return $this->stream->tell();
103 return $this->stream->eof();
108 $this->stream->seek($offset, $whence);
115 $stream = clone($this->stream);
[all …]
H A DStreamDecoratorTrait.php19 $this->stream = $stream;
34 return $this->stream;
78 $this->stream->close();
88 return $this->stream->detach();
93 return $this->stream->getSize();
98 return $this->stream->eof();
103 return $this->stream->tell();
108 return $this->stream->isReadable();
113 return $this->stream->isWritable();
118 return $this->stream->isSeekable();
[all …]
H A DStream.php25 private $stream; variable in GuzzleHttp\\Psr7\\Stream
49 if (!is_resource($stream)) {
61 $this->stream = $stream;
91 if (!isset($this->stream)) {
106 if (isset($this->stream)) {
116 if (!isset($this->stream)) {
120 $result = $this->stream;
121 unset($this->stream);
134 if (!isset($this->stream)) {
169 if (!isset($this->stream)) {
[all …]
H A DInflateStream.php24 public function __construct(StreamInterface $stream) argument
27 $header = $stream->read(10);
28 $filenameHeaderLength = $this->getLengthOfPossibleFilenameHeader($stream, $header);
30 $stream = new LimitStream($stream, -1, 10 + $filenameHeaderLength);
31 $resource = StreamWrapper::getResource($stream);
33 …$this->stream = $stream->isSeekable() ? new Stream($resource) : new NoSeekStream(new Stream($resou…
37 * @param StreamInterface $stream
42 private function getLengthOfPossibleFilenameHeader(StreamInterface $stream, $header) argument
49 while ($stream->read(1) !== chr(0)) {
H A DLimitStream.php23 * @param StreamInterface $stream Stream to wrap
30 StreamInterface $stream, argument
34 $this->stream = $stream;
42 if ($this->stream->eof()) {
91 $this->stream->seek($offset);
100 return $this->stream->tell() - $this->offset;
112 $current = $this->stream->tell();
116 if ($this->stream->isSeekable()) {
117 $this->stream->seek($offset);
121 $this->stream->read($offset - $current);
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DStreamDecoratorTrait.php17 $this->stream = $stream;
28 return $this->stream;
70 $this->stream->close();
80 return $this->stream->detach();
83 public function attach($stream) argument
90 return $this->stream->getSize();
95 return $this->stream->eof();
100 return $this->stream->tell();
105 return $this->stream->isReadable();
110 return $this->stream->isWritable();
[all …]
H A DStream.php9 private $stream; variable in GuzzleHttp\\Stream\\Stream
53 fseek($stream, 0);
116 $this->attach($stream);
129 if (!$this->stream) {
140 return $this->stream ? stream_get_contents($this->stream) : '';
154 $result = $this->stream;
163 $this->stream = $stream;
177 if (!$this->stream) {
212 return !$this->stream || feof($this->stream);
217 return $this->stream ? ftell($this->stream) : false;
[all …]
H A DGuzzleStreamWrapper.php13 private $stream; variable in GuzzleHttp\\Stream\\GuzzleStreamWrapper
30 if ($stream->isReadable()) {
31 $mode = $stream->isWritable() ? 'r+' : 'r';
32 } elseif ($stream->isWritable()) {
40 'guzzle' => ['stream' => $stream],
63 $this->stream = $options['guzzle']['stream'];
70 return $this->stream->read($count);
75 return (int) $this->stream->write($data);
80 return $this->stream->tell();
85 return $this->stream->eof();
[all …]
H A DUtils.php51 * @param StreamInterface $stream Stream to read
61 while (!$stream->eof()) {
62 $buf = $stream->read(1048576);
73 $buf = $stream->read($maxLen - $len);
132 StreamInterface $stream, argument
136 $pos = $stream->tell();
138 if ($pos > 0 && !$stream->seek(0)) {
139 throw new SeekException($stream);
143 while (!$stream->eof()) {
148 $stream->seek($pos);
[all …]
H A DLimitStream.php20 * @param StreamInterface $stream Stream to wrap
27 StreamInterface $stream, argument
31 $this->stream = $stream;
39 if ($this->stream->eof()) {
48 $tell = $this->stream->tell();
62 if (null === ($length = $this->stream->getSize())) {
89 return $this->stream->seek($offset);
98 return $this->stream->tell() - $this->offset;
111 $current = $this->stream->tell();
115 if (!$this->stream->seek($offset)) {
[all …]
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
H A Dflac.js67 var stream = this.bitstream;
68 if (!stream.available(32))
148 stream.align();
217 if (stream.read(1))
222 if (stream.read(1)) {
595 var stream = this.stream;
738 var buffer = stream.readSingleBuffer(stream.remainingBytes());
765 var stream = this.stream;
768 stream.advance(5); // magic
772 stream.advance(3);
[all …]
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Integration/Filter/
H A DFilter.php59 $stream = fopen($filename, 'r'),
63 SUT::append($stream, $name),
78 $stream = fopen($filename, 'r'),
82 SUT::prepend($stream, $name),
97 $stream = fopen($filename, 'r'),
102 SUT::append($stream, $name1),
103 SUT::append($stream, $name2),
123 SUT::append($stream, $name1),
124 SUT::prepend($stream, $name2),
144 SUT::prepend($stream, $name1),
[all …]
/plugin/codemirror/dist/modes/
H A Dtroff.min.js.map1stream","eatSpace","sol","ch","next","match","skipTo","eatWhile","eat","skipToEnd","cur","current"…
H A Dtoml.min.js.map1stream","state","peek","next","sol","eol","match","skipTo","skipToEnd","eatSpace","eatWhile","c","…
H A Dpug.min.js.map1stream","state","sol","peek","tok","token","eol","yieldStatement","match","doctype","interpolation…
/plugin/webdav/vendor/sabre/event/lib/Loop/
H A Dfunctions.php68 * @param resource $stream
72 function addReadStream($stream, callable $cb) { argument
74 instance()->addReadStream($stream, $cb);
87 * @param resource $stream
93 instance()->addWriteStream($stream, $cb);
100 * @param resource $stream
103 function removeReadStream($stream) { argument
105 instance()->removeReadStream($stream);
112 * @param resource $stream
115 function removeWriteStream($stream) { argument
[all …]
H A DLoop.php128 * @param resource $stream
134 $this->readStreams[(int)$stream] = $stream;
148 * @param resource $stream
154 $this->writeStreams[(int)$stream] = $stream;
162 * @param resource $stream
165 function removeReadStream($stream) { argument
168 $this->readStreams[(int)$stream],
169 $this->readCallbacks[(int)$stream]
177 * @param resource $stream
180 function removeWriteStream($stream) { argument
[all …]
/plugin/findologicxmlexport/vendor/hoa/stream/Filter/
H A DFilter.php143 * @param mixed $stream Stream which received the filter.
153 $stream, argument
158 if ($stream instanceof Stream) {
159 $stream = $stream->getStream();
164 $stream,
171 $stream,
191 $stream, argument
195 if ($stream instanceof Stream) {
196 $stream = $stream->getStream();
201 $stream,
[all …]
/plugin/gtime/gtlib/asn1/
H A DASN1Object.php42 protected function append(&$stream, $bytes) { argument
49 array_push($stream, $b);
60 protected function prepend(&$stream, $bytes) { argument
67 array_unshift($stream, $bytes[$i]);
78 protected function readByte(&$stream) { argument
80 $bytes = $this->readBytes($stream, 1);
94 protected function readBytes(&$stream, $limit) { argument
96 if (!is_array($stream)) {
100 if (count($stream) < $limit) {
101 …GTException("not enough bytes, tried to read {$limit}, but only " . count($stream) . " remaining");
[all …]

12345678910>>...19