Lines Matching refs:prefixed
77 CBS data, prefixed; in TEST() local
80 ASSERT_TRUE(CBS_get_u8_length_prefixed(&data, &prefixed)); in TEST()
81 EXPECT_EQ(1u, CBS_len(&prefixed)); in TEST()
82 ASSERT_TRUE(CBS_get_u8(&prefixed, &u8)); in TEST()
84 ASSERT_TRUE(CBS_get_u16_length_prefixed(&data, &prefixed)); in TEST()
85 EXPECT_EQ(2u, CBS_len(&prefixed)); in TEST()
86 ASSERT_TRUE(CBS_get_u16(&prefixed, &u16)); in TEST()
88 ASSERT_TRUE(CBS_get_u24_length_prefixed(&data, &prefixed)); in TEST()
89 EXPECT_EQ(3u, CBS_len(&prefixed)); in TEST()
90 ASSERT_TRUE(CBS_get_u24(&prefixed, &u32)); in TEST()
98 CBS data, prefixed; in TEST() local
101 EXPECT_FALSE(CBS_get_u8_length_prefixed(&data, &prefixed)); in TEST()
104 EXPECT_FALSE(CBS_get_u16_length_prefixed(&data, &prefixed)); in TEST()
107 EXPECT_FALSE(CBS_get_u24_length_prefixed(&data, &prefixed)); in TEST()