Lines Matching full:matchindex
725 int * matchindex;
733 matchindex = matchindex_buf;
738 matchindex = hnj_malloc ((word_size + 3) * sizeof(int));
817 matchindex[isrepl] = -1;
829 matchindex[offset + replindex] = offset + k;
868 if (isrepl && (matchindex[i] >= 0) && matchrepl[matchindex[i]]) {
881 (*rep)[matchindex[i] - 1] = hnj_strdup(matchrepl[matchindex[i]]);
882 (*pos)[matchindex[i] - 1] = matchindex[i] - i;
883 (*cut)[matchindex[i] - 1] = matchlen[i];
885 j += strlen(matchrepl[matchindex[i]]);
893 hnj_free (matchindex);