Lines Matching refs:buffer

45     uint8_t         buffer[kTestBufferSize];  in TestDecoder()  local
102 memset(buffer, 0, sizeof(buffer)); in TestDecoder()
108 buffer, sizeof(buffer), in TestDecoder()
119 DumpBuffer("Packed Spinel Frame", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
121 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
123 VerifyOrQuit(decoder.GetFrame() == &buffer[0]); in TestDecoder()
197 VerifyOrQuit(decoder.GetFrame() == &buffer[0]); in TestDecoder()
289 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
297 frameLen = spinel_datatype_pack(buffer, sizeof(buffer), in TestDecoder()
305 DumpBuffer("Packed Spinel Frame (single struct)", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
307 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
333 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
354 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
356 VerifyOrQuit(decoder.GetFrame() == &buffer[0]); in TestDecoder()
411 buffer, sizeof(buffer), in TestDecoder()
417 DumpBuffer("Packed Spinel Frame (multiple struct)", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
419 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
462 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
524 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
580 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
606 frameLen = spinel_datatype_pack(buffer, sizeof(buffer), in TestDecoder()
611 DumpBuffer("Packed Spinel Frame (incorrect format)", buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()
613 decoder.Init(buffer, static_cast<uint16_t>(frameLen)); in TestDecoder()