Lines Matching refs:ckwset
45 struct compiled_kwset *ckwset;
48 ckwset = XMALLOC (struct compiled_kwset);
49 kwsinit (ckwset, match_icase, match_words, match_lines, eolbyte);
56 if ((err = kwsincr (ckwset->kwset, beg, lim - beg)) != NULL)
64 if ((err = kwsprep (ckwset->kwset)) != NULL)
66 return ckwset;
73 struct compiled_kwset *ckwset = (struct compiled_kwset *) compiled_pattern;
76 char eol = ckwset->eolbyte;
87 kwsexec (ckwset->kwset, beg, buf + buf_size - beg, &kwsmatch);
111 if (ckwset->match_lines)
119 else if (ckwset->match_words)
127 offset = kwsexec (ckwset->kwset, beg, --len, &kwsmatch);
168 struct compiled_kwset *ckwset = (struct compiled_kwset *) compiled_pattern;
170 free (ckwset->trans);
171 free (ckwset);