Lines Matching refs:re

9645 pcre2_real_code *re = NULL;           /* What we will return */  in pcre2_compile()  local
10124 re = (pcre2_real_code *) in pcre2_compile()
10126 if (re == NULL) in pcre2_compile()
10138 memset((char *)re + sizeof(pcre2_real_code) - 8, 0, 8); in pcre2_compile()
10139 re->memctl = ccontext->memctl; in pcre2_compile()
10140 re->tables = tables; in pcre2_compile()
10141 re->executable_jit = NULL; in pcre2_compile()
10142 memset(re->start_bitmap, 0, 32 * sizeof(uint8_t)); in pcre2_compile()
10143 re->blocksize = re_blocksize; in pcre2_compile()
10144 re->magic_number = MAGIC_NUMBER; in pcre2_compile()
10145 re->compile_options = options; in pcre2_compile()
10146 re->overall_options = cb.external_options; in pcre2_compile()
10147 re->extra_options = ccontext->extra_options; in pcre2_compile()
10148 re->flags = PCRE2_CODE_UNIT_WIDTH/8 | cb.external_flags | setflags; in pcre2_compile()
10149 re->limit_heap = limit_heap; in pcre2_compile()
10150 re->limit_match = limit_match; in pcre2_compile()
10151 re->limit_depth = limit_depth; in pcre2_compile()
10152 re->first_codeunit = 0; in pcre2_compile()
10153 re->last_codeunit = 0; in pcre2_compile()
10154 re->bsr_convention = bsr; in pcre2_compile()
10155 re->newline_convention = newline; in pcre2_compile()
10156 re->max_lookbehind = 0; in pcre2_compile()
10157 re->minlength = 0; in pcre2_compile()
10158 re->top_bracket = 0; in pcre2_compile()
10159 re->top_backref = 0; in pcre2_compile()
10160 re->name_entry_size = cb.name_entry_size; in pcre2_compile()
10161 re->name_count = cb.names_found; in pcre2_compile()
10166 codestart = (PCRE2_SPTR)((uint8_t *)re + sizeof(pcre2_real_code)) + in pcre2_compile()
10167 re->name_entry_size * re->name_count; in pcre2_compile()
10177 cb.name_table = (PCRE2_UCHAR *)((uint8_t *)re + sizeof(pcre2_real_code)); in pcre2_compile()
10201 regexrc = compile_regex(re->overall_options, &code, &pptr, &errorcode, 0, in pcre2_compile()
10203 if (regexrc < 0) re->flags |= PCRE2_MATCH_EMPTY; in pcre2_compile()
10204 re->top_bracket = cb.bracount; in pcre2_compile()
10205 re->top_backref = cb.top_backref; in pcre2_compile()
10206 re->max_lookbehind = cb.max_lookbehind; in pcre2_compile()
10212 re->flags |= PCRE2_HASACCEPT; /* Disables minimum length */ in pcre2_compile()
10224 re->blocksize -= CU2BYTES(length - usedlength); in pcre2_compile()
10293 pcre2_printint(re, stderr, TRUE); in pcre2_compile()
10304 if (errorcode == 0 && (re->overall_options & PCRE2_NO_AUTO_POSSESS) == 0) in pcre2_compile()
10320 if ((re->overall_options & PCRE2_ANCHORED) == 0 && in pcre2_compile()
10322 re->overall_options |= PCRE2_ANCHORED; in pcre2_compile()
10331 if ((re->overall_options & PCRE2_NO_START_OPTIMIZE) == 0) in pcre2_compile()
10347 re->first_codeunit = firstcu; in pcre2_compile()
10348 re->flags |= PCRE2_FIRSTSET; in pcre2_compile()
10357 if (cb.fcc[firstcu] != firstcu) re->flags |= PCRE2_FIRSTCASELESS; in pcre2_compile()
10367 re->flags |= PCRE2_FIRSTCASELESS; in pcre2_compile()
10371 re->flags |= PCRE2_FIRSTCASELESS; in pcre2_compile()
10383 else if ((re->overall_options & PCRE2_ANCHORED) == 0 && in pcre2_compile()
10385 re->flags |= PCRE2_STARTLINE; in pcre2_compile()
10395 if ((re->overall_options & PCRE2_UTF) == 0 || /* Not UTF */ in pcre2_compile()
10400 if ((re->overall_options & PCRE2_UTF) == 0 || /* Not UTF */ in pcre2_compile()
10412 if ((re->overall_options & PCRE2_ANCHORED) == 0 || in pcre2_compile()
10415 re->last_codeunit = reqcu; in pcre2_compile()
10416 re->flags |= PCRE2_LASTSET; in pcre2_compile()
10424 if (cb.fcc[reqcu] != reqcu) re->flags |= PCRE2_LASTCASELESS; in pcre2_compile()
10429 re->flags |= PCRE2_LASTCASELESS; in pcre2_compile()
10433 re->flags |= PCRE2_LASTCASELESS; in pcre2_compile()
10443 if (PRIV(study)(re) != 0) in pcre2_compile()
10452 if ((re->flags & PCRE2_FIRSTMAPSET) != 0 && minminlength == 0) in pcre2_compile()
10458 if (re->minlength < minminlength) re->minlength = minminlength; in pcre2_compile()
10477 return re; /* Will be NULL after an error */ in pcre2_compile()
10493 pcre2_code_free(re); in pcre2_compile()
10494 re = NULL; in pcre2_compile()