/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
H A D | AsyncReadStreamTest.php | 60 $buffer = new BufferStream(); 61 $a = new AsyncReadStream($buffer, [ 73 $this->assertSame($buffer, $a->stream); 85 $buffer = new BufferStream(); 86 $a = new AsyncReadStream($buffer); 87 $buffer->write('foo'); 96 $buffer = new BufferStream(); 97 $a = new AsyncReadStream($buffer, [ 103 $buffer->write('foobar'); 115 $buffer [all...] |
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/ |
H A D | BufferStream.php | 20 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 D | BufferStream.php | 7 * Provides a buffer stream that can be written to to fill a buffer, and read 8 * from to remove bytes from the buffer. 12 * preferred size of the buffer. 19 private $buffer = ''; variable in GuzzleHttp\\Stream\\BufferStream 23 * buffer size. If the size of the buffer exceeds the high 26 * until the buffer has been drained by reading from it. 40 $buffer = $this->buffer; [all...] |
H A D | AsyncReadStream.php | 14 * buffer, then the pump function is used to block until the requested number 17 * can send other transfers while waiting on the desired buffer size to be 26 /** @var callable|null Fn used to notify writers the buffer has drained */ 32 /** @var int|null Highwater mark of the underlying buffer */ 50 * meaning the buffer is now writable again because the size of the 51 * buffer is at an acceptable level (e.g., below the high water mark). 52 * The function accepts a single argument, the buffer stream object that 61 * @param StreamInterface $buffer Buffer that contains the data that has 65 * @throws \InvalidArgumentException if the buffer is not readable and 69 StreamInterface $buffer, argument [all...] |
H A D | Utils.php | 58 $buffer = ''; 66 $buffer .= $buf; 68 return $buffer; 77 $buffer .= $buf; 78 $len = strlen($buffer); 81 return $buffer; 154 * Read a line from the stream up to the maximum allowed buffer length 157 * @param int $maxLength Maximum buffer length 164 $buffer = ''; 170 return $buffer; [all...] |
/plugin/findologicxmlexport/vendor/hoa/iterator/ |
H A D | Buffer.php | 159 $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/statdisplay/pchart/ |
H A D | CSVImporter.php | 52 $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/statistics/inc/pchart/ |
H A D | CSVImporter.php | 51 $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); 85 importChunkFromCSV(pData $data, $buffer, $Delimiter, $DataColumns, $DataName) global() argument [all...] |
/plugin/jcapture/src/com/hammurapi/jcapture/ |
H A D | WavFile.java | 63 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/combo/vendor/carica/phpcss/src/PhpCss/Scanner/ |
H A D | Status.php | 18 * Try to get token in buffer at offset position. 20 * @param string $buffer 24 abstract public function getToken(string $buffer, int $offset): ?Token; argument 45 * @param string $buffer 50 protected function matchPattern(string $buffer, int $offset, string $pattern): ?string { argument 52 $pattern, $buffer, $match, PREG_OFFSET_CAPTURE, $offset 64 protected function matchPatterns(string $buffer, int $offset, array $patterns): ?Token { argument 67 $buffer, $offset, $pattern 78 protected function matchCharacters(string $buffer, int $offset, array $chars): ?Token { argument 79 if (isset($buffer[ [all...] |
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Type/ |
H A D | PdfStream.php | 148 $buffer = $this->extractStream(); 151 $buffer = $this->reader->getBuffer(false); 153 $this->reader->reset($this->stream + strlen($buffer)); 158 $buffer = $this->extractStream(); 159 $this->reader->reset($this->stream + strlen($buffer)); 165 return $buffer; 168 $this->stream = $buffer; 184 $buffer = $this->reader->getBuffer(false); 185 $length = \strpos($buffer, 'endstream'); 195 $buffer [all...] |
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/ |
H A D | TestFailure.php | 86 $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/diagramsnet/lib/js/diagramly/vsdx/ |
H A D | bmpDecoder.js | 8 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/findologicxmlexport/vendor/hoa/stream/Test/Unit/ |
H A D | Bucket.php | 79 $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/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Tokenizers/ |
H A D | JS.php | 284 $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 D | FingersCrossedHandler.php | 57 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/geophp/vendor/funiq/geophp/src/Adapter/ |
H A D | BinaryReader.php | 28 private $buffer; variable in geoPHP\\Adapter\\BinaryReader 34 * Opens a memory buffer with the given input 41 // $this->buffer = fopen($input, 'r+'); 43 $this->buffer = fopen('php://memory', 'x+'); 44 fwrite($this->buffer, (string) $input); 45 fseek($this->buffer, 0); 50 * Closes the memory buffer 54 fclose($this->buffer); 74 * Reads a signed 8-bit integer from the buffer 79 $char = fread($this->buffer, [all...] |
/plugin/findologicxmlexport/vendor/sebastian/diff/src/ |
H A D | Differ.php | 128 $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 D | MessageQueue.php | 32 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 [all...] |
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/ |
H A D | module.audio.amr.php | 50 $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 D | MemoryArchive.php | 47 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 D | LdapQueue.php | 83 * Cleanly close the socket and clear buffer contents. 88 $this->buffer = false; 143 $buffer = ''; 147 $buffer .= $this->messageWrapper !== null ? $this->messageWrapper->wrap($encoded) : $encoded; 148 $bufferLen = strlen($buffer); 150 $this->socket->write(substr($buffer, 0, self::BUFFER_SIZE)); 151 $buffer = $bufferLen > self::BUFFER_SIZE ? substr($buffer, self::BUFFER_SIZE) : ''; 154 if (strlen($buffer) > 0) { 155 $this->socket->write($buffer); [all...] |
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/TestDox/ |
H A D | NamePrettifier.php | 68 $buffer = ''; 71 return $buffer; 87 return $buffer; 103 $buffer .= ' ' . strtolower($name[$i]); 108 $buffer .= ' '; 116 $buffer .= $name[$i]; 120 return $buffer;
|
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/ |
H A D | Template.php | 126 $buffer = ''; 142 $buffer .= $this->section($context, $current); 149 $buffer .= $this->inverted($context, $current); 153 $buffer .= ''; 157 $buffer .= $this->partial($context, $current); 161 $buffer .= $this->variables($context, $current, false); 164 $buffer .= $this->variables($context, $current, true); 167 $buffer .= $current[Tokenizer::VALUE]; 183 return $buffer; 263 $buffer [all...] |
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Util/ |
H A D | Printer.php | 95 * @param string $buffer 97 public function write($buffer) argument 100 fwrite($this->out, $buffer); 107 $buffer = htmlspecialchars($buffer, ENT_SUBSTITUTE); 110 print $buffer;
|