Lines Matching refs:next
8 let next = raw.next(&mut cursor).unwrap();
10 assert!(!next.is_long());
12 assert_eq!(next.to_long(), None);
20 let next = raw.next(&mut cursor).unwrap();
22 assert!(!next.is_long());
24 assert_eq!(next.to_long(), None);
32 let next = raw.next(&mut cursor).unwrap();
34 assert!(next.is_long());
36 let (key, value) = next.to_long().unwrap();
46 let next = raw.next(&mut cursor).unwrap();
48 assert!(next.is_long());
50 let (key, value) = next.to_long().unwrap();
60 let next = raw.next(&mut cursor).unwrap();
62 assert!(next.is_long());
64 let (key, value) = next.to_long().unwrap();
74 let next = raw.next(&mut cursor).unwrap();
76 assert!(!next.is_short());
78 assert!(next.to_short().is_none());
86 let next = raw.next(&mut cursor).unwrap();
88 assert!(!next.is_short());
90 assert!(next.to_short().is_none());
98 let next = raw.next(&mut cursor).unwrap();
100 assert!(!next.is_short());
102 assert!(next.to_short().is_none());
110 let next = raw.next(&mut cursor).unwrap();
112 assert!(next.is_short());
114 let shorts = next.to_short().unwrap();
124 let next = raw.next(&mut cursor).unwrap();
126 assert!(next.is_number());
134 let next = raw.next(&mut cursor).unwrap();
136 assert!(next.is_number());
144 let next = raw.next(&mut cursor).unwrap();
146 assert!(!next.is_number());
154 let next = raw.next(&mut cursor).unwrap();
156 assert!(next.is_stdio());
164 let next = raw.next(&mut cursor).unwrap();
166 assert!(!next.is_stdio());
174 let next = raw.next(&mut cursor).unwrap();
176 assert!(next.is_escape());
184 let next = raw.next(&mut cursor).unwrap();
186 assert!(!next.is_escape());