Lines Matching refs:reader
182 auto reader = EffectParamReader(*param); in TEST() local
200 EXPECT_EQ(OK, reader.readFromParameter(&getData[0])); in TEST()
201 EXPECT_EQ(OK, reader.readFromParameter(&getData[1])); in TEST()
202 EXPECT_EQ(OK, reader.readFromParameter(&getData[2])); in TEST()
203 EXPECT_EQ(OK, reader.readFromParameter(&getData[3])); in TEST()
204 EXPECT_EQ(OK, reader.readFromParameter(&getData[4])); in TEST()
205 EXPECT_NE(OK, reader.readFromParameter(&getData[5])); // expect read error in TEST()
207 EXPECT_EQ(OK, reader.readFromValue(&getData[6])); in TEST()
208 EXPECT_EQ(OK, reader.readFromValue(&getData[7])); in TEST()
209 EXPECT_EQ(OK, reader.readFromValue(&getData[8])); in TEST()
210 EXPECT_EQ(OK, reader.readFromValue(&getData[9])); in TEST()
211 EXPECT_EQ(OK, reader.readFromValue(&getData[10])); in TEST()
212 EXPECT_NE(OK, reader.readFromValue(&getData[11])); // expect read error in TEST()
227 auto reader = EffectParamReader(*param); in TEST() local
240 EXPECT_EQ(OK, reader.readFromParameter(&getData[0], 2)); in TEST()
241 EXPECT_EQ(OK, reader.readFromParameter(&getData[2])); in TEST()
242 EXPECT_EQ(OK, reader.readFromParameter(&getData[3], 2)); in TEST()
243 EXPECT_NE(OK, reader.readFromParameter(&getData[5])); // expect read error in TEST()
245 EXPECT_EQ(OK, reader.readFromValue(&getData[6])); in TEST()
246 EXPECT_EQ(OK, reader.readFromValue(&getData[7], 2)); in TEST()
247 EXPECT_EQ(OK, reader.readFromValue(&getData[9], 2)); in TEST()
248 EXPECT_NE(OK, reader.readFromValue(&getData[11])); // expect read error in TEST()
264 auto reader = EffectParamReader(*param); in TEST() local
281 EXPECT_EQ(OK, reader.readFromParameter(&getData[0], 5)); in TEST()
282 EXPECT_NE(OK, reader.readFromParameter(&getData[5])); // expect read error in TEST()
284 EXPECT_EQ(OK, reader.readFromValue(&getData[6], 5)); in TEST()
285 EXPECT_NE(OK, reader.readFromValue(&getData[11])); // expect read error in TEST()
312 auto reader = EffectParamReader(*param); in TEST() local
333 EXPECT_EQ(OK, reader.readFromParameter((uint32_t *)&getData[0], 2)); in TEST()
334 EXPECT_EQ(OK, reader.readFromParameter(&getData[4])); in TEST()
335 EXPECT_NE(OK, reader.readFromParameter(&getData[5])); // expect read error in TEST()
337 EXPECT_EQ(OK, reader.readFromValue(&getData[6])); in TEST()
338 EXPECT_EQ(OK, reader.readFromValue((uint32_t *)&getData[7])); in TEST()
339 EXPECT_EQ(OK, reader.readFromValue((uint32_t *)&getData[9])); in TEST()
340 EXPECT_NE(OK, reader.readFromValue(&getData[11])); // expect read error in TEST()