Lines Matching defs:needle
335 const char *needle, int pos, struct wac *s, int sp,
365 memcpy(p, needle, (size_t)pos);
398 char stasis, nac = 0, credible, needle[32];
407 if (!ftsp->needle)
410 nl = (int)strlen(ftsp->needle);
411 if ((size_t)nl > sizeof(needle) - 2)
429 needle[n] = (char)tolower(ftsp->needle[n]);
430 needle[nl] = '\0';
477 /* gets set if any child COULD match needle if it went on */
493 * our needle string (but that leaves it as a
500 * all the chars in needle up to as many as it
504 if (!strncmp((char *)&buf[bp], &needle[pos], g))
510 * path shown by the remainder of needle
538 if ((chunk == 1 && needle[pos] != buf[bp]) ||
540 memcmp(&needle[pos], &buf[bp], chunk))) {
837 n = ac_record(jtf, &ftsp->results_head, needle, pos, s, 0,
854 n = ac_record(jtf, &ftsp->results_head, needle, pos, s,
901 * if we have more needle chars than we matched
912 strncmp(&needle[ch->effpos], ch->name, (unsigned int)m))