Lines Matching refs:sa_
72 std::vector<SAIDX> sa_; member in bsdiff::SuffixArrayIndex
77 if (!sa_.empty()) { in Init()
89 sa_.resize(n + 1); in Init()
91 if (n > 0 && CallDivSufSort(text_, sa_.data(), n) != 0) { in Init()
106 CallSaSearch(text_, n_, target, length, sa_.data(), n_, &suf_left); in SearchPrefix()
110 *out_pos = sa_[suf_left]; in SearchPrefix()
121 std::min(n_ - static_cast<size_t>(sa_[suf_left - 1]), length); in SearchPrefix()
122 const uint8_t* prev_suffix = text_ + sa_[suf_left - 1]; in SearchPrefix()
130 const uint8_t* next_suffix = text_ + sa_[suf_left]; in SearchPrefix()
132 std::min(n_ - static_cast<size_t>(sa_[suf_left]), length); in SearchPrefix()
142 *out_pos = sa_[suf_left]; in SearchPrefix()
144 *out_pos = sa_[suf_left - 1]; in SearchPrefix()