Home
last modified time | relevance | path

Searched refs:pattern_length (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/v8/src/
Dstring-search.h66 int pattern_length = pattern_.length(); in StringSearch() local
67 if (pattern_length < kBMMinPatternLength) { in StringSearch()
68 if (pattern_length == 1) { in StringSearch()
253 int pattern_length = pattern.length(); in LinearSearch() local
256 int n = subject.length() - pattern_length; in LinearSearch()
272 pattern_length - 1)) { in LinearSearch()
290 int pattern_length = pattern.length(); in BoyerMooreSearch() local
297 PatternChar last_char = pattern[pattern_length - 1]; in BoyerMooreSearch()
300 while (index <= subject_length - pattern_length) { in BoyerMooreSearch()
301 int j = pattern_length - 1; in BoyerMooreSearch()
[all …]
Druntime.cc3731 int pattern_length = pattern.length(); in FindStringIndices() local
3738 index += pattern_length; in FindStringIndices()
4225 int pattern_length = pat->length(); in StringMatch() local
4226 if (pattern_length == 0) return start_index; in StringMatch()
4229 if (start_index + pattern_length > subject_length) return -1; in StringMatch()
4288 int pattern_length = pattern.length(); in StringMatchBackwards() local
4289 DCHECK(pattern_length >= 1); in StringMatchBackwards()
4290 DCHECK(idx + pattern_length <= subject.length()); in StringMatchBackwards()
4293 for (int i = 0; i < pattern_length; i++) { in StringMatchBackwards()
4305 while (j < pattern_length) { in StringMatchBackwards()
[all …]
/external/chromium_org/chrome/browser/profile_resetter/
Djtl_instructions.h33 #define OP_COMPARE_NODE_SUBSTRING(pattern, pattern_length, pattern_sum) \ argument
34 std::string(1, '\x25') + pattern + pattern_length + pattern_sum
Djtl_interpreter.cc413 size_t pattern_length, in CompareNodeSubstring() argument
416 pattern_length_(pattern_length), in CompareNodeSubstring()
605 uint32 pattern_length = 0, pattern_sum = 0; in ParseNextSentence() local
608 if (!ReadUint32(&pattern_length) || pattern_length == 0) in ParseNextSentence()
613 hashed_pattern, pattern_length, pattern_sum)); in ParseNextSentence()
/external/fio/
Doptions.c930 uint32_t pattern_length; in pattern_cb() local
969 pattern_length = i; in pattern_cb()
980 unsigned int b = min(pattern_length, max_size - i); in pattern_cb()