Searched refs:block_size (Results 1 – 9 of 9) sorted by relevance
/PHP-7.2/ext/gd/libgd/ |
H A D | gd_pixelate.c | 3 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) in gdImagePixelate() argument 7 if (block_size <= 0) { in gdImagePixelate() 9 } else if (block_size == 1) { in gdImagePixelate() 14 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate() 15 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate() 18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate() 24 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate() 25 for (x = 0; x < im->sx; x += block_size) { in gdImagePixelate() 32 for (cy = 0; cy < block_size; cy++) { in gdImagePixelate() 33 for (cx = 0; cx < block_size; cx++) { in gdImagePixelate() [all …]
|
H A D | gd.h | 730 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
|
/PHP-7.2/ext/hash/ |
H A D | hash.c | 214 memset(K, 0, ops->block_size); in php_hash_hmac_prep_key() 274 K = emalloc(ops->block_size); in php_hash_do_hash_hmac() 298 ZEND_SECURE_ZERO(K, ops->block_size); in php_hash_do_hash_hmac() 377 char *K = emalloc(ops->block_size); in php_hashcontext_ctor() 380 memset(K, 0, ops->block_size); in php_hashcontext_ctor() 393 for(i=0; i < ops->block_size; i++) { in php_hashcontext_ctor() 661 K = emalloc(ops->block_size); in PHP_FUNCTION() 759 K1 = emalloc(ops->block_size); in PHP_FUNCTION() 760 K2 = emalloc(ops->block_size); in PHP_FUNCTION() 1071 int times = bytes / block_size; in PHP_FUNCTION() [all …]
|
H A D | hash_sha3.c | 160 size_t block_size) { in PHP_SHA3_Update() argument 162 unsigned int len = block_size - ctx->pos; in PHP_SHA3_Update() 168 if (ctx->pos >= block_size) { in PHP_SHA3_Update() 177 int block_size, in PHP_SHA3_Final() argument 183 ctx->state[block_size-1] ^= 0x80; in PHP_SHA3_Final() 188 int bs = (len < block_size) ? len : block_size; in PHP_SHA3_Final()
|
H A D | php_hash.h | 46 int block_size; member
|
/PHP-7.2/ext/opcache/ |
H A D | zend_shared_alloc.c | 291 size_t block_size = ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block() local 293 if (block_size>largest_block_size) { in zend_shared_alloc_get_largest_free_block() 294 largest_block_size = block_size; in zend_shared_alloc_get_largest_free_block() 312 unsigned int block_size = ZEND_ALIGNED_SIZE(size); in zend_shared_alloc() local 319 if (block_size > ZSMMG(shared_free)) { /* No hope to find a big-enough block */ in zend_shared_alloc() 324 …if (ZSMMG(shared_segments)[i]->size - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a v… in zend_shared_alloc() 327 ZSMMG(shared_segments)[i]->pos += block_size; in zend_shared_alloc() 328 ZSMMG(shared_free) -= block_size; in zend_shared_alloc()
|
/PHP-7.2/ext/bz2/ |
H A D | bz2.c | 517 block_size = 4, /* Block size for compression algorithm */ in PHP_FUNCTION() local 540 block_size = zblock_size; in PHP_FUNCTION() 547 …error = BZ2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0, wor… in PHP_FUNCTION()
|
/PHP-7.2/ext/fileinfo/tests/ |
H A D | magic | 6345 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size) 10399 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size)
|
H A D | magic私はガラスを食べられます | 6345 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size) 10399 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size)
|
Completed in 137 milliseconds