Home
last modified time | relevance | path

Searched refs:PRIV (Results 1 – 25 of 26) sorted by relevance

12

/external/pcre/dist/
Dpcre_ucd.c35 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 */
Dpcre_xclass.c67 PRIV(xclass)(pcre_uint32 c, const pcre_uchar *data, BOOL utf) in PRIV() function
150 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == isprop) in PRIV()
163 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
164 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == isprop) in PRIV()
182 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == isprop) in PRIV()
189 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
190 PRIV(ucp_gentype)[prop->chartype] == ucp_N || c == CHAR_UNDERSCORE) in PRIV()
222 if ((PRIV(ucp_gentype)[prop->chartype] != ucp_Z && in PRIV()
223 (PRIV(ucp_gentype)[prop->chartype] != ucp_C || in PRIV()
236 (PRIV(ucp_gentype)[prop->chartype] != ucp_C || in PRIV()
[all …]
Dpcre_internal.h315 PRIV(is_newline)((p), NLBLOCK->nltype, NLBLOCK->PSEND, \
329 PRIV(was_newline)((p), NLBLOCK->nltype, NLBLOCK->PSSTART, \
703 #define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3f])
2606 #ifndef PRIV
2607 #define PRIV(name) _pcre_##name macro
2613 #ifndef PRIV
2614 #define PRIV(name) _pcre16_##name macro
2620 #ifndef PRIV
2621 #define PRIV(name) _pcre32_##name macro
2645 extern const int PRIV(utf8_table1)[];
[all …]
Dpcre_string_utils.c68 PRIV(strcmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2) in PRIV() function
87 PRIV(strcmp_uc_uc_utf)(const pcre_uchar *str1, const pcre_uchar *str2) in PRIV() function
106 PRIV(strcmp_uc_c8)(const pcre_uchar *str1, const char *str2) in PRIV() function
126 PRIV(strcmp_uc_c8_utf)(const pcre_uchar *str1, const char *str2) in PRIV() function
157 PRIV(strncmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2, unsigned int num) in PRIV() function
174 PRIV(strncmp_uc_c8)(const pcre_uchar *str1, const char *str2, unsigned int num) in PRIV() function
201 PRIV(strlen_uc)(const pcre_uchar *str) in PRIV() function
Dpcre_ord2utf8.c68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) in PRIV() function
74 for (i = 0; i < PRIV(utf8_table1_size); i++) in PRIV()
75 if ((int)cvalue <= PRIV(utf8_table1)[i]) break; in PRIV()
82 *buffer = PRIV(utf8_table2)[i] | cvalue; in PRIV()
Dpcre_study.c194 cc += PRIV(OP_lengths)[*cc]; in find_minlength()
203 cc += PRIV(OP_lengths)[*cc]; in find_minlength()
314 cc += PRIV(OP_lengths)[op]; in find_minlength()
322 cc += PRIV(OP_lengths)[op]; in find_minlength()
336 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength()
338 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength()
393 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(slot, 0)); in find_minlength()
418 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength()
534 cc += PRIV(OP_lengths)[op]; in find_minlength()
546 cc += PRIV(OP_lengths)[op] + cc[1]; in find_minlength()
[all …]
Dpcre_dfa_exec.c1085 OK = PRIV(ucp_gentype)[prop->chartype] == code[2]; in internal_dfa_exec()
1099 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_L || in internal_dfa_exec()
1100 PRIV(ucp_gentype)[prop->chartype] == ucp_N; in internal_dfa_exec()
1117 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_Z; in internal_dfa_exec()
1123 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_L || in internal_dfa_exec()
1124 PRIV(ucp_gentype)[prop->chartype] == ucp_N || in internal_dfa_exec()
1129 cp = PRIV(ucd_caseless_sets) + code[2]; in internal_dfa_exec()
1343 OK = PRIV(ucp_gentype)[prop->chartype] == code[3]; in internal_dfa_exec()
1357 OK = PRIV(ucp_gentype)[prop->chartype] == ucp_L || in internal_dfa_exec()
1358 PRIV(ucp_gentype)[prop->chartype] == ucp_N; in internal_dfa_exec()
[all …]
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_gentype)[] = {
152 const pcre_uint32 PRIV(ucp_gbtable[]) = {
[all …]
Dpcre_printint.c59 #define PRIV(name) name macro
144 int a = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */ in print_char()
146 c = (c & PRIV(utf8_table3)[a]) << s; in print_char()
240 for (i = PRIV(utt_size) - 1; i >= 0; i--) in get_ucpname()
242 if (ptype == PRIV(utt)[i].type && pvalue == PRIV(utt)[i].value) break; in get_ucpname()
244 return (i >= 0)? PRIV(utt_names) + PRIV(utt)[i].name_offset : "??"; in get_ucpname()
277 const pcre_uint32 *p = PRIV(ucd_caseless_sets) + code[2]; in print_prop()
Dpcre_compile.c1539 top = PRIV(utt_size); in get_ucp()
1545 r = STRCMP_UC_C8(name, PRIV(utt_names) + PRIV(utt)[i].name_offset); in get_ucp()
1548 *ptypeptr = PRIV(utt)[i].type; in get_ucp()
1549 *pdataptr = PRIV(utt)[i].value; in get_ucp()
1661 code += PRIV(OP_lengths)[*code]; in first_significant_code()
1675 code += PRIV(OP_lengths)[*code]; in first_significant_code()
1791 cc += PRIV(OP_lengths)[*cc]; in find_fixedlength()
1800 cc += cc[1] + PRIV(OP_lengths)[*cc]; in find_fixedlength()
1827 cc += PRIV(OP_lengths)[*cc]; in find_fixedlength()
1904 cc += PRIV(OP_lengths)[OP_CLASS]; in find_fixedlength()
[all …]
Dpcre_newline.c76 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr, in PRIV() function
151 PRIV(was_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr, in PRIV() function
Dpcre_valid_utf8.c107 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) in PRIV() function
137 ab = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */ in PRIV()
Dpcre_exec.c221 const pcre_uint32 *pp = PRIV(ucd_caseless_sets) + ur->caseset; in match_ref()
759 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
783 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
789 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
797 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
805 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
823 ecode += PRIV(OP_lengths)[*ecode] + ecode[1]; in match()
826 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md, in match()
843 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode], offset_top, md, in match()
852 RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, in match()
[all …]
Dpcre_fullinfo.c123 PRIV(jit_get_size)(extra_data->executable_jit) : 0; in pcre_fullinfo()
203 *((const pcre_uint8 **)where) = (const pcre_uint8 *)(PRIV(default_tables)); in pcre_fullinfo()
Dpcre32_ord2utf32.c68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) in PRIV() function
Dpcre16_ord2utf16.c68 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) in PRIV() function
Dpcre32_valid_utf32.c82 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) in PRIV() function
Dpcre16_valid_utf16.c84 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) in PRIV() function
Dpcre_config.c138 *((const char **)where) = PRIV(jit_get_target)(); in pcre_config()
Dpcre_byte_order.c270 length = PRIV(OP_lengths)[*ptr] - 1; in pcre_pattern_to_host_byte_order()
Dpcre_jit_compile.c679 return cc + PRIV(OP_lengths)[*cc]; in next_opcode()
737 cc += PRIV(OP_lengths)[*cc]; in next_opcode()
757 return cc + PRIV(OP_lengths)[*cc] - 1; in next_opcode()
2605 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char7_type()
2644 OP1(SLJIT_MOV_UB, RETURN_ADDR, 0, SLJIT_MEM1(TMP1), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char_range()
2668 OP1(SLJIT_MOV_UB, RETURN_ADDR, 0, SLJIT_MEM1(TMP1), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char_range()
2688 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP1), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char_range()
2697 OP1(SLJIT_MOV_UB, RETURN_ADDR, 0, SLJIT_MEM1(TMP1), (sljit_sw)PRIV(utf8_table4) - 0xc0); in read_char_range()
2995 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(utf8_table4) - 0xc0); in do_utfreadtype8()
3021 OP1(SLJIT_MOV_UB, TMP2, 0, SLJIT_MEM1(TMP2), (sljit_sw)PRIV(ucd_stage1)); in do_getucd()
[all …]
Dpcre_chartables.c.dist29 const pcre_uint8 PRIV(default_tables)[] = {
Dpcretest.c130 #define PRIV(name) name macro
/external/pcre/
Dpcre_chartables.c29 const pcre_uint8 PRIV(default_tables)[] = {
/external/icu/icu4c/source/common/
Duloc_tag.c1772 #define PRIV 0x0080 macro
1855 next = LANG | PRIV; in ultag_parse()
1889 next = EXTL | SCRT | REGN | VART | EXTS | PRIV; in ultag_parse()
1900 next = EXTL | SCRT | REGN | VART | EXTS | PRIV; in ultag_parse()
1902 next = SCRT | REGN | VART | EXTS | PRIV; in ultag_parse()
1923 next = REGN | VART | EXTS | PRIV; in ultag_parse()
1933 next = VART | EXTS | PRIV; in ultag_parse()
1957 next = VART | EXTS | PRIV; in ultag_parse()
2017 next = EXTS | EXTV | PRIV; in ultag_parse()
2022 if (next & PRIV) { in ultag_parse()

12