Lines Matching refs:c

196 check_char_prop(uint32_t c, unsigned int ptype, unsigned int pdata,  in check_char_prop()  argument
200 const ucd_record *prop = GET_UCD(c); in check_char_prop()
230 switch(c) in check_char_prop()
244 c == CHAR_UNDERSCORE) == negated; in check_char_prop()
250 if (c < *p) return !negated; in check_char_prop()
251 if (c == *p++) return negated; in check_char_prop()
274 get_repeat_base(PCRE2_UCHAR c) in get_repeat_base() argument
276 return (c > OP_TYPEPOSUPTO)? c : in get_repeat_base()
277 (c >= OP_TYPESTAR)? OP_TYPESTAR : in get_repeat_base()
278 (c >= OP_NOTSTARI)? OP_NOTSTARI : in get_repeat_base()
279 (c >= OP_NOTSTAR)? OP_NOTSTAR : in get_repeat_base()
280 (c >= OP_STARI)? OP_STARI : in get_repeat_base()
311 PCRE2_UCHAR c = *code; in get_chr_property_list() local
324 list[0] = c; in get_chr_property_list()
328 if (c >= OP_STAR && c <= OP_TYPEPOSUPTO) in get_chr_property_list()
330 base = get_repeat_base(c); in get_chr_property_list()
331 c -= (base - OP_STAR); in get_chr_property_list()
333 if (c == OP_UPTO || c == OP_MINUPTO || c == OP_EXACT || c == OP_POSUPTO) in get_chr_property_list()
336 list[1] = (c != OP_PLUS && c != OP_MINPLUS && c != OP_EXACT && in get_chr_property_list()
337 c != OP_POSPLUS); in get_chr_property_list()
362 c = list[0]; in get_chr_property_list()
365 switch(c) in get_chr_property_list()
396 list[0] = (c == OP_CHARI) ? OP_CHAR : OP_NOT; in get_chr_property_list()
451 list[0] = (c == OP_PROP) ? OP_CHAR : OP_NOT; in get_chr_property_list()
459 if (c == OP_XCLASS) in get_chr_property_list()
521 PCRE2_UCHAR c; in compare_opcodes() local
548 c = *code; in compare_opcodes()
552 if (c == OP_CALLOUT) in compare_opcodes()
554 code += PRIV(OP_lengths)[c]; in compare_opcodes()
558 if (c == OP_CALLOUT_STR) in compare_opcodes()
566 if (c == OP_ALT) in compare_opcodes()
569 c = *code; in compare_opcodes()
574 switch(c) in compare_opcodes()
641 code += PRIV(OP_lengths)[c]; in compare_opcodes()
650 code += PRIV(OP_lengths)[c]; in compare_opcodes()
682 code += PRIV(OP_lengths)[c]; in compare_opcodes()
1116 PCRE2_UCHAR c; in PRIV() local
1126 c = *code; in PRIV()
1128 if (c >= OP_TABLE_LENGTH) return -1; /* Something gone wrong */ in PRIV()
1130 if (c >= OP_STAR && c <= OP_TYPEPOSUPTO) in PRIV()
1132 c -= get_repeat_base(c) - OP_STAR; in PRIV()
1133 end = (c <= OP_MINUPTO) ? in PRIV()
1135 list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO; in PRIV()
1140 switch(c) in PRIV()
1175 c = *code; in PRIV()
1177 else if (c == OP_CLASS || c == OP_NCLASS || c == OP_XCLASS) in PRIV()
1180 if (c == OP_XCLASS) in PRIV()
1186 c = *repeat_opcode; in PRIV()
1187 if (c >= OP_CRSTAR && c <= OP_CRMINRANGE) in PRIV()
1192 list[1] = (c & 1) == 0; in PRIV()
1196 switch (c) in PRIV()
1220 c = *code; in PRIV()
1223 switch(c) in PRIV()
1269 code += PRIV(OP_lengths)[c]; in PRIV()
1276 if (utf) switch(c) in PRIV()