Home
last modified time | relevance | path

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

/PHP-5.3/ext/standard/
H A Dformatted_print.c116 (*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
124 (*buffer)[(*pos)++] = padding; in php_sprintf_appendstring()
150 if(alignment==0 && padding=='0') padding=' '; in php_sprintf_appendint()
189 if (alignment == 0 && padding == '0') padding = ' '; in php_sprintf_appenduint()
210 int width, char padding, in php_sprintf_appenddouble() argument
380 char *format, *result, padding; in php_formatted_print() local
441 padding = ' '; in php_formatted_print()
475 padding = format[inpos]; in php_formatted_print()
482 padding = format[++inpos]; in php_formatted_print()
568 width, precision, padding, in php_formatted_print()
[all …]
/PHP-5.3/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 Dbug28633.phpt2 Bug #28633 (sprintf incorrectly adding padding to floats)
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-5.3/ext/standard/tests/general_functions/
H A D001.phpt15 echo("sprintf padding and align test: ");
58 sprintf padding and align test: passed
/PHP-5.3/sapi/fpm/fpm/
H A Dfastcgi.c502 int len, padding; in fcgi_read_request() local
519 padding = hdr.paddingLength; in fcgi_read_request()
528 padding = hdr.paddingLength; in fcgi_read_request()
531 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
540 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
568 padding = hdr.paddingLength; in fcgi_read_request()
571 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
575 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
591 padding = hdr.paddingLength; in fcgi_read_request()
602 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
/PHP-5.3/ext/phar/
H A Dtar.h93 char padding[12]; /* unused zeroed bytes */ member
H A Dtar.c684 char padding[512]; in phar_tar_writeheaders() local
793 memset(padding, 0, 512); in phar_tar_writeheaders()
794 …php_stream_write(fp->new, padding, ((entry->uncompressed_filesize +511)&~511) - entry->uncompresse… in phar_tar_writeheaders()
/PHP-5.3/sapi/cgi/
H A Dfastcgi.c669 int len, padding; in fcgi_read_request() local
686 padding = hdr.paddingLength; in fcgi_read_request()
695 padding = hdr.paddingLength; in fcgi_read_request()
698 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
707 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
735 padding = hdr.paddingLength; in fcgi_read_request()
738 if (len + padding > FCGI_MAX_LENGTH) { in fcgi_read_request()
742 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
758 padding = hdr.paddingLength; in fcgi_read_request()
769 if (safe_read(req, buf, len+padding) != len+padding) { in fcgi_read_request()
/PHP-5.3/ext/standard/tests/url/
H A Dbug52327.phpt2 Bug #52327 (base64_decode() improper handling of leading padding)
/PHP-5.3/ext/pdo/
H A Dpdo_sql_parser.c747 int padding;
755 padding = stmt->dbh->max_escaped_char_length;
757 padding = 3;
768 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
H A Dpdo_sql_parser.re394 int padding;
400 /* calculate the possible padding factor due to quoting */
402 padding = stmt->dbh->max_escaped_char_length;
404 padding = 3;
415 newbuffer_len += padding * Z_STRLEN_P(param->parameter);
/PHP-5.3/ext/mysqli/tests/
H A Dmysqli_stmt_bind_result_zerofill.phpt74 no padding/filling done. Neither with libmysql nor with mysqlnd.
/PHP-5.3/ext/openssl/
H A Dopenssl.c277 ZEND_ARG_INFO(0, padding)
284 ZEND_ARG_INFO(0, padding)
291 ZEND_ARG_INFO(0, padding)
298 ZEND_ARG_INFO(0, padding)
3830 long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
3854 padding) == cryptedlen); in PHP_FUNCTION()
3886 long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
3912 padding); in PHP_FUNCTION()
3952 long padding = RSA_PKCS1_PADDING; in PHP_FUNCTION() local
3977 padding) == cryptedlen); in PHP_FUNCTION()
[all …]
/PHP-5.3/
H A DNEWS1582 . Fixed bug #52327 (base64_decode() improper handling of leading padding in

Completed in 54 milliseconds