Lines Matching defs:search
207 (void)ctag_search(sp, tp->search, tp->slen, tqp->tag);
247 (void)ctag_search(sp, tp->search, tp->slen, tqp->tag);
525 * We give the file name 20 columns and the search string the rest.
688 if (otp->search != NULL)
697 if (otp->search != NULL)
698 tp->search = tp->buf + (otp->search - otp->buf);
825 tqp->current->search, tqp->current->slen, tqp->tag);
880 msgq_str(sp, M_ERR, tag, "166|%s: search pattern not found");
958 ctag_search(SCR *sp, CHAR_T *search, size_t slen, char *tag)
968 * used a line number, not a search string. I got complaints, so
971 if (ISDIGIT((UCHAR_T)search[0])) {
972 INT2CHAR(sp, search, slen+1, np, nlen);
986 search, slen, NULL,
988 INT2CHAR(sp, search, slen, np, nlen);
991 if (f_search(sp, &m, &m, search, slen,
1001 * Historically, tags set the search direction if it wasn't
1010 * Tags move to the first non-blank, NOT the search pattern start.
1080 char *name, *file, *search;
1107 if (getentry(buf, &name, &file, &search) == 0) {
1110 slen = strlen(search);
1117 tp->search = (CHAR_T *)(tp->fname + tp->fnlen + 1);
1118 CHAR2INT(sp, search, slen + 1, wp, wlen);
1119 MEMCPYW(tp->search, wp, (tp->slen = slen) + 1);
1211 char *back, *front, *map, *p, *search, *t;
1260 * because their binary search assumes that there's only one record
1299 /* The rest of the string is the search pattern. */
1300 search = p;
1330 tp->search = (CHAR_T*)(tp->fname + tp->fnlen + 1);
1331 CHAR2INT(sp, search, slen + 1, wp, wlen);
1332 MEMCPYW(tp->search, wp, (tp->slen = slen) + 1);
1376 * Binary search for "string" in memory between "front" and "back".
1407 * (back - front), which in turn implies that a linear search will
1410 * Trying to continue with binary search at this point would be