Lines Matching refs:bits
21 function dec32bin($dec, $bits) {
23 $maxval = pow(2, $bits);
40 for ($bits = 1; $bits <= 46; $bits++) {
41 if (1 == $bits)
44 $max_value = pow(2, $bits) - 1;
47 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine)))
48 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
51 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
74 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
82 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
87 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
90 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
93 printf("[007 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
99 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
105 printf("[009 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
111 …printf("[010 - %d] Expecting null got %s/%s\n", $bits, gettype($row['bit_value']), $row['bit_value…