Lines Matching defs:lo
55 static int chktodo(Vcsfx_t* sfx, Vcsfxint_t lo, Vcsfxint_t hi)
61 if(lo > hi)
66 return (lo == 0 && hi == sfx->nstr-1) ? 1 : 0;
74 static int chkdata(Vcsfx_t* sfx, Vcsfxint_t lo, Vcsfxint_t hi)
79 if(lo > hi || !chktodo(sfx,lo,hi))
82 if(!(ary = (Vcsfxint_t*)malloc((hi-lo+1)*sizeof(Vcsfxint_t))) )
84 for(k = 0, i = lo; i <= hi; ++i, ++k)
91 for(i = lo; i <= hi; i = k) /* check inversion relations */
112 static int chksorted(Vcsfx_t* sfx, Vcsfxint_t lo, Vcsfxint_t hi)
114 Vcsfxint_t *min = idx+lo, *max = idx+hi;
115 if(!chktodo(sfx,lo,hi))