Lines Matching refs:options

1006   int bracount, int options, BOOL isclass)  in check_escape()  argument
1009 BOOL utf = (options & PCRE_UTF8) != 0; in check_escape()
1057 if ((options & PCRE_JAVASCRIPT_COMPAT) != 0) in check_escape()
1098 if ((options & PCRE_JAVASCRIPT_COMPAT) == 0) *errorcodeptr = ERR37; in check_escape()
1311 if ((options & PCRE_JAVASCRIPT_COMPAT) != 0) in check_escape()
1458 if ((options & PCRE_EXTRA) != 0) switch(c) in check_escape()
1478 if ((options & PCRE_UCP) != 0 && escape >= ESC_D && escape <= ESC_w) in check_escape()
4201 add_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_to_class() argument
4213 if ((options & PCRE_CASELESS) != 0) in add_to_class()
4216 if ((options & PCRE_UTF8) != 0) in add_to_class()
4221 options &= ~PCRE_CASELESS; /* Remove for recursive calls */ in add_to_class()
4228 if (rc > 0) n8 += add_list_to_class(classbits, uchardptr, options, cd, in add_to_class()
4245 else n8 += add_to_class(classbits, uchardptr, options, cd, oc, od); in add_to_class()
4266 if ((options & PCRE_UTF8) == 0) in add_to_class()
4272 if ((options & PCRE_UTF16) == 0) in add_to_class()
4294 if ((options & PCRE_UTF8) != 0) /* All UTFs use the same flag bit */ in add_to_class()
4365 add_list_to_class(pcre_uint8 *classbits, pcre_uchar **uchardptr, int options, in add_list_to_class() argument
4375 n8 += add_to_class(classbits, uchardptr, options, cd, p[0], p[n]); in add_list_to_class()
4404 int options, compile_data *cd, const pcre_uint32 *p) in add_not_list_to_class() argument
4406 BOOL utf = (options & PCRE_UTF8) != 0; in add_not_list_to_class()
4409 n8 += add_to_class(classbits, uchardptr, options, cd, 0, p[0] - 1); in add_not_list_to_class()
4413 n8 += add_to_class(classbits, uchardptr, options, cd, p[0] + 1, in add_not_list_to_class()
4468 int options = *optionsptr; /* May change dynamically */ in compile_branch() local
4493 BOOL utf = (options & PCRE_UTF8) != 0; in compile_branch()
4518 greedy_default = ((options & PCRE_UNGREEDY) != 0); in compile_branch()
4540 req_caseopt = ((options & PCRE_CASELESS) != 0)? REQ_CASELESS:0; in compile_branch()
4666 if ((options & PCRE_AUTO_CALLOUT) != 0) in compile_branch()
4679 if ((options & PCRE_EXTENDED) != 0) in compile_branch()
4722 if ((options & PCRE_AUTO_CALLOUT) != 0 && !is_quantifier && nestptr == NULL) in compile_branch()
4761 if ((options & PCRE_MULTILINE) != 0) in compile_branch()
4772 *code++ = ((options & PCRE_MULTILINE) != 0)? OP_DOLLM : OP_DOLL; in compile_branch()
4786 *code++ = ((options & PCRE_DOTALL) != 0)? OP_ALLANY: OP_ANY; in compile_branch()
5005 if ((options & PCRE_CASELESS) != 0 && posix_class <= 2) in compile_branch()
5014 if ((options & PCRE_UCP) != 0) in compile_branch()
5133 escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, in compile_branch()
5213 (void)add_list_to_class(classbits, &class_uchardata, options, cd, in compile_branch()
5218 (void)add_not_list_to_class(classbits, &class_uchardata, options, in compile_branch()
5223 (void)add_list_to_class(classbits, &class_uchardata, options, cd, in compile_branch()
5228 (void)add_not_list_to_class(classbits, &class_uchardata, options, in compile_branch()
5257 if ((options & PCRE_EXTRA) != 0) in compile_branch()
5344 descape = check_escape(&ptr, &d, errorcodeptr, cd->bracount, options, TRUE); in compile_branch()
5393 add_to_class(classbits, &class_uchardata, options, cd, c, d); in compile_branch()
5440 if (utf && (options & PCRE_CASELESS) != 0 && in compile_branch()
5452 *code++ = ((options & PCRE_CASELESS) != 0)? OP_NOTI: OP_NOT; in compile_branch()
5485 add_to_class(classbits, &class_uchardata, options, cd, c, c); in compile_branch()
5537 (options & PCRE_UCP) != 0)) in compile_branch()
5651 if ((options & PCRE_EXTENDED) != 0) in compile_branch()
6679 newoptions = options; in compile_branch()
7141 if ((options & PCRE_DUPNAMES) == 0) in compile_branch()
7354 *code++ = ((options & PCRE_CASELESS) != 0)? OP_DNREFI : OP_DNREF; in compile_branch()
7585 newoptions = (options | set) & (~unset); in compile_branch()
7625 *optionsptr = options = newoptions; in compile_branch()
7644 else if ((options & PCRE_NO_AUTO_CAPTURE) != 0) in compile_branch()
7892 escape = check_escape(&ptr, &ec, errorcodeptr, cd->bracount, options, FALSE); in compile_branch()
8003 *code++ = ((options & PCRE_CASELESS) != 0)? OP_REFI : OP_REF; in compile_branch()
8124 if (utf && (options & PCRE_CASELESS) != 0) in compile_branch()
8141 *code++ = ((options & PCRE_CASELESS) != 0)? OP_CHARI : OP_CHAR; in compile_branch()
8243 compile_regex(int options, pcre_uchar **codeptr, const pcre_uchar **ptrptr, in compile_regex() argument
8342 if (!compile_branch(&options, &code, &ptr, errorcodeptr, &branchfirstchar, in compile_regex()
8425 fixed_length = find_fixedlength(last_branch, (options & PCRE_UTF8) != 0, in compile_regex()
8487 (options & PCRE_UTF8) != 0, cd, save_hwm_offset); in compile_regex()
8960 pcre_compile(const char *pattern, int options, const char **errorptr, in pcre_compile() argument
8964 pcre16_compile(PCRE_SPTR16 pattern, int options, const char **errorptr, in pcre_compile()
8968 pcre32_compile(PCRE_SPTR32 pattern, int options, const char **errorptr, in pcre_compile()
8973 return pcre_compile2(pattern, options, NULL, errorptr, erroroffset, tables); in pcre_compile()
8975 return pcre16_compile2(pattern, options, NULL, errorptr, erroroffset, tables); in pcre_compile()
8977 return pcre32_compile2(pattern, options, NULL, errorptr, erroroffset, tables); in pcre_compile()
8984 pcre_compile2(const char *pattern, int options, int *errorcodeptr, in pcre_compile2() argument
8988 pcre16_compile2(PCRE_SPTR16 pattern, int options, int *errorcodeptr, in pcre_compile2()
8992 pcre32_compile2(PCRE_SPTR32 pattern, int options, int *errorcodeptr, in pcre_compile2()
9065 if ((options & ~PUBLIC_COMPILE_OPTIONS) != 0) in pcre_compile2()
9073 if ((options & PCRE_NEVER_UTF) != 0) never_utf = TRUE; in pcre_compile2()
9092 { skipatstart += 7; options |= PCRE_UTF8; continue; } in pcre_compile2()
9096 { skipatstart += 8; options |= PCRE_UTF16; continue; } in pcre_compile2()
9100 { skipatstart += 8; options |= PCRE_UTF32; continue; } in pcre_compile2()
9104 { skipatstart += 6; options |= PCRE_UTF8; continue; } in pcre_compile2()
9106 { skipatstart += 6; options |= PCRE_UCP; continue; } in pcre_compile2()
9108 { skipatstart += 18; options |= PCRE_NO_AUTO_POSSESS; continue; } in pcre_compile2()
9110 { skipatstart += 15; options |= PCRE_NO_START_OPTIMIZE; continue; } in pcre_compile2()
9167 options = (options & ~PCRE_NEWLINE_BITS) | newnl; in pcre_compile2()
9169 options = (options & ~(PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)) | newbsr; in pcre_compile2()
9174 utf = (options & PCRE_UTF8) != 0; in pcre_compile2()
9187 if (utf && (options & PCRE_NO_UTF8_CHECK) == 0 && in pcre_compile2()
9210 if ((options & PCRE_UCP) != 0) in pcre_compile2()
9219 if ((options & (PCRE_BSR_ANYCRLF|PCRE_BSR_UNICODE)) == in pcre_compile2()
9230 switch (options & PCRE_NEWLINE_BITS) in pcre_compile2()
9308 cd->external_options = options; in pcre_compile2()
9359 re->options = cd->external_options; in pcre_compile2()
9421 (void)compile_regex(re->options, &code, &ptr, &errorcode, FALSE, FALSE, 0, 0, in pcre_compile2()
9506 if (errorcode == 0 && (options & PCRE_NO_AUTO_POSSESS) == 0) in pcre_compile2()
9539 fixed_length = find_fixedlength(cc, (re->options & PCRE_UTF8) != 0, TRUE, in pcre_compile2()
9580 if ((re->options & PCRE_ANCHORED) == 0) in pcre_compile2()
9582 if (is_anchored(codestart, 0, cd, 0)) re->options |= PCRE_ANCHORED; in pcre_compile2()
9629 ((re->options & PCRE_ANCHORED) == 0 || (reqcharflags & REQ_VARY) != 0)) in pcre_compile2()
9668 printf("Options=%08x\n", re->options); in pcre_compile2()