Lines Matching refs:sa_
71 std::vector<SAIDX> sa_; member in bsdiff::SuffixArrayIndex
76 if (!sa_.empty()) { in Init()
88 sa_.resize(n + 1); in Init()
90 if (n > 0 && CallDivSufSort(text_, sa_.data(), n) != 0) { in Init()
105 CallSaSearch(text_, n_, target, length, sa_.data(), n_, &suf_left); in SearchPrefix()
109 *out_pos = sa_[suf_left]; in SearchPrefix()
120 std::min(n_ - static_cast<size_t>(sa_[suf_left - 1]), length); in SearchPrefix()
121 const uint8_t* prev_suffix = text_ + sa_[suf_left - 1]; in SearchPrefix()
129 const uint8_t* next_suffix = text_ + sa_[suf_left]; in SearchPrefix()
131 std::min(n_ - static_cast<size_t>(sa_[suf_left]), length); in SearchPrefix()
141 *out_pos = sa_[suf_left]; in SearchPrefix()
143 *out_pos = sa_[suf_left - 1]; in SearchPrefix()