Lines Matching refs:search_regs
50 OnigRegion *search_regs; member
73 pglobals->search_regs = (OnigRegion*)NULL; in _php_mb_regex_globals_ctor()
148 if (MBREX(search_regs) != NULL) { in PHP_RSHUTDOWN_FUNCTION()
149 onig_region_free(MBREX(search_regs), 1); in PHP_RSHUTDOWN_FUNCTION()
150 MBREX(search_regs) = (OnigRegion *)NULL; in PHP_RSHUTDOWN_FUNCTION()
1227 if (MBREX(search_regs)) { in _php_mb_regex_ereg_search_exec()
1228 onig_region_free(MBREX(search_regs), 1); in _php_mb_regex_ereg_search_exec()
1230 MBREX(search_regs) = onig_region_new(); in _php_mb_regex_ereg_search_exec()
1232 err = onig_search(MBREX(search_re), str, str + len, str + pos, str + len, MBREX(search_regs), 0); in _php_mb_regex_ereg_search_exec()
1245 beg = MBREX(search_regs)->beg[0]; in _php_mb_regex_ereg_search_exec()
1246 end = MBREX(search_regs)->end[0]; in _php_mb_regex_ereg_search_exec()
1252 n = MBREX(search_regs)->num_regs; in _php_mb_regex_ereg_search_exec()
1254 beg = MBREX(search_regs)->beg[i]; in _php_mb_regex_ereg_search_exec()
1255 end = MBREX(search_regs)->end[i]; in _php_mb_regex_ereg_search_exec()
1267 end = MBREX(search_regs)->end[0]; in _php_mb_regex_ereg_search_exec()
1276 onig_region_free(MBREX(search_regs), 1); in _php_mb_regex_ereg_search_exec()
1277 MBREX(search_regs) = (OnigRegion *)NULL; in _php_mb_regex_ereg_search_exec()
1352 if (MBREX(search_regs) != NULL) { in PHP_FUNCTION()
1353 onig_region_free(MBREX(search_regs), 1); in PHP_FUNCTION()
1354 MBREX(search_regs) = (OnigRegion *) NULL; in PHP_FUNCTION()
1368 …if (MBREX(search_regs) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && Z_STRVAL_P(MBREX(sea… in PHP_FUNCTION()
1373 n = MBREX(search_regs)->num_regs; in PHP_FUNCTION()
1375 beg = MBREX(search_regs)->beg[i]; in PHP_FUNCTION()
1376 end = MBREX(search_regs)->end[i]; in PHP_FUNCTION()