Lines Matching refs:PCRE_G
103 PCRE_G(error_code) = preg_code; in pcre_handle_exec_error()
222 if (PCRE_G(jit) && jit_stack == NULL) { in PHP_RINIT_FUNCTION()
336 pce = zend_hash_find_ptr(&PCRE_G(pcre_cache), key); in pcre_get_compiled_regex_cache()
513 if (PCRE_G(jit)) { in pcre_get_compiled_regex_cache()
526 extra->match_limit = (unsigned long)PCRE_G(backtrack_limit); in pcre_get_compiled_regex_cache()
527 extra->match_limit_recursion = (unsigned long)PCRE_G(recursion_limit); in pcre_get_compiled_regex_cache()
529 if (PCRE_G(jit) && jit_stack) { in pcre_get_compiled_regex_cache()
549 if (!pce && zend_hash_num_elements(&PCRE_G(pcre_cache)) == PCRE_CACHE_SIZE) { in pcre_get_compiled_regex_cache()
551 zend_hash_apply_with_argument(&PCRE_G(pcre_cache), pcre_clean_cache, &num_clean); in pcre_get_compiled_regex_cache()
598 pce = zend_hash_str_update_mem(&PCRE_G(pcre_cache), in pcre_get_compiled_regex_cache()
606 pce = zend_hash_update_mem(&PCRE_G(pcre_cache), key, &new_entry, sizeof(pcre_cache_entry)); in pcre_get_compiled_regex_cache()
774 extra->match_limit = (unsigned long)PCRE_G(backtrack_limit); in php_pcre_match_impl()
775 extra->match_limit_recursion = (unsigned long)PCRE_G(recursion_limit); in php_pcre_match_impl()
812 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_match_impl()
1022 if (PCRE_G(error_code) == PHP_PCRE_NO_ERROR) { in php_pcre_match_impl()
1188 extra->match_limit = (unsigned long)PCRE_G(backtrack_limit); in php_pcre_replace_impl()
1189 extra->match_limit_recursion = (unsigned long)PCRE_G(recursion_limit); in php_pcre_replace_impl()
1234 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_replace_impl()
1805 extra->match_limit = (unsigned long)PCRE_G(backtrack_limit); in php_pcre_split_impl()
1806 extra->match_limit_recursion = (unsigned long)PCRE_G(recursion_limit); in php_pcre_split_impl()
1826 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_split_impl()
2067 extra->match_limit = (unsigned long)PCRE_G(backtrack_limit); in php_pcre_grep_impl()
2068 extra->match_limit_recursion = (unsigned long)PCRE_G(recursion_limit); in php_pcre_grep_impl()
2084 PCRE_G(error_code) = PHP_PCRE_NO_ERROR; in php_pcre_grep_impl()
2138 RETURN_LONG(PCRE_G(error_code)); in PHP_FUNCTION()