Home
last modified time | relevance | path

Searched refs:test_read_v (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/protobuf/2.27.1/src/
Dcoded_input_stream.rs800 fn test_read_v<F, V>(hex: &str, v: V, mut callback: F) in test_read_v() function
819 test_read_v("07", 7, |reader| reader.read_raw_varint32()); in test_input_stream_read_raw_varint()
820 test_read_v("07", 7, |reader| reader.read_raw_varint64()); in test_input_stream_read_raw_varint()
822 test_read_v("96 01", 150, |reader| reader.read_raw_varint32()); in test_input_stream_read_raw_varint()
823 test_read_v("96 01", 150, |reader| reader.read_raw_varint64()); in test_input_stream_read_raw_varint()
825 test_read_v( in test_input_stream_read_raw_varint()
831 test_read_v("ff ff ff ff 0f", 0xffffffff, |reader| { in test_input_stream_read_raw_varint()
834 test_read_v("ff ff ff ff 0f", 0xffffffff, |reader| { in test_input_stream_read_raw_varint()
881 test_read_v("02", 2, |reader| reader.read_int32()); in test_input_stream_read_int32()
886 test_read_v("95 73 13 61", 17e19, |is| is.read_float()); in test_input_stream_read_float()
[all …]
/external/rust/crates/protobuf/src/coded_input_stream/
Dmod.rs743 fn test_read_v<F, V>(hex: &str, v: V, mut callback: F) in test_read_v() function
762 test_read_v("07", 7, |reader| reader.read_raw_varint32()); in test_input_stream_read_raw_varint()
763 test_read_v("07", 7, |reader| reader.read_raw_varint64()); in test_input_stream_read_raw_varint()
765 test_read_v("96 01", 150, |reader| reader.read_raw_varint32()); in test_input_stream_read_raw_varint()
766 test_read_v("96 01", 150, |reader| reader.read_raw_varint64()); in test_input_stream_read_raw_varint()
768 test_read_v( in test_input_stream_read_raw_varint()
774 test_read_v("ff ff ff ff 0f", 0xffffffff, |reader| { in test_input_stream_read_raw_varint()
777 test_read_v("ff ff ff ff 0f", 0xffffffff, |reader| { in test_input_stream_read_raw_varint()
832 test_read_v("02", 2, |reader| reader.read_int32()); in test_input_stream_read_int32()
837 test_read_v("95 73 13 61", 17e19, |is| is.read_float()); in test_input_stream_read_float()
[all …]