/PHP-8.2/ext/hash/ |
H A D | hash_sha3.c | 222 #define DECLARE_SHA3_OPS(bits) \ argument 224 PHP_SHA3_Init(ctx, bits); \ 226 void PHP_SHA3##bits##Update(PHP_SHA3_##bits##_CTX* ctx, \ 236 bits >> 3); \ 244 "sha3-" #bits, \ 252 bits >> 3, \ 253 (1600 - (2 * bits)) >> 3, \ 322 void PHP_SHA3##bits##Update(PHP_SHA3_##bits##_CTX* ctx, \ 332 "sha3-" #bits, \ 340 bits >> 3, \ [all …]
|
H A D | hash_sha.c | 265 unsigned char bits[8]; in PHP_SHA224Final() local 269 bits[7] = (unsigned char) (context->count[0] & 0xFF); in PHP_SHA224Final() 273 bits[3] = (unsigned char) (context->count[1] & 0xFF); in PHP_SHA224Final() 285 PHP_SHA224Update(context, bits, 8); in PHP_SHA224Final() 343 unsigned char bits[8]; in PHP_SHA256Final() local 347 bits[7] = (unsigned char) (context->count[0] & 0xFF); in PHP_SHA256Final() 363 PHP_SHA256Update(context, bits, 8); in PHP_SHA256Final() 557 unsigned char bits[16]; in PHP_SHA384Final() local 585 PHP_SHA384Update(context, bits, 16); in PHP_SHA384Final() 714 unsigned char bits[16]; in PHP_SHA512Final() local [all …]
|
H A D | hash_ripemd.c | 646 unsigned char bits[8]; in PHP_RIPEMD128Final() local 650 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD128Final() 654 bits[4] = (unsigned char) (context->count[1] & 0xFF); in PHP_RIPEMD128Final() 666 PHP_RIPEMD128Update(context, bits, 8); in PHP_RIPEMD128Final() 683 unsigned char bits[8]; in PHP_RIPEMD256Final() local 687 bits[0] = (unsigned char) (context->count[0] & 0xFF); in PHP_RIPEMD256Final() 703 PHP_RIPEMD256Update(context, bits, 8); in PHP_RIPEMD256Final() 720 unsigned char bits[8]; in PHP_RIPEMD160Final() local 740 PHP_RIPEMD160Update(context, bits, 8); in PHP_RIPEMD160Final() 757 unsigned char bits[8]; in PHP_RIPEMD320Final() local [all …]
|
H A D | hash_haval.c | 321 unsigned char bits[10]; in PHP_HAVAL128Final() local 328 bits[1] = (context->output >> 2); in PHP_HAVAL128Final() 340 PHP_HAVALUpdate(context, bits, 10); in PHP_HAVAL128Final() 374 unsigned char bits[10]; in PHP_HAVAL160Final() local 381 bits[1] = (context->output >> 2); in PHP_HAVAL160Final() 427 unsigned char bits[10]; in PHP_HAVAL192Final() local 434 bits[1] = (context->output >> 2); in PHP_HAVAL192Final() 466 unsigned char bits[10]; in PHP_HAVAL224Final() local 473 bits[1] = (context->output >> 2); in PHP_HAVAL224Final() 506 unsigned char bits[10]; in PHP_HAVAL256Final() local [all …]
|
/PHP-8.2/ext/hash/tests/ |
H A D | haval.phpt | 7 for($bits=128; $bits <= 256; $bits += 32) { 8 $algo = sprintf('haval%d,%d',$bits,$pass); 14 for($bits=128; $bits <= 256; $bits += 32) { 15 $algo = sprintf('haval%d,%d',$bits,$pass); 21 for($bits=128; $bits <= 256; $bits += 32) { 22 $algo = sprintf('haval%d,%d',$bits,$pass);
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_result_bit.phpt | 13 function dec32bin($dec, $bits) { 15 $maxval = pow(2, $bits); 36 for ($bits = 1; $bits <= 46; $bits++) { 38 if (1 == $bits) 41 $max_value = pow(2, $bits) - 1; 44 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link_ins), mysqli_error($link_ins)); 47 …bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE = %s", $bits, $bits, $engine))) { 89 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 118 $bits, $bits, 129 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); [all …]
|
H A D | mysqli_fetch_assoc_bit.phpt | 18 function dec32bin($dec, $bits) { 20 $maxval = pow(2, $bits); 37 for ($bits = 1; $bits <= 46; $bits++) { 38 if (1 == $bits) 41 $max_value = pow(2, $bits) - 1; 44 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine))) 45 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 68 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 75 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 87 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); [all …]
|
H A D | mysqli_stmt_get_result_bit.phpt | 25 function dec32bin($dec, $bits) { 27 $maxval = pow(2, $bits); 44 for ($bits = 1; $bits <= 46; $bits++) { 45 if (1 == $bits) 48 $max_value = pow(2, $bits) - 1; 51 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine))) 52 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 55 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 78 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits); 103 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2); [all …]
|
H A D | mysqli_stmt_fetch_bit.phpt | 24 /* NOTE: works only for up to 31 bits! This limitation should be documented. */ 25 for ($bits = 1; $bits < 32; $bits++) { 26 $max_value = pow(2, $bits) - 1; 29 …ery($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits, $engine))) 30 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link)); 33 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link)); 42 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 49 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 52 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt)); 55 … MySQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, $bits, $id, $_lab… [all …]
|
/PHP-8.2/ext/standard/tests/image/ |
H A D | getimagesize.phpt | 37 ["bits"]=> 52 ["bits"]=> 67 ["bits"]=> 82 ["bits"]=> 99 ["bits"]=> 114 ["bits"]=> 131 ["bits"]=> 148 ["bits"]=> 165 ["bits"]=> 182 ["bits"]=> [all …]
|
H A D | getimagesize_basic.phpt | 56 ["bits"]=> 76 ["bits"]=> 98 ["bits"]=> 132 ["bits"]=> 166 ["bits"]=> 186 ["bits"]=> 206 ["bits"]=>
|
H A D | getimagesizefromstring1.phpt | 26 ["bits"]=> 42 ["bits"]=>
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_base64.c | 270 bits += 6; in mb_base64_to_wchar() 272 if (bits == 24) { in mb_base64_to_wchar() 276 bits = cache = 0; in mb_base64_to_wchar() 282 if (bits) { in mb_base64_to_wchar() 284 if (bits == 18) { in mb_base64_to_wchar() 287 } else if (bits == 12) { in mb_base64_to_wchar() 324 bits += 8; in mb_wchar_to_base64() 325 if (bits == 24) { in mb_wchar_to_base64() 336 bits = cache = 0; in mb_wchar_to_base64() 340 if (end && bits) { in mb_wchar_to_base64() [all …]
|
/PHP-8.2/ext/standard/ |
H A D | image.c | 63 unsigned int bits; member 165 long bits; in php_handle_swc() local 227 result->width = (php_swf_get_bits (b, 5 + bits, bits) - in php_handle_swc() 229 result->height = (php_swf_get_bits (b, 5 + (3 * bits), bits) - in php_handle_swc() 230 php_swf_get_bits (b, 5 + (2 * bits), bits)) / 20; in php_handle_swc() 245 long bits; in php_handle_swf() local 256 result->width = (php_swf_get_bits (a, 5 + bits, bits) - in php_handle_swf() 258 result->height = (php_swf_get_bits (a, 5 + (3 * bits), bits) - in php_handle_swf() 259 php_swf_get_bits (a, 5 + (2 * bits), bits)) / 20; in php_handle_swf() 886 if (width > 0 && height > 0 && bits > 0 && bits < 33) { in php_handle_iff() [all …]
|
H A D | sha1.c | 217 unsigned char bits[8]; in PHP_SHA1Final() local 221 bits[7] = context->count[0] & 0xFF; in PHP_SHA1Final() 222 bits[6] = (context->count[0] >> 8) & 0xFF; in PHP_SHA1Final() 223 bits[5] = (context->count[0] >> 16) & 0xFF; in PHP_SHA1Final() 224 bits[4] = (context->count[0] >> 24) & 0xFF; in PHP_SHA1Final() 225 bits[3] = context->count[1] & 0xFF; in PHP_SHA1Final() 226 bits[2] = (context->count[1] >> 8) & 0xFF; in PHP_SHA1Final() 227 bits[1] = (context->count[1] >> 16) & 0xFF; in PHP_SHA1Final() 228 bits[0] = (context->count[1] >> 24) & 0xFF; in PHP_SHA1Final() 237 PHP_SHA1Update(context, bits, 8); in PHP_SHA1Final()
|
/PHP-8.2/Zend/tests/ |
H A D | array_hash_zero.phpt | 11 foreach ($hashes as $hash => $bits) { 12 var_dump($hashes[$hash], $bits);
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_tga.c | 115 if (tga->bits == TGA_BPP_24) { in gdImageCreateFromTgaCtx() 118 } else if (tga->bits == TGA_BPP_32 && tga->alphabits) { in gdImageCreateFromTgaCtx() 166 tga->bits = header[16]; in read_header_tga() 172 printf("format bps: %i\n", tga->bits); in read_header_tga() 178 if (!((tga->bits == TGA_BPP_24 && tga->alphabits == 0) in read_header_tga() 179 || (tga->bits == TGA_BPP_32 && tga->alphabits == 8))) in read_header_tga() 182 tga->bits, tga->alphabits); in read_header_tga() 208 int pixel_block_size = (tga->bits / 8); in read_image_tga()
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | gh10192_utf7imap.phpt | 34 …'first 16 bits of base64 character using surrogate pair between & and -' => 'A &2Gc- B', // first … 38 …'first 16 bits of base64 character using surrogate pair between & and base64 character' => 'A &2Gc… 40 … 'first 16 bits of base64 character using surrogate pair between & and end of string' => 'A &2Gc', 42 …'last 16 bits of base64 character using surrogate pair in reverse order between & and -' => 'A &3j… 290 first 16 bits of base64 character using surrogate pair between & and - 308 first 16 bits of base64 character using surrogate pair between & and non-base64 character 326 first 16 bits of base64 character using surrogate pair between & and base64 character 344 first 16 bits of base64 character using surrogate pair between & and end of string 362 last 16 bits of base64 character using surrogate pair in reverse order between & and - 398 last 16 bits of base64 character using surrogate pair in reverse order between & and base64 charact… [all …]
|
H A D | gh10192_utf7.phpt | 46 …'first 16 bits of base64 character using surrogate pair between + and -' => 'A +2Gc- B', // first … 50 …'first 16 bits of base64 character using surrogate pair between + and base64 character' => 'A +2Gc… 52 … 'first 16 bits of base64 character using surrogate pair between + and end of string' => 'A +2Gc', 54 …'last 16 bits of base64 character using surrogate pair in reverse order between + and -' => 'A +3j… 409 first 16 bits of base64 character using surrogate pair between + and - 427 first 16 bits of base64 character using surrogate pair between + and non-base64 character 445 first 16 bits of base64 character using surrogate pair between + and base64 character 463 first 16 bits of base64 character using surrogate pair between + and end of string 481 last 16 bits of base64 character using surrogate pair in reverse order between + and - 517 last 16 bits of base64 character using surrogate pair in reverse order between + and base64 charact… [all …]
|
/PHP-8.2/ext/gmp/tests/ |
H A D | gmp_random_bits.phpt | 44 gmp_random_bits(): Argument #1 ($bits) must be between 1 and %d 45 gmp_random_bits(): Argument #1 ($bits) must be between 1 and %d
|
/PHP-8.2/ext/fileinfo/tests/upstream/ |
H A D | pgp-binary-key-v4-dsa.result | 1 OpenPGP Public Key Version 4, Created Mon Apr 7 22:23:01 1997, DSA (1024 bits); User ID; Signature…
|
H A D | pgp-binary-key-v2-phil.result | 1 OpenPGP Public Key Version 2, Created Fri May 21 05:20:00 1993, RSA (Encrypt or Sign, 1024 bits); U…
|
H A D | pgp-binary-key-v3-lutz.result | 1 OpenPGP Public Key Version 3, Created Mon Mar 17 11:14:30 1997, RSA (Encrypt or Sign, 1127 bits); U…
|
H A D | pgp-binary-key-v4-rsa-key.result | 1 OpenPGP Secret Key Version 4, Created Sat Aug 22 14:05:57 2020, RSA (Encrypt or Sign, 3072 bits); U…
|
H A D | pgp-binary-key-v4-rsa-no-userid-secret.result | 1 OpenPGP Secret Key Version 4, Created Sat Aug 22 20:13:52 2020, RSA (Encrypt or Sign, 3072 bits); S…
|