Lines Matching defs:table
37 static void test_datatable_is_empty(skiatest::Reporter* reporter, SkDataTable* table) {
38 REPORTER_ASSERT(reporter, table->isEmpty());
39 REPORTER_ASSERT(reporter, 0 == table->count());
81 sk_sp<SkDataTable> table(SkDataTable::MakeCopyArrays((const void*const*)str, sizes, count));
83 REPORTER_ASSERT(reporter, table->count() == count);
86 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]);
87 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size),
91 const char* s = table->atStr(i);
102 sk_sp<SkDataTable> table(
105 REPORTER_ASSERT(reporter, table->count() == count);
108 REPORTER_ASSERT(reporter, table->atSize(i) == sizeof(int));
109 REPORTER_ASSERT(reporter, *table->atT<const char>(i, &size) == i);