Searched refs:block_size (Results 1 - 10 of 10) sorted by relevance

/PHP_5_4/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...]
H A Dgd.h598 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
H A Dgd_compat.h52 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
55 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
/PHP_5_4/Zend/
H A Dzend_alloc.c422 size_t block_size; member in struct:_zend_mm_heap
1038 ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, size_t block_size, size_t reserve_size, int internal, void *params) argument
1075 if (zend_mm_low_bit(block_size) != zend_mm_high_bit(block_size)) {
1076 fprintf(stderr, "'block_size' must be a power of two\n");
1103 heap->block_size = block_size;
1725 size_t block_size = heap->segments_list->size - ZEND_MM_ALIGNED_SEGMENT_SIZE - ZEND_MM_ALIGNED_HEADER_SIZE; local
1728 ZEND_MM_LAST_BLOCK(ZEND_MM_BLOCK_AT(b, block_size));
1729 ZEND_MM_BLOCK(b, ZEND_MM_FREE_BLOCK, block_size);
1880 size_t block_size; local
2222 size_t block_size = orig_size + ZEND_MM_FREE_BLOCK_SIZE(next_block); local
2262 size_t block_size; local
[all...]
H A Dzend_alloc.h233 ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_mem_handlers *handlers, size_t block_size, size_t reserve_size, int internal, void *params);
H A Dzend_static_allocator.c25 inline static void block_init(Block *block, zend_uint block_size) argument
27 block->pos = block->bp = (char *) emalloc(block_size);
28 block->end = block->bp + block_size;
/PHP_5_4/ext/hash/
H A Dhash.c235 K = emalloc(ops->block_size);
236 memset(K, 0, ops->block_size);
238 if (key_len > ops->block_size) {
249 for(i=0; i < ops->block_size; i++) {
252 ops->hash_update(context, (unsigned char *) K, ops->block_size);
270 for(i=0; i < ops->block_size; i++) {
276 ops->hash_update(context, (unsigned char *) K, ops->block_size);
281 memset(K, 0, ops->block_size);
356 char *K = emalloc(ops->block_size);
359 memset(K, 0, ops->block_size);
786 int block_size = ops->digest_size; local
[all...]
H A Dphp_hash.h45 int block_size; member in struct:_php_hash_ops
/PHP_5_4/ext/mcrypt/
H A Dmcrypt.c662 int block_size, data_size; local
678 block_size = mcrypt_enc_get_block_size(pm->td);
679 data_size = (((data_len - 1) / block_size) + 1) * block_size;
707 int block_size, data_size; local
723 block_size = mcrypt_enc_get_block_size(pm->td);
724 data_size = (((data_len - 1) / block_size) + 1) * block_size;
1172 int block_size, max_key_length, use_key_length, i, count, iv_size; local
1239 block_size
[all...]
/PHP_5_4/ext/bz2/
H A Dbz2.c492 block_size = 4, /* Block size for compression algorithm */ local
515 block_size = zblock_size;
522 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor);

Completed in 14 milliseconds