Searched refs:prev_suffix (Results 1 – 2 of 2) sorted by relevance
121 const uint8_t* prev_suffix = text_ + sa_[suf_left - 1]; in SearchPrefix() local123 std::mismatch(target, target + prev_max_len, prev_suffix).first - in SearchPrefix()
1606 const char *prev_suffix = storage_->GetSuffix(split_node->next_index()); in Insert() local1609 const char *prev_suffix_cur = prev_suffix; in Insert()1638 int common_len = prev_suffix_cur - prev_suffix; in Insert()1646 split_next[0].set_val(*(prev_suffix + i)); in Insert()1659 split_next[0].set_val(*(prev_suffix + common_len)); in Insert()1661 if (*(prev_suffix + common_len)) { in Insert()1663 storage_->GetSuffixIndex(prev_suffix + common_len) + 1; in Insert()1666 uint32_t next_index = storage_->GetSuffixIndex(prev_suffix + common_len); in Insert()2202 const char *prev_suffix = storage_->GetSuffix(cur_node->next_index()); in FindNewBranchingPrefixLength() local2203 while (*prev_suffix != '\0' && *prev_suffix == *cur_key) { in FindNewBranchingPrefixLength()[all …]