Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 18 of 18) sorted by relevance

/php-src/ext/fileinfo/
H A Dcreate_data_file.php39 $chunks = str_split($dta, CHUNK_SIZE); variable
40 $chunks[count($chunks) - 1] = str_pad($chunks[count($chunks) - 1], CHUNK_SIZE, chr(0));
42 echo 'const unsigned char php_magic_database[' . count($chunks) . '][' . CHUNK_SIZE . "] = {\n";
43 foreach ($chunks as $chunk) {
/php-src/ext/standard/tests/streams/
H A Dbug78326.phpt10 $chunks = array();
13 $chunks[] = stream_get_contents($f, 1000000);
15 var_dump(count($chunks));
H A Dgh10031.phpt17 $chunks = floor($fsize / $chunksize); // 10 chunks * 99 bytes
18 $lastchunksize = $fsize - $chunksize * $chunks; // 1 chunk * 10 bytes
22 for ($chunk = 1; $chunk <= $chunks; $chunk++) {
H A Dstream_set_chunk_size.phpt32 * the writes are made in chunks of size 1 (business as usual)
/php-src/ext/soap/tests/
H A Dbug47021.phpt18 $chunks = str_split($body, $n);
19 $chunks[] = '';
21 foreach ($chunks as $k => $v) {
22 $chunks[$k] = sprintf("%08x\r\n%s\r\n", strlen($v), $v);
25 return join('', $chunks);
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromFile_with_working_stream_wrapper.phpt40 echo "--- Stream wrapper in two chunks case ---\n";
57 --- Stream wrapper in two chunks case ---
/php-src/ext/dom/tests/
H A DDOMDocumentFragment_appendXML_error_003.phpt2 DOMDocumentFragment::appendXML() with unbalanced chunks.
/php-src/ext/standard/tests/strings/
H A Dchunk_split_variation3.phpt2 Test chunk_split() function : usage variations - unexpected large number of chunks
/php-src/ext/mbstring/tests/
H A Dmb_str_split_ru.phpt31 /* check chunks number */
H A Dmb_str_split_jp.phpt38 /* check chunks number */
H A Dmb_decode_numericentity.phpt111 // (mb_decode_numericentity splits its input into 'chunks' and processes it one
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt67 …t_size is smaller than the data. You have to increase it or send smaller chunks of data. Answer wa…
/php-src/ext/standard/
H A Dstring.c2194 size_t chunks; local
2198 chunks = srclen / chunklen;
2199 restlen = srclen - chunks * chunklen; /* srclen % chunklen */
2203 chunks++;
2206 dest = zend_string_safe_alloc(chunks, endlen, srclen, 0);
/php-src/
H A Dphp.ini-development217 ; will send that data in chunks of roughly the size you specify.
274 ; outputs chunks that are few hundreds bytes each as a result of
H A Dphp.ini-production217 ; will send that data in chunks of roughly the size you specify.
274 ; outputs chunks that are few hundreds bytes each as a result of
/php-src/ext/mbstring/
H A Dmbstring.c1661 unsigned int chunks = ((ZSTR_LEN(str) / chunk_len) + split_len - 1) / split_len; /* round up */ in PHP_FUNCTION() local
1662 array_init_size(return_value, chunks); in PHP_FUNCTION()
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます753 >20 lelong x \b %d input chunks.
1691 # Note that title and author appear in the two 20-byte chunks
8886 # NOTE: The UNIF format uses chunks instead of a fixed header,
34201 # but data chunks remain proprietary.
38844 >0x2a leshort x \b, %d chunks
H A Dmagic753 >20 lelong x \b %d input chunks.
1691 # Note that title and author appear in the two 20-byte chunks
8886 # NOTE: The UNIF format uses chunks instead of a fixed header,
34201 # but data chunks remain proprietary.
38844 >0x2a leshort x \b, %d chunks

Completed in 197 milliseconds