MBREX             139 ext/mbstring/php_mbregex.c 	MBREX(current_mbctype) = MBREX(default_mbctype);
MBREX             141 ext/mbstring/php_mbregex.c 	if (!Z_ISUNDEF(MBREX(search_str))) {
MBREX             142 ext/mbstring/php_mbregex.c 		zval_ptr_dtor(&MBREX(search_str));
MBREX             143 ext/mbstring/php_mbregex.c 		ZVAL_UNDEF(&MBREX(search_str));
MBREX             145 ext/mbstring/php_mbregex.c 	MBREX(search_pos) = 0;
MBREX             147 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs) != NULL) {
MBREX             148 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX             149 ext/mbstring/php_mbregex.c 		MBREX(search_regs) = (OnigRegion *)NULL;
MBREX             151 ext/mbstring/php_mbregex.c 	zend_hash_clean(&MBREX(ht_rc));
MBREX             412 ext/mbstring/php_mbregex.c 	MBREX(current_mbctype) = mbctype;
MBREX             424 ext/mbstring/php_mbregex.c 	MBREX(default_mbctype) = mbctype;
MBREX             432 ext/mbstring/php_mbregex.c 	return _php_mb_regex_mbctype2name(MBREX(current_mbctype));
MBREX             439 ext/mbstring/php_mbregex.c 	return _php_mb_regex_mbctype2name(MBREX(default_mbctype));
MBREX             454 ext/mbstring/php_mbregex.c 	rc = zend_hash_str_find_ptr(&MBREX(ht_rc), (char *)pattern, patlen);
MBREX             462 ext/mbstring/php_mbregex.c 		zend_hash_str_update_ptr(&MBREX(ht_rc), (char *)pattern, patlen, retval);
MBREX             665 ext/mbstring/php_mbregex.c 		const char *retval = _php_mb_regex_mbctype2name(MBREX(current_mbctype));
MBREX             680 ext/mbstring/php_mbregex.c 		MBREX(current_mbctype) = mbctype;
MBREX             702 ext/mbstring/php_mbregex.c 	options = MBREX(regex_default_options);
MBREX             723 ext/mbstring/php_mbregex.c 	re = php_mbregex_compile_pattern(Z_STRVAL_P(arg_pattern), Z_STRLEN_P(arg_pattern), options, MBREX(current_mbctype), MBREX(regex_default_syntax));
MBREX             816 ext/mbstring/php_mbregex.c 		current_enc_name = _php_mb_regex_mbctype2name(MBREX(current_mbctype));
MBREX             849 ext/mbstring/php_mbregex.c 			options |= MBREX(regex_default_options);
MBREX             850 ext/mbstring/php_mbregex.c 			syntax = MBREX(regex_default_syntax);
MBREX             868 ext/mbstring/php_mbregex.c 	re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax);
MBREX            1073 ext/mbstring/php_mbregex.c 	if ((re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, MBREX(regex_default_options), MBREX(current_mbctype), MBREX(regex_default_syntax))) == NULL) {
MBREX            1156 ext/mbstring/php_mbregex.c 			option |= MBREX(regex_default_options);
MBREX            1157 ext/mbstring/php_mbregex.c 			syntax = MBREX(regex_default_syntax);
MBREX            1161 ext/mbstring/php_mbregex.c 	if ((re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax)) == NULL) {
MBREX            1191 ext/mbstring/php_mbregex.c 	option = MBREX(regex_default_options);
MBREX            1200 ext/mbstring/php_mbregex.c 		if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), MBREX(regex_default_syntax))) == NULL) {
MBREX            1205 ext/mbstring/php_mbregex.c 	pos = MBREX(search_pos);
MBREX            1208 ext/mbstring/php_mbregex.c 	if (!Z_ISUNDEF(MBREX(search_str)) && Z_TYPE(MBREX(search_str)) == IS_STRING){
MBREX            1209 ext/mbstring/php_mbregex.c 		str = (OnigUChar *)Z_STRVAL(MBREX(search_str));
MBREX            1210 ext/mbstring/php_mbregex.c 		len = Z_STRLEN(MBREX(search_str));
MBREX            1213 ext/mbstring/php_mbregex.c 	if (MBREX(search_re) == NULL) {
MBREX            1223 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs)) {
MBREX            1224 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX            1226 ext/mbstring/php_mbregex.c 	MBREX(search_regs) = onig_region_new();
MBREX            1228 ext/mbstring/php_mbregex.c 	err = onig_search(MBREX(search_re), str, str + len, str + pos, str  + len, MBREX(search_regs), 0);
MBREX            1230 ext/mbstring/php_mbregex.c 		MBREX(search_pos) = len;
MBREX            1238 ext/mbstring/php_mbregex.c 		if (MBREX(search_regs)->beg[0] == MBREX(search_regs)->end[0]) {
MBREX            1244 ext/mbstring/php_mbregex.c 			beg = MBREX(search_regs)->beg[0];
MBREX            1245 ext/mbstring/php_mbregex.c 			end = MBREX(search_regs)->end[0];
MBREX            1251 ext/mbstring/php_mbregex.c 			n = MBREX(search_regs)->num_regs;
MBREX            1253 ext/mbstring/php_mbregex.c 				beg = MBREX(search_regs)->beg[i];
MBREX            1254 ext/mbstring/php_mbregex.c 				end = MBREX(search_regs)->end[i];
MBREX            1266 ext/mbstring/php_mbregex.c 		end = MBREX(search_regs)->end[0];
MBREX            1268 ext/mbstring/php_mbregex.c 			MBREX(search_pos) = end;
MBREX            1270 ext/mbstring/php_mbregex.c 			MBREX(search_pos) = pos + 1;
MBREX            1275 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX            1276 ext/mbstring/php_mbregex.c 		MBREX(search_regs) = (OnigRegion *)NULL;
MBREX            1325 ext/mbstring/php_mbregex.c 	option = MBREX(regex_default_options);
MBREX            1326 ext/mbstring/php_mbregex.c 	syntax = MBREX(regex_default_syntax);
MBREX            1335 ext/mbstring/php_mbregex.c 		if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax)) == NULL) {
MBREX            1340 ext/mbstring/php_mbregex.c 	if (!Z_ISNULL(MBREX(search_str))) {
MBREX            1341 ext/mbstring/php_mbregex.c 		zval_ptr_dtor(&MBREX(search_str));
MBREX            1344 ext/mbstring/php_mbregex.c 	ZVAL_DUP(&MBREX(search_str), arg_str);
MBREX            1346 ext/mbstring/php_mbregex.c 	MBREX(search_pos) = 0;
MBREX            1348 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs) != NULL) {
MBREX            1349 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX            1350 ext/mbstring/php_mbregex.c 		MBREX(search_regs) = NULL;
MBREX            1364 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs) != NULL && Z_TYPE(MBREX(search_str)) == IS_STRING) {
MBREX            1367 ext/mbstring/php_mbregex.c 		str = (OnigUChar *)Z_STRVAL(MBREX(search_str));
MBREX            1368 ext/mbstring/php_mbregex.c 		len = Z_STRLEN(MBREX(search_str));
MBREX            1369 ext/mbstring/php_mbregex.c 		n = MBREX(search_regs)->num_regs;
MBREX            1371 ext/mbstring/php_mbregex.c 			beg = MBREX(search_regs)->beg[i];
MBREX            1372 ext/mbstring/php_mbregex.c 			end = MBREX(search_regs)->end[i];
MBREX            1389 ext/mbstring/php_mbregex.c 	RETVAL_LONG(MBREX(search_pos));
MBREX            1403 ext/mbstring/php_mbregex.c 	if (position < 0 || (!Z_ISUNDEF(MBREX(search_str)) && Z_TYPE(MBREX(search_str)) == IS_STRING && (size_t)position >= Z_STRLEN(MBREX(search_str)))) {
MBREX            1405 ext/mbstring/php_mbregex.c 		MBREX(search_pos) = 0;
MBREX            1409 ext/mbstring/php_mbregex.c 	MBREX(search_pos) = position;
MBREX            1418 ext/mbstring/php_mbregex.c 		*prev_options = MBREX(regex_default_options);
MBREX            1421 ext/mbstring/php_mbregex.c 		*prev_syntax = MBREX(regex_default_syntax);
MBREX            1423 ext/mbstring/php_mbregex.c 	MBREX(regex_default_options) = options;
MBREX            1424 ext/mbstring/php_mbregex.c 	MBREX(regex_default_syntax) = syntax;
MBREX            1448 ext/mbstring/php_mbregex.c 		opt = MBREX(regex_default_options);
MBREX            1449 ext/mbstring/php_mbregex.c 		syntax = MBREX(regex_default_syntax);