/php-src/ext/reflection/tests/ |
H A D | ReflectionClassConstant_basic1.phpt | 42 private const PRIV = "keepOut"; 49 reflectClassConstant("TestClass", "PRIV"); 51 reflectClassConstant($instance, "PRIV"); 123 Reflecting on class constant TestClass::PRIV 126 string(45) "Constant [ private string PRIV ] { keepOut } 129 string(4) "PRIV" 187 Reflecting on class constant TestClass::PRIV 190 string(45) "Constant [ private string PRIV ] { keepOut } 193 string(4) "PRIV"
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_ucd.c | 71 const ucd_record PRIV(ucd_records)[] = {{0,0,0,0,0,0,0}}; 72 const uint16_t PRIV(ucd_stage1)[] = {0}; 73 const uint16_t PRIV(ucd_stage2)[] = {0}; 74 const uint32_t PRIV(ucd_caseless_sets)[] = {0}; 79 const char *PRIV(unicode_version) = "15.0.0"; 100 const ucd_record PRIV(dummy_ucd_record)[] = {{ 114 const uint32_t PRIV(ucd_caseless_sets)[] = { 154 const uint32_t PRIV(ucd_digit_sets)[] = { 171 const uint32_t PRIV(ucd_script_sets)[] = { 241 const uint32_t PRIV(ucd_boolprop_sets)[] = { [all …]
|
H A D | pcre2_ucptables.c | 546 const char PRIV(utt_names)[] = 1037 const ucp_type_table PRIV(utt)[] = { 1529 const size_t PRIV(utt_size) = sizeof(PRIV(utt)) / sizeof(ucp_type_table);
|
H A D | pcre2_valid_utf.c | 63 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV() function 94 PRIV(valid_utf)(PCRE2_SPTR string, PCRE2_SIZE length, PCRE2_SIZE *erroroffset) in PRIV() function 155 ab = PRIV(utf8_table4)[c & 0x3f]; /* Number of additional bytes (1-5) */ in PRIV()
|
H A D | pcre2_xclass.c | 69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in PRIV() function 154 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == isprop) in PRIV() 174 if ((PRIV(ucp_gentype)[chartype] == ucp_L || in PRIV() 175 PRIV(ucp_gentype)[chartype] == ucp_N) == isprop) in PRIV() 201 if ((PRIV(ucp_gentype)[chartype] == ucp_L || in PRIV() 202 PRIV(ucp_gentype)[chartype] == ucp_N || in PRIV() 227 ok = MAPBIT(PRIV(ucd_boolprop_sets) + in PRIV() 246 if ((PRIV(ucp_gentype)[chartype] != ucp_Z && in PRIV() 247 (PRIV(ucp_gentype)[chartype] != ucp_C || in PRIV() 261 (PRIV(ucp_gentype)[chartype] != ucp_C || in PRIV() [all …]
|
H A D | pcre2_match.c | 828 Fecode += PRIV(OP_lengths)[*Fecode]; in match() 2576 cp = PRIV(ucd_caseless_sets) + Fecode[2]; in match() 2879 category = PRIV(ucp_gentype)[chartype]; in match() 2962 ok = MAPBIT(PRIV(ucd_boolprop_sets) + in match() 3694 category = PRIV(ucp_gentype)[chartype]; in match() 3791 ok = MAPBIT(PRIV(ucd_boolprop_sets) + in match() 4282 category = PRIV(ucp_gentype)[chartype]; in match() 4372 ok = MAPBIT(PRIV(ucd_boolprop_sets) + in match() 5371 Fecode += PRIV(OP_lengths)[*Fecode]; in match() 6605 length = PRIV(strlen)(subject); in pcre2_match() [all …]
|
H A D | pcre2_match_data.c | 63 yield = PRIV(memctl_malloc)( in pcre2_match_data_create()
|
H A D | pcre2_printint.c | 143 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() 248 for (int i = PRIV(utt_size) - 1; i >= 0; i--) in get_ucpname() 250 const ucp_type_table *u = PRIV(utt) + i; in get_ucpname() 254 const char *s = PRIV(utt_names) + u->name_offset; in get_ucpname() 312 const uint32_t *p = PRIV(ucd_caseless_sets) + code[2]; in print_prop() 664 for (i = 0; PRIV(callout_start_delims)[i] != 0; i++) in pcre2_printint() 665 if (c == PRIV(callout_start_delims)[i]) in pcre2_printint() 667 c = PRIV(callout_end_delims)[i]; in pcre2_printint()
|
H A D | pcre2_study.c | 279 cc += PRIV(OP_lengths)[*cc]; in find_minlength() 292 cc += PRIV(OP_lengths)[*cc]; in find_minlength() 403 cc += PRIV(OP_lengths)[op]; in find_minlength() 411 cc += PRIV(OP_lengths)[op]; in find_minlength() 425 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength() 427 cc += PRIV(OP_lengths)[OP_CLASS]; in find_minlength() 726 cc += PRIV(OP_lengths)[op]; in find_minlength() 751 cc += PRIV(OP_lengths)[op]; in find_minlength() 827 (void)PRIV(ord2utf)(c, buff); in set_table_bit() 881 (void)PRIV(ord2utf)(c, buff); in set_type_bits() [all …]
|
H A D | pcre2_substring.c | 217 yield = PRIV(memctl_malloc)(sizeof(pcre2_memctl) + in pcre2_substring_get_bynumber() 400 memp = PRIV(memctl_malloc)(size, (pcre2_memctl *)match_data); in pcre2_substring_list_get() 495 int c = PRIV(strcmp)(stringname, entry + IMM2_SIZE); in pcre2_substring_nametable_scan() 505 if (PRIV(strcmp)(stringname, (first - entrysize + IMM2_SIZE)) != 0) break; in pcre2_substring_nametable_scan() 510 if (PRIV(strcmp)(stringname, (last + entrysize + IMM2_SIZE)) != 0) break; in pcre2_substring_nametable_scan()
|
H A D | pcre2_jit_compile.c | 1010 return cc + PRIV(OP_lengths)[*cc]; in next_opcode() 1068 cc += PRIV(OP_lengths)[*cc]; in next_opcode() 1088 return cc + PRIV(OP_lengths)[*cc] - 1; in next_opcode() 7713 other_cases = PRIV(ucd_caseless_sets) + cc[1]; in compile_xclass_matchingpath() 7744 …items = UCPCAT_RANGE(PRIV(ucp_typerange)[(int)cc[1] * 2], PRIV(ucp_typerange)[(int)cc[1] * 2 + 1]); in compile_xclass_matchingpath() 8712 if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) in do_extuni_utf() 8780 if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) in do_extuni_utf_invalid() 8848 if ((PRIV(ucp_gbtable)[lgb] & (1 << rgb)) == 0) in do_extuni_no_utf() 10093 cc += PRIV(OP_lengths)[*cc]; in assert_needs_str_ptr_saving() 10651 if (PRIV(script_run)(ptr, endptr, FALSE)) in do_script_run() [all …]
|
H A D | pcre2_dfa_match.c | 362 (PCRE2_SIZE)PRIV(OP_lengths)[OP_CALLOUT] : in do_callout_dfa() 1214 PRIV(ucp_gentype)[chartype] == ucp_N; in internal_dfa_match() 1251 cp = PRIV(ucd_caseless_sets) + code[2]; in internal_dfa_match() 1270 OK = MAPBIT(PRIV(ucd_boolprop_sets) + in internal_dfa_match() 1533 cp = PRIV(ucd_caseless_sets) + code[3]; in internal_dfa_match() 1552 OK = MAPBIT(PRIV(ucd_boolprop_sets) + in internal_dfa_match() 1798 cp = PRIV(ucd_caseless_sets) + code[3]; in internal_dfa_match() 1817 OK = MAPBIT(PRIV(ucd_boolprop_sets) + in internal_dfa_match() 2108 OK = MAPBIT(PRIV(ucd_boolprop_sets) + in internal_dfa_match() 3409 length = PRIV(strlen)(subject); in pcre2_dfa_match() [all …]
|
H A D | pcre2_intmodedep.h | 291 #define GET_EXTRALEN(c) (PRIV(utf8_table4)[(c) & 0x3fu]) 358 PRIV(ord2utf)(c,p) : (*p = c, 1)) 464 PRIV(ord2utf)(c,p) : (*p = c, 1))
|
H A D | pcre2_find_bracket.c | 70 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()
|
H A D | pcre2_internal.h | 194 #ifndef PRIV 195 #define PRIV(name) _pcre2_##name macro 216 #define memmove(a, b, c) PRIV(memmove)(a, b, c) 1865 #define REAL_GET_UCD(ch) (PRIV(ucd_records) + \ 1866 PRIV(ucd_stage2)[PRIV(ucd_stage1)[(int)(ch) / UCD_BLOCK_SIZE] * \ 1871 PRIV(dummy_ucd_record) : REAL_GET_UCD(ch)) 1937 extern const int PRIV(utf8_table1)[]; 1939 extern const int PRIV(utf8_table2)[]; 1940 extern const int PRIV(utf8_table3)[]; 1941 extern const uint8_t PRIV(utf8_table4)[]; [all …]
|
H A D | pcre2_compile.c | 2281 top = PRIV(utt_size); in get_ucp() 2287 r = PRIV(strcmp_c8)(name, PRIV(utt_names) + PRIV(utt)[i].name_offset); in get_ucp() 2294 *pdataptr = PRIV(utt)[i].value; in get_ucp() 2297 *ptypeptr = PRIV(utt)[i].type; in get_ucp() 2301 switch (PRIV(utt)[i].type) in get_ucp() 5072 code += PRIV(OP_lengths)[*code]; in first_significant_code() 5089 code += PRIV(OP_lengths)[*code]; in first_significant_code() 7109 code += PRIV(OP_lengths)[OP_CALLOUT]; in compile_branch() 8974 code += PRIV(OP_lengths)[c]; in find_recurse() 10224 patlen = PRIV(strlen)(pattern); in pcre2_compile() [all …]
|
H A D | pcre2_context.c | 86 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 */ 152 pcre2_compile_context *ccontext = PRIV(memctl_malloc)( in pcre2_compile_context_create() 155 *ccontext = PRIV(default_compile_context); in pcre2_compile_context_create() 165 const pcre2_match_context PRIV(default_match_context) = { 186 pcre2_match_context *mcontext = PRIV(memctl_malloc)( in pcre2_match_context_create() 189 *mcontext = PRIV(default_match_context); in pcre2_match_context_create() 199 const pcre2_convert_context PRIV(default_convert_context) = { 216 pcre2_convert_context *ccontext = PRIV(memctl_malloc)( in pcre2_convert_context_create() [all …]
|
H A D | pcre2_convert.c | 1085 if (plength == PCRE2_ZERO_TERMINATED) plength = PRIV(strlen)(pattern); in pcre2_pattern_convert() 1087 (pcre2_convert_context *)(&PRIV(default_convert_context)); in pcre2_pattern_convert() 1101 rc = PRIV(valid_utf)(pattern, plength, &erroroffset); in pcre2_pattern_convert() 1153 allocated = PRIV(memctl_malloc)(sizeof(pcre2_memctl) + in pcre2_pattern_convert()
|
H A D | pcre2_auto_possess.c | 214 return (pdata == PRIV(ucp_gentype)[prop->chartype]) == negated; in check_char_prop() 230 return (PRIV(ucp_gentype)[prop->chartype] == ucp_L || in check_char_prop() 251 return (PRIV(ucp_gentype)[prop->chartype] == ucp_L || in check_char_prop() 252 PRIV(ucp_gentype)[prop->chartype] == ucp_N || in check_char_prop() 256 p = PRIV(ucd_caseless_sets) + prop->caseset; in check_char_prop() 448 clist_src = PRIV(ucd_caseless_sets) + code[1]; in get_chr_property_list() 574 code += PRIV(OP_lengths)[c]; in compare_opcodes() 665 code += PRIV(OP_lengths)[c]; in compare_opcodes() 674 code += PRIV(OP_lengths)[c]; in compare_opcodes() 706 code += PRIV(OP_lengths)[c]; in compare_opcodes() [all …]
|
H A D | pcre2_chkdint.c | 66 PRIV(ckd_smul)(PCRE2_SIZE *r, int a, int b) in PRIV() function
|
H A D | pcre2_substitute.c | 132 erc = PRIV(check_escape)(&ptr, ptrend, &ch, &errorcode, in find_text_end() 272 if (rlength == PCRE2_ZERO_TERMINATED) rlength = PRIV(strlen)(replacement); in pcre2_substitute() 341 length = subject? PRIV(strlen)(subject) : 0; in pcre2_substitute() 348 rc = PRIV(valid_utf)(replacement, rlength, &(match_data->startchar)); in pcre2_substitute() 661 if (PRIV(strcmp_c8)(name, STRING_MARK) == 0) in pcre2_substitute() 787 if (PRIV(ucp_gentype)[type] == ucp_L && in pcre2_substitute() 803 if (utf) chlen = PRIV(ord2utf)(ch, temp); else in pcre2_substitute() 853 rc = PRIV(check_escape)(&ptr, repend, &ch, &errorcode, in pcre2_substitute() 889 if (PRIV(ucp_gentype)[type] == ucp_L && in pcre2_substitute() 905 if (utf) chlen = PRIV(ord2utf)(ch, temp); else in pcre2_substitute()
|
H A D | pcre2_jit_misc.c | 53 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() 147 jit_stack = PRIV(memctl_malloc)(sizeof(pcre2_real_jit_stack), (pcre2_memctl *)gcontext); in pcre2_jit_stack_create() 207 PRIV(jit_get_target)(void) in PRIV() function 222 PRIV(jit_get_size)(void *executable_jit) in PRIV() function
|
H A D | pcre2_newline.c | 79 PRIV(is_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR endptr, in PRIV() function 169 PRIV(was_newline)(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR startptr, in PRIV() function
|
H A D | pcre2_ord2utf.c | 59 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()
|
H A D | pcre2_pattern_info.c | 192 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()
|