Home
last modified time | relevance | path

Searched refs:heap_limit (Results 1 – 8 of 8) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_intmodedep.h590 uint32_t heap_limit; member
850 PCRE2_SIZE heap_limit; /* As it says */ member
903 PCRE2_SIZE heap_limit; /* As it says */ member
Dpcre2_dfa_match.c432 if (newsizeK + mb->heap_used > mb->heap_limit) in more_workspace()
433 newsizeK = (uint32_t)(mb->heap_limit - mb->heap_used); in more_workspace()
3393 mb->heap_limit = PRIV(default_match_context).heap_limit; in pcre2_dfa_match()
3408 mb->heap_limit = mcontext->heap_limit; in pcre2_dfa_match()
3417 if (mb->heap_limit > re->limit_heap) in pcre2_dfa_match()
3418 mb->heap_limit = re->limit_heap; in pcre2_dfa_match()
Dpcre2_context.c421 mcontext->heap_limit = limit; in pcre2_set_heap_limit()
Dpcre2_match.c657 if ((newsize / 1024) > mb->heap_limit) in match()
659 PCRE2_SIZE maxsize = ((mb->heap_limit * 1024)/frame_size) * frame_size; in match()
6610 mb->heap_limit = (mcontext->heap_limit < re->limit_heap)? in pcre2_match()
6611 mcontext->heap_limit : re->limit_heap; in pcre2_match()
6632 if ((mb->frame_vector_size / 1024) > mb->heap_limit) in pcre2_match()
6634 if (frame_size > mb->heap_limit * 1024) return PCRE2_ERROR_HEAPLIMIT; in pcre2_match()
6635 mb->frame_vector_size = ((mb->heap_limit * 1024)/frame_size) * frame_size; in pcre2_match()
Dpcre2grep.c263 static PCRE2_SIZE heap_limit = PCRE2_UNSET; variable
457 …{ OP_SIZE, N_H_LIMIT, &heap_limit, "heap-limit=number", "set PCRE2 heap limit option (…
4198 if (heap_limit != PCRE2_UNSET) pcre2_set_heap_limit(match_context, heap_limit); in main()
Dpcre2test.c673 { "heap_limit", MOD_CTM, MOD_INT, 0, MO(heap_limit) },
4428 depth_limit, heap_limit, match_limit, minlength, nameentrysize, namecount, in show_pattern_info() local
4438 switch(pattern_info(PCRE2_INFO_HEAPLIMIT, &heap_limit, TRUE)) in show_pattern_info()
4511 fprintf(outfile, "Heap limit = %u\n", heap_limit); in show_pattern_info()
/external/pcre/dist2/doc/
Dpcre2test.txt1109 heap_limit=<n> set a limit on heap memory (Kbytes)
1396 The heap_limit, match_limit, and depth_limit modifiers set the appro-
1431 For both kinds of matching, the heap_limit number, which is in
Dpcre2.txt1016 The heap_limit parameter specifies, in units of kibibytes (1024 bytes),