Home
last modified time | relevance | path

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

12345678910

/plugin/elasticsearch/vendor/guzzlehttp/streams/tests/
H A DAsyncReadStreamTest.php63 $buffer = new BufferStream();
64 $a = new AsyncReadStream($buffer, [
81 $buffer = new BufferStream();
82 $a = new AsyncReadStream($buffer);
83 $buffer->write('foo');
92 $buffer = new BufferStream();
99 $buffer->write('foobar');
111 $buffer = new BufferStream(5);
119 $buffer->write('foobar');
145 $this->assertSame($buf, $buffer);
[all …]
/plugin/elasticsearch/vendor/guzzlehttp/streams/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/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 …]
H A DPalette.php78 $buffer = fgets($handle, 4096);
79 $buffer = str_replace(chr(10), '', $buffer);
80 $buffer = str_replace(chr(13), '', $buffer);
81 $values = explode($delimiter, $buffer);
/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/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/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/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/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/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/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/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/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/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/highlightjs/highlight/
H A Dhighlight.js128 return escape(buffer);
152 result += escape(buffer.substr(last_index, buffer.length - last_index));
171 mode.buffer = '';
174 mode.buffer = '';
177 mode.buffer = lexem;
185 result += processBuffer(current_mode.buffer + buffer, current_mode);
191 result += processBuffer(current_mode.buffer + buffer, current_mode);
201 result += processBuffer(current_mode.buffer + buffer, current_mode) + markup;
203 … result += processBuffer(current_mode.buffer + buffer, current_mode) + markup + escape(lexem);
205 result += processBuffer(current_mode.buffer + buffer + lexem, current_mode) + markup;
[all …]
/plugin/gcalendar/inc/
H A Dgcal_read.php104 $buffer = trim(fgets($handle, 4096));
108 if(preg_match($pattern, $buffer, $subpattern)) {
118 if(preg_match($pattern, $buffer, $subpattern)) {
119 $buffer = $subpattern[1];
124 $start_time = fetch_time($buffer);
127 if($buffer{0}=="-") {
128 $buffer = trim(substr($buffer,1)); # remove dash
129 $end_date = fetch_date($buffer,$default_date);
132 $end_time = fetch_time($buffer);
139 $entry = $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);
/plugin/jplayer/vendor/happyworm/jplayer/lib/circle-player/skin/
H A Dcircle.player.css27 .cp-buffer-1,
28 .cp-buffer-2,
43 .cp-buffer-1,
44 .cp-buffer-2 {
45 background:url("buffer.png") 0 0 no-repeat;
64 .cp-buffer-holder,
76 .cp-buffer-holder,
85 .cp-buffer-holder.cp-gt50,
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/
H A DFile.php138 $buffer = '';
164 $buffer .= $this->renderItemTemplate(
205 $buffer .= $this->renderFunctionOrMethodItem(
213 return $buffer;
228 $buffer = '';
231 $buffer .= $this->renderFunctionOrMethodItem(
237 return $buffer;
409 $buffer = file_get_contents($file);
410 $tokens = token_get_all($buffer);
414 $fileEndsWithNewLine = substr($buffer, -1) == "\n";
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Loader/
H A DBasePhpFormulaLoader.php65 $buffer = & $buffers[$i];
74 $buffer .= $current;
77 $calls[] = array($buffer.';', $options);
78 $buffer = '';
82 $buffer .= $current;
90 $buffer = '';

12345678910