Searched refs:test_read_v (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/protobuf/src/ |
D | coded_input_stream.rs | 828 fn test_read_v<F, V>(hex: &str, v: V, mut callback: F) in test_read_v() function 847 test_read_v("07", 7, |reader| reader.read_raw_varint32()); in test_input_stream_read_raw_varint() 848 test_read_v("07", 7, |reader| reader.read_raw_varint64()); in test_input_stream_read_raw_varint() 850 test_read_v("96 01", 150, |reader| reader.read_raw_varint32()); in test_input_stream_read_raw_varint() 851 test_read_v("96 01", 150, |reader| reader.read_raw_varint64()); in test_input_stream_read_raw_varint() 853 test_read_v( in test_input_stream_read_raw_varint() 859 test_read_v("ff ff ff ff 0f", 0xffffffff, |reader| { in test_input_stream_read_raw_varint() 862 test_read_v("ff ff ff ff 0f", 0xffffffff, |reader| { in test_input_stream_read_raw_varint() 909 test_read_v("02", 2, |reader| reader.read_int32()); in test_input_stream_read_int32() 914 test_read_v("95 73 13 61", 17e19, |is| is.read_float()); in test_input_stream_read_float() [all …]
|