llvmpipe: s/bool/boolean/ in test progs
This commit is contained in:
@@ -384,7 +384,7 @@ test_all(unsigned verbose, FILE *fp)
|
|||||||
{
|
{
|
||||||
const struct lp_type *src_type;
|
const struct lp_type *src_type;
|
||||||
const struct lp_type *dst_type;
|
const struct lp_type *dst_type;
|
||||||
bool success = TRUE;
|
boolean success = TRUE;
|
||||||
|
|
||||||
for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) {
|
for(src_type = conv_types; src_type < &conv_types[num_types]; ++src_type) {
|
||||||
for(dst_type = conv_types; dst_type < &conv_types[num_types]; ++dst_type) {
|
for(dst_type = conv_types; dst_type < &conv_types[num_types]; ++dst_type) {
|
||||||
@@ -411,7 +411,7 @@ test_some(unsigned verbose, FILE *fp, unsigned long n)
|
|||||||
const struct lp_type *src_type;
|
const struct lp_type *src_type;
|
||||||
const struct lp_type *dst_type;
|
const struct lp_type *dst_type;
|
||||||
unsigned long i;
|
unsigned long i;
|
||||||
bool success = TRUE;
|
boolean success = TRUE;
|
||||||
|
|
||||||
for(i = 0; i < n; ++i) {
|
for(i = 0; i < n; ++i) {
|
||||||
src_type = &conv_types[rand() % num_types];
|
src_type = &conv_types[rand() % num_types];
|
||||||
|
@@ -201,8 +201,8 @@ test_one(unsigned verbose, FILE *fp,
|
|||||||
const struct util_format_description *format_desc)
|
const struct util_format_description *format_desc)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
bool first = TRUE;
|
boolean first = TRUE;
|
||||||
bool success = TRUE;
|
boolean success = TRUE;
|
||||||
|
|
||||||
for (i = 0; i < util_format_nr_test_cases; ++i) {
|
for (i = 0; i < util_format_nr_test_cases; ++i) {
|
||||||
const struct util_format_test_case *test = &util_format_test_cases[i];
|
const struct util_format_test_case *test = &util_format_test_cases[i];
|
||||||
@@ -229,7 +229,7 @@ boolean
|
|||||||
test_all(unsigned verbose, FILE *fp)
|
test_all(unsigned verbose, FILE *fp)
|
||||||
{
|
{
|
||||||
enum pipe_format format;
|
enum pipe_format format;
|
||||||
bool success = TRUE;
|
boolean success = TRUE;
|
||||||
|
|
||||||
for (format = 1; format < PIPE_FORMAT_COUNT; ++format) {
|
for (format = 1; format < PIPE_FORMAT_COUNT; ++format) {
|
||||||
const struct util_format_description *format_desc;
|
const struct util_format_description *format_desc;
|
||||||
|
@@ -147,7 +147,7 @@ test_printf(unsigned verbose, FILE *fp, const struct printf_test_case *testcase)
|
|||||||
boolean
|
boolean
|
||||||
test_all(unsigned verbose, FILE *fp)
|
test_all(unsigned verbose, FILE *fp)
|
||||||
{
|
{
|
||||||
bool success = TRUE;
|
boolean success = TRUE;
|
||||||
|
|
||||||
test_printf(verbose, fp, NULL);
|
test_printf(verbose, fp, NULL);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user