Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 25 of 30) sorted by relevance

12

/PHP-8.0/ext/standard/
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 …]
H A Dbase64.c249 size_t i = 0, padding = 0, j = *outl; in php_base64_decode_impl() local
265 padding++; in php_base64_decode_impl()
281 if (ch == -2 || padding) { in php_base64_decode_impl()
312 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
/PHP-8.0/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-8.0/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-8.0/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-8.0/ext/standard/tests/strings/
H A Dbug72264.phpt2 Bug #72264 (base64_decode $strict fails with whitespace between padding)
H A Dbug28633.phpt2 Bug #28633 (sprintf incorrectly adding padding to floats)
H A Dbug67249.phpt12 Missing padding character
H A Dbug72263.phpt2 Bug #72263 (base64_decode skips a character after padding in strict mode)
H A Dsprintf_f_2.phpt65 var_dump(sprintf("[%010s]", $s)); // zero-padding works on strings too
66 var_dump(sprintf("[%'#10s]", $s)); // use the custom padding character '#'
H A Dstr_pad.phpt66 echo "\n--- padding string as null ---\n";
341 --- padding string as null ---
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt113 // private encrypt with unknown padding
116 // private decrypt with failed padding check
119 // public encrypt and decrypt with failed padding check and padding
122 expect_openssl_errors('openssl_private_(en|de)crypt padding', [$err_pem_no_start_line, '04068076', …
173 openssl_private_(en|de)crypt padding: ok
H A Dbug61124.phpt11 …passed is only 4 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in %s on …
H A Dopenssl_encrypt_error.phpt18 // padding of the key is disabled
H A Dopenssl_decrypt_basic.phpt22 // if we want to manage our own padding
/PHP-8.0/ext/opcache/tests/
H A Dphi_remove_001.phpt16 $Distribution['padding'] = array();
45 … getid3_lib::safe_inc($Distribution['padding'][intval($LongMPEGpaddingLookup[$head4])]);
/PHP-8.0/ext/standard/tests/general_functions/
H A D001.phpt15 echo("sprintf padding and align test: ");
58 sprintf padding and align test: passed
/PHP-8.0/ext/phar/
H A Dtar.h93 char padding[12]; /* unused zeroed bytes */ member
/PHP-8.0/ext/standard/tests/url/
H A Dbug52327.phpt2 Bug #52327 (base64_decode() improper handling of leading padding)
H A Dbase64_decode_basic_003.phpt2 Test base64_decode() function : basic functionality - padding and whitespace
/PHP-8.0/ext/standard/tests/file/
H A Dbug68532.phpt2 Bug #68532: convert.base64-encode omits padding bytes
/PHP-8.0/ext/openssl/
H A Dopenssl.stub.php146 function openssl_private_encrypt(string $data, &$encrypted_data, $private_key, int $padding = OPENS… argument
152 function openssl_private_decrypt(string $data, &$decrypted_data, $private_key, int $padding = OPENS… argument
158 function openssl_public_encrypt(string $data, &$encrypted_data, $public_key, int $padding = OPENSSL… argument
164 function openssl_public_decrypt(string $data, &$decrypted_data, $public_key, int $padding = OPENSSL… argument
H A Dopenssl_arginfo.h252 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
259 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
266 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
273 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, padding, IS_LONG, 0, "OPENSSL_PKCS1_PADDING")
/PHP-8.0/main/
H A Dfastcgi.c1047 int len, padding; in fcgi_read_request() local
1068 padding = hdr.paddingLength; in fcgi_read_request()
1077 padding = hdr.paddingLength; in fcgi_read_request()
1080 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
1089 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1127 padding = hdr.paddingLength; in fcgi_read_request()
1130 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
1134 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1150 padding = hdr.paddingLength; in fcgi_read_request()
1158 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
/PHP-8.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_zerofill.phpt73 no padding/filling done. Neither with libmysql nor with mysqlnd.

Completed in 49 milliseconds

12