Lines Matching full:extradata
67 struct ExtraData { struct
68 typedef GrTRecorder<ExtraData, int> Recorder; argument
70 ExtraData(int i) : fData(i) { in ExtraData() argument
71 int* extraData = this->extraData(); in ExtraData() local
73 extraData[j] = i; in ExtraData()
77 ~ExtraData() { in ~ExtraData() argument
80 int* extraData() { in extraData() function
87 ExtraData::Recorder recorder(0); in test_extra_data() argument
89 GrNEW_APPEND_WITH_DATA_TO_RECORDER(recorder, ExtraData, (i), i * sizeof(int)); in test_extra_data()
93 ExtraData::Recorder::Iter iter(recorder); in test_extra_data()
98 REPORTER_ASSERT(reporter, i == iter->extraData()[j]); in test_extra_data()
103 ExtraData::Recorder::ReverseIter reverseIter(recorder); in test_extra_data()
107 REPORTER_ASSERT(reporter, i == reverseIter->extraData()[j]); in test_extra_data()