Lines Matching refs:utf

1003 BOOL utf = (options & PCRE_UTF8) != 0;
1074 if (c > (utf ? 0x10ffffU : 0xffU))
1076 if (c > (utf ? 0x10ffffU : 0xffffU))
1078 if (utf && c > 0x10ffffU)
1083 else if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73;
1258 if (!utf && c > 0xff) *errorcodeptr = ERR51;
1281 if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; }
1283 if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; }
1285 if (utf && c > 0x10ffffU) { overflow = TRUE; break; }
1295 if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73;
1326 greater than 0xff in utf or non-8bit mode, but only if the ddd are hex
1362 if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; }
1364 if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; }
1366 if (utf && c > 0x10ffffU) { overflow = TRUE; break; }
1378 if (utf && c >= 0xd800 && c <= 0xdfff) *errorcodeptr = ERR73;
1708 utf TRUE in UTF-8 / UTF-16 / UTF-32 mode
1720 find_fixedlength(pcre_uchar *code, BOOL utf, BOOL atend, compile_data *cd)
1748 d = find_fixedlength(cc + ((op == OP_CBRA)? IMM2_SIZE : 0), utf, atend, cd);
1782 d = find_fixedlength(cs + IMM2_SIZE, utf, atend, cd);
1843 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
1857 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]);
2047 utf TRUE in UTF-8 / UTF-16 / UTF-32 mode
2054 PRIV(find_bracket)(const pcre_uchar *code, BOOL utf, int number)
2132 if (utf) switch(c)
2166 (void)(utf); /* Keep compiler happy by referencing function argument */
2183 utf TRUE in UTF-8 / UTF-16 / UTF-32 mode
2189 find_recurse(const pcre_uchar *code, BOOL utf)
2249 if (utf) switch(c)
2311 (void)(utf); /* Keep compiler happy by referencing function argument */
2334 utf TRUE if in UTF-8 / UTF-16 / UTF-32 mode
2348 BOOL utf, compile_data *cd, recurse_check *recurses)
2420 if (could_be_empty_branch(scode, endcode, utf, cd, &this_recurse))
2476 if (!empty_branch && could_be_empty_branch(code, endcode, utf, cd, NULL))
2656 if (utf && HAS_EXTRALEN(code[1])) code += GET_EXTRALEN(code[1]);
2674 if (utf && HAS_EXTRALEN(code[1 + IMM2_SIZE])) code += GET_EXTRALEN(code[1 + IMM2_SIZE]);
2715 utf TRUE if in UTF-8 / UTF-16 / UTF-32 mode
2723 branch_chain *bcptr, BOOL utf, compile_data *cd)
2727 if (!could_be_empty_branch(bcptr->current_branch, endcode, utf, cd, NULL))
2853 utf TRUE if in UTF-8 / UTF-16 / UTF-32 mode
2866 get_chr_property_list(const pcre_uchar *code, BOOL utf,
2878 /*utf = utf; Suppress "unused parameter" compiler warning */
2957 if (chr < 128 || (chr < 256 && !utf))
3063 utf TRUE in UTF-8 / UTF-16 / UTF-32 mode
3071 compare_opcodes(const pcre_uchar *code, BOOL utf, const compile_data *cd,
3159 if (!compare_opcodes(code, utf, cd, base_list, base_end)) return FALSE;
3179 if (!compare_opcodes(next_code, utf, cd, base_list, base_end))
3191 code = get_chr_property_list(code, utf, cd->fcc, list);
3213 || (!utf && (base_list[0] == OP_NCLASS || list[0] == OP_NCLASS))
3218 if (base_list[0] == OP_CLASS || (!utf && base_list[0] == OP_NCLASS))
3566 list_ptr[2] + LINK_SIZE, utf)) return FALSE;
3599 utf TRUE in UTF-8 / UTF-16 / UTF-32 mode
3606 auto_possessify(pcre_uchar *code, BOOL utf, const compile_data *cd)
3621 get_chr_property_list(code, utf, cd->fcc, list) : NULL;
3624 if (end != NULL && compare_opcodes(end, utf, cd, list, end))
3676 end = get_chr_property_list(code, utf, cd->fcc, list);
3680 if (compare_opcodes(end, utf, cd, list, end))
3757 if (utf) switch(c)
3819 (void)(utf); /* Keep compiler happy by referencing function argument */
3952 utf TRUE in UTF-8 / UTF-16 / UTF-32 mode
3960 adjust_recurse(pcre_uchar *group, int adjust, BOOL utf, compile_data *cd,
3965 while ((ptr = (pcre_uchar *)find_recurse(ptr, utf)) != NULL)
4340 BOOL utf = (options & PCRE_UTF8) != 0;
4348 (p[1] == NOTACHAR) ? (utf ? 0x10ffffu : 0xffffffffu) : p[1] - 1);
4427 BOOL utf = (options & PCRE_UTF8) != 0;
4432 BOOL utf = FALSE;
4630 if (utf) FORWARDCHAR(ptr);
4863 if (utf && HAS_EXTRALEN(c))
5238 if (utf)
5349 if (utf && (options & PCRE_CASELESS) != 0 &&
5363 if (utf && c > MAX_VALUE_FOR_SINGLE_CHAR)
5379 if (utf && c > MAX_VALUE_FOR_SINGLE_CHAR)
5570 if (utf) FORWARDCHAR(p);
5649 if (utf && NOT_FIRSTCHAR(code[-1]))
5757 if (utf && (c & UTF_LENGTH) != 0)
5782 if (utf && (c & UTF_LENGTH) != 0)
5812 if (utf && (c & UTF_LENGTH) != 0)
5931 adjust_recurse(previous, 1, utf, cd, save_hwm);
5955 adjust_recurse(previous, 2 + LINK_SIZE, utf, cd, save_hwm);
6192 if (could_be_empty_branch(scode, ketcode, utf, cd, NULL))
6215 adjust_recurse(bracode, 1 + LINK_SIZE, utf, cd, save_hwm);
6304 if (utf && HAS_EXTRALEN(tempcode[-1]))
6349 adjust_recurse(tempcode, 1 + LINK_SIZE, utf, cd, save_hwm);
6398 adjust_recurse(tempcode, 1 + LINK_SIZE, utf, cd, save_hwm);
7308 called = PRIV(find_bracket)(cd->start_code, utf, recno);
7344 could_be_empty(called, code, bcptr, utf, cd))
7871 *code++ = (!utf && escape == ESC_C)? OP_ALLANY : escape;
7882 if (utf && c > MAX_VALUE_FOR_SINGLE_CHAR)
7905 if (utf && HAS_EXTRALEN(c))
7920 if (utf && (options & PCRE_CASELESS) != 0)
8797 BOOL utf;
8966 utf = (options & PCRE_UTF8) != 0;
8967 if (utf && never_utf)
8979 if (utf && (options & PCRE_NO_UTF8_CHECK) == 0 &&
8992 if (utf)
9265 groupptr = PRIV(find_bracket)(codestart, utf, recno);
9295 auto_possessify(temp, utf, cd);
9315 for (cc = (pcre_uchar *)PRIV(find_bracket)(codestart, utf, -1);
9317 cc = (pcre_uchar *)PRIV(find_bracket)(cc, utf, -1))
9386 if (utf)
9428 if (utf)
9500 if (could_be_empty_branch(codestart, code, utf, cd, NULL))