Lines Matching refs:needles
88 needles: Vec<u8>
90 super::find(&haystack, &needles)
91 == haystack.iter().position(|b| needles.contains(b))
95 needles: Vec<u8>
97 super::rfind(&haystack, &needles)
98 == haystack.iter().rposition(|b| needles.contains(b))
102 needles: Vec<u8>
104 super::find_not(&haystack, &needles)
105 == haystack.iter().position(|b| !needles.contains(b))
109 needles: Vec<u8>
111 super::rfind_not(&haystack, &needles)
112 == haystack.iter().rposition(|b| !needles.contains(b))