Home | History | Annotate | Download | only in tests

Lines Matching refs:table

29                                     SkDataTable* table) {
30 REPORTER_ASSERT(reporter, table->isEmpty());
31 REPORTER_ASSERT(reporter, 0 == table->count());
76 SkAutoTUnref<SkDataTable> table(SkDataTable::NewCopyArrays(
79 REPORTER_ASSERT(reporter, table->count() == count);
82 REPORTER_ASSERT(reporter, table->atSize(i) == sizes[i]);
83 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size),
87 const char* s = table->atStr(i);
103 SkAutoTUnref<SkDataTable> table(builder.detachDataTable());
105 REPORTER_ASSERT(reporter, table->count() == count);
108 REPORTER_ASSERT(reporter, table->atSize(i) == strlen(str[i]) + 1);
109 REPORTER_ASSERT(reporter, !strcmp(table->atT<const char>(i, &size),
113 const char* s = table->atStr(i);
124 SkAutoTUnref<SkDataTable> table(SkDataTable::NewArrayProc(gData,
127 REPORTER_ASSERT(reporter, table->count() == count);
130 REPORTER_ASSERT(reporter, table->atSize(i) == sizeof(int));
131 REPORTER_ASSERT(reporter, *table->atT<const char>(i, &size) == i);