Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Dformatted_print.c114 ZSTR_VAL(*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
148 if(alignment==0 && padding=='0') padding=' '; in php_sprintf_appendint()
187 if (alignment == 0 && padding == '0') padding = ' '; in php_sprintf_appenduint()
208 size_t width, char padding, in php_sprintf_appenddouble() argument
393 char *format, padding; in php_formatted_print() local
453 padding = ' '; in php_formatted_print()
488 padding = format[inpos]; in php_formatted_print()
495 padding = format[++inpos]; in php_formatted_print()
570 width, precision, padding, in php_formatted_print()
581 width, padding, alignment, in php_formatted_print()
[all …]
H A Dbase64.c139 int ch, i = 0, j = 0, padding = 0; in php_base64_decode_ex() local
158 padding++; in php_base64_decode_ex()
174 if (ch == -2 || padding) { in php_base64_decode_ex()
/PHP-7.0/ext/standard/tests/strings/
H A Dmoney_format_basic1.phpt37 // 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 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 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.phpt72 echo "\n--- padding string as null ---";
370 --- padding string as null ---
/PHP-7.0/ext/openssl/tests/
H A Dopenssl_error_string_basic.phpt99 // private encrypt with unknown padding
102 // private decrypt with failed padding check
105 // public encrypt and decrypt with failed padding check and padding
108 expect_openssl_errors('openssl_private_(en|de)crypt padding', ['0906D06C', '04068076', '04067072']);
159 openssl_private_(en|de)crypt padding: ok
H A Dopenssl_decrypt_basic.phpt22 // if we want to manage our own padding
/PHP-7.0/ext/standard/tests/general_functions/
H A D001.phpt15 echo("sprintf padding and align test: ");
58 sprintf padding and align test: passed
/PHP-7.0/ext/phar/
H A Dtar.h93 char padding[12]; /* unused zeroed bytes */ member
H A Dtar.c703 char padding[512]; in phar_tar_writeheaders_int() local
812 memset(padding, 0, 512); in phar_tar_writeheaders_int()
813 …php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders_int()
/PHP-7.0/ext/standard/tests/url/
H A Dbug52327.phpt2 Bug #52327 (base64_decode() improper handling of leading padding)
/PHP-7.0/ext/standard/tests/file/
H A Dbug68532.phpt2 Bug #68532: convert.base64-encode omits padding bytes
/PHP-7.0/main/
H A Dfastcgi.c1051 int len, padding; in fcgi_read_request() local
1072 padding = hdr.paddingLength; in fcgi_read_request()
1081 padding = hdr.paddingLength; in fcgi_read_request()
1084 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
1091 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1128 padding = hdr.paddingLength; in fcgi_read_request()
1131 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
1135 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
1151 padding = hdr.paddingLength; in fcgi_read_request()
1159 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
/PHP-7.0/ext/pdo/
H A Dpdo_sql_parser.c729 int padding;
737 padding = stmt->dbh->max_escaped_char_length;
739 padding = 3;
749 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
H A Dpdo_sql_parser.re415 int padding;
421 /* calculate the possible padding factor due to quoting */
423 padding = stmt->dbh->max_escaped_char_length;
425 padding = 3;
435 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_zerofill.phpt74 no padding/filling done. Neither with libmysql nor with mysqlnd.
/PHP-7.0/ext/openssl/
H A Dopenssl.c317 ZEND_ARG_INFO(0, padding)
324 ZEND_ARG_INFO(0, padding)
331 ZEND_ARG_INFO(0, padding)
338 ZEND_ARG_INFO(0, padding)
4953 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
4979 (int)padding) == cryptedlen); in PHP_FUNCTION()
5011 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
5039 (int)padding); in PHP_FUNCTION()
5079 zend_long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
5105 (int)padding) == cryptedlen); in PHP_FUNCTION()
[all …]
/PHP-7.0/
H A DNEWS1331 . Fixed bug #72263 (base64_decode skips a character after padding in strict
1334 padding). (Lauri Kenttä)
2857 . Fixed bug #68532 (convert.base64-encode omits padding bytes).

Completed in 76 milliseconds