Lines Matching refs:characters
47 // In a 3-character pattern you can maximally step forwards 3 characters
65 explicit QuickCheckDetails(int characters)
66 : characters_(characters), mask_(0), value_(0), cannot_match_(false) {}
81 int characters() { return characters_; }
82 void set_characters(int characters) { characters_ = characters; }
92 // How many characters do we have quick check information from. This is
112 // characters that can come at given distances. For example for the regexp
113 // /.?foo/ we know that there are at least 3 characters ahead of us, and the
114 // sets of characters that can occur are [any, [f, o], [o]]. We find a range in
115 // the lookahead info where the set of characters is reasonably constrained. In
117 // look 3 characters ahead and if we don't find one of [f, o] (the union of
124 // whether the set of characters is 'reasonably constrained'.
127 // which uses a wide load of multiple characters followed by a mask and compare
202 // many characters left in the sample string then the match is bound to fail.
324 quick_check_performed_.characters() == 0 && at_start_ == UNKNOWN;
617 // We need to check for the following characters: 0x39C 0x3BC 0x178.