Lines Matching refs:output_data
71 uint8 output_data[sizeof(kInputData)] = {0};
72 EXPECT_EQ(sizeof(output_data),
73 pcb_read_->Read(output_data, sizeof(output_data)));
75 EXPECT_EQ(0, memcmp(kInputData, output_data, sizeof(kInputData)));
77 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
85 uint8 output_data[2 * sizeof(kInputData)] = {0};
86 EXPECT_EQ(sizeof(output_data),
87 pcb_read_->Read(output_data, sizeof(output_data)));
92 EXPECT_EQ(0, memcmp(output_ref_data, output_data, sizeof(output_data)));
94 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
102 uint8 output_data[sizeof(kOutputRefDataWrap)] = {0};
103 EXPECT_EQ(sizeof(output_data),
104 pcb_read_->Read(output_data, sizeof(output_data)));
106 EXPECT_EQ(0, memcmp(kOutputRefDataWrap, output_data, sizeof(output_data)));
108 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
116 uint8 output_data[sizeof(kOutputRefDataWrap)] = {0};
117 EXPECT_EQ(sizeof(output_data),
118 pcb_read_->Read(output_data, sizeof(output_data)));
120 EXPECT_EQ(0, memcmp(kOutputRefDataWrap, output_data, sizeof(output_data)));
122 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
130 uint8 output_data[sizeof(kOutputRefDataWrap)] = {0};
133 for (; read + size_per_read <= sizeof(output_data); read += size_per_read) {
135 pcb_read_->Read(output_data + read, size_per_read));
137 EXPECT_EQ(sizeof(output_data) - read,
138 pcb_read_->Read(output_data + read, size_per_read));
140 EXPECT_EQ(0, memcmp(kOutputRefDataWrap, output_data, sizeof(output_data)));
142 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
152 uint8 output_data[sizeof(kOutputRefDataWrap)] = {0};
153 EXPECT_EQ(sizeof(output_data),
154 pcb_read_->Read(output_data, sizeof(output_data)));
156 EXPECT_EQ(0, memcmp(kOutputRefDataWrap, output_data, sizeof(output_data)));
158 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
168 uint8 output_data[sizeof(kOutputRefDataWrap)] = {0};
169 EXPECT_EQ(sizeof(output_data),
170 pcb_read_->Read(output_data, sizeof(output_data)));
172 EXPECT_EQ(0, memcmp(kOutputRefDataWrap, output_data, sizeof(output_data)));
174 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));
184 uint8 output_data[sizeof(kInputData)] = {0};
185 EXPECT_EQ(sizeof(output_data),
186 pcb_read_->Read(output_data, sizeof(output_data)));
188 EXPECT_EQ(0, memcmp(kInputData, output_data, sizeof(kInputData)));
190 EXPECT_EQ(0u, pcb_read_->Read(output_data, sizeof(output_data)));