Searched refs:block_size (Results 1 – 14 of 14) sorted by relevance
/php-src/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 | 747 int gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode);
|
/php-src/ext/hash/ |
H A D | hash.c | 479 memset(K, 0, ops->block_size); in php_hash_hmac_prep_key() 528 K = emalloc(ops->block_size); in php_hash_do_hash_hmac() 656 size_t i, block_size; in PHP_FUNCTION() local 658 memset(K, 0, ops->block_size); in PHP_FUNCTION() 671 block_size = ops->block_size; in PHP_FUNCTION() 798 size_t i, block_size; in PHP_FUNCTION() local 801 block_size = hash->ops->block_size; in PHP_FUNCTION() 935 K = emalloc(ops->block_size); in PHP_FUNCTION() 1029 K1 = emalloc(ops->block_size); in PHP_FUNCTION() 1030 K2 = emalloc(ops->block_size); in PHP_FUNCTION() [all …]
|
H A D | hash_sha3.c | 158 size_t block_size) { in PHP_SHA3_Update() argument 160 size_t len = block_size - ctx->pos; in PHP_SHA3_Update() 172 if (ctx->pos >= block_size) { in PHP_SHA3_Update() 181 size_t block_size, in PHP_SHA3_Final() argument 187 ctx->state[block_size-1] ^= 0x80; in PHP_SHA3_Final() 192 int bs = (len < block_size) ? len : block_size; in PHP_SHA3_Final() 206 size_t block_size) in php_sha3_unserialize() argument 212 && ctx->pos < block_size) { in php_sha3_unserialize()
|
H A D | php_hash.h | 52 size_t block_size; member
|
/php-src/ext/bz2/tests/ |
H A D | bzcompress_programming_errors.phpt | 36 ValueError: bzcompress(): Argument #2 ($block_size) must be between 1 and 9 37 ValueError: bzcompress(): Argument #2 ($block_size) must be between 1 and 9
|
/php-src/ext/opcache/ |
H A D | zend_shared_alloc.c | 349 size_t block_size = ZSMMG(shared_segments)[i]->end - ZSMMG(shared_segments)[i]->pos; in zend_shared_alloc_get_largest_free_block() local 351 if (block_size>largest_block_size) { in zend_shared_alloc_get_largest_free_block() 352 largest_block_size = block_size; in zend_shared_alloc_get_largest_free_block() 370 size_t block_size = ZEND_ALIGNED_SIZE(size); in zend_shared_alloc() local 378 if (block_size > ZSMMG(shared_free)) { /* No hope to find a big-enough block */ in zend_shared_alloc() 383 …if (ZSMMG(shared_segments)[i]->end - ZSMMG(shared_segments)[i]->pos >= block_size) { /* found a va… in zend_shared_alloc() 386 ZSMMG(shared_segments)[i]->pos += block_size; in zend_shared_alloc() 387 ZSMMG(shared_free) -= block_size; in zend_shared_alloc()
|
/php-src/ext/bz2/ |
H A D | bz2.stub.php | 45 function bzcompress(string $data, int $block_size = 4, int $work_factor = 0): string|int {} argument
|
H A D | bz2_arginfo.h | 40 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, block_size, IS_LONG, 0, "4")
|
H A D | bz2.c | 457 int block_size = (int) zblock_size; in PHP_FUNCTION() local 475 …int error = BZ2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0,… in PHP_FUNCTION()
|
/php-src/ |
H A D | UPGRADING | 23 . bzcompress() now throws a ValueError when $block_size is not between
|
/php-src/ext/sodium/ |
H A D | libsodium_arginfo.h | 457 ZEND_ARG_TYPE_INFO(0, block_size, IS_LONG, 0)
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 9701 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size) 14405 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size)
|
H A D | magic | 9701 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size) 14405 # - 0x04 == 0x00200000: GameCube/Wii CISO (block_size)
|
Completed in 141 milliseconds