Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 25 of 36) sorted by path

12

/php-src/
H A DUPGRADING.INTERNALS223 PHP_BASE64_NO_PADDING to encode without the padding character '='.
/php-src/docs/source/core/data-structures/
H A Dzval.rst123 because the memory would otherwise be wasted due to padding, so we may as well make use of it. We'll
/php-src/ext/dom/lexbor/lexbor/css/
H A Drule.h118 lxb_css_property_padding_t *padding; member
/php-src/ext/fileinfo/tests/
H A Dmagic2719 # other stuff in padding
2814 # padding[255] in old star
2815 >>>257 string >\0 \b, padding: %-.40s
10891 # probably padding with nils til 0x53
10897 # probably padding with nils til 0xa8
10901 # probably padding with nils til 0x2aa
15985 # padding spaces implies database
16023 # padding with spaces
24325 #>264 ubequad x \b, padding %#16.16llx
37570 # test for header padding with nulls
[all …]
H A Dmagic私はガラスを食べられます2719 # other stuff in padding
2814 # padding[255] in old star
2815 >>>257 string >\0 \b, padding: %-.40s
10891 # probably padding with nils til 0x53
10897 # probably padding with nils til 0xa8
10901 # probably padding with nils til 0x2aa
15985 # padding spaces implies database
16023 # padding with spaces
24325 #>264 ubequad x \b, padding %#16.16llx
37570 # test for header padding with nulls
[all …]
/php-src/ext/gd/libgd/
H A Dgd_bmp.c157 if (padding) { in gdImageBmpCtx()
158 padding = 4 - padding; in gdImageBmpCtx()
721 if (padding) { in bmp_read_direct()
722 padding = 4 - padding; in bmp_read_direct()
818 if (padding) { in bmp_read_1bit()
819 padding = 4 - padding; in bmp_read_1bit()
888 if (padding) { in bmp_read_4bit()
889 padding = 4 - padding; in bmp_read_4bit()
975 if (padding) { in bmp_read_8bit()
976 padding = 4 - padding; in bmp_read_8bit()
[all …]
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakSponge.inc85 … displayBytes(1, "Block to be absorbed (last few bits + first bit of padding)", delimitedData1, 1);
88 /* Last few bits, whose delimiter coincides with first bit of padding */
90 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
93 /* Second bit of padding */
100 displayBytes(1, "Second bit of padding", block, rateInBytes);
225 … displayBytes(1, "Block to be absorbed (last few bits + first bit of padding)", delimitedData1, 1);
228 /* Last few bits, whose delimiter coincides with first bit of padding */
230 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
233 /* Second bit of padding */
240 displayBytes(1, "Second bit of padding", block, rateInBytes);
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakSponge.inc85 … displayBytes(1, "Block to be absorbed (last few bits + first bit of padding)", delimitedData1, 1);
88 /* Last few bits, whose delimiter coincides with first bit of padding */
90 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
93 /* Second bit of padding */
100 displayBytes(1, "Second bit of padding", block, rateInBytes);
225 … displayBytes(1, "Block to be absorbed (last few bits + first bit of padding)", delimitedData1, 1);
228 /* Last few bits, whose delimiter coincides with first bit of padding */
230 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit…
233 /* Second bit of padding */
240 displayBytes(1, "Second bit of padding", block, rateInBytes);
/php-src/ext/mbstring/tests/
H A Dmb_decode_numericentity.phpt115 $padding = str_repeat("a", $i);
117 if (mb_decode_numericentity($padding . "&#ZZZ", $convmap, 'UTF-8') !== $padding . "&#ZZZ")
119 if (mb_decode_numericentity($padding . "&#xZZZ", $convmap, 'UTF-8') !== $padding . "&#xZZZ")
122 if (mb_decode_numericentity($padding . "&#65", $convmap, 'UTF-8') !== $padding . "A")
124 if (mb_decode_numericentity($padding . "&#x41", $convmap, 'UTF-8') !== $padding . "A")
H A Dutf7imap_encoding.phpt88 * to fit perfectly in Base64 encoding, with no padding */
176 /* Mess up the padding by replacing the last Base64 character with ',',
H A Dutf_encodings.phpt999 // Base64 encoding for UTF-7 doesn't use '=' for padding
1097 // Bad padding on + section (not zeroes)
1098 $encoded = encode("\x12\x34", 'UTF-16BE'); // 3 Base64 bytes, 2 bits of padding...
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_zerofill.phpt74 no padding/filling done. Neither with libmysql nor with mysqlnd.
/php-src/ext/opcache/tests/
H A Dphi_remove_001.phpt16 $Distribution['padding'] = array();
45 … getid3_lib::safe_inc($Distribution['padding'][intval($LongMPEGpaddingLookup[$head4])]);
/php-src/ext/openssl/
H A Dopenssl.c6720 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
6722 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6737 EVP_PKEY_CTX_set_rsa_padding(ctx, padding) <= 0 || in PHP_FUNCTION()
6767 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
6771 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6786 EVP_PKEY_CTX_set_rsa_padding(ctx, padding) <= 0 || in PHP_FUNCTION()
6817 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
6821 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "szz|l", &data, &data_len, &crypted, &key, &padding) ==… in PHP_FUNCTION()
6836 EVP_PKEY_CTX_set_rsa_padding(ctx, padding) <= 0 || in PHP_FUNCTION()
6866 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
[all …]
H A Dopenssl_arginfo.h253 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
260 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
267 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
274 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
/php-src/ext/openssl/tests/
H A Dbug61124.phpt10 …passed is only 4 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in %s on …
H A Dopenssl_decrypt_basic.phpt22 // if we want to manage our own padding
H A Dopenssl_encrypt_error.phpt18 // padding of the key is disabled
H A Dopenssl_error_string_basic.phpt116 // private encrypt with unknown padding
119 // private decrypt with failed padding check
122 // public encrypt and decrypt with failed padding check and padding
125 expect_openssl_errors('openssl_private_(en|de)crypt padding', ['0408F090', '06089093']);
176 openssl_private_(en|de)crypt padding: ok
H A Dopenssl_error_string_basic_openssl3.phpt117 // private encrypt with unknown padding
120 // private decrypt with failed padding check
123 // public encrypt and decrypt with failed padding check and padding
126 expect_openssl_errors('openssl_private_(en|de)crypt padding', ['1C8000A5']);
172 openssl_private_(en|de)crypt padding: ok
/php-src/ext/phar/
H A Dtar.c712 char padding[512]; in phar_tar_writeheaders_int() local
826 memset(padding, 0, 512); in phar_tar_writeheaders_int()
827 …php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders_int()
H A Dtar.h93 char padding[12]; /* unused zeroed bytes */ member
/php-src/ext/standard/
H A Dbase64.c253 size_t i = 0, padding = 0, j = *outl; in php_base64_decode_impl() local
269 padding++; in php_base64_decode_impl()
285 if (ch == -2 || padding) { in php_base64_decode_impl()
316 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
H A Dformatted_print.c125 ZSTR_VAL(*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
159 if(alignment==0 && padding=='0') padding=' '; in php_sprintf_appendint()
198 if (alignment == 0 && padding == '0') padding = ' '; in php_sprintf_appenduint()
219 size_t width, char padding, in php_sprintf_appenddouble() argument
429 char *temppos, padding; in php_formatted_print() local
463 padding = ' '; in php_formatted_print()
485 padding = *format; in php_formatted_print()
495 padding = *format; in php_formatted_print()
627 width, precision, padding, in php_formatted_print()
638 width, padding, alignment, in php_formatted_print()
[all …]
/php-src/ext/standard/tests/array/
H A Darray_pad_too_large_padding.phpt2 array_pad() with too large padding should fail

Completed in 247 milliseconds

12