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

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt_filter.c63 int chunklen = 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.c2133 static zend_string *php_chunk_split(char *src, size_t srclen, char *end, size_t endlen, size_t chunklen) argument
2141 chunks = srclen / chunklen;
2142 restlen = srclen - chunks * chunklen; /* srclen % chunklen */
2159 for (p = src, q = dest->val; p < (src + srclen - chunklen + 1); ) {
2160 memcpy(q, p, chunklen);
2161 q += chunklen;
2164 p += chunklen;
2181 /* {{{ proto string chunk_split(string str [, int chunklen [, string ending]])
2188 zend_long chunklen local
[all...]

Completed in 15 milliseconds