Home
last modified time | relevance | path

Searched refs:stream (Results 26 – 50 of 459) sorted by relevance

12345678910>>...19

/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 …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DCachingStream.php8 * read stream.
21 * We will treat the buffer object as the body of the stream
23 * @param StreamInterface $stream Stream to cache
27 StreamInterface $stream, argument
30 $this->remoteStream = $stream;
31 $this->stream = $target ?: new Stream(fopen('php://temp', 'r+'));
36 return max($this->stream->getSize(), $this->remoteStream->getSize());
42 * past the total size of the buffer stream
54 // You cannot skip ahead past where you've read from the remote stream
55 if ($byte > $this->stream
[all...]
H A DAppendStream.php9 * This is a read-only stream decorator.
22 * @param StreamInterface[] $streams Streams to decorate. Each stream must
27 foreach ($streams as $stream) {
28 $this->addStream($stream);
43 * Add a stream to the AppendStream
45 * @param StreamInterface $stream Stream to append. Must be readable.
47 * @throws \InvalidArgumentException if the stream is not readable
49 public function addStream(StreamInterface $stream) argument
51 if (!$stream->isReadable()) {
52 throw new \InvalidArgumentException('Each stream mus
95 attach($stream) global() argument
[all...]
/plugin/codemirror/dist/modes/
H A Dsass.min.js.map1stream","peek","match","urlTokens","state","ch","next","tokenizer","tokenBase","eatSpace","buildSt…
H A Dspreadsheet.min.js.map1stream","state","length","peek","next","unshift","eol","shift","match","indexOf","eatSpace","defin…
H A Dpegjs.min.js.map1stream","match","startState","inString","stringType","inComment","inCharacterClass","braced","lhs"…
H A Dcrystal.min.js.map1stream","state","push","operators","conditionalOperators","indexingOperators","anotherOperators","…
H A Dslim.min.js.map1stream","state","maybeBackup","pat","offset","cur","current","idx","search","backUp","length","con…
H A Dtiddlywiki.min.js.map1stream","state","f","tokenize","tokenBase","sol","ch","peek","block","test","match","twTokenCode",…
H A Druby.min.js.map1stream","state","tokenize","push","tokenBase","sol","match","eol","readBlockComment","eatSpace","c…
H A Debnf.min.js.map1stream","state","length","peek","next","unshift","match","eol","shift","text","current","i","skipT…
H A Dhttp.min.js.map1stream","state","skipToEnd","cur","header","start","match","responseStatusCode","test","peek","req…
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Type/
H A DPdfStream.php24 * Class representing a PDF stream object
31 * Parses a stream from a stream reader.
59 'Unable to parse stream data. No newline after the stream keyword found.',
74 // let's only save the byte-offset and read the stream only when needed
75 $v->stream = $reader->getPosition() + $reader->getOffset();
84 * @param string $stream
87 public static function create(PdfDictionary $dictionary, $stream) argument
91 $v->stream
103 ensure($stream) global() argument
113 protected $stream; global() variable in setasign\\Fpdi\\PdfParser\\Type\\PdfStream
[all...]
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DAppendStream.php29 foreach ($streams as $stream) {
30 $this->addStream($stream);
53 if (!$stream->isReadable()) {
58 if (!$stream->isSeekable()) {
62 $this->streams[] = $stream;
80 foreach ($this->streams as $stream) {
81 $stream->close();
99 foreach ($this->streams as $stream) {
100 $stream->detach();
126 $s = $stream->getSize();
[all …]
H A DCachingStream.php30 StreamInterface $stream, argument
33 $this->remoteStream = $stream;
45 return max($this->stream->getSize(), $remoteSize);
69 $diff = $byte - $this->stream->getSize();
76 $diff = $byte - $this->stream->getSize();
80 $this->stream->seek($byte);
87 $data = $this->stream->read($length);
107 $this->stream->write($remoteData);
124 return $this->stream->write($string);
129 return $this->stream->eof() && $this->remoteStream->eof();
[all …]
H A DMultipartStream.php34 $this->stream = $this->createStream($elements);
70 $stream = new AppendStream();
73 $this->addElement($stream, $element);
77 $stream->addStream(Utils::streamFor("--{$this->boundary}--\r\n"));
79 return $stream;
82 private function addElement(AppendStream $stream, array $element) argument
106 $stream->addStream(Utils::streamFor($this->getHeaders($headers)));
107 $stream->addStream($body);
108 $stream->addStream(Utils::streamFor("\r\n"));
131 if ($length = $stream->getSize()) {
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/TokenParser/
H A DForTokenParser.php40 $stream = $this->parser->getStream();
42 $stream->expect(Token::OPERATOR_TYPE, 'in');
46 if ($stream->nextIf(Token::NAME_TYPE, 'if')) {
50 $stream->expect(Token::BLOCK_END_TYPE);
52 if ('else' == $stream->next()->getValue()) {
53 $stream->expect(Token::BLOCK_END_TYPE);
58 $stream->expect(Token::BLOCK_END_TYPE);
72 $this->checkLoopUsageCondition($stream, $ifexpr);
73 $this->checkLoopUsageBody($stream, $body);
101 $this->checkLoopUsageCondition($stream, $n);
[all …]
H A DAutoEscapeTokenParser.php42 $stream = $this->parser->getStream();
44 if ($stream->test(Token::BLOCK_END_TYPE)) {
49 …or('An escaping strategy must be a string or a bool.', $stream->getCurrent()->getLine(), $stream->…
59 if ($compat && $stream->test(Token::NAME_TYPE)) {
63 … escaping strategy as you set autoescaping to false.', $stream->getCurrent()->getLine(), $stream->…
66 $value = $stream->next()->getValue();
70 $stream->expect(Token::BLOCK_END_TYPE);
72 $stream->expect(Token::BLOCK_END_TYPE);
H A DUseTokenParser.php38 $stream = $this->parser->getStream();
41 …te references in a "use" statement must be a string.', $stream->getCurrent()->getLine(), $stream->…
45 if ($stream->nextIf('with')) {
47 $name = $stream->expect(Token::NAME_TYPE)->getValue();
50 if ($stream->nextIf('as')) {
51 $alias = $stream->expect(Token::NAME_TYPE)->getValue();
56 if (!$stream->nextIf(Token::PUNCTUATION_TYPE, ',')) {
62 $stream->expect(Token::BLOCK_END_TYPE);
H A DSetTokenParser.php35 $stream = $this->parser->getStream();
39 if ($stream->nextIf(Token::OPERATOR_TYPE, '=')) {
42 $stream->expect(Token::BLOCK_END_TYPE);
45 …t have the same number of variables and assignments.', $stream->getCurrent()->getLine(), $stream->…
51 …ng set with a block, you cannot have a multi-target.', $stream->getCurrent()->getLine(), $stream->…
54 $stream->expect(Token::BLOCK_END_TYPE);
57 $stream->expect(Token::BLOCK_END_TYPE);
/plugin/jplayer/vendor/happyworm/jplayer/lib/aurora/
H A Daac.js8 this.probe = function(stream) { argument
9 var offset = stream.offset;
12 while (stream.available(2)) {
14 stream.seek(offset);
19 stream.seek(offset);
40 stream.advance(1); // private
50 stream.advance(16);
78 var buffer = this.stream.readSingleBuffer(this.stream.remainingBytes());
155 var sign = stream.read(1),
528 stream.align();
[all …]
H A Daurora.js372 this.stream = stream;
1493 stream = this.stream;
1615 stream = this.stream, table = this.table;
2297 stream.advance(4);
2301 stream.advance(2);
2307 stream.advance(stream.readUInt8());
2313 stream.advance(2);
2319 stream.advance(1);
2320 stream.advance(3);
2490 if (!this.stream.available(offset - this.stream.offset)) {
[all …]
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Logger/
H A DStreamLogger.php35 protected $stream = null; variable in Mustache_Logger_StreamLogger
41 * @param resource|string $stream Resource instance or URL
44 public function __construct($stream, $level = Mustache_Logger::ERROR) argument
48 if (is_resource($stream)) {
49 $this->stream = $stream;
51 $this->url = $stream;
60 if (is_resource($this->stream)) {
61 fclose($this->stream);
123 if (!is_resource($this->stream)) {
128 $this->stream = fopen($this->url, 'a');
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DGuzzleStreamWrapperTest.php16 $stream = Stream::factory('foo');
17 $handle = GuzzleStreamWrapper::getResource($stream);
59 $this->assertSame('foobar', (string) $stream);
65 $stream = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface')
67 $stream->expects($this->once())
70 $stream->expects($this->once())
73 GuzzleStreamWrapper::getResource($stream);
85 $stream = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface')
87 $stream->expects($this->once())
90 $stream
[all...]
/plugin/findologicxmlexport/vendor/twig/twig/src/
H A DExpressionParser.php241 $stream = $this->parser->getStream();
269 $stream = $this->parser->getStream();
294 $stream = $this->parser->getStream();
316 …if (($token = $stream->nextIf(Token::STRING_TYPE)) || ($token = $stream->nextIf(Token::NAME_TYPE))…
406 $stream = $this->parser->getStream();
407 $token = $stream->next();
412 $token = $stream->next();
532 $stream = $this->parser->getStream();
586 $stream = $this->parser->getStream();
624 $stream = $this->parser->getStream();
[all …]

12345678910>>...19