Lines Matching refs:frame

1870     uint8_t            frame[kMaxFrameSize];  in TestLowpanMeshHeader()  local
1881 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanMeshHeader()
1886 VerifyOrQuit(memcmp(frame, kMeshHeader1, length) == 0, "MeshHeader::AppendTo() failed"); in TestLowpanMeshHeader()
1889 frameData.Init(frame, length); in TestLowpanMeshHeader()
1893 …VerifyOrQuit(frameData.GetBytes() - frame == length, "ParseFrom() did not skip over parsed content… in TestLowpanMeshHeader()
1898 frameData.Init(frame, length - 1); in TestLowpanMeshHeader()
1909 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanMeshHeader()
1914 VerifyOrQuit(memcmp(frame, kMeshHeader2, length) == 0, "MeshHeader::AppendTo() failed"); in TestLowpanMeshHeader()
1917 frameData.Init(frame, length); in TestLowpanMeshHeader()
1921 …VerifyOrQuit(frameData.GetBytes() - frame == length, "ParseFrom() did not skip over parsed content… in TestLowpanMeshHeader()
1926 frameData.Init(frame, length - 1); in TestLowpanMeshHeader()
1941 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanMeshHeader()
1965 uint8_t frame[kMaxFrameSize]; in TestLowpanFragmentHeader() local
1973 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanFragmentHeader()
1980 VerifyOrQuit(memcmp(frame, kFragHeader1, length) == 0); in TestLowpanFragmentHeader()
1984 frameData.Init(frame, length); in TestLowpanFragmentHeader()
1988 …VerifyOrQuit(frameData.GetBytes() - frame == length, "ParseFrom() did not skip over parsed content… in TestLowpanFragmentHeader()
1993 frameData.Init(frame, length - 1); in TestLowpanFragmentHeader()
1997 VerifyOrQuit(frameData.GetBytes() == frame); in TestLowpanFragmentHeader()
2001 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanFragmentHeader()
2006 VerifyOrQuit(memcmp(frame, kFragHeader2, length) == 0); in TestLowpanFragmentHeader()
2009 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanFragmentHeader()
2014 VerifyOrQuit(memcmp(frame, kFragHeader2, length) == 0); in TestLowpanFragmentHeader()
2016 frameBuilder.Init(frame, sizeof(frame)); in TestLowpanFragmentHeader()
2021 VerifyOrQuit(memcmp(frame, kFragHeader2, length) == 0); in TestLowpanFragmentHeader()
2024 frameData.Init(frame, length); in TestLowpanFragmentHeader()
2028 …VerifyOrQuit(frameData.GetBytes() - frame == length, "ParseFrom() did not skip over parsed content… in TestLowpanFragmentHeader()
2033 frameData.Init(frame, length - 1); in TestLowpanFragmentHeader()
2037 VerifyOrQuit(frameData.GetBytes() == frame); in TestLowpanFragmentHeader()
2042 memcpy(frame, kFragHeader3, length); in TestLowpanFragmentHeader()
2043 frameData.Init(frame, length); in TestLowpanFragmentHeader()
2046 …VerifyOrQuit(frameData.GetBytes() - frame == length, "ParseFrom() did not skip over parsed content… in TestLowpanFragmentHeader()
2051 frameData.Init(frame, length - 1); in TestLowpanFragmentHeader()
2055 VerifyOrQuit(frameData.GetBytes() == frame); in TestLowpanFragmentHeader()
2060 memcpy(frame, kInvalidFragHeader1, length); in TestLowpanFragmentHeader()
2061 frameData.Init(frame, length); in TestLowpanFragmentHeader()
2067 VerifyOrQuit(frameData.GetBytes() == frame); in TestLowpanFragmentHeader()
2070 memcpy(frame, kInvalidFragHeader2, length); in TestLowpanFragmentHeader()
2071 frameData.Init(frame, length); in TestLowpanFragmentHeader()
2077 VerifyOrQuit(frameData.GetBytes() == frame); in TestLowpanFragmentHeader()
2080 memcpy(frame, kInvalidFragHeader3, length); in TestLowpanFragmentHeader()
2081 frameData.Init(frame, length); in TestLowpanFragmentHeader()
2087 VerifyOrQuit(frameData.GetBytes() == frame); in TestLowpanFragmentHeader()