Lines Matching refs:options

1007   int bracount, int options, BOOL isclass)  in check_escape()  argument
1010 BOOL utf = (options & PCRE_UTF8) != 0; in check_escape()
1058 if ((options & PCRE_JAVASCRIPT_COMPAT) != 0) in check_escape()
1099 if ((options & PCRE_JAVASCRIPT_COMPAT) == 0) *errorcodeptr = ERR37; in check_escape()
1312 if ((options & PCRE_JAVASCRIPT_COMPAT) != 0) in check_escape()
1459 if ((options & PCRE_EXTRA) != 0) switch(c) in check_escape()
1479 if ((options & PCRE_UCP) != 0 && escape >= ESC_D && escape <= ESC_w) in check_escape()
4202 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_to_class() argument
4214 if ((options & PCRE_CASELESS) != 0) in add_to_class()
4217 if ((options & PCRE_UTF8) != 0) in add_to_class()
4222 options &= ~PCRE_CASELESS; /* Remove for recursive calls */ in add_to_class()
4229 if (rc > 0) n8 += add_list_to_class(classbits, uchardptr, options, cd, in add_to_class()
4246 else n8 += add_to_class(classbits, uchardptr, options, cd, oc, od); in add_to_class()
4267 if ((options & PCRE_UTF8) == 0) in add_to_class()
4273 if ((options & PCRE_UTF16) == 0) in add_to_class()
4295 if ((options & PCRE_UTF8) != 0) /* All UTFs use the same flag bit */ in add_to_class()
4366 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_list_to_class() argument
4376 n8 += add_to_class(classbits, uchardptr, options, cd, p[0], p[n]); in add_list_to_class()
4405 int options, compile_data *cd, const pcre_uint32 *p) in add_not_list_to_class() argument
4407 BOOL utf = (options & PCRE_UTF8) != 0; in add_not_list_to_class()
4410 n8 += add_to_class(classbits, uchardptr, options, cd, 0, p[0] - 1); in add_not_list_to_class()
4414 n8 += add_to_class(classbits, uchardptr, options, cd, p[0] + 1, in add_not_list_to_class()
4469 int options = *optionsptr; /* May change dynamically */ in compile_branch() local
4494 BOOL utf = (options & PCRE_UTF8) != 0; in compile_branch()
4519 greedy_default = ((options & PCRE_UNGREEDY) != 0); in compile_branch()
4541 req_caseopt = ((options & PCRE_CASELESS) != 0)? REQ_CASELESS:0; in compile_branch()
4673 if ((options & PCRE_AUTO_CALLOUT) != 0) in compile_branch()
4695 if ((options & PCRE_EXTENDED) != 0) in compile_branch()
4759 if ((options & PCRE_AUTO_CALLOUT) != 0 && !is_quantifier && nestptr == NULL) in compile_branch()
4798 if ((options & PCRE_MULTILINE) != 0) in compile_branch()
4809 *code++ = ((options & PCRE_MULTILINE) != 0)? OP_DOLLM : OP_DOLL; in compile_branch()
4823 *code++ = ((options & PCRE_DOTALL) != 0)? OP_ALLANY: OP_ANY; in compile_branch()
5042 if ((options & PCRE_CASELESS) != 0 && posix_class <= 2) in compile_branch()
5051 if ((options & PCRE_UCP) != 0) in compile_branch()
5172 escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, in compile_branch()
5252 (void)add_list_to_class(classbits, &class_uchardata, options, cd, in compile_branch()
5257 (void)add_not_list_to_class(classbits, &class_uchardata, options, in compile_branch()
5262 (void)add_list_to_class(classbits, &class_uchardata, options, cd, in compile_branch()
5267 (void)add_not_list_to_class(classbits, &class_uchardata, options, in compile_branch()
5296 if ((options & PCRE_EXTRA) != 0) in compile_branch()
5383 descape = check_escape(&ptr, &d, errorcodeptr, cd->bracount, options, TRUE); in compile_branch()
5432 add_to_class(classbits, &class_uchardata, options, cd, c, d); in compile_branch()
5479 if (utf && (options & PCRE_CASELESS) != 0 && in compile_branch()
5491 *code++ = ((options & PCRE_CASELESS) != 0)? OP_NOTI: OP_NOT; in compile_branch()
5524 add_to_class(classbits, &class_uchardata, options, cd, c, c); in compile_branch()
5576 (options & PCRE_UCP) != 0)) in compile_branch()
5590 should_flip_negation && !negate_class && (options & PCRE_UCP) == 0) in compile_branch()
5718 if ((options & PCRE_EXTENDED) != 0) in compile_branch()
6759 newoptions = options; in compile_branch()
7231 if ((options & PCRE_DUPNAMES) == 0) in compile_branch()
7449 *code++ = ((options & PCRE_CASELESS) != 0)? OP_DNREFI : OP_DNREF; in compile_branch()
7680 newoptions = (options | set) & (~unset); in compile_branch()
7696 *optionsptr = options = newoptions; in compile_branch()
7715 else if ((options & PCRE_NO_AUTO_CAPTURE) != 0) in compile_branch()
7965 escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, FALSE); in compile_branch()
8066 *code++ = ((options & PCRE_CASELESS) != 0)? OP_REFI : OP_REF; in compile_branch()
8187 if (utf && (options & PCRE_CASELESS) != 0) in compile_branch()
8204 *code++ = ((options & PCRE_CASELESS) != 0)? OP_CHARI : OP_CHAR; in compile_branch()
8305 compile_regex(int options, pcre_uchar **codeptr, const pcre_uchar **ptrptr, in compile_regex() argument
8404 if (!compile_branch(&options, &code, &ptr, errorcodeptr, &branchfirstchar, in compile_regex()
8487 fixed_length = find_fixedlength(last_branch, (options & PCRE_UTF8) != 0, in compile_regex()
8549 (options & PCRE_UTF8) != 0, cd, save_hwm_offset); in compile_regex()
9023 pcre_compile(const char *pattern, int options, const char **errorptr, in pcre_compile() argument
9027 pcre16_compile(PCRE_SPTR16 pattern, int options, const char **errorptr, in pcre_compile()
9031 pcre32_compile(PCRE_SPTR32 pattern, int options, const char **errorptr, in pcre_compile()
9036 return pcre_compile2(pattern, options, NULL, errorptr, erroroffset, tables); in pcre_compile()
9038 return pcre16_compile2(pattern, options, NULL, errorptr, erroroffset, tables); in pcre_compile()
9040 return pcre32_compile2(pattern, options, NULL, errorptr, erroroffset, tables); in pcre_compile()
9047 pcre_compile2(const char *pattern, int options, int *errorcodeptr, in pcre_compile2() argument
9051 pcre16_compile2(PCRE_SPTR16 pattern, int options, int *errorcodeptr, in pcre_compile2()
9055 pcre32_compile2(PCRE_SPTR32 pattern, int options, int *errorcodeptr, in pcre_compile2()
9128 if ((options & ~PUBLIC_COMPILE_OPTIONS) != 0) in pcre_compile2()
9136 if ((options & PCRE_NEVER_UTF) != 0) never_utf = TRUE; in pcre_compile2()
9155 { skipatstart += 7; options |= PCRE_UTF8; continue; } in pcre_compile2()
9159 { skipatstart += 8; options |= PCRE_UTF16; continue; } in pcre_compile2()
9163 { skipatstart += 8; options |= PCRE_UTF32; continue; } in pcre_compile2()
9167 { skipatstart += 6; options |= PCRE_UTF8; continue; } in pcre_compile2()
9169 { skipatstart += 6; options |= PCRE_UCP; continue; } in pcre_compile2()
9171 { skipatstart += 18; options |= PCRE_NO_AUTO_POSSESS; continue; } in pcre_compile2()
9173 { skipatstart += 15; options |= PCRE_NO_START_OPTIMIZE; continue; } in pcre_compile2()
9230 options = (options & ~PCRE_NEWLINE_BITS) | newnl; in pcre_compile2()
9232 options = (options & ~(PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)) | newbsr; in pcre_compile2()
9237 utf = (options & PCRE_UTF8) != 0; in pcre_compile2()
9250 if (utf && (options & PCRE_NO_UTF8_CHECK) == 0 && in pcre_compile2()
9273 if ((options & PCRE_UCP) != 0) in pcre_compile2()
9282 if ((options & (PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)) == in pcre_compile2()
9293 switch (options & PCRE_NEWLINE_BITS) in pcre_compile2()
9371 cd->external_options = options; in pcre_compile2()
9422 re->options = cd->external_options; in pcre_compile2()
9484 (void)compile_regex(re->options, &code, &ptr, &errorcode, FALSE, FALSE, 0, 0, in pcre_compile2()
9569 if (errorcode == 0 && (options & PCRE_NO_AUTO_POSSESS) == 0) in pcre_compile2()
9602 fixed_length = find_fixedlength(cc, (re->options & PCRE_UTF8) != 0, TRUE, in pcre_compile2()
9643 if ((re->options & PCRE_ANCHORED) == 0) in pcre_compile2()
9645 if (is_anchored(codestart, 0, cd, 0)) re->options |= PCRE_ANCHORED; in pcre_compile2()
9692 ((re->options & PCRE_ANCHORED) == 0 || (reqcharflags & REQ_VARY) != 0)) in pcre_compile2()
9731 printf("Options=%08x\n", re->options); in pcre_compile2()