Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 19 of 19) sorted by relevance

/PHP-5.3/ext/simplexml/tests/
H A D026.phpt13 function traverse_xml($xml, $pad = '')
16 echo "$pad<$name";
24 traverse_xml($node, $pad.' ');
26 echo $pad."</$name>\n";
H A D028.phpt11 function traverse_xml($xml, $pad = '')
14 echo "$pad<$name";
22 traverse_xml($node, $pad.' ');
24 echo $pad."</$name>\n";
H A D018.phpt30 function traverse_xml($pad,$xml) {
32 echo $pad."<$name";
37 traverse_xml($pad." ",$node);
38 echo $pad."</$name>\n";
H A D027.phpt11 function traverse_xml($xml, $pad = '')
14 echo "$pad<$name";
22 traverse_xml($node, $pad.' ');
24 echo $pad."</$name>\n";
/PHP-5.3/Zend/
H A Dbench.php368 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
370 echo $name.$pad.$num."\n";
378 $pad = str_repeat("-", 24);
379 echo $pad."\n";
381 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
382 echo "Total".$pad.$num."\n";
/PHP-5.3/ext/standard/tests/url/
H A Dbug55273.phpt2 Bug #55273 (base64_decode() with strict rejects whitespace after pad)
H A Dbug47174.phpt2 Bug #47174 (base64_decode() interprets pad char in mid string as terminator)
/PHP-5.3/sapi/fpm/fpm/
H A Dfastcgi.c359 int pad = ((len + 7) & ~7) - len; in fcgi_make_header() local
363 hdr->paddingLength = (unsigned char)pad; in fcgi_make_header()
369 if (pad) { in fcgi_make_header()
370 memset(((unsigned char*)hdr) + sizeof(fcgi_header) + len, 0, pad); in fcgi_make_header()
372 return pad; in fcgi_make_header()
996 int pad; local
1013 pad = (((len - pos) + 7) & ~7) - (len - pos);
1014 rest = pad ? 8 - pad : 0;
1026 if (pad) {
/PHP-5.3/ext/standard/tests/strings/
H A Dstr_pad.phpt19 echo "\n#### variations with input string and pad-length ####\n";
53 echo "\n#### variation with pad string ####\n";
89 #### variations with input string and pad-length ####
331 #### variation with pad string ####
/PHP-5.3/ext/standard/
H A Dcrypt_sha256.c233 size_t pad; in sha256_finish_ctx() local
242 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes; in sha256_finish_ctx()
243 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha256_finish_ctx()
246 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
247 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
251 sha256_process_block(ctx->buffer, bytes + pad + 8, ctx); in sha256_finish_ctx()
H A Dcrypt_sha512.c260 size_t pad; in sha512_finish_ctx() local
269 pad = bytes >= 112 ? 128 + 112 - (size_t)bytes : 112 - (size_t)bytes; in sha512_finish_ctx()
270 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha512_finish_ctx()
273 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx()
274 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx()
278 sha512_process_block(ctx->buffer, (size_t)(bytes + pad + 16), ctx); in sha512_finish_ctx()
H A Dpack.c668 char pad = (type == 'a') ? '\0' : ' '; in PHP_FUNCTION() local
680 if (input[inputpos + len] != pad) in PHP_FUNCTION()
/PHP-5.3/sapi/cgi/
H A Dfastcgi.c588 int pad = ((len + 7) & ~7) - len; in fcgi_make_header() local
592 hdr->paddingLength = (unsigned char)pad; in fcgi_make_header()
598 if (pad) { in fcgi_make_header()
599 memset(((unsigned char*)hdr) + sizeof(fcgi_header) + len, 0, pad); in fcgi_make_header()
601 return pad; in fcgi_make_header()
1183 int pad; local
1200 pad = (((len - pos) + 7) & ~7) - (len - pos);
1201 rest = pad ? 8 - pad : 0;
1213 if (pad) {
/PHP-5.3/ext/standard/tests/array/
H A Darray_pad.phpt96 Warning: array_pad(): You may only pad up to 1048576 elements at a time in %s on line %d
H A Darray_pad_variation2.phpt140 Warning: array_pad(): You may only pad up to 1048576 elements at a time in %s on line %d
144 Warning: array_pad(): You may only pad up to 1048576 elements at a time in %s on line %d
/PHP-5.3/main/
H A Dsnprintf.c66 static char * __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
100 if (pad && fmode) { in __cvt()
113 if (pad) { in __cvt()
/PHP-5.3/win32/build/
H A Dconfutils.js403 pad = " ";
405 pad += " ";
407 STDOUT.WriteLine(" " + arg.arg + pad + word_wrap_and_indent(max_width + 5, arg.helptext));
/PHP-5.3/ext/pgsql/
H A Dpgsql.c5994 …ent_string(smart_str *querystr, HashTable *ht, int where_cond, const char *pad, int pad_len TSRMLS… argument
6034 smart_str_appendl(querystr, pad, pad_len);
/PHP-5.3/
H A DNEWS765 pad). (Ilia)
3475 - Fixed bug #47174 (base64_decode() interprets pad char in mid string as
3948 - Fixed bug #43482 (array_pad() does not warn on very small pad numbers). (Ilia)

Completed in 85 milliseconds