Home
last modified time | relevance | path

Searched refs:chunklen (Results 1 – 19 of 19) sorted by relevance

/PHP-5.5/ext/standard/tests/strings/
H A Dchunk_split_basic.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * arguments as well as with default arguments chunklen and ending
21 $chunklen = 2;
26 var_dump( chunk_split($str, $chunklen, $ending) );
31 var_dump( chunk_split($str, $chunklen) );
34 //Calling chunk_split() with default chunklen and ending string
35 echo "-- Testing chunk_split() with default chunklen and ending string --\n";
50 -- Testing chunk_split() with default chunklen and ending string --
H A Dchunk_split_variation13.phpt2 Test chunk_split() function : usage variations - default 'chunklen' with long string as 'str'argume…
5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
12 * passing long string as 'str' and testing default value of chunklen which is 76
15 echo "*** Testing chunk_split() : default 'chunklen' with long string 'str' ***\n";
23 //loop through each element of values for 'str' and default value of 'chunklen'
32 *** Testing chunk_split() : default 'chunklen' with long string 'str' ***
H A Dchunk_split_variation5.phpt2 Test chunk_split() function : usage variations - different integer values for 'chunklen' argument(B…
9 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
16 * passsing different integer values for 'chunklen' argument to chunk_split()
20 echo "*** Testing chunk_split() : different integer values for 'chunklen' ***\n";
26 // different values for chunklen
47 *** Testing chunk_split() : different integer values for 'chunklen' ***
H A Dchunk_split_variation8.phpt2 Test chunk_split() function : usage variations - different integer values for 'chunklen' with hered…
9 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
16 * passing different integer values for 'chunklen' and heredoc string for 'str' to chunk_split()
19 echo "*** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***\n";
32 // different values for 'chunklen'
46 // loop through each element of values for 'chunklen'
55 *** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
H A Dchunk_split_error.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
24 $chunklen = 5;
28 var_dump( chunk_split($str, $chunklen, $ending, $extra_arg) );
H A Dchunk_split_variation4.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * with 'chunklen' 4 and default value of 'ending' that is "\r\n"
19 $chunklen = 4;
81 var_dump( chunk_split( $str, $chunklen) );
H A Dchunk_split_variation6.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * 'chunklen' is set to 7 and 'ending' is '):('
19 $chunklen = 7;
43 var_dump( chunk_split($values[$count], $chunklen, $ending) );
H A Dchunk_split_variation7.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * here 'chunklen' is set to 5 and 'ending' is "????"
19 $chunklen = 5;
41 var_dump( chunk_split( $values[$count], $chunklen, $ending) );
H A Dchunk_split_variation11.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * 'chunklen' is set to 6E0 for this testcase
25 $chunklen = 6E+0;
41 var_dump( chunk_split($heredoc_str, $chunklen, $values[$count]) );
H A Dchunk_split_variation2.phpt2 Test chunk_split() function : usage variations - unexpected values for 'chunklen' argument(Bug#4279…
5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
11 echo "*** Testing chunk_split() : with unexpected values for 'chunklen' argument ***\n";
80 // loop through each element of the values for 'chunklen'
92 *** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
H A Dchunk_split_variation9.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * here 'chunklen' is set to 6.5
20 $chunklen = 6.5;
47 var_dump( chunk_split($str, $chunklen, $values[$count]) );
H A Dchunk_split_variation1.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
14 $chunklen = 2;
90 var_dump( chunk_split($values[$count], $chunklen, $ending) );
H A Dchunk_split_variation10.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * 'chunklen' is set to 9.2 for this testcase
21 $chunklen = 9.2;
49 var_dump( chunk_split($str, $chunklen, $values[$count]) );
H A Dchunk_split_variation3.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
15 $chunklen = 4.9;
86 var_dump( chunk_split($str, $chunklen, $values[$count]) );
H A Dchunk_split_variation12.phpt5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]])
13 * 'chunklen' argument is set to 10
19 $chunklen = 10;
80 var_dump( chunk_split( $str, $chunklen, $value) );
/PHP-5.5/ext/mcrypt/
H A Dmcrypt_filter.c63 int chunklen = bucket->buflen + data->block_used, n; in php_mcrypt_filter() local
66 outchunk = pemalloc(chunklen, data->persistent); in php_mcrypt_filter()
72 for(n=0; (n + data->blocksize) <= chunklen; n += data->blocksize) { in php_mcrypt_filter()
80 data->block_used = chunklen - n; in php_mcrypt_filter()
/PHP-5.5/ext/standard/
H A Dstring.c2151 static char *php_chunk_split(char *src, int srclen, char *end, int endlen, int chunklen, int *destl… argument
2159 chunks = srclen / chunklen;
2160 restlen = srclen - chunks * chunklen; /* srclen % chunklen */
2177 for (p = src, q = dest; p < (src + srclen - chunklen + 1); ) {
2178 memcpy(q, p, chunklen);
2179 q += chunklen;
2182 p += chunklen;
2209 long chunklen = 76; local
2217 if (chunklen <= 0) {
2222 if (chunklen > str_len) {
[all …]
H A Dbasic_functions.c2289 ZEND_ARG_INFO(0, chunklen)
/PHP-5.5/
H A DNEWS9625 - Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
9869 - Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). (Ilia)

Completed in 110 milliseconds