Lines Matching refs:bits
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);
86 … printf("[004 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
91 … printf("[005 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
94 … printf("[006 - %d] [%d] %s\n", $bits, mysqli_stmt_errno($stmt), mysqli_stmt_error($stmt));
97 printf("[007 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
103 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
109 printf("[009 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
115 …printf("[010 - %d] Expecting null got %s/%s\n", $bits, gettype($row['bit_value']), $row['bit_value…