Lines Matching refs:search_regs
60 OnigRegion *search_regs; local
82 pglobals->search_regs = (OnigRegion*)NULL; in _php_mb_regex_globals_ctor()
154 if (MBREX(search_regs) != NULL) { in PHP_RSHUTDOWN_FUNCTION()
155 onig_region_free(MBREX(search_regs), 1); in PHP_RSHUTDOWN_FUNCTION()
156 MBREX(search_regs) = (OnigRegion *)NULL; in PHP_RSHUTDOWN_FUNCTION()
1345 if (MBREX(search_regs)) { in _php_mb_regex_ereg_search_exec()
1346 onig_region_free(MBREX(search_regs), 1); in _php_mb_regex_ereg_search_exec()
1347 MBREX(search_regs) = NULL; in _php_mb_regex_ereg_search_exec()
1375 MBREX(search_regs) = onig_region_new(); in _php_mb_regex_ereg_search_exec()
1377 …php_mb_onig_search(MBREX(search_re), str, str + len, str + pos, str + len, MBREX(search_regs), 0); in _php_mb_regex_ereg_search_exec()
1390 beg = MBREX(search_regs)->beg[0]; in _php_mb_regex_ereg_search_exec()
1391 end = MBREX(search_regs)->end[0]; in _php_mb_regex_ereg_search_exec()
1397 n = MBREX(search_regs)->num_regs; in _php_mb_regex_ereg_search_exec()
1399 beg = MBREX(search_regs)->beg[i]; in _php_mb_regex_ereg_search_exec()
1400 end = MBREX(search_regs)->end[i]; in _php_mb_regex_ereg_search_exec()
1412 MBREX(search_regs) in _php_mb_regex_ereg_search_exec()
1421 end = MBREX(search_regs)->end[0]; in _php_mb_regex_ereg_search_exec()
1430 onig_region_free(MBREX(search_regs), 1); in _php_mb_regex_ereg_search_exec()
1431 MBREX(search_regs) = (OnigRegion *)NULL; in _php_mb_regex_ereg_search_exec()
1504 if (MBREX(search_regs) != NULL) { in PHP_FUNCTION()
1505 onig_region_free(MBREX(search_regs), 1); in PHP_FUNCTION()
1506 MBREX(search_regs) = NULL; in PHP_FUNCTION()
1523 if (MBREX(search_regs) != NULL && Z_TYPE(MBREX(search_str)) == IS_STRING) { in PHP_FUNCTION()
1528 n = MBREX(search_regs)->num_regs; in PHP_FUNCTION()
1530 beg = MBREX(search_regs)->beg[i]; in PHP_FUNCTION()
1531 end = MBREX(search_regs)->end[i]; in PHP_FUNCTION()
1543 MBREX(search_regs) in PHP_FUNCTION()