Lines Matching refs:rc
598 int rc; in pcre_get_compiled_regex_cache_ex() local
810 rc = pcre2_jit_compile(re, PCRE2_JIT_COMPLETE); in pcre_get_compiled_regex_cache_ex()
811 if (EXPECTED(rc >= 0)) { in pcre_get_compiled_regex_cache_ex()
816 } else if (rc == PCRE2_ERROR_NOMEMORY) { in pcre_get_compiled_regex_cache_ex()
823 pcre2_get_error_message(rc, error, sizeof(error)); in pcre_get_compiled_regex_cache_ex()
848 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &new_entry.capture_count); in pcre_get_compiled_regex_cache_ex()
849 if (rc < 0) { in pcre_get_compiled_regex_cache_ex()
853 php_error_docref(NULL, E_WARNING, "Internal pcre2_pattern_info() error %d", rc); in pcre_get_compiled_regex_cache_ex()
858 rc = pcre2_pattern_info(re, PCRE2_INFO_NAMECOUNT, &new_entry.name_count); in pcre_get_compiled_regex_cache_ex()
859 if (rc < 0) { in pcre_get_compiled_regex_cache_ex()
863 php_error_docref(NULL, E_WARNING, "Internal pcre_pattern_info() error %d", rc); in pcre_get_compiled_regex_cache_ex()
944 int rc = 0; in php_pcre_create_match_data() local
948 rc = pcre2_pattern_info(re, PCRE2_INFO_CAPTURECOUNT, &capture_count); in php_pcre_create_match_data()
951 if (rc >= 0 && capture_count + 1 <= PHP_PCRE_PREALLOC_MDATA_SIZE) { in php_pcre_create_match_data()