Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DBufferStream.php20 private $buffer = ''; variable in GuzzleHttp\\Psr7\\BufferStream
41 $buffer = $this->buffer;
42 $this->buffer = '';
44 return $buffer;
49 $this->buffer = '';
61 return strlen($this->buffer);
91 return strlen($this->buffer) === 0;
108 $result = $this->buffer;
109 $this->buffer = '';
113 $this->buffer = substr($this->buffer, $length);
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DBufferStream.php19 private $buffer = ''; variable in GuzzleHttp\\Stream\\BufferStream
40 $buffer = $this->buffer;
41 $this->buffer = '';
43 return $buffer;
48 $this->buffer = '';
63 return strlen($this->buffer);
88 return strlen($this->buffer) === 0;
105 $result = $this->buffer;
106 $this->buffer = '';
110 $this->buffer = substr($this->buffer, $length);
[all …]
H A DAsyncReadStream.php69 StreamInterface $buffer, argument
72 if (!$buffer->isReadable() || !$buffer->isWritable()) {
94 $this->hwm = $buffer->getMetadata('hwm');
101 $this->stream = $buffer;
139 $buffer = new NullStream();
141 $buffer = $options['buffer'];
144 $buffer = new BufferStream($hwm);
148 $buffer = new DroppingStream($buffer, $options['max_buffer']);
154 $buffer = FnStream::decorate($buffer, [
157 $onWrite($buffer, $string);
[all …]
H A DUtils.php58 $buffer = '';
66 $buffer .= $buf;
68 return $buffer;
77 $buffer .= $buf;
78 $len = strlen($buffer);
81 return $buffer;
164 $buffer = '';
170 return $buffer;
172 $buffer .= $byte;
174 if (++$size == $maxLength || substr($buffer, $negEolLen) === $eol) {
[all …]
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DAsyncReadStreamTest.php60 $buffer = new BufferStream();
61 $a = new AsyncReadStream($buffer, [
85 $buffer = new BufferStream();
86 $a = new AsyncReadStream($buffer);
87 $buffer->write('foo');
96 $buffer = new BufferStream();
103 $buffer->write('foobar');
115 $buffer = new BufferStream(5);
123 $buffer->write('foobar');
152 $this->assertSame($buf, $buffer);
[all …]
/plugin/findologicxmlexport/vendor/hoa/iterator/
H A DBuffer.php159 $buffer = $this->getBuffer();
161 $buffer->next();
164 if (false === $buffer->valid()) {
171 $buffer->shift();
176 $buffer->push([
182 $buffer->setIteratorMode($buffer::IT_MODE_LIFO | $buffer::IT_MODE_KEEP);
183 $buffer->rewind();
184 $buffer->setIteratorMode($buffer::IT_MODE_FIFO | $buffer::IT_MODE_KEEP);
214 if (true === $buffer->isEmpty()) {
215 $buffer->push([
[all …]
/plugin/statistics/inc/pchart/
H A DCSVImporter.php51 $buffer = fgets($handle, 4096);
53 if($buffer != "") {
55 self::importHeaderFromCSV($data, $buffer, $Delimiter, $DataColumns);
58 self::importChunkFromCSV($data, $buffer, $Delimiter, $DataColumns, $DataName);
65 static private function importHeaderFromCSV(pData $data, $buffer, $Delimiter, $DataColumns) { argument
66 $buffer = str_replace(chr(10), "", $buffer);
67 $buffer = str_replace(chr(13), "", $buffer);
68 $Values = explode($Delimiter, $buffer);
86 $buffer = str_replace(chr(10), "", $buffer);
87 $buffer = str_replace(chr(13), "", $buffer);
[all …]
/plugin/statdisplay/pchart/
H A DCSVImporter.php52 $buffer = fgets ( $handle, 4096 );
54 if ($buffer != "") {
56 self::importHeaderFromCSV($data, $buffer, $Delimiter, $DataColumns);
60 self::importChunkFromCSV($data, $buffer, $Delimiter, $DataColumns, $DataName);
67 static private function importHeaderFromCSV(pData $data, $buffer, $Delimiter, $DataColumns) { argument
68 $buffer = str_replace ( chr ( 10 ), "", $buffer );
69 $buffer = str_replace ( chr ( 13 ), "", $buffer );
70 $Values = explode ( $Delimiter, $buffer );
88 $buffer = str_replace ( chr ( 10 ), "", $buffer );
89 $buffer = str_replace ( chr ( 13 ), "", $buffer );
[all …]
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Type/
H A DPdfStream.php148 $buffer = $this->extractStream();
165 return $buffer;
168 $this->stream = $buffer;
195 $buffer = \substr($buffer, 0, $length);
196 $lastByte = \substr($buffer, -1);
203 $buffer = \substr($buffer, 0, -1);
205 $lastByte = \substr($buffer, -1);
207 $buffer = \substr($buffer, 0, -1);
214 if (trim($buffer) === '') {
215 $buffer = '';
[all …]
/plugin/jcapture/src/com/hammurapi/jcapture/
H A DWavFile.java63 buffer = new byte[BUFFER_SIZE]; in WavFile()
132 putLE(RIFF_CHUNK_ID, wavFile.buffer, 0, 4); in newWavFile()
133 putLE(mainChunkSize, wavFile.buffer, 4, 4); in newWavFile()
134 putLE(RIFF_TYPE_ID, wavFile.buffer, 8, 4); in newWavFile()
233 chunkSize = getLE(wavFile.buffer, 4, 4); in openWavFile()
345 long val = buffer[pos] & 0xFF; in getLE()
354 buffer[pos] = (byte) (val & 0xFF); in putLE()
365 oStream.write(buffer, 0, BUFFER_SIZE); in writeSample()
387 int v = buffer[bufferPointer]; in readSample()
779 double[] buffer = new double[10]; in main() local
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/
H A DTestFailure.php86 $buffer = $e->toString();
89 $buffer = $buffer . $e->getComparisonFailure()->getDiff();
92 if (!empty($buffer)) {
93 $buffer = trim($buffer) . "\n";
96 $buffer = $e->getMessage() . "\n";
98 $buffer = $e->getClassName() . ': ' . $e->getMessage() . "\n";
100 $buffer = get_class($e) . ': ' . $e->getMessage() . "\n";
103 return $buffer;
/plugin/findologicxmlexport/vendor/hoa/stream/Test/Unit/
H A DBucket.php79 $buffer = 'bar'
90 ->isEqualTo($buffer)
92 ->isEqualTo(strlen($buffer))
117 $buffer = 'bazqux'
128 ->isEqualTo($buffer)
130 ->isEqualTo(strlen($buffer))
140 $buffer = 'bar',
141 $bucket = new SUT($stream, SUT::IS_A_STREAM, $buffer)
146 ->isEqualTo($buffer)
155 $buffer = 'bar',
[all …]
/plugin/diagramsnet/lib/js/diagramly/vsdx/
H A DbmpDecoder.js8 function BmpDecoder(buffer,is_with_alpha) { argument
10 this.buffer = buffer;
13 if (this.buffer[0] != 66 && this.buffer[1] != 77) throw new Error("Invalid BMP File");
20 var b = this.buffer;
57 var blue = this.buffer[this.pos++];
59 var red = this.buffer[this.pos++];
60 var quad = this.buffer[this.pos++];
95 var b = this.buffer[this.pos++];
153 var b = this.buffer[this.pos++];
185 var B = (this.buffer[this.pos+1] << 8) | this.buffer[this.pos];
[all …]
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
H A DBinaryReader.php28 private $buffer; variable in geoPHP\\Adapter\\BinaryReader
43 $this->buffer = fopen('php://memory', 'x+');
44 fwrite($this->buffer, (string) $input);
45 fseek($this->buffer, 0);
54 fclose($this->buffer);
79 $char = fread($this->buffer, 1);
89 $char = fread($this->buffer, 1);
99 $int32 = fread($this->buffer, 4);
110 $bin = fread($this->buffer, $length);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/
H A DJS.php284 $buffer = '';
335 $buffer = '';
356 $buffer = '';
424 $buffer .= $char;
457 $buffer = '';
482 $charBuffer = $buffer;
615 $buffer = $char;
652 $inComment = $buffer;
688 $buffer = '';
693 $buffer = '';
[all …]
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DFingersCrossedHandler.php57 protected $buffer = []; variable in Monolog\\Handler\\FingersCrossedHandler
124 $this->getHandler(end($this->buffer) ?: null)->handleBatch($this->buffer);
125 $this->buffer = [];
139 $this->buffer[] = $record;
140 if ($this->bufferSize > 0 && count($this->buffer) > $this->bufferSize) {
141 array_shift($this->buffer);
181 $this->buffer = [];
192 $this->buffer = array_filter($this->buffer, function ($record) use ($level) {
195 if (count($this->buffer) > 0) {
196 $this->getHandler(end($this->buffer))->handleBatch($this->buffer);
[all …]
/plugin/findologicxmlexport/vendor/sebastian/diff/src/
H A DDiffer.php128 $buffer = $this->header;
131 $buffer = $this->getDiffBufferElementNew($diff, $buffer, $start);
138 $buffer = $this->getDiffBufferElementNew($diff, $buffer, $i);
140 $buffer = $this->getDiffBufferElement($diff, $buffer, $i);
144 return $buffer;
151 * @param string $buffer
159 $buffer .= '+' . $diff[$diffIndex][0] . "\n";
161 $buffer .= '-' . $diff[$diffIndex][0] . "\n";
166 return $buffer;
173 * @param string $buffer
[all …]
/plugin/pureldap/vendor/freedsx/socket/src/FreeDSx/Socket/Queue/
H A DMessageQueue.php32 protected $buffer = false; variable in FreeDSx\\Socket\\Queue\\MessageQueue
94 $this->buffer .= $bytes;
100 $buffer = $this->unwrap((string)$this->buffer);
101 $this->buffer = \substr((string)$this->buffer, $buffer->endsAt());
102 $this->toConsume .= $buffer->bytes();
113 return \strlen((string)$this->buffer) !== 0;
135 $this->buffer .= $peek;
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.audio.amr.php50 $buffer = '';
52 if ((strlen($buffer) < $this->getid3->fread_buffer_size()) && !feof($this->getid3->fp)) {
53 $buffer .= $this->fread($this->getid3->fread_buffer_size() * 2);
55 $AMR_frame_header = ord(substr($buffer, 0, 1));
61 $buffer = substr($buffer, $this->amr_mode_bytes_per_frame($codec_mode_request));
62 } while (strlen($buffer) > 0);
/plugin/zip/pear/File/Archive/Writer/
H A DMemoryArchive.php47 var $buffer = ''; variable in File_Archive_Writer_MemoryArchive
135 $this->buffer);
143 $this->buffer = '';
152 $this->buffer .= file_get_contents($this->currentDataFile);
155 $this->buffer .= $data;
162 if ($this->currentDataFile === null && empty($this->buffer)) {
166 $this->buffer .= file_get_contents($this->currentDataFile);
169 $this->buffer .= file_get_contents($filename);
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Protocol/
H A DLdapQueue.php84 $this->buffer = false;
135 $buffer = '';
139 … $buffer .= $this->messageWrapper !== null ? $this->messageWrapper->wrap($encoded) : $encoded;
140 $bufferLen = \strlen($buffer);
142 $this->socket->write(\substr($buffer, 0, self::BUFFER_SIZE));
143 $buffer = $bufferLen > self::BUFFER_SIZE ? \substr($buffer, self::BUFFER_SIZE) : '';
146 if (\strlen($buffer) > 0) {
147 $this->socket->write($buffer);
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/TestDox/
H A DNamePrettifier.php68 $buffer = '';
71 return $buffer;
87 return $buffer;
103 $buffer .= ' ' . strtolower($name[$i]);
108 $buffer .= ' ';
116 $buffer .= $name[$i];
120 return $buffer;
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/
H A DPrinter.php95 * @param string $buffer
97 public function write($buffer) argument
100 fwrite($this->out, $buffer);
107 $buffer = htmlspecialchars($buffer, ENT_SUBSTITUTE);
110 print $buffer;
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/
H A DStreamReader.php94 protected $buffer; variable in setasign\\Fpdi\\PdfParser\\StreamReader
174 return $this->buffer;
177 $string = \substr($this->buffer, $this->offset);
201 return $this->buffer[$position];
236 return $this->buffer[$offset];
271 $bytes = \substr($this->buffer, $offset, $length);
413 $this->buffer = $length > 0 ? \fread($this->stream, $length) : '';
414 $this->bufferLength = \strlen($this->buffer);
422 $this->buffer = \substr($this->buffer, 0, $length);
423 $this->bufferLength = \strlen($this->buffer);
[all …]
/plugin/findologicxmlexport/vendor/sebastian/resource-operations/build/
H A Dgenerate.php26 $buffer = <<<EOT variable
51 $buffer .= sprintf(" '%s',\n", $function);
54 $buffer .= <<< EOT
61 file_put_contents(__DIR__ . '/../src/ResourceOperations.php', $buffer);

12345678910>>...12