Searched refs:block_size (Results 1 - 11 of 11) 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...]
H A Dgd.h719 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
/PHP_TRUNK/Zend/
H A Dzend_alloc.c422 size_t block_size; member in struct:_zend_mm_heap
1042 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
1079 if (zend_mm_low_bit(block_size) != zend_mm_high_bit(block_size)) {
1080 fprintf(stderr, "'block_size' must be a power of two\n");
1107 heap->block_size = block_size;
1729 size_t block_size = heap->segments_list->size - ZEND_MM_ALIGNED_SEGMENT_SIZE - ZEND_MM_ALIGNED_HEADER_SIZE; local
1732 ZEND_MM_LAST_BLOCK(ZEND_MM_BLOCK_AT(b, block_size));
1733 ZEND_MM_BLOCK(b, ZEND_MM_FREE_BLOCK, block_size);
1884 size_t block_size; local
2226 size_t block_size = orig_size + ZEND_MM_FREE_BLOCK_SIZE(next_block); local
2266 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_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);
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c621 int block_size, data_size; local
637 block_size = mcrypt_enc_get_block_size(pm->td);
638 data_size = (((data_len - 1) / block_size) + 1) * block_size;
666 int block_size, data_size; local
682 block_size = mcrypt_enc_get_block_size(pm->td);
683 data_size = (((data_len - 1) / block_size) + 1) * block_size;
1264 int block_size = mcrypt_enc_get_block_size(td); local
1265 data_size = (((data_len - 1) / block_size)
[all...]
/PHP_TRUNK/ext/hash/
H A Dhash.c221 memset(K, 0, ops->block_size);
222 if (key_len > ops->block_size) {
231 php_hash_string_xor_char(K, K, 0x36, ops->block_size);
236 ops->hash_update(context, key, ops->block_size);
270 K = emalloc(ops->block_size);
279 ops->hash_update(context, (unsigned char *) K, ops->block_size);
289 php_hash_string_xor_char((unsigned char *) K, (unsigned char *) K, 0x6A, ops->block_size);
294 memset(K, 0, ops->block_size);
369 char *K = emalloc(ops->block_size);
372 memset(K, 0, ops->block_size);
963 int block_size = ops->digest_size; local
[all...]
H A Dphp_hash.h50 int block_size; member in struct:_php_hash_ops
/PHP_TRUNK/ext/bz2/
H A Dbz2.c487 block_size = 4, /* Block size for compression algorithm */ local
510 block_size = zblock_size;
517 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.h216 size_t block_size; member in struct:_zend_mm_heap

Completed in 20 milliseconds