Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/src/
Dpcre2demo.c90 PCRE2_SIZE subject_length; in main() local
130 subject_length = (PCRE2_SIZE)strlen((char *)subject); in main()
178 subject_length, /* the length of the subject */ in main()
361 if (ovector[0] == subject_length) break; in main()
378 if (startchar >= subject_length) break; /* Reached end of subject. */ in main()
382 for (; start_offset < subject_length; start_offset++) in main()
393 subject_length, /* the length of the subject */ in main()
417 start_offset < subject_length - 1 && /* we are at CRLF, */ in main()
423 while (ovector[1] < subject_length) /* character. */ in main()
Dpcre2test.c6242 uint32_t i, pre_start, post_start, subject_length; in callout_function() local
6346 PCHARSV(cb->subject, current_position, cb->subject_length - current_position, in callout_function()
6351 PCHARS(subject_length, cb->subject, 0, cb->subject_length, utf, NULL); in callout_function()
6382 for (i = 0; i < subject_length - pre_start - post_start + 4; i++) in callout_function()
Dpcre2.h.in525 PCRE2_SIZE subject_length; /* The length of the subject */ \
Dpcre2.h.generic525 PCRE2_SIZE subject_length; /* The length of the subject */ \
Dpcre2_dfa_match.c3436 cb.subject_length = (PCRE2_SIZE)(end_subject - subject); in pcre2_dfa_match()
Dpcre2_match.c6733 cb.subject_length = (PCRE2_SIZE)(end_subject - subject); in pcre2_match()
Dpcre2_jit_compile.c9713 callout_block->subject_length = arguments->end - arguments->begin; in do_callout_jit()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-string-gen.h68 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
72 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
76 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
80 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
84 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length,
98 const TNode<IntPtrT> subject_length,
115 TNode<Smi> subject_length,
Dbuiltins-string-gen.cc52 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length, in CallSearchStringRaw() argument
66 std::make_pair(type_intptr, subject_length), in CallSearchStringRaw()
74 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length, in SearchOneByteStringInTwoByteString() argument
78 subject_ptr, subject_length, search_ptr, search_length, start_position); in SearchOneByteStringInTwoByteString()
81 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length, in SearchOneByteStringInOneByteString() argument
85 subject_ptr, subject_length, search_ptr, search_length, start_position); in SearchOneByteStringInOneByteString()
88 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length, in SearchTwoByteStringInTwoByteString() argument
92 subject_ptr, subject_length, search_ptr, search_length, start_position); in SearchTwoByteStringInTwoByteString()
95 const TNode<RawPtrT> subject_ptr, const TNode<IntPtrT> subject_length, in SearchTwoByteStringInOneByteString() argument
99 subject_ptr, subject_length, search_ptr, search_length, start_position); in SearchTwoByteStringInOneByteString()
[all …]
/third_party/node/deps/v8/src/runtime/
Druntime-regexp.cc83 int subject_length);
113 static inline ReplacementPart SubjectSuffix(int subject_length) { in SubjectSuffix()
114 return ReplacementPart(SUBJECT_SUFFIX, subject_length); in SubjectSuffix()
155 int subject_length) { in ParseReplacementPattern() argument
196 parts_.emplace_back(ReplacementPart::SubjectSuffix(subject_length)); in ParseReplacementPattern()
328 int subject_length) { in Compile() argument
347 capture_count, subject_length); in Compile()
351 capture_count, subject_length); in Compile()
387 int subject_length = part.data; in Apply() local
388 if (match_to < subject_length) { in Apply()
[all …]
/third_party/node/deps/v8/src/strings/
Dstring-search.h300 int subject_length = subject.length(); in BoyerMooreSearch() local
311 while (index <= subject_length - pattern_length) { in BoyerMooreSearch()
317 if (index > subject_length - pattern_length) { in BoyerMooreSearch()
419 int subject_length = subject.length(); in BoyerMooreHorspoolSearch() local
431 while (index <= subject_length - pattern_length) { in BoyerMooreHorspoolSearch()
439 if (index > subject_length - pattern_length) { in BoyerMooreHorspoolSearch()
551 int subject_length, const PatternChar* pattern_ptr, in SearchStringRaw() argument
554 base::Vector<const SubjectChar> subject(subject_ptr, subject_length); in SearchStringRaw()
/third_party/node/src/
Dstring_search.h339 const size_t subject_length = subject.length(); in BoyerMooreSearch() local
350 while (index <= subject_length - pattern_length) { in BoyerMooreSearch()
356 if (index > subject_length - pattern_length) { in BoyerMooreSearch()
458 const size_t subject_length = subject.length(); in BoyerMooreHorspoolSearch() local
471 while (index <= subject_length - pattern_length) { in BoyerMooreHorspoolSearch()
479 if (index > subject_length - pattern_length) { in BoyerMooreHorspoolSearch()
480 return subject_length; in BoyerMooreHorspoolSearch()
/third_party/pcre2/pcre2/doc/
Dpcre2.txt4666 PCRE2_SIZE subject_length;
4749 The subject and subject_length fields contain copies of the values that