Searched refs:prefix_size_ (Results 1 – 3 of 3) sorted by relevance
218 bool can_prefix_accel() { return prefix_size_ != 0; } in can_prefix_accel()223 DCHECK_GE(prefix_size_, 1); in PrefixAccel()224 return prefix_size_ == 1 ? memchr(data, prefix_front_, size) in PrefixAccel()409 size_t prefix_size_; // size of prefix (0 if no prefix) variable
118 prefix_size_(0), in Prog()944 DCHECK_GE(prefix_size_, 2); in PrefixAccel_FrontAndBack()945 if (size < prefix_size_) in PrefixAccel_FrontAndBack()949 size -= prefix_size_-1; in PrefixAccel_FrontAndBack()957 reinterpret_cast<const char*>(data) + prefix_size_-1); in PrefixAccel_FrontAndBack()983 if (p == NULL || p[prefix_size_-1] == prefix_back_) in PrefixAccel_FrontAndBack()
1195 prog_->prefix_size_ = prefix.size(); in Finish()