Home
last modified time | relevance | path

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

12345678910>>...19

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DStreamTest.php23 $stream = new Stream($handle);
24 $this->assertTrue($stream->isReadable());
25 $this->assertTrue($stream->isWritable());
26 $this->assertTrue($stream->isSeekable());
27 $this->assertEquals('php://temp', $stream->getMetadata('uri'));
28 $this->assertIsArray($stream->getMetadata());
29 $this->assertEquals(4, $stream->getSize());
30 $this->assertFalse($stream->eof());
31 $stream->close();
37 $stream
[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/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/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/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 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 …]
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 DUtils.php88 while (!$stream->eof()) {
89 $buf = $stream->read(1048576);
129 $pos = $stream->tell();
132 $stream->rewind();
136 while (!$stream->eof()) {
141 $stream->seek($pos);
252 while (!$stream->eof()) {
308 fwrite($stream, $resource);
309 fseek($stream, 0);
324 fseek($stream, 0);
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DStream.php5 * PHP stream implementation
9 private $stream; variable in GuzzleHttp\\Stream\\Stream
17 /** @var array Hash of readable and writable stream types */
34 * Create a new stream based on the input type.
50 $stream = fopen('php://temp', 'r+');
52 fwrite($stream, $resource);
53 fseek($stream, 0);
55 return new self($stream, $options);
91 * - size: (int) If a read stream would otherwise have an indeterminate
95 * of the stream i
102 __construct($stream, $options = []) global() argument
161 attach($stream) global() argument
[all...]
H A DStreamDecoratorTrait.php8 * @property StreamInterface stream
13 * @param StreamInterface $stream Stream to decorate
15 public function __construct(StreamInterface $stream) argument
17 $this->stream = $stream;
21 * Magic method used to create a new stream if streams are not added in
26 if ($name == 'stream') {
27 $this->stream = $this->createStream();
28 return $this->stream;
62 $result = call_user_func_array(array($this->stream,
83 attach($stream) global() argument
[all...]
H A DGuzzleStreamWrapper.php5 * Converts Guzzle streams into PHP stream resources.
13 private $stream; variable in GuzzleHttp\\Stream\\GuzzleStreamWrapper
19 * Returns a resource representing the stream.
21 * @param StreamInterface $stream The stream to get a resource for
24 * @throws \InvalidArgumentException if stream is not readable or writable
26 public static function getResource(StreamInterface $stream) argument
30 if ($stream->isReadable()) {
31 $mode = $stream->isWritable() ? 'r+' : 'r';
32 } elseif ($stream
[all...]
H A DUtils.php13 * Safely opens a PHP stream resource using a filename.
48 * Copy the contents of a stream into a string until the given number of
51 * @param StreamInterface $stream Stream to read
53 * to read the entire stream.
56 public static function copyToString(StreamInterface $stream, $maxLen = -1) argument
61 while (!$stream->eof()) {
62 $buf = $stream->read(1048576);
72 while (!$stream->eof() && $len < $maxLen) {
73 $buf = $stream->read($maxLen - $len);
85 * Copy the contents of a stream int
132 hash(StreamInterface $stream, $algo, $rawOutput = false) global() argument
162 readline(StreamInterface $stream, $maxLength = null, $eol = PHP_EOL) global() argument
[all...]
H A DLimitStream.php7 * Decorator used to return only a subset of a stream
20 * @param StreamInterface $stream Stream to wrap
22 * from the stream. Pass -1 for no limit.
27 StreamInterface $stream, argument
31 $this->stream = $stream;
38 // Always return true if the underlying stream is EOF
39 if ($this->stream->eof()) {
43 // No limit and the underlying stream is not at EOF
48 $tell = $this->stream
[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 …]

12345678910>>...19