Lines Matching refs:sfx
38 Vcsfx_t *sfx;
47 if(!(sfx = vcsfxsort(data, (size_t)sz)) )
52 { if(sfx->inv[i] == 0)
54 k = sfx->idx[sfx->inv[i]-1];
57 lcp[sfx->inv[i]] = p;
63 dist = sfx->inv; memset(dist, 0, sz*sizeof(Vcsfxint_t));
69 if((m = sfx->idx[k] - sfx->idx[i]) > 0 ) /* match distance */
75 if((n = sfx->idx[p] - sfx->idx[i]) > 0 ) /* match distance */
85 peak = sfx->idx; memset(peak, 0, sz*sizeof(Vcsfxint_t));
134 free(sfx);