Home
last modified time | relevance | path

Searched refs:SRCH_WRAP (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/less/
H A Dcommand.c176 if (search_type & SRCH_WRAP) in mca_search1()
537 if ((st & (SRCH_PAST_EOF|SRCH_WRAP)) == (SRCH_PAST_EOF|SRCH_WRAP))
570 search_type &= ~SRCH_WRAP; in mca_search_char()
597 flag = SRCH_WRAP; in mca_search_char()
733 int st = (search_type & (SRCH_FORW|SRCH_BACK|SRCH_NO_MATCH|SRCH_NO_REGEX|SRCH_NO_MOVE|SRCH_WRAP|SRCH_SUBSEARCH_ALL)); in mca_char()
H A Dsearch.c1525 if ((search_type & SRCH_WRAP) && endpos == NULL_POSITION) in search()
1542 if ((endpos != NULL_POSITION && !(search_type & SRCH_WRAP) && in search()
1583 if (search_type & SRCH_WRAP) in search()
1608 search_type &= ~SRCH_WRAP; in search()
1926 osc8_search(SRCH_FORW|SRCH_WRAP, param, 1);
H A Doptfunc.c1119 case 'W': case 'w': case CONTROL('W'): st |= SRCH_WRAP; break;
1142 if (def_search_type & SRCH_WRAP) *bp++ = 'W';
H A Dless.h394 #define SRCH_WRAP (1 << 15) /* Wrap-around search (continue at BOF/EOF) */
399 #define SRCH_WRAP global() macro