Home
last modified time | relevance | path

Searched refs:subject_length (Results 1 – 12 of 12) sorted by relevance

/external/pcre/dist2/src/
Dpcre2demo.c91 size_t subject_length; in main() local
129 subject_length = strlen((char *)subject); in main()
172 subject_length, /* the length of the subject */ in main()
352 if (ovector[0] == subject_length) break; in main()
369 if (startchar >= subject_length) break; /* Reached end of subject. */ in main()
373 for (; start_offset < subject_length; start_offset++) in main()
384 subject_length, /* the length of the subject */ in main()
408 start_offset < subject_length - 1 && /* we are at CRLF, */ in main()
414 while (ovector[1] < subject_length) /* character. */ in main()
Dpcre2test.c5908 uint32_t i, pre_start, post_start, subject_length; in callout_function() local
6012 PCHARSV(cb->subject, current_position, cb->subject_length - current_position, in callout_function()
6017 PCHARS(subject_length, cb->subject, 0, cb->subject_length, utf, NULL); in callout_function()
6048 for (i = 0; i < subject_length - pre_start - post_start + 4; i++) in callout_function()
Dpcre2.h.generic528 PCRE2_SIZE subject_length; /* The length of the subject */ \
Dpcre2.h.in528 PCRE2_SIZE subject_length; /* The length of the subject */ \
Dpcre2_dfa_match.c3345 cb.subject_length = (PCRE2_SIZE)(end_subject - subject); in pcre2_dfa_match()
Dpcre2_match.c6198 cb.subject_length = (PCRE2_SIZE)(end_subject - subject); in pcre2_match()
Dpcre2_jit_compile.c8223 callout_block->subject_length = arguments->end - arguments->begin; in do_callout()
/external/v8/src/runtime/
Druntime-regexp.cc74 int subject_length);
104 static inline ReplacementPart SubjectSuffix(int subject_length) { in SubjectSuffix()
105 return ReplacementPart(SUBJECT_SUFFIX, subject_length); in SubjectSuffix()
147 int subject_length) { in ParseReplacementPattern() argument
186 parts->push_back(ReplacementPart::SubjectSuffix(subject_length)); in ParseReplacementPattern()
315 int subject_length) { in Compile() argument
334 subject_length); in Compile()
339 subject_length); in Compile()
375 int subject_length = part.data; in Apply() local
376 if (match_to < subject_length) { in Apply()
[all …]
/external/v8/src/
Dstring-search.h310 int subject_length = subject.length(); in BoyerMooreSearch() local
321 while (index <= subject_length - pattern_length) { in BoyerMooreSearch()
328 if (index > subject_length - pattern_length) { in BoyerMooreSearch()
433 int subject_length = subject.length(); in BoyerMooreHorspoolSearch() local
444 while (index <= subject_length - pattern_length) { in BoyerMooreHorspoolSearch()
452 if (index > subject_length - pattern_length) { in BoyerMooreHorspoolSearch()
571 int subject_length, const PatternChar* pattern_ptr, in SearchStringRaw() argument
574 Vector<const SubjectChar> subject(subject_ptr, subject_length); in SearchStringRaw()
/external/v8/src/builtins/
Dbuiltins-string-gen.cc96 Node* const subject_length, in CallSearchStringRaw() argument
110 type_intptr, function_addr, isolate_ptr, subject_ptr, subject_length, in CallSearchStringRaw()
827 TNode<IntPtrT> const subject_length = LoadStringLengthAsWord(subject_string); in StringIndexOf() local
836 IntPtrSub(subject_length, start_position)), in StringIndexOf()
870 CSA_ASSERT(this, IntPtrGreaterThanOrEqual(subject_length, start_position)); in StringIndexOf()
873 IntPtrSub(subject_length, start_position))); in StringIndexOf()
899 Node* const search_length = IntPtrSub(subject_length, start_position); in StringIndexOf()
918 adjusted_subject_ptr, subject_length, adjusted_search_ptr, in StringIndexOf()
932 adjusted_subject_ptr, subject_length, adjusted_search_ptr, in StringIndexOf()
945 adjusted_subject_ptr, subject_length, adjusted_search_ptr, in StringIndexOf()
[all …]
Dbuiltins-string-gen.h41 Node* CallSearchStringRaw(Node* const subject_ptr, Node* const subject_length,
81 TNode<Smi> subject_length,
/external/pcre/dist2/doc/
Dpcre2.txt4312 PCRE2_SIZE subject_length;
4395 The subject and subject_length fields contain copies of the values that