Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/ext/opcache/tests/jit/
H A Dbug80839.phpt15 function test($str, $pad) {
16 $x = $str . str_repeat($pad, 15); // $x now contains "yyyyyyyyyyyyyyy"
/PHP-8.0/Zend/
H A Dmicro_bench.php262 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
264 echo $name.$pad.$num."\n";
267 echo $name.$pad.$num." ".$num2."\n";
276 $pad = str_repeat("-", 24);
277 echo $pad."\n";
279 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
280 echo "Total".$pad.$num."\n";
H A Dbench.php367 $pad = str_repeat(" ", 24-strlen($name)-strlen($num));
369 echo $name.$pad.$num."\n";
377 $pad = str_repeat("-", 24);
378 echo $pad."\n";
380 $pad = str_repeat(" ", 24-strlen("Total")-strlen($num));
381 echo "Total".$pad.$num."\n";
/PHP-8.0/ext/gd/tests/
H A Dbug66590_1.phpt2 Bug #66590 (imagewebp() doesn't pad to even length) - segfault
H A Dbug66590.phpt2 Bug #66590 (imagewebp() doesn't pad to even length)
/PHP-8.0/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-8.0/ext/standard/tests/strings/
H A Dunpack_offset.phpt5 $data = "pad" . pack("ll", 0x01020304, 0x05060708);
H A Dstr_pad.phpt19 echo "\n#### variations with input string and pad-length ####\n";
53 echo "\n#### variation with pad string ####\n";
97 #### variations with input string and pad-length ####
309 #### variation with pad string ####
/PHP-8.0/ext/standard/
H A Dcrypt_sha256.c218 size_t pad; in sha256_finish_ctx() local
227 pad = bytes >= 56 ? 64 + 56 - bytes : 56 - bytes; in sha256_finish_ctx()
228 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha256_finish_ctx()
231 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
232 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
236 sha256_process_block(ctx->buffer, bytes + pad + 8, ctx); in sha256_finish_ctx()
H A Dcrypt_sha512.c245 size_t pad; in sha512_finish_ctx() local
254 pad = bytes >= 112 ? 128 + 112 - (size_t)bytes : 112 - (size_t)bytes; in sha512_finish_ctx()
255 memcpy(&ctx->buffer[bytes], fillbuf, pad); in sha512_finish_ctx()
258 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx()
259 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx()
263 sha512_process_block(ctx->buffer, (size_t)(bytes + pad + 16), ctx); in sha512_finish_ctx()
H A Dpack.c941 char pad = '\0'; in PHP_FUNCTION() local
954 if (input[inputpos + s] == pad) in PHP_FUNCTION()
/PHP-8.0/main/
H A Dfastcgi.c996 int pad = ((len + 7) & ~7) - len; in fcgi_make_header() local
1000 hdr->paddingLength = (unsigned char)pad; in fcgi_make_header()
1006 if (pad) { in fcgi_make_header()
1007 memset(((unsigned char*)hdr) + sizeof(fcgi_header) + len, 0, pad); in fcgi_make_header()
1009 return pad; in fcgi_make_header()
1611 int pad; local
1628 pad = (((len - pos) + 7) & ~7) - (len - pos);
1629 rest = pad ? 8 - pad : 0;
1641 if (pad) {
H A Dsnprintf.c60 static char * __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
94 if (pad && fmode) { in __cvt()
107 if (pad) { in __cvt()
/PHP-8.0/win32/build/
H A Dconfutils.js439 pad = " ";
441 pad += " ";
443 STDOUT.WriteLine(" " + arg.arg + pad + word_wrap_and_indent(max_width + 5, arg.helptext));
/PHP-8.0/ext/pgsql/
H A Dpgsql.c5528 … *pg_link, smart_str *querystr, HashTable *ht, int where_cond, const char *pad, int pad_len, zend_… in build_assignment_string() argument
5579 smart_str_appendl(querystr, pad, pad_len); in build_assignment_string()
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます30585 # pad[354] should be 354 null bytes.
H A Dmagic30585 # pad[354] should be 354 null bytes.

Completed in 172 milliseconds