/PHP-5.4/ext/mbstring/oniguruma/ |
H A D | regcomp.c | 4686 reg->exact_end = reg->exact + e->len; in set_optimize_exact_info() 4694 reg->exact_end = reg->exact + e->len; in set_optimize_exact_info() 4697 ONIGENC_IS_ALLOWED_REVERSE_MATCH(reg->enc, reg->exact, reg->exact_end); in set_optimize_exact_info() 4700 r = set_bm_skip(reg->exact, reg->exact_end, reg->enc, in set_optimize_exact_info() 4701 reg->map, &(reg->int_map)); in set_optimize_exact_info() 4716 reg->threshold_len = reg->dmin + (reg->exact_end - reg->exact); in set_optimize_exact_info() 4735 reg->threshold_len = reg->dmin + 1; in set_optimize_map_info() 5015 (reg) = (reg)->chain;\ 5086 xmemcpy(reg->p, from->p, reg->alloc); 5093 xmemcpy(reg->exact, from->exact, reg->exact_end - reg->exact); [all …]
|
H A D | regposix.c | 35 #define ONIG_C(reg) ((onig_regex_t* )((reg)->onig)) argument 36 #define PONIG_C(reg) ((onig_regex_t** )(&(reg)->onig)) argument 151 reg->comp_options = posix_options; in regcomp() 161 reg->re_nsub = ONIG_C(reg)->num_mem; in regcomp() 216 if (reg->re_nsub > nmatch - 1) in regexec() 224 regfree(regex_t* reg) in regfree() argument 226 onig_free(ONIG_C(reg)); in regfree() 272 regex_t* reg; member 286 reg_foreach_name(regex_t* reg, in reg_foreach_name() argument 293 warg.reg = reg; in reg_foreach_name() [all …]
|
H A D | reggnu.c | 44 re_adjust_startpos(regex_t* reg, const char* string, int size, in re_adjust_startpos() argument 52 p = onigenc_get_right_adjust_char_head(reg->enc, (UChar* )string, s); in re_adjust_startpos() 55 p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s); in re_adjust_startpos() 64 re_match(regex_t* reg, const char* str, int size, int pos, in re_match() argument 67 return onig_match(reg, (UChar* )str, (UChar* )(str + size), in re_match() 109 r = onig_recompile(reg, (UChar* )pattern, (UChar* )(pattern + size), in re_recompile_pattern() 110 reg->options, enc, OnigDefaultSyntax, &einfo); in re_recompile_pattern() 120 re_free_pattern(regex_t* reg) in re_free_pattern() argument 122 onig_free(reg); in re_free_pattern() 126 re_alloc_pattern(regex_t** reg) in re_alloc_pattern() argument [all …]
|
H A D | regexec.c | 1242 ta.reg = reg; in onig_exec_trap() 1448 n = reg->num_repeat + reg->num_mem * 2; in match_at() 3322 p = slow_search(reg->enc, reg->exact, reg->exact_end, p, end, range); in forward_search_range() 3325 p = slow_search_ic(reg->enc, reg->ambig_flag, in forward_search_range() 3330 p = bm_search(reg, reg->exact, reg->exact_end, p, end, range); in forward_search_range() 3334 p = bm_search_notrev(reg, reg->exact, reg->exact_end, p, end, range); in forward_search_range() 3338 p = map_search(reg->enc, reg->map, p, range); in forward_search_range() 3441 p = slow_search_backward(reg->enc, reg->exact, reg->exact_end, in backward_search_range() 3446 p = slow_search_backward_ic(reg->enc, reg->ambig_flag, in backward_search_range() 3457 r = set_bm_backward_skip(reg->exact, reg->exact_end, reg->enc, in backward_search_range() [all …]
|
H A D | onigposix.h | 154 ONIG_EXTERN int regcomp P_((regex_t* reg, const char* pat, int options)); 155 ONIG_EXTERN int regexec P_((regex_t* reg, const char* str, size_t nmatch, regmatch_t* matches, i… 156 ONIG_EXTERN void regfree P_((regex_t* reg)); 157 ONIG_EXTERN size_t regerror P_((int code, const regex_t* reg, char* buf, size_t size)); 161 ONIG_EXTERN int reg_name_to_group_numbers P_((regex_t* reg, const unsigned char* name, const unsig… 162 ONIG_EXTERN int reg_foreach_name P_((regex_t* reg, int (*func)(const unsigned char*, const unsigne… 163 ONIG_EXTERN int reg_number_of_names P_((regex_t* reg));
|
H A D | regext.c | 163 onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end, in onig_new_deluxe() argument 181 r = onig_alloc_init(reg, ci->option, ci->ambig_flag, ci->target_enc, in onig_new_deluxe() 185 r = onig_compile(*reg, cpat, cpat_end, einfo); in onig_new_deluxe() 187 onig_free(*reg); in onig_new_deluxe() 188 *reg = NULL; in onig_new_deluxe() 199 onig_recompile_deluxe(regex_t* reg, const UChar* pattern, const UChar* pattern_end, in onig_recompile_deluxe() argument 207 if (ONIG_STATE(reg) == ONIG_STATE_NORMAL) { in onig_recompile_deluxe() 208 onig_transfer(reg, new_reg); in onig_recompile_deluxe() 211 onig_chain_link_add(reg, new_reg); in onig_recompile_deluxe()
|
H A D | regint.h | 137 #define ONIG_STATE_INC(reg) (reg)->state++ argument 138 #define ONIG_STATE_DEC(reg) (reg)->state-- argument 140 #define ONIG_STATE_INC_THREAD(reg) do {\ argument 142 (reg)->state++;\ 145 #define ONIG_STATE_DEC_THREAD(reg) do {\ argument 147 (reg)->state--;\ 151 #define ONIG_STATE_INC(reg) /* Nothing */ argument 152 #define ONIG_STATE_DEC(reg) /* Nothing */ argument 153 #define ONIG_STATE_INC_THREAD(reg) /* Nothing */ argument 154 #define ONIG_STATE_DEC_THREAD(reg) /* Nothing */ argument [all …]
|
H A D | oniguruma.h | 736 #define ONIG_STATE(reg) \ argument 737 ((reg)->state > 0 ? ONIG_STATE_SEARCHING : (reg)->state) 837 int onig_name_to_group_numbers P_((OnigRegex reg, const OnigUChar* name, const OnigUChar* name_end,… 843 int onig_number_of_names P_((OnigRegex reg)); 845 int onig_number_of_captures P_((OnigRegex reg)); 847 int onig_number_of_capture_histories P_((OnigRegex reg)); 853 int onig_noname_group_capture_is_active P_((OnigRegex reg)); 855 OnigEncoding onig_get_encoding P_((OnigRegex reg)); 857 OnigOptionType onig_get_options P_((OnigRegex reg)); 859 OnigAmbigType onig_get_ambig_flag P_((OnigRegex reg)); [all …]
|
H A D | regparse.c | 457 names_clear(regex_t* reg) in names_clear() argument 473 r = names_clear(reg); in onig_names_free() 497 regex_t* reg; member 511 arg->reg, arg->arg); in i_names() 530 narg.reg = reg; in onig_foreach_name() 623 names_clear(regex_t* reg) in names_clear() argument 657 r = names_clear(reg); in onig_names_free() 662 reg->name_table = NULL; in onig_names_free() 698 reg, arg); in onig_foreach_name() 5265 names_clear(reg); in onig_parse_make_tree() [all …]
|
/PHP-5.4/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativePPC_64.c | 42 push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1)) 77 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(tmp >> 32))); in load_immediate() 89 return push_inst(compiler, ORI | S(reg) | A(reg) | tmp2); in load_immediate() 95 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | (tmp2 >> 16))); in load_immediate() 107 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | (tmp2 >> 48))); in load_immediate() 113 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm >> 32))); in load_immediate() 115 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(imm >> 16))); in load_immediate() 116 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)); in load_immediate() 395 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value >> 32))); in emit_const() 397 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(init_value >> 16))); in emit_const() [all …]
|
H A D | sljitNativeARM_T2_32.c | 516 sljit_si reg; in emit_op_imm() local 527 reg = (flags & ARG2_IMM) ? arg1 : arg2; in emit_op_imm() 551 if (reg == dst) { in emit_op_imm() 588 if (reg == dst) { in emit_op_imm() 644 if (IS_2_LO_REGS(dst, reg)) in emit_op_imm() 925 if (!argw && IS_3_LO_REGS(reg, arg, other_r)) in getput_arg_fast() 1014 tmp_r = (flags & STORE) ? TMP_REG3 : reg; in getput_arg() 1052 if (!argw && IS_3_LO_REGS(reg, arg, other_r)) { in getput_arg() 1112 if (getput_arg_fast(compiler, flags, reg, arg, argw)) in emit_op_mem() 1497 return reg_map[reg]; in sljit_get_register_index() [all …]
|
H A D | sljitNativeARM_32.c | 1284 FAIL_IF(push_inst(compiler, EMIT_DATA_PROCESS_INS(positive ? ORR_DP : BIC_DP, 0, reg, reg, imm2))); in generate_int() 1309 FAIL_IF(generate_int(compiler, reg, imm, 1)); in load_immediate() 1310 FAIL_IF(generate_int(compiler, reg, ~imm, 0)); in load_immediate() 1315 return emit_imm(compiler, reg, imm); in load_immediate() 1449 if (reg == tmp_r) { \ 1454 reg = TMP_REG3; \ 1468 return load_immediate(compiler, reg, argw); in getput_arg() 1962 return reg_map[reg]; in sljit_get_register_index() 1968 return reg << 1; in sljit_get_float_register_index() 2519 sljit_si reg; in sljit_emit_const() local [all …]
|
H A D | sljitNativeARM_64.c | 523 sljit_si reg; in emit_op_imm() local 538 reg = (flags & ARG2_IMM) ? arg1 : arg2; in emit_op_imm() 867 | RT(reg) | RN(arg) | (argw << (10 - shift)))); in getput_arg_fast() 878 | RT(reg) | RN(arg) | ((argw & 0x1ff) << 12))); in getput_arg_fast() 922 tmp_r = (flags & STORE) ? TMP_REG3 : reg; in getput_arg() 974 if (arg != reg) { in getput_arg() 994 | RT(reg) | RN(TMP_REG3) | ((diff & 0x1ff) << 12)); in getput_arg() 1045 if (getput_arg_fast(compiler, flags, reg, arg, argw)) in emit_op_mem() 1495 CHECK_REG_INDEX(check_sljit_get_register_index(reg)); in sljit_get_register_index() 1496 return reg_map[reg]; in sljit_get_register_index() [all …]
|
H A D | sljitNativePPC_common.c | 718 ((inst) | (((flags) & MEM_MASK) <= GPR_REG ? D(reg) : FD(reg))) 1005 FAIL_IF(push_inst(compiler, OR | S(reg) | A(tmp_r) | B(reg))); in getput_arg() 1006 reg = tmp_r; in getput_arg() 1667 return reg; in sljit_get_float_register_index() 2253 INVERT_BIT(reg); in sljit_emit_op_flags() 2264 INVERT_BIT(reg); in sljit_emit_op_flags() 2275 INVERT_BIT(reg); in sljit_emit_op_flags() 2284 INVERT_BIT(reg); in sljit_emit_op_flags() 2293 INVERT_BIT(reg); in sljit_emit_op_flags() 2304 INVERT_BIT(reg); in sljit_emit_op_flags() [all …]
|
H A D | sljitNativePPC_32.c | 29 static sljit_si load_immediate(struct sljit_compiler *compiler, sljit_si reg, sljit_sw imm) in load_immediate() argument 32 return push_inst(compiler, ADDI | D(reg) | A(0) | IMM(imm)); in load_immediate() 35 return push_inst(compiler, ORI | S(TMP_ZERO) | A(reg) | IMM(imm)); in load_immediate() 37 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(imm >> 16))); in load_immediate() 38 return (imm & 0xffff) ? push_inst(compiler, ORI | S(reg) | A(reg) | IMM(imm)) : SLJIT_SUCCESS; in load_immediate() 247 static SLJIT_INLINE sljit_si emit_const(struct sljit_compiler *compiler, sljit_si reg, sljit_sw ini… in emit_const() argument 249 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 16))); in emit_const() 250 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
|
H A D | sljitNativeSPARC_common.c | 520 | ((flags & MEM_MASK) <= GPR_REG ? D(reg) : DA(reg)) in getput_arg_fast() 577 …else if ((flags & LOAD_DATA) && ((flags & MEM_MASK) <= GPR_REG) && reg != base && reg != OFFS_REG(… in getput_arg() 578 arg2 = reg; in getput_arg() 599 arg2 = reg; in getput_arg() 606 dest = ((flags & MEM_MASK) <= GPR_REG ? D(reg) : DA(reg)); in getput_arg() 618 if (getput_arg_fast(compiler, flags, reg, arg, argw)) in emit_op_mem() 915 return reg_map[reg]; in sljit_get_register_index() 921 return reg << 1; in sljit_get_float_register_index() 1412 sljit_si reg; in sljit_emit_const() local 1423 reg = SLOW_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const() [all …]
|
/PHP-5.4/ext/mbstring/oniguruma/doc/ |
H A D | API | 188 1 reg: regex object. 200 1 reg: regex object 224 1 reg: regex object 289 1 reg: regex object. 305 1 reg: regex object. 321 1 reg: regex object. 335 1 reg: regex object. 346 1 reg: regex object. 354 1 reg: regex object. 365 1 reg: regex object. [all …]
|
/PHP-5.4/ext/mbstring/tests/ |
H A D | mb_ereg.phpt | 20 …ntf( "(%d)%s\n", mb_ereg( $pat, $str, $reg ), ( is_array( $reg )? bin2hex(mb_convert_encoding( imp…
|
H A D | mb_ereg_search.phpt | 12 $reg = "\w+"; 16 mb_ereg_search_init($str, $reg);
|
H A D | mb_ereg_replace-compat-13.phpt | 10 /* (counterpart: ext/standard/tests/reg/016.phpt) */
|
H A D | mb_ereg_replace-compat-12.phpt | 10 /* (counterpart: ext/standard/tests/reg/015.phpt) */
|
H A D | mb_ereg_replace-compat-02.phpt | 10 /* (counterpart: ext/standard/tests/reg/002.phpt) */
|
H A D | mb_ereg_replace-compat-03.phpt | 10 /* (counterpart: ext/standard/tests/reg/003.phpt) */
|
H A D | mb_ereg_replace-compat-01.phpt | 10 /* (counterpart: ext/standard/tests/reg/001.phpt) */
|
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_phpinfo.phpt | 21 $reg = 'Client API version.*' . preg_quote($db->getAttribute(PDO::ATTR_CLIENT_VERSION), '/'); 23 if (!preg_match("/$reg/", $tmp)) {
|