/PHP-7.3/ext/standard/ |
H A D | formatted_print.c | 112 ZSTR_VAL(*buffer)[(*pos)++] = padding; in php_sprintf_appendstring() 146 if(alignment==0 && padding=='0') padding=' '; in php_sprintf_appendint() 185 if (alignment == 0 && padding == '0') padding = ' '; in php_sprintf_appenduint() 206 size_t width, char padding, in php_sprintf_appenddouble() argument 391 char *format, padding; in php_formatted_print() local 451 padding = ' '; in php_formatted_print() 486 padding = format[inpos]; in php_formatted_print() 493 padding = format[++inpos]; in php_formatted_print() 569 width, precision, padding, in php_formatted_print() 580 width, padding, alignment, in php_formatted_print() [all …]
|
H A D | base64.c | 92 size_t i = 0, padding = 0, j = *outl; in php_base64_decode_impl() local 98 padding++; in php_base64_decode_impl() 114 if (ch == -2 || padding) { in php_base64_decode_impl() 145 if (strict && padding && (padding > 2 || (i + padding) % 4 != 0)) { in php_base64_decode_impl()
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gd_bmp.c | 157 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-7.3/ext/standard/tests/strings/ |
H A D | money_format_basic1.phpt | 37 // Same again but use a '0' for padding character 38 echo "Format with 0 for padding character\n"; 42 // Same again but use a '*' for padding character 43 echo "Format again with * for padding character\n"; 67 Format with 0 for padding character 70 Format again with * for padding character
|
H A D | bug72264.phpt | 2 Bug #72264 (base64_decode $strict fails with whitespace between padding)
|
H A D | bug28633.phpt | 2 Bug #28633 (sprintf incorrectly adding padding to floats)
|
H A D | bug72263.phpt | 2 Bug #72263 (base64_decode skips a character after padding in strict mode)
|
H A D | sprintf_f_2.phpt | 65 var_dump(sprintf("[%010s]", $s)); // zero-padding works on strings too 66 var_dump(sprintf("[%'#10s]", $s)); // use the custom padding character '#'
|
H A D | str_pad.phpt | 72 echo "\n--- padding string as null ---"; 370 --- padding string as null ---
|
/PHP-7.3/ext/hash/sha3/generic32lc/ |
H A D | KeccakSponge.inc | 85 … 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); 224 … displayBytes(1, "Block to be absorbed (last few bits + first bit of padding)", delimitedData1, 1); 227 /* Last few bits, whose delimiter coincides with first bit of padding */ 229 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit… 232 /* Second bit of padding */ 239 displayBytes(1, "Second bit of padding", block, rateInBytes);
|
/PHP-7.3/ext/hash/sha3/generic64lc/ |
H A D | KeccakSponge.inc | 85 … 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); 224 … displayBytes(1, "Block to be absorbed (last few bits + first bit of padding)", delimitedData1, 1); 227 /* Last few bits, whose delimiter coincides with first bit of padding */ 229 …/* If the first bit of padding is at position rate-1, we need a whole new block for the second bit… 232 /* Second bit of padding */ 239 displayBytes(1, "Second bit of padding", block, rateInBytes);
|
/PHP-7.3/ext/openssl/tests/ |
H A D | openssl_error_string_basic.phpt | 113 // 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 D | bug61124.phpt | 10 …passed is only 4 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in %s on …
|
H A D | openssl_decrypt_basic.phpt | 22 // if we want to manage our own padding
|
H A D | openssl_encrypt_error.phpt | 27 // padding of the key is disabled
|
/PHP-7.3/ext/opcache/tests/ |
H A D | phi_remove_001.phpt | 16 $Distribution['padding'] = array(); 45 getid3_lib::safe_inc($Distribution['padding'][intval($LongMPEGpaddingLookup[$head4])]);
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | 001.phpt | 15 echo("sprintf padding and align test: "); 58 sprintf padding and align test: passed
|
/PHP-7.3/ext/phar/ |
H A D | tar.h | 93 char padding[12]; /* unused zeroed bytes */ member
|
/PHP-7.3/ext/standard/tests/url/ |
H A D | bug52327.phpt | 2 Bug #52327 (base64_decode() improper handling of leading padding)
|
H A D | base64_decode_basic_003.phpt | 2 Test base64_decode() function : basic functionality - padding and whitespace
|
/PHP-7.3/ext/standard/tests/file/ |
H A D | bug68532.phpt | 2 Bug #68532: convert.base64-encode omits padding bytes
|
/PHP-7.3/main/ |
H A D | fastcgi.c | 1049 int len, padding; in fcgi_read_request() local 1070 padding = hdr.paddingLength; in fcgi_read_request() 1079 padding = hdr.paddingLength; in fcgi_read_request() 1082 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request() 1091 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request() 1129 padding = hdr.paddingLength; in fcgi_read_request() 1132 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request() 1136 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request() 1152 padding = hdr.paddingLength; in fcgi_read_request() 1160 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
|
/PHP-7.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_result_zerofill.phpt | 74 no padding/filling done. Neither with libmysql nor with mysqlnd.
|
/PHP-7.3/ext/openssl/ |
H A D | openssl.c | 324 ZEND_ARG_INFO(0, padding) 331 ZEND_ARG_INFO(0, padding) 338 ZEND_ARG_INFO(0, padding) 345 ZEND_ARG_INFO(0, padding) 5658 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local 5684 (int)padding) == cryptedlen); in PHP_FUNCTION() 5718 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local 5746 (int)padding); in PHP_FUNCTION() 5788 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local 5814 (int)padding) == cryptedlen); in PHP_FUNCTION() [all …]
|
/PHP-7.3/ext/dom/tests/ |
H A D | bug76738.phpt | 83 $root_div->setAttribute('style', 'margin: 0px; padding: 0px;');
|