Lines Matching refs:next
180 match p.components().next() {
209 components.next();
331 fn next(&mut self) -> Option<GlobResult> {
365 let mut next = idx;
368 while (next + 1) < self.dir_patterns.len()
369 && self.dir_patterns[next + 1].is_recursive
371 next += 1;
381 next,
386 if next == self.dir_patterns.len() - 1 {
391 // advanced to the next pattern for this path
392 idx = next + 1;
394 } else if next == self.dir_patterns.len() - 1 {
399 // advanced to the next pattern for this path
400 idx = next + 1;
744 while let Some(c) = file.next() {
770 let c = match file.next() {
800 if file.next().is_none() {
936 let start_up = start.to_uppercase().next().unwrap();
937 let end_up = end.to_uppercase().next().unwrap();
1012 // FIXME: Consider unity the behavior with `default()` in a next major release.
1070 let next = iter.next();
1071 assert!(next.is_some());
1073 let err = next.unwrap();
1083 assert!(glob("/").unwrap().next().is_some());
1084 assert!(glob("//").unwrap().next().is_some());
1087 assert!(glob("/*").unwrap().next().is_some());
1101 match p.components().next().unwrap() {
1114 .next()
1190 glob("/*/*/*/*").unwrap().skip(10000).next();