MBREX             140 ext/mbstring/php_mbregex.c 	MBREX(current_mbctype) = MBREX(default_mbctype);
MBREX             142 ext/mbstring/php_mbregex.c 	if (MBREX(search_str) != NULL) {
MBREX             143 ext/mbstring/php_mbregex.c 		zval_ptr_dtor(&MBREX(search_str));
MBREX             144 ext/mbstring/php_mbregex.c 		MBREX(search_str) = (zval *)NULL;
MBREX             146 ext/mbstring/php_mbregex.c 	MBREX(search_pos) = 0;
MBREX             148 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs) != NULL) {
MBREX             149 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX             150 ext/mbstring/php_mbregex.c 		MBREX(search_regs) = (OnigRegion *)NULL;
MBREX             152 ext/mbstring/php_mbregex.c 	zend_hash_clean(&MBREX(ht_rc));
MBREX             413 ext/mbstring/php_mbregex.c 	MBREX(current_mbctype) = mbctype;
MBREX             425 ext/mbstring/php_mbregex.c 	MBREX(default_mbctype) = mbctype;
MBREX             433 ext/mbstring/php_mbregex.c 	return _php_mb_regex_mbctype2name(MBREX(current_mbctype));
MBREX             440 ext/mbstring/php_mbregex.c 	return _php_mb_regex_mbctype2name(MBREX(default_mbctype));
MBREX             456 ext/mbstring/php_mbregex.c 	found = zend_hash_find(&MBREX(ht_rc), (char *)pattern, patlen+1, (void **) &rc);
MBREX             464 ext/mbstring/php_mbregex.c 		zend_hash_update(&MBREX(ht_rc), (char *) pattern, patlen + 1, (void *) &retval, sizeof(retval), NULL);
MBREX             668 ext/mbstring/php_mbregex.c 		const char *retval = _php_mb_regex_mbctype2name(MBREX(current_mbctype));
MBREX             683 ext/mbstring/php_mbregex.c 		MBREX(current_mbctype) = mbctype;
MBREX             707 ext/mbstring/php_mbregex.c 	options = MBREX(regex_default_options);
MBREX             728 ext/mbstring/php_mbregex.c 	re = php_mbregex_compile_pattern(Z_STRVAL_PP(arg_pattern), Z_STRLEN_PP(arg_pattern), options, MBREX(current_mbctype), MBREX(regex_default_syntax) TSRMLS_CC);
MBREX             820 ext/mbstring/php_mbregex.c 		current_enc_name = _php_mb_regex_mbctype2name(MBREX(current_mbctype));
MBREX             853 ext/mbstring/php_mbregex.c 			options |= MBREX(regex_default_options);
MBREX             854 ext/mbstring/php_mbregex.c 			syntax = MBREX(regex_default_syntax);
MBREX             870 ext/mbstring/php_mbregex.c 	re = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, options, MBREX(current_mbctype), syntax TSRMLS_CC);
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) TSRMLS_CC)) == 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 TSRMLS_CC)) == NULL) {
MBREX            1192 ext/mbstring/php_mbregex.c 	option = MBREX(regex_default_options);
MBREX            1201 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) TSRMLS_CC)) == NULL) {
MBREX            1206 ext/mbstring/php_mbregex.c 	pos = MBREX(search_pos);
MBREX            1209 ext/mbstring/php_mbregex.c 	if (MBREX(search_str) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING){
MBREX            1210 ext/mbstring/php_mbregex.c 		str = (OnigUChar *)Z_STRVAL_P(MBREX(search_str));
MBREX            1211 ext/mbstring/php_mbregex.c 		len = Z_STRLEN_P(MBREX(search_str));
MBREX            1214 ext/mbstring/php_mbregex.c 	if (MBREX(search_re) == NULL) {
MBREX            1224 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs)) {
MBREX            1225 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX            1227 ext/mbstring/php_mbregex.c 	MBREX(search_regs) = onig_region_new();
MBREX            1229 ext/mbstring/php_mbregex.c 	err = onig_search(MBREX(search_re), str, str + len, str + pos, str  + len, MBREX(search_regs), 0);
MBREX            1231 ext/mbstring/php_mbregex.c 		MBREX(search_pos) = len;
MBREX            1239 ext/mbstring/php_mbregex.c 		if (MBREX(search_regs)->beg[0] == MBREX(search_regs)->end[0]) {
MBREX            1245 ext/mbstring/php_mbregex.c 			beg = MBREX(search_regs)->beg[0];
MBREX            1246 ext/mbstring/php_mbregex.c 			end = MBREX(search_regs)->end[0];
MBREX            1252 ext/mbstring/php_mbregex.c 			n = MBREX(search_regs)->num_regs;
MBREX            1254 ext/mbstring/php_mbregex.c 				beg = MBREX(search_regs)->beg[i];
MBREX            1255 ext/mbstring/php_mbregex.c 				end = MBREX(search_regs)->end[i];
MBREX            1267 ext/mbstring/php_mbregex.c 		end = MBREX(search_regs)->end[0];
MBREX            1269 ext/mbstring/php_mbregex.c 			MBREX(search_pos) = end;
MBREX            1271 ext/mbstring/php_mbregex.c 			MBREX(search_pos) = pos + 1;
MBREX            1276 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX            1277 ext/mbstring/php_mbregex.c 		MBREX(search_regs) = (OnigRegion *)NULL;
MBREX            1326 ext/mbstring/php_mbregex.c 	option = MBREX(regex_default_options);
MBREX            1327 ext/mbstring/php_mbregex.c 	syntax = MBREX(regex_default_syntax);
MBREX            1336 ext/mbstring/php_mbregex.c 		if ((MBREX(search_re) = php_mbregex_compile_pattern(arg_pattern, arg_pattern_len, option, MBREX(current_mbctype), syntax TSRMLS_CC)) == NULL) {
MBREX            1341 ext/mbstring/php_mbregex.c 	if (MBREX(search_str) != NULL) {
MBREX            1342 ext/mbstring/php_mbregex.c 		zval_ptr_dtor(&MBREX(search_str));
MBREX            1343 ext/mbstring/php_mbregex.c 		MBREX(search_str) = (zval *)NULL;
MBREX            1346 ext/mbstring/php_mbregex.c 	MBREX(search_str) = arg_str;
MBREX            1347 ext/mbstring/php_mbregex.c 	Z_ADDREF_P(MBREX(search_str));
MBREX            1348 ext/mbstring/php_mbregex.c 	SEPARATE_ZVAL_IF_NOT_REF(&MBREX(search_str));
MBREX            1350 ext/mbstring/php_mbregex.c 	MBREX(search_pos) = 0;
MBREX            1352 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs) != NULL) {
MBREX            1353 ext/mbstring/php_mbregex.c 		onig_region_free(MBREX(search_regs), 1);
MBREX            1354 ext/mbstring/php_mbregex.c 		MBREX(search_regs) = (OnigRegion *) NULL;
MBREX            1368 ext/mbstring/php_mbregex.c 	if (MBREX(search_regs) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && Z_STRVAL_P(MBREX(search_str)) != NULL) {
MBREX            1371 ext/mbstring/php_mbregex.c 		str = (OnigUChar *)Z_STRVAL_P(MBREX(search_str));
MBREX            1372 ext/mbstring/php_mbregex.c 		len = Z_STRLEN_P(MBREX(search_str));
MBREX            1373 ext/mbstring/php_mbregex.c 		n = MBREX(search_regs)->num_regs;
MBREX            1375 ext/mbstring/php_mbregex.c 			beg = MBREX(search_regs)->beg[i];
MBREX            1376 ext/mbstring/php_mbregex.c 			end = MBREX(search_regs)->end[i];
MBREX            1393 ext/mbstring/php_mbregex.c 	RETVAL_LONG(MBREX(search_pos));
MBREX            1407 ext/mbstring/php_mbregex.c 	if (position < 0 || (MBREX(search_str) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && position >= Z_STRLEN_P(MBREX(search_str)))) {
MBREX            1409 ext/mbstring/php_mbregex.c 		MBREX(search_pos) = 0;
MBREX            1413 ext/mbstring/php_mbregex.c 	MBREX(search_pos) = position;
MBREX            1422 ext/mbstring/php_mbregex.c 		*prev_options = MBREX(regex_default_options);
MBREX            1425 ext/mbstring/php_mbregex.c 		*prev_syntax = MBREX(regex_default_syntax);
MBREX            1427 ext/mbstring/php_mbregex.c 	MBREX(regex_default_options) = options;
MBREX            1428 ext/mbstring/php_mbregex.c 	MBREX(regex_default_syntax) = syntax;
MBREX            1452 ext/mbstring/php_mbregex.c 		opt = MBREX(regex_default_options);
MBREX            1453 ext/mbstring/php_mbregex.c 		syntax = MBREX(regex_default_syntax);