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

/PHP_5_3/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_5_3/ext/bz2/
H A Dbz2.c494 block_size = 4, /* Block size for compression algorithm */ local
517 block_size = zblock_size;
524 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor);
/PHP_5_3/ext/hash/
H A Dhash.c227 K = emalloc(ops->block_size);
228 memset(K, 0, ops->block_size);
230 if (key_len > ops->block_size) {
241 for(i=0; i < ops->block_size; i++) {
244 ops->hash_update(context, (unsigned char *) K, ops->block_size);
262 for(i=0; i < ops->block_size; i++) {
268 ops->hash_update(context, (unsigned char *) K, ops->block_size);
273 memset(K, 0, ops->block_size);
348 char *K = emalloc(ops->block_size);
351 memset(K, 0, ops->block_size);
778 int block_size = ops->digest_size; local
[all...]
H A Dphp_hash.h45 int block_size; member in struct:_php_hash_ops
/PHP_5_3/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_3/main/
H A Doutput.c37 static int php_ob_init(uint initial_size, uint block_size, zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC);
139 uint initial_size, block_size; local
156 block_size = chunk_size/2;
159 block_size = 10*1024;
161 return php_ob_init(initial_size, block_size, output_handler, chunk_size, erase TSRMLS_CC);
413 buf_size += OG(active_ob_buffer).block_size;
437 static int php_ob_init_named(uint initial_size, uint block_size, char *handler_name, zval *output_handler, uint chunk_size, zend_bool erase TSRMLS_DC) argument
445 tmp_buf.block_size = block_size;
492 static int php_ob_init(uint initial_size, uint block_size, zva argument
[all...]
H A Dphp_output.h71 int block_size; member in struct:_php_ob_buffer
/PHP_5_3/Zend/
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;
H A Dzend_alloc.c422 size_t block_size; member in struct:_zend_mm_heap
1016 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
1053 if (zend_mm_low_bit(block_size) != zend_mm_high_bit(block_size)) {
1054 fprintf(stderr, "'block_size' must be a power of two\n");
1081 heap->block_size = block_size;
1814 size_t block_size; local
1864 if (!best_fit && heap->real_size >= heap->limit - heap->block_size) {
1882 if (true_size > heap->block_size
2145 size_t block_size = orig_size + ZEND_MM_FREE_BLOCK_SIZE(next_block); local
2187 size_t block_size; local
[all...]

Completed in 18 milliseconds