Searched defs:chunklen (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c63 int chunklen = (int)(bucket->buflen + data->block_used), n; local
66 outchunk = pemalloc(chunklen, data->persistent);
72 for(n=0; (n + data->blocksize) <= chunklen; n += data->blocksize) {
80 data->block_used = chunklen - n;
/PHP_TRUNK/ext/standard/
H A Dstring.c2127 static zend_string *php_chunk_split(char *src, size_t srclen, char *end, size_t endlen, size_t chunklen) argument
2135 chunks = srclen / chunklen;
2136 restlen = srclen - chunks * chunklen; /* srclen % chunklen */
2153 for (p = src, q = dest->val; p < (src + srclen - chunklen + 1); ) {
2154 memcpy(q, p, chunklen);
2155 q += chunklen;
2158 p += chunklen;
2175 /* {{{ proto string chunk_split(string str [, int chunklen [, string ending]])
2182 zend_long chunklen local
[all...]

Completed in 7 milliseconds