Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 111) sorted by relevance

12345

/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.graphic.png.php77 $chunk['type_raw'] = getid3_lib::BigEndian2Int($chunk['type_text']);
79 $offset += $chunk['data_length'];
83 $chunk['flags']['ancilliary'] = (bool) ($chunk['type_raw'] & 0x20000000);
84 $chunk['flags']['private'] = (bool) ($chunk['type_raw'] & 0x00200000);
85 $chunk['flags']['reserved'] = (bool) ($chunk['type_raw'] & 0x00002000);
86 $chunk['flags']['safe_to_copy'] = (bool) ($chunk['type_raw'] & 0x00000020);
92 switch ($chunk['type_text']) {
446 unset($chunk['data']);
459 unset($chunk['data']);
480 unset($chunk['data']);
[all …]
H A Dwrite.real.php172 foreach ($chunks as $key => $chunk) {
173 $chunkNameKeys[$chunk['name']] = $key;
174 if ($chunk['name'] == 'CONT') {
199 foreach ($chunks as $key => $chunk) {
200 $chunkNameKeys[$chunk['name']] = $key;
201 if ($chunk['name'] == 'CONT') {
202 $old_CONT_length = $chunk['length'];
203 } elseif ($chunk['name'] == 'DATA') {
205 $old_DATA_offset = $chunk['offset'];
207 } elseif ($chunk['name'] == 'INDX') {
[all …]
/plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/
H A DBase32.php402 $b0 = $chunk[1];
403 $b1 = $chunk[2];
404 $b2 = $chunk[3];
405 $b3 = $chunk[4];
406 $b4 = $chunk[5];
421 $b0 = $chunk[1];
423 $b1 = $chunk[2];
424 $b2 = $chunk[3];
425 $b3 = $chunk[4];
438 $b1 = $chunk[2];
[all …]
H A DBase64.php78 $b0 = $chunk[1];
79 $b1 = $chunk[2];
80 $b2 = $chunk[3];
92 $b0 = $chunk[1];
94 $b1 = $chunk[2];
164 $c0 = static::decode6Bits($chunk[1]);
165 $c1 = static::decode6Bits($chunk[2]);
166 $c2 = static::decode6Bits($chunk[3]);
167 $c3 = static::decode6Bits($chunk[4]);
181 $c0 = static::decode6Bits($chunk[1]);
[all …]
H A DHex.php48 $chunk = \unpack('C', Binary::safeSubstr($binString, $i, 1));
49 $c = $chunk[1] & 0xf;
50 $b = $chunk[1] >> 4;
76 $chunk = \unpack('C', Binary::safeSubstr($binString, $i, 2));
77 $c = $chunk[1] & 0xf;
78 $b = $chunk[1] >> 4;
117 $chunk = \unpack('C*', $encodedString);
120 $c = $chunk[$hex_pos];
/plugin/findologicxmlexport/vendor/sebastian/diff/tests/
H A DChunkTest.php23 private $chunk; variable in SebastianBergmann\\Diff\\ChunkTest
27 $this->chunk = new Chunk;
32 $this->assertInstanceOf('SebastianBergmann\Diff\Chunk', $this->chunk);
37 $this->assertEquals(0, $this->chunk->getStart());
42 $this->assertEquals(1, $this->chunk->getStartRange());
47 $this->assertEquals(0, $this->chunk->getEnd());
52 $this->assertEquals(1, $this->chunk->getEndRange());
57 $this->assertEquals(array(), $this->chunk->getLines());
62 $this->assertEquals(array(), $this->chunk->getLines());
65 $this->chunk->setLines($testValue);
[all …]
H A DParserTest.php97 $chunk = $chunks[0];
98 $this->assertSame(49, $chunk->getStart());
99 $this->assertSame(49, $chunk->getEnd());
100 $this->assertSame(9, $chunk->getStartRange());
101 $this->assertSame(8, $chunk->getEndRange());
103 $lines = $chunk->getLines();
/plugin/wysiwyg/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php90 $chunk = fread( $fp, 1024 ) ;
93 $chunk = strtolower( $chunk ) ;
95 if (!$chunk)
100 $chunk = trim( $chunk ) ;
102 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
111 if( false !== strpos( $chunk, $tag ) )
118 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
126 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
132 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/swiftmail/Swift/Message/
H A DEncoder.php98 $chunk -= 2;
99 $chunk = $this->getHcf($chunk, 4);
128 $ret .= trim(chunk_split($string, $chunk, $le)) . $le;
156 $chunk -= 2;
157 $chunk = $this->getHcf($chunk, 4);
164 $next = chunk_split($this->rawBase64Encode($bytes), $chunk, $le);
286 public function encode7Bit($data, $chunk=76, $le="\r\n") argument
288 return $this->fixLE(wordwrap($data, $chunk-2, $le, 1), $le);
314 public function encode8Bit($data, $chunk=76, $le="\r\n") argument
316 return $this->fixLE(wordwrap($data, $chunk-2, $le, 1), $le);
[all …]
/plugin/authfacebook/lib/FileUpload/
H A DFacebookResumableUploader.php100 * @param FacebookTransferChunk $chunk
107 public function transfer($endpoint, FacebookTransferChunk $chunk, $allowToThrow = false) argument
111 'upload_session_id' => $chunk->getUploadSessionId(),
112 'start_offset' => $chunk->getStartOffset(),
113 'video_file_chunk' => $chunk->getPartialFile(),
125 return $chunk;
128 …return new FacebookTransferChunk($chunk->getFile(), $chunk->getUploadSessionId(), $chunk->getVideo…
/plugin/fckg/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php126 $chunk = fread( $fp, 1024 ) ;
130 $chunk = strtolower( $chunk ) ;
132 if (!$chunk)
137 $chunk = trim( $chunk ) ;
139 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
148 if( false !== strpos( $chunk, $tag ) )
150 if($tag == '<title' && preg_match("/svg-edit/",$chunk)) continue;
156 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
164 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
170 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php126 $chunk = fread( $fp, 1024 ) ;
130 $chunk = strtolower( $chunk ) ;
132 if (!$chunk)
137 $chunk = trim( $chunk ) ;
139 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
148 if( false !== strpos( $chunk, $tag ) )
150 if($tag == '<title' && preg_match("/svg-edit/",$chunk)) continue;
156 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
164 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
170 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dutil.php126 $chunk = fread( $fp, 1024 ) ;
130 $chunk = strtolower( $chunk ) ;
132 if (!$chunk)
137 $chunk = trim( $chunk ) ;
139 if ( preg_match( "/<!DOCTYPE\W*X?HTML/sim", $chunk ) )
148 if( false !== strpos( $chunk, $tag ) )
150 if($tag == '<title' && preg_match("/svg-edit/",$chunk)) continue;
156 if ( preg_match( '!type\s*=\s*[\'"]?\s*(?:\w*/)?(?:ecma|java)!sim', $chunk ) )
164 if ( preg_match( '!(?:href|src|data)\s*=\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
170 if ( preg_match( '!url\s*\(\s*[\'"]?\s*(?:ecma|java)script:!sim', $chunk ) )
/plugin/abc2/abc-libraries/abc2svg/
H A Dsnd-1.js484 throw new Error('wrong chunk length');chunk=parser.getChunk(0);if(chunk===null)
485 …ffChunk(chunk);this.input=null};sf2.Parser.prototype.parseRiffChunk=function(chunk){var parser,dat… argument
490 …gth':chunk.size-4});parser.parse()};sf2.Parser.prototype.parseSdtaList=function(chunk){var parser,… argument
493 …2.Parser.prototype.parsePdtaList=function(chunk){var parser,data=this.input,ip=chunk.offset,signat… argument
498chunk.type);while(ip<size){presetZone.push({presetGeneratorIndex:data[ip++]|(data[ip++]<<8),preset… argument
499 …id chunk type:'+chunk.type);this.presetZoneModulator=this.parseModulator(chunk)};sf2.Parser.protot… argument
500chunk.type);this.presetZoneGenerator=this.parseGenerator(chunk)};sf2.Parser.prototype.parseInst=fu… argument
501chunk.type);while(ip<size){instrument.push({instrumentName:String.fromCharCode.apply(null,data.sub… argument
503 … chunk type:'+chunk.type);this.instrumentZoneModulator=this.parseModulator(chunk)};sf2.Parser.prot… argument
504chunk.type);this.instrumentZoneGenerator=this.parseGenerator(chunk)};sf2.Parser.prototype.parseShd… argument
[all …]
/plugin/combo/vendor/dragonmantank/cron-expression/src/Cron/
H A DDayOfMonthField.php129 foreach ($chunks as $chunk) {
130 if (!$this->validate($chunk)) {
146 foreach ($chunks as $chunk) {
147 if (!$this->validate($chunk)) {
158 foreach ($chunks as $chunk) {
159 if (!$this->validate($chunk)) {
/plugin/findologicxmlexport/vendor/sebastian/diff/src/
H A DParser.php74 $chunk = null;
78 $chunk = new Chunk(
85 $chunks[] = $chunk;
102 if (null !== $chunk) {
103 $chunk->setLines($diffLines);
/plugin/botbouncer/admin/
H A Dstatistics.php122 $chunk = '';
138 $chunk = $tmp.$chunk;
141 $cparts = explode("\n",$chunk);
144 if($pos) $chunk = array_shift($cparts);
/plugin/loglog/helper/
H A Dlogging.php87 $chunk = '';
103 $chunk = $tmp . $chunk;
106 $cparts = explode("\n", $chunk);
109 if ($pos) $chunk = array_shift($cparts);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/Loader/
H A DInlineLoader.php115 foreach (preg_split("/^@@(?= [\w\d\.]+$)/m", $data, -1) as $chunk) {
116 if (trim($chunk)) {
117 list($name, $content) = explode("\n", $chunk, 2);
/plugin/authfacebook/lib/
H A DFacebook.php598 $chunk = $uploader->start($endpoint, $file);
601 $chunk = $this->maxTriesTransfer($uploader, $endpoint, $chunk, $maxTransferTries);
602 } while (!$chunk->isLastChunk());
605 'video_id' => $chunk->getVideoId(),
606 'success' => $uploader->finish($endpoint, $chunk->getUploadSessionId(), $metadata),
615 * @param FacebookTransferChunk $chunk
622 …sfer(FacebookResumableUploader $uploader, $endpoint, FacebookTransferChunk $chunk, $retryCountdown) argument
624 $newChunk = $uploader->transfer($endpoint, $chunk, $retryCountdown < 1);
626 if ($newChunk !== $chunk) {
633 return $this->maxTriesTransfer($uploader, $endpoint, $chunk, $retryCountdown);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
H A DContext.php133 foreach ($chunks as $chunk) {
138 $value = $this->findVariableInStack($chunk, array($value));
169 foreach ($chunks as $chunk) {
174 $value = $this->findVariableInStack($chunk, array($value));
/plugin/dpicorrect/
H A Daction.php115 $chunk = "";
116 while($chunk != "pHYs" && $chunk != "IDAT") {
123 $chunk = fread($a,4); }
125 if($chunk == "IDAT") { fclose($a); return $this->NO_RESOLUTION; }
/plugin/badbehaviour/
H A Dadmin.php173 $chunk = '';
189 $chunk = $tmp.$chunk;
192 $cparts = explode("\n",$chunk);
195 if($pos) $chunk = array_shift($cparts);
/plugin/authgooglesheets/vendor/google/apiclient/src/Http/
H A DMediaFileUpload.php122 * @param string|bool $chunk Optional. The next set of bytes to send. If false will
125 public function nextChunk($chunk = false) argument
129 if (false == $chunk) {
130 $chunk = substr($this->data, $this->progress, $this->chunkSize);
133 $lastBytePos = $this->progress + strlen($chunk) - 1;
136 'content-length' => strlen($chunk),
144 Psr7\Utils::streamFor($chunk)
/plugin/sequencediagram/bower_components/lodash/lib/fp/
H A Dbuild-doc.js46 let chunks = _.chunk(funcNames.slice().sort(), 5);
53 let result = '`' + _.map(chunks, chunk => chunk.join('`, `') + '`').join(',\n`');

12345