Lines Matching defs:needle
148 * Find matches of needle[n_pos ->] within haystack. If a sufficiently
152 * @param haystack buffer that may contain parts of needle
154 * @param needle buffer containing source data that have been used to
156 * @param n_pos start position in needle used for looking for matches
157 * @param n_len length of the needle buffer
159 * @param match_n_offset_ptr offset of the first matching byte within needle
164 const uint8_t *needle, int n_pos, int n_len,
173 /* Check how many bytes match at needle[n_pos] and haystack[h_pos] */
175 needle[n_pos + match_len] == haystack[h_pos + match_len])
185 needle[match_n_pos - 1] == haystack[match_h_pos - 1]) {