Home | History | Annotate | Download | only in tests

Lines Matching refs:table

30 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) {
31 REPORTER_ASSERT(reporter, table->isEmpty());
32 REPORTER_ASSERT(reporter, 0 == table->count());
74 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count));
76 REPORTER_ASSERT(reporter, table->count() == count);
79 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]);
80 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size),
84 const char* s = table->atStr(i);
95 sk_sp<SkDataTable> table(
98 REPORTER_ASSERT(reporter, table->count() == count);
101 REPORTER_ASSERT(reporter, table->atSize(i) == sizeof(int));
102 REPORTER_ASSERT(reporter, *table->atT<const char>(i, &size) == i);