Searched defs:block_size (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgd_pixelate.c3 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) argument
7 if (block_size <= 0) {
9 } else if (block_size == 1) {
14 for (y = 0; y < im->sy; y += block_size) {
15 for (x = 0; x < im->sx; x += block_size) {
18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c);
24 for (y = 0; y < im->sy; y += block_size) {
25 for (x = 0; x < im->sx; x += block_size) {
32 for (cy = 0; cy < block_size; c
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c491 block_size = 4, /* Block size for compression algorithm */ local
514 block_size = zblock_size;
521 error = BZ2_bzBuffToBuffCompress(dest->val, &dest_len, source, source_len, block_size, 0, work_factor);
/PHP_TRUNK/ext/hash/
H A Dhash.c215 memset(K, 0, ops->block_size);
216 if (key_len > ops->block_size) {
225 php_hash_string_xor_char(K, K, 0x36, ops->block_size);
230 ops->hash_update(context, key, ops->block_size);
266 K = emalloc(ops->block_size);
275 ops->hash_update(context, K, ops->block_size);
285 php_hash_string_xor_char(K, K, 0x6A, ops->block_size);
290 ZEND_SECURE_ZERO(K, ops->block_size);
366 char *K = emalloc(ops->block_size);
369 memset(K, 0, ops->block_size);
955 int block_size = ops->digest_size; local
[all...]
H A Dphp_hash.h50 int block_size; member in struct:_php_hash_ops
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.h224 size_t block_size; member in struct:_zend_mm_heap
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c622 int block_size, data_size; local
638 block_size = mcrypt_enc_get_block_size(pm->td);
639 data_size = (((data_len - 1) / block_size) + 1) * block_size;
667 int block_size, data_size; local
683 block_size = mcrypt_enc_get_block_size(pm->td);
684 data_size = (((data_len - 1) / block_size) + 1) * block_size;
1269 int block_size = mcrypt_enc_get_block_size(td); local
1270 data_size = (((data_len - 1) / block_size)
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_shared_alloc.c279 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; local
281 if (block_size>largest_block_size) {
282 largest_block_size = block_size;
300 unsigned int block_size = ZEND_ALIGNED_SIZE(size); local
308 if (block_size > ZSMMG(shared_free)) { /* No hope to find a big-enough block */
313 if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a valid block */
316 ZSMMG(shared_segments)[i]->pos += block_size;
317 ZSMMG(shared_free) -= block_size;
318 memset(retval, 0, block_size);

Completed in 9 milliseconds