Searched refs:nstr (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libvcodex/
H A Dvcsfxsort.c66 return (lo == 0 && hi == sfx->nstr-1) ? 1 : 0;
103 p = sfx->nstr-p; s = sfx->nstr-s;
120 max = max < (sfx->idx+sfx->nstr-1) ? max+1 : max;
145 for(ends = (s = sfx->str)+sfx->nstr-1, i = *s; s < ends; i = j)
152 { inv[sfx->nstr-1] = n;
153 idx[n++] = sfx->nstr-1;
157 for(n = 0, ends = (s = sfx->str)+sfx->nstr-1, i = *s; s < ends; i = j)
161 for(n = 0, ends = (s = sfx->str)+sfx->nstr-1, i = *s; s < ends; i = j)
166 grp[256*256] = sfx->nstr; /* en
370 Vcsfxint_t nstr = sfx->nstr, *inv = sfx->inv, *idx = sfx->idx; local
425 vcsfxsort(const Void_t* astr, ssize_t nstr) argument
[all...]
H A Dvclzparse.c444 ssize_t nsrc, nstr; local
454 { nstr = vcpa->ntar;
458 { nstr = nsrc + vcpa->ntar;
462 { nstr = nsrc + vcpa->ntar;
463 if(!(str = (Vcchar_t*)malloc(nstr)) )
468 ends = str+nstr;
470 if(!(sfx = vcsfxsort(str,nstr)) ) /* compute suffix array */
474 for(savlz = savlp = savp = 0, ad = p = nsrc; p < nstr; )
487 for(rz = rp = 0, r = inv[p]+1; r < nstr; ++r)
541 } /**/DEBUG_ASSERT(p == nstr);
[all...]
H A Dvcodex.h486 Vcsfxint_t nstr; member in struct:_vcsfx_s
/ast/src/cmd/re/
H A Dtestregex.c1226 int nstr; local
1817 nstr = -1;
1823 nstr = escape(s);
1825 if (nstr != strlen(s))
1826 nexec = nstr;
1917 quote(s, nstr, test|TEST_DELIMIT);
1924 if (nstr >= 0 && nstr != strlen(s))
1925 nexec = nstr;
1994 report("failed", fun, re, s, nstr, ms
[all...]

Completed in 255 milliseconds