Home
last modified time | relevance | path

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

/PHP-7.1/ext/mcrypt/
H A Dmcrypt_filter.c32 int block_used; member
63 int chunklen = (int)(bucket->buflen + data->block_used), n; in php_mcrypt_filter()
67 if (data->block_used) { in php_mcrypt_filter()
68 memcpy(outchunk, data->block_buffer, data->block_used); in php_mcrypt_filter()
70 memcpy(outchunk + data->block_used, bucket->buf, bucket->buflen); in php_mcrypt_filter()
80 data->block_used = chunklen - n; in php_mcrypt_filter()
81 memcpy(data->block_buffer, outchunk + n, data->block_used); in php_mcrypt_filter()
104 if ((flags & PSFS_FLAG_FLUSH_CLOSE) && data->blocksize && data->block_used) { in php_mcrypt_filter()
107 memset(data->block_buffer + data->block_used, 0, data->blocksize - data->block_used); in php_mcrypt_filter()
267 data->block_used = 0; in php_mcrypt_filter_create()

Completed in 5 milliseconds