Home
last modified time | relevance | path

Searched refs:prefix_size_ (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dprog.h218 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
Dprog.cc118 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()
Dcompile.cc1195 prog_->prefix_size_ = prefix.size(); in Finish()