Home
last modified time | relevance | path

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

123

/third_party/glib/glib/update-pcre/
Ducp.patch38 - return (pdata == PRIV(ucp_gentype)[prop->chartype]) == negated;
39 + return (pdata == PRIV(ucp_gentype)[chartype]) == negated;
52 - return (PRIV(ucp_gentype)[prop->chartype] == ucp_L ||
53 - PRIV(ucp_gentype)[prop->chartype] == ucp_N) == negated;
54 + return (PRIV(ucp_gentype)[chartype] == ucp_L ||
55 + PRIV(ucp_gentype)[chartype] == ucp_N) == negated;
58 - return (PRIV(ucp_gentype)[prop->chartype] == ucp_Z ||
59 + return (PRIV(ucp_gentype)[chartype] == ucp_Z ||
64 - return (PRIV(ucp_gentype)[prop->chartype] == ucp_Z ||
65 + return (PRIV(ucp_gentype)[chartype] == ucp_Z ||
[all …]
/third_party/pcre2/pcre2/src/
Dpcre2_ucd.c36 const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0,0,0 }};
37 const uint16_t PRIV(ucd_stage1)[] = {0};
38 const uint16_t PRIV(ucd_stage2)[] = {0};
39 const uint32_t PRIV(ucd_caseless_sets)[] = {0};
42 const char *PRIV(unicode_version) = "14.0.0";
49 const ucd_record PRIV(dummy_ucd_record)[] = {{
78 const uint32_t PRIV(ucd_caseless_sets)[] = {
118 const uint32_t PRIV(ucd_digit_sets)[] = {
134 const uint8_t PRIV(ucd_script_sets)[] = {
199 const ucd_record PRIV(ucd_records)[] = { /* 11964 bytes, record size 12 */
[all …]
Dpcre2_xclass.c69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in PRIV() function
151 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == isprop) in PRIV()
164 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
165 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == isprop) in PRIV()
183 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == isprop) in PRIV()
190 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
191 PRIV(ucp_gentype)[prop->chartype] == ucp_N || c == CHAR_UNDERSCORE) in PRIV()
223 if ((PRIV(ucp_gentype)[prop->chartype] != ucp_Z && in PRIV()
224 (PRIV(ucp_gentype)[prop->chartype] != ucp_C || in PRIV()
237 (PRIV(ucp_gentype)[prop->chartype] != ucp_C || in PRIV()
[all …]
Dpcre2_string_utils.c63 PRIV(memmove)(void *d, const void *s, size_t n) in PRIV() function
102 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in PRIV() function
130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV() function
157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV() function
186 PRIV(strncmp_c8)(PCRE2_SPTR str1, const char *str2, size_t len) in PRIV() function
209 PRIV(strlen)(PCRE2_SPTR str) in PRIV() function
229 PRIV(strcpy_c8)(PCRE2_UCHAR *str1, const char *str2) in PRIV() function
Dpcre2_ord2utf.c59 PRIV(ord2utf)(uint32_t cvalue, PCRE2_UCHAR *buffer) in PRIV() function
81 PRIV(ord2utf)(uint32_t cvalue, PCRE2_UCHAR *buffer) in PRIV() function
87 for (i = 0; i < PRIV(utf8_table1_size); i++) in PRIV()
88 if ((int)cvalue <= PRIV(utf8_table1)[i]) break; in PRIV()
95 *buffer = PRIV(utf8_table2)[i] | cvalue; in PRIV()
Dpcre2_internal.h176 #ifndef PRIV
177 #define PRIV(name) _pcre2_##name macro
198 #define memmove(a, b, c) PRIV(memmove)(a, b, c)
482 PRIV(is_newline)((p), NLBLOCK->nltype, NLBLOCK->PSEND, \
496 PRIV(was_newline)((p), NLBLOCK->nltype, NLBLOCK->PSSTART, \
1807 #define REAL_GET_UCD(ch) (PRIV(ucd_records) + \
1808 PRIV(ucd_stage2)[PRIV(ucd_stage1)[(int)(ch) / UCD_BLOCK_SIZE] * \
1813 PRIV(dummy_ucd_record) : REAL_GET_UCD(ch))
1820 #define UCD_CATEGORY(ch) PRIV(ucp_gentype)[UCD_CHARTYPE(ch)]
1862 extern const int PRIV(utf8_table1)[];
[all …]
Dpcre2_context.c86 PRIV(memctl_malloc)(size_t size, pcre2_memctl *memctl) in PRIV() function
133 const pcre2_compile_context PRIV(default_compile_context) = {
137 PRIV(default_tables), /* Character tables */
150 pcre2_compile_context *ccontext = PRIV(memctl_malloc)( in pcre2_compile_context_create()
153 *ccontext = PRIV(default_compile_context); in pcre2_compile_context_create()
163 const pcre2_match_context PRIV(default_match_context) = {
184 pcre2_match_context *mcontext = PRIV(memctl_malloc)( in pcre2_match_context_create()
187 *mcontext = PRIV(default_match_context); in pcre2_match_context_create()
197 const pcre2_convert_context PRIV(default_convert_context) = {
214 pcre2_convert_context *ccontext = PRIV(memctl_malloc)( in pcre2_convert_context_create()
[all …]
Dpcre2_jit_misc.c53 PRIV(jit_free_rodata)(void *current, void *allocator_data) in PRIV() function
78 PRIV(jit_free)(void *executable_jit, pcre2_memctl *memctl) in PRIV() function
93 PRIV(jit_free_rodata)(functions->read_only_data_heads[i], allocator_data); in PRIV()
145 jit_stack = PRIV(memctl_malloc)(sizeof(pcre2_real_jit_stack), (pcre2_memctl *)gcontext); in pcre2_jit_stack_create()
205 PRIV(jit_get_target)(void) in PRIV() function
220 PRIV(jit_get_size)(void *executable_jit) in PRIV() function
Dpcre2_config.c157 const char *v = PRIV(jit_get_target)(); in pcre2_config()
159 strlen(v) : PRIV(strcpy_c8)((PCRE2_UCHAR *)where, v))); in pcre2_config()
203 const char *v = PRIV(unicode_version); in pcre2_config()
208 strlen(v) : PRIV(strcpy_c8)((PCRE2_UCHAR *)where, v))); in pcre2_config()
245 strlen(v) : PRIV(strcpy_c8)((PCRE2_UCHAR *)where, v))); in pcre2_config()
Dpcre2_script_run.c85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in PRIV() function
258 const uint8_t *list = PRIV(ucd_script_sets) - scriptx; in PRIV()
263 require_list = PRIV(ucd_script_sets) - scriptx; in PRIV()
403 if (c <= PRIV(ucd_digit_sets)[1]) digitset = 1; else in PRIV()
407 int top = PRIV(ucd_digit_sets)[0]; in PRIV()
416 if (c <= PRIV(ucd_digit_sets)[mid]) top = mid; else bot = mid; in PRIV()
Dpcre2_auto_possess.c210 return (pdata == PRIV(ucp_gentype)[prop->chartype]) == negated; in check_char_prop()
221 return (PRIV(ucp_gentype)[prop->chartype] == ucp_L || in check_char_prop()
222 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == negated; in check_char_prop()
237 return (PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == negated; in check_char_prop()
242 return (PRIV(ucp_gentype)[prop->chartype] == ucp_L || in check_char_prop()
243 PRIV(ucp_gentype)[prop->chartype] == ucp_N || in check_char_prop()
247 p = PRIV(ucd_caseless_sets) + prop->caseset; in check_char_prop()
431 clist_src = PRIV(ucd_caseless_sets) + code[1]; in get_chr_property_list()
555 code += PRIV(OP_lengths)[c]; in compare_opcodes()
642 code += PRIV(OP_lengths)[c]; in compare_opcodes()
[all …]
Dpcre2_study.c276 cc += PRIV(OP_lengths)[*cc]; in find_minlength()
289 cc += PRIV(OP_lengths)[*cc]; in find_minlength()
400 cc += PRIV(OP_lengths)[op]; in find_minlength()
408 cc += PRIV(OP_lengths)[op]; in find_minlength()
422 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength()
424 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength()
496 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength()
502 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength()
557 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength()
562 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength()
[all …]
Dpcre2_find_bracket.c70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) in PRIV() function
91 code += PRIV(OP_lengths)[c]; in PRIV()
101 code += PRIV(OP_lengths)[c]; in PRIV()
144 code += PRIV(OP_lengths)[c]; in PRIV()
Dpcre2_printint.c143 int a = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes */ in print_char()
145 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()
282 const uint32_t *p = PRIV(ucd_caseless_sets) + code[2]; in print_prop()
622 for (i = 0; PRIV(callout_start_delims)[i] != 0; i++) in pcre2_printint()
623 if (c == PRIV(callout_start_delims)[i]) in pcre2_printint()
625 c = PRIV(callout_end_delims)[i]; in pcre2_printint()
Dpcre2_extuni.c60 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() function
92 PRIV(extuni)(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, in PRIV() function
103 if ((PRIV(ucp_gbtable)[lgb] & (1u << rgb)) == 0) break; in PRIV()
Dpcre2_pattern_info.c192 PRIV(jit_get_size)(re->executable_jit) : 0; in pcre2_pattern_info()
361 cc += PRIV(OP_lengths)[*cc]; in pcre2_callout_enumerate()
380 cc += PRIV(OP_lengths)[*cc]; in pcre2_callout_enumerate()
397 cc += PRIV(OP_lengths)[*cc] + cc[1]; in pcre2_callout_enumerate()
409 cc += PRIV(OP_lengths)[*cc]; in pcre2_callout_enumerate()
426 cc += PRIV(OP_lengths)[*cc]; in pcre2_callout_enumerate()
/third_party/glib/glib/pcre/
Dpcre_xclass.c65 PRIV(xclass)(int c, const pcre_uchar *data, BOOL utf) in PRIV() function
142 if ((data[1] == PRIV(ucp_gentype)[chartype]) == (t == XCL_PROP)) in PRIV()
155 if ((PRIV(ucp_gentype)[chartype] == ucp_L || in PRIV()
156 PRIV(ucp_gentype)[chartype] == ucp_N) == (t == XCL_PROP)) in PRIV()
161 if ((PRIV(ucp_gentype)[chartype] == ucp_Z || in PRIV()
168 if ((PRIV(ucp_gentype)[chartype] == ucp_Z || in PRIV()
175 if ((PRIV(ucp_gentype)[chartype] == ucp_L || in PRIV()
176 PRIV(ucp_gentype)[chartype] == ucp_N || c == CHAR_UNDERSCORE) in PRIV()
Dpcre_internal.h294 PRIV(is_newline)((p), NLBLOCK->nltype, NLBLOCK->PSEND, \
308 PRIV(was_newline)((p), NLBLOCK->nltype, NLBLOCK->PSSTART, \
574 #define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3f])
2201 #ifndef PRIV
2202 #define PRIV(name) _pcre_##name macro
2209 #ifndef PRIV
2210 #define PRIV(name) _pcre16_##name macro
2236 extern const int PRIV(utf8_table1)[];
2237 extern const int PRIV(utf8_table1_size);
2238 extern const int PRIV(utf8_table2)[];
[all …]
Dpcre_string_utils.c66 PRIV(strcmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2) in PRIV() function
83 PRIV(strcmp_uc_c8)(const pcre_uchar *str1, const char *str2) in PRIV() function
112 PRIV(strncmp_uc_uc)(const pcre_uchar *str1, const pcre_uchar *str2, unsigned int num) in PRIV() function
129 PRIV(strncmp_uc_c8)(const pcre_uchar *str1, const char *str2, unsigned int num) in PRIV() function
156 PRIV(strlen_uc)(const pcre_uchar *str) in PRIV() function
Dpcre_ord2utf8.c64 PRIV(ord2utf)(pcre_uint32 cvalue, pcre_uchar *buffer) in PRIV() function
75 for (i = 0; i < PRIV(utf8_table1_size); i++) in PRIV()
76 if ((int)cvalue <= PRIV(utf8_table1)[i]) break; in PRIV()
83 *buffer = PRIV(utf8_table2)[i] | cvalue; in PRIV()
Dpcre_study.c191 cc += PRIV(OP_lengths)[*cc]; in find_minlength()
200 cc += PRIV(OP_lengths)[*cc]; in find_minlength()
311 cc += PRIV(OP_lengths)[op]; in find_minlength()
319 cc += PRIV(OP_lengths)[op]; in find_minlength()
326 cc += GET(cc, 1) - PRIV(OP_lengths)[OP_CLASS]; in find_minlength()
332 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength()
376 ce = cs = (pcre_uchar *)PRIV(find_bracket)(startcode, utf, GET2(cc, 1)); in find_minlength()
486 cc += PRIV(OP_lengths)[op]; in find_minlength()
498 cc += PRIV(OP_lengths)[op] + cc[1]; in find_minlength()
510 cc += PRIV(OP_lengths)[op]; in find_minlength()
[all …]
Dpcre_compile.c1243 top = PRIV(utt_size); in get_ucp()
1248 c = STRCMP_UC_C8(name, PRIV(utt_names) + PRIV(utt)[i].name_offset); in get_ucp()
1251 *dptr = PRIV(utt)[i].value; in get_ucp()
1252 return PRIV(utt)[i].type; in get_ucp()
1662 code += PRIV(OP_lengths)[*code]; in first_significant_code()
1676 code += PRIV(OP_lengths)[*code]; in first_significant_code()
1793 cc += PRIV(OP_lengths)[*cc]; in find_fixedlength()
1802 cc += cc[1] + PRIV(OP_lengths)[*cc]; in find_fixedlength()
1829 cc += PRIV(OP_lengths)[*cc]; in find_fixedlength()
1898 cc += GET(cc, 1) - PRIV(OP_lengths)[OP_CLASS]; in find_fixedlength()
[all …]
Dpcre_dfa_exec.c1074 OK = PRIV(ucp_gentype)[chartype] == code[2]; in internal_dfa_exec()
1088 OK = PRIV(ucp_gentype)[chartype] == ucp_L || in internal_dfa_exec()
1089 PRIV(ucp_gentype)[chartype] == ucp_N; in internal_dfa_exec()
1093 OK = PRIV(ucp_gentype)[chartype] == ucp_Z || in internal_dfa_exec()
1098 OK = PRIV(ucp_gentype)[chartype] == ucp_Z || in internal_dfa_exec()
1104 OK = PRIV(ucp_gentype)[chartype] == ucp_L || in internal_dfa_exec()
1105 PRIV(ucp_gentype)[chartype] == ucp_N || in internal_dfa_exec()
1308 OK = PRIV(ucp_gentype)[chartype] == code[3]; in internal_dfa_exec()
1322 OK = PRIV(ucp_gentype)[chartype] == ucp_L || in internal_dfa_exec()
1323 PRIV(ucp_gentype)[chartype] == ucp_N; in internal_dfa_exec()
[all …]
/third_party/pcre2/pcre2/maint/
Ducptest.c236 for (i = 0; i < PRIV(utt_size); i++) in get_scriptname()
238 u = PRIV(utt) + i; in get_scriptname()
241 if (i < PRIV(utt_size)) in get_scriptname()
242 return PRIV(utt_names) + u->name_offset; in get_scriptname()
341 const uint32_t *p = PRIV(ucd_caseless_sets) + caseset - 1; in print_prop()
358 const uint8_t *p = PRIV(ucd_script_sets) - scriptx; in print_prop()
427 for (i = 0; i < PRIV(utt_size); i++) in find_chars()
429 const ucp_type_table *u = PRIV(utt) + i; in find_chars()
431 PRIV(utt_names) + u->name_offset) == 0) in find_chars()
450 if (i >= PRIV(utt_size)) in find_chars()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/qroverlay/
Dgstbaseqroverlay.c73 #define PRIV(s) gst_base_qr_overlay_get_instance_private (GST_BASE_QR_OVERLAY (s)) macro
129 GstBaseQROverlayPrivate *priv = PRIV (self); in gst_base_qr_overlay_caps_changed_cb()
147 GstBaseQROverlayPrivate *priv = PRIV (self); in draw_overlay()
210 GstBaseQROverlayPrivate *priv = PRIV (self); in gst_base_qr_overlay_draw_cb()
258 GstBaseQROverlayPrivate *priv = PRIV (object); in gst_base_qr_overlay_dispose()
317 GstBaseQROverlayPrivate *priv = PRIV (self); in gst_base_qr_overlay_init()
354 GstBaseQROverlayPrivate *priv = PRIV (object); in gst_base_qr_overlay_set_property()
379 GstBaseQROverlayPrivate *priv = PRIV (object); in gst_base_qr_overlay_get_property()

123