Lines Matching refs:Bytes
8 let empty_bytes = Bytes::from_static(&[]); in test_vp8_unmarshal()
13 let small_bytes = Bytes::from_static(&[0x00, 0x11, 0x22]); in test_vp8_unmarshal()
18 let small_bytes = Bytes::from_static(&[0x00, 0x11]); in test_vp8_unmarshal()
23 let raw_bytes = Bytes::from_static(&[0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x90]); in test_vp8_unmarshal()
28 let raw_bytes = Bytes::from_static(&[0x80, 0x00, 0x00, 0x00]); in test_vp8_unmarshal()
38 let raw_bytes = Bytes::from_static(&[0x80, 0x80, 0x81, 0x00, 0x00]); in test_vp8_unmarshal()
48 let raw_bytes = Bytes::from_static(&[0x80, 0x40, 0x00, 0x00]); in test_vp8_unmarshal()
58 let raw_bytes = Bytes::from_static(&[0x80, 0x20, 0x00, 0x00]); in test_vp8_unmarshal()
68 let raw_bytes = Bytes::from_static(&[0x80, 0x10, 0x00, 0x00]); in test_vp8_unmarshal()
78 let raw_bytes = Bytes::from_static(&[0xff, 0xff, 0x00, 0x00, 0x00, 0x00]); in test_vp8_unmarshal()
90 let raw_bytes = Bytes::from_static(&[0xff, 0xff, 0x80, 0x00, 0x00, 0x00, 0x00]); in test_vp8_unmarshal()
112 Bytes::from_static(&[0x90, 0x90, 0x90]), in test_vp8_payload()
113 Bytes::from_static(&[0x91, 0x91]), in test_vp8_payload()
117 Bytes::from_static(&[0x10, 0x90]), in test_vp8_payload()
118 Bytes::from_static(&[0x00, 0x90]), in test_vp8_payload()
119 Bytes::from_static(&[0x00, 0x90]), in test_vp8_payload()
122 Bytes::from_static(&[0x10, 0x91]), in test_vp8_payload()
123 Bytes::from_static(&[0x00, 0x91]), in test_vp8_payload()
135 Bytes::from_static(&[0x90, 0x90, 0x90]), in test_vp8_payload()
136 Bytes::from_static(&[0x91, 0x91]), in test_vp8_payload()
140 Bytes::from_static(&[0x90, 0x80, 0x20, 0x90, 0x90]), in test_vp8_payload()
141 Bytes::from_static(&[0x80, 0x80, 0x20, 0x90]), in test_vp8_payload()
143 vec![Bytes::from_static(&[0x90, 0x80, 0x21, 0x91, 0x91])], in test_vp8_payload()
154 Bytes::from_static(&[0x90, 0x90, 0x90]), in test_vp8_payload()
155 Bytes::from_static(&[0x91, 0x91]), in test_vp8_payload()
159 Bytes::from_static(&[0x90, 0x80, 0x81, 0x20, 0x90, 0x90]), in test_vp8_payload()
160 Bytes::from_static(&[0x80, 0x80, 0x81, 0x20, 0x90]), in test_vp8_payload()
162 vec![Bytes::from_static(&[0x90, 0x80, 0x81, 0x21, 0x91, 0x91])], in test_vp8_payload()
180 let empty = Bytes::from_static(&[]); in test_vp8_payload_eror()
181 let payload = Bytes::from_static(&[0x90, 0x90, 0x90]); in test_vp8_payload_eror()
208 !vp8.is_partition_head(&Bytes::from_static(&[0x00])), in test_vp8_partition_head_checker_is_partition_head()
214 vp8.is_partition_head(&Bytes::from_static(&[0x10, 0x00, 0x00, 0x00])), in test_vp8_partition_head_checker_is_partition_head()
220 !vp8.is_partition_head(&Bytes::from_static(&[0x00, 0x00, 0x00, 0x00])), in test_vp8_partition_head_checker_is_partition_head()