Searched refs:PRIV (Results 1 - 15 of 15) sorted by relevance

/barrelfish-2018-10-04/lib/pcre/
H A Dpcre_ord2utf8.c68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer)
74 for (i = 0; i < PRIV(utf8_table1_size); i++)
75 if ((int)cvalue <= PRIV(utf8_table1)[i]) break;
82 *buffer = PRIV(utf8_table2)[i] | cvalue;
H A Dpcre_ucd.c6 by the pcretest program, which redefines the PRIV macro to change
35 const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0 }};
36 const pcre_uint8 PRIV(ucd_stage1)[] = {0};
37 const pcre_uint16 PRIV(ucd_stage2)[] = {0};
38 const pcre_uint32 PRIV(ucd_caseless_sets)[] = {0};
55 const pcre_uint32 PRIV(ucd_caseless_sets)[] = {
82 const ucd_record PRIV(ucd_records)[] = { /* 5760 bytes, record size 8 */
805 const pcre_uint8 PRIV(ucd_stage1)[] = { /* 8704 bytes */
1352 const pcre_uint16 PRIV(ucd_stage2)[] = { /* 58112 bytes, block = 128 */
H A Dpcre_xclass.c67 PRIV(xclass)(pcre_uint32 c, const pcre_uchar *data, BOOL utf)
150 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == isprop)
163 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L ||
164 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == isprop)
182 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == isprop)
189 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L ||
190 PRIV(ucp_gentype)[prop->chartype] == ucp_N || c == CHAR_UNDERSCORE)
222 if ((PRIV(ucp_gentype)[prop->chartype] != ucp_Z &&
223 (PRIV(ucp_gentype)[prop->chartype] != ucp_C ||
236 (PRIV(ucp_gentyp
[all...]
H A Dpcre_newline.c76 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr,
151 PRIV(was_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr,
H A Dpcre_study.c199 cc += PRIV(OP_lengths)[*cc];
208 cc += PRIV(OP_lengths)[*cc];
319 cc += PRIV(OP_lengths)[op];
327 cc += PRIV(OP_lengths)[op];
341 cc += PRIV(OP_lengths)[OP_CLASS];
343 cc += PRIV(OP_lengths)[OP_CLASS];
398 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0));
438 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1));
576 cc += PRIV(OP_lengths)[op];
588 cc += PRIV(OP_length
[all...]
H A Dpcre_valid_utf8.c107 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset)
137 ab = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */
H A Dpcre_config.c138 *((const char **)where) = PRIV(jit_get_target)();
H A Dpcre_tables.c59 const pcre_uint8 PRIV(OP_lengths)[] = { OP_LENGTHS };
64 const pcre_uint32 PRIV(hspace_list)[] = { HSPACE_LIST };
65 const pcre_uint32 PRIV(vspace_list)[] = { VSPACE_LIST };
81 const int PRIV(utf8_table1)[] =
84 const int PRIV(utf8_table1_size) = sizeof(PRIV(utf8_table1)) / sizeof(int);
89 const int PRIV(utf8_table2)[] = { 0, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc};
90 const int PRIV(utf8_table3)[] = { 0xff, 0x1f, 0x0f, 0x07, 0x03, 0x01};
95 const pcre_uint8 PRIV(utf8_table4)[] = {
107 const pcre_uint32 PRIV(ucp_gentyp
[all...]
H A Dpcre_dfa_exec.c1085 OK = PRIV(ucp_gentype)[prop->chartype] == code[2];
1099 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_L ||
1100 PRIV(ucp_gentype)[prop->chartype] == ucp_N;
1117 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_Z;
1123 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_L ||
1124 PRIV(ucp_gentype)[prop->chartype] == ucp_N ||
1129 cp = PRIV(ucd_caseless_sets) + code[2];
1343 OK = PRIV(ucp_gentype)[prop->chartype] == code[3];
1357 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_L ||
1358 PRIV(ucp_gentyp
[all...]
H A Dpcre_printint.c59 #define PRIV(name) name macro
144 int a = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */
146 c = (c & PRIV(utf8_table3)[a]) << s;
240 for (i = PRIV(utt_size) - 1; i >= 0; i--)
242 if (ptype == PRIV(utt)[i].type && pvalue == PRIV(utt)[i].value) break;
244 return (i >= 0)? PRIV(utt_names) + PRIV(utt)[i].name_offset : "??";
277 const pcre_uint32 *p = PRIV(ucd_caseless_sets) + code[2];
H A Dpcre_fullinfo.c123 PRIV(jit_get_size)(extra_data->executable_jit) : 0;
203 *((const pcre_uint8 **)where) = (const pcre_uint8 *)(PRIV(default_tables));
H A Dpcre_compile.c1561 top = PRIV(utt_size);
1567 r = STRCMP_UC_C8(name, PRIV(utt_names) + PRIV(utt)[i].name_offset);
1570 *ptypeptr = PRIV(utt)[i].type;
1571 *pdataptr = PRIV(utt)[i].value;
1683 code += PRIV(OP_lengths)[*code];
1697 code += PRIV(OP_lengths)[*code];
1833 cc += cc[1] + PRIV(OP_lengths)[*cc];
1860 cc += PRIV(OP_lengths)[*cc];
1937 cc += PRIV(OP_length
[all...]
H A Dpcre_exec.c221 const pcre_uint32 *pp = PRIV(ucd_caseless_sets) + ur->caseset;
759 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md,
783 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md,
789 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md,
797 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md,
805 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md,
823 ecode += PRIV(OP_lengths)[*ecode] + ecode[1];
826 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md,
843 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md,
852 RMATCH(eptr, ecode + PRIV(OP_length
[all...]
H A Dpcre_chartables.c29 const pcre_uint8 PRIV(default_tables)[] = {
H A Dpcre_internal.h44 depending on the PRIV macro. */
315 PRIV(is_newline)((p), NLBLOCK->nltype, NLBLOCK->PSEND, \
329 PRIV(was_newline)((p), NLBLOCK->nltype, NLBLOCK->PSSTART, \
688 from the tables whose names start with PRIV(utf8_table). They were rewritten by
703 #define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3f])
2623 #ifndef PRIV
2624 #define PRIV(name) _pcre_##name macro
2630 #ifndef PRIV
2631 #define PRIV(name) _pcre16_##name macro
2637 #ifndef PRIV
2638 #define PRIV macro
[all...]

Completed in 193 milliseconds