Home
last modified time | relevance | path

Searched refs:Psize (Results 1 – 5 of 5) sorted by relevance

/external/libdivsufsort/lib/
Dutils.c247 const sauchar_t *P, saidx_t Psize, in _compare() argument
252 (i < Tsize) && (j < Psize) && ((r = T[i] - P[j]) == 0); ++i, ++j) { } in _compare()
254 return (r == 0) ? -(j != Psize) : r; in _compare()
260 const sauchar_t *P, saidx_t Psize, in sa_search() argument
271 (Tsize < 0) || (Psize < 0) || (SAsize < 0)) { return -1; } in sa_search()
273 if(Psize == 0) { if(idx != NULL) { *idx = 0; } return SAsize; } in sa_search()
279 r = _compare(T, Tsize, P, Psize, SA[i + half], &match); in sa_search()
294 r = _compare(T, Tsize, P, Psize, SA[j + half], &lmatch); in sa_search()
309 r = _compare(T, Tsize, P, Psize, SA[k + half], &rmatch); in sa_search()
/external/libdivsufsort/examples/
Dsasearch.c74 size_t Psize; local
83 Psize = strlen(P);
154 (const sauchar_t *)P, (saidx_t)Psize,
/external/libdivsufsort/android_include/
Ddivsufsort.h155 const sauchar_t *P, saidx_t Psize,
Ddivsufsort64.h155 const sauchar_t *P, saidx64_t Psize,
/external/libdivsufsort/include/
Ddivsufsort.h.cmake145 * @param P[0..Psize-1] The input pattern string.
146 * @param Psize The length of the given pattern string.
155 const sauchar_t *P, saidx@W64BIT@_t Psize,