Home
last modified time | relevance | path

Searched refs:num_links (Results 1 – 17 of 17) sorted by relevance

/PHP-7.2/ext/ldap/
H A Dphp_ldap.h44 zend_long num_links;
H A Dldap.c114 LDAPG(num_links)--; in ZEND_GET_MODULE()
149 ldap_globals->num_links = 0; in PHP_INI_END()
398 snprintf(tmp, 31, ZEND_LONG_FMT "/unlimited", LDAPG(num_links)); in PHP_MINFO_FUNCTION()
400 snprintf(tmp, 31, ZEND_LONG_FMT "/" ZEND_LONG_FMT, LDAPG(num_links), LDAPG(max_links)); in PHP_MINFO_FUNCTION()
480 if (LDAPG(max_links) != -1 && LDAPG(num_links) >= LDAPG(max_links)) { in PHP_FUNCTION()
481 php_error_docref(NULL, E_WARNING, "Too many open links (" ZEND_LONG_FMT ")", LDAPG(num_links)); in PHP_FUNCTION()
541 LDAPG(num_links)++; in PHP_FUNCTION()
/PHP-7.2/ext/odbc/
H A Dphp_birdstep.h54 zend_long num_links; member
H A Dbirdstep.c198 php_birdstep_module.num_links = 0; in PHP_MINIT_FUNCTION()
299 …if ( php_birdstep_module.max_links != -1 && php_birdstep_module.num_links == php_birdstep_module.m… in PHP_FUNCTION()
300 …_docref(NULL, E_WARNING, "Birdstep: Too many open connections (%d)",php_birdstep_module.num_links); in PHP_FUNCTION()
317 php_birdstep_module.num_links++; in PHP_FUNCTION()
338 php_birdstep_module.num_links--; in PHP_FUNCTION()
H A Dphp_odbc_includes.h267 zend_long num_links; variable
H A Dphp_odbc.c498 ODBCG(num_links)--; in _close_odbc_conn()
527 ODBCG(num_links)--; in _close_odbc_pconn()
826 ODBCG(num_links) = ODBCG(num_persistent); in PHP_RINIT_FUNCTION()
857 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); in PHP_MINFO_FUNCTION()
2627 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect()
2628 php_error_docref(NULL, E_WARNING, "Too many open links (%ld)", ODBCG(num_links)); in odbc_do_connect()
2653 ODBCG(num_links)++; in odbc_do_connect()
2714 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect()
2715 php_error_docref(NULL, E_WARNING,"Too many open connections (%ld)",ODBCG(num_links)); in odbc_do_connect()
2735 ODBCG(num_links)++; in odbc_do_connect()
/PHP-7.2/ext/interbase/
H A Dphp_ibase_includes.h64 zend_long num_links, num_persistent; variable
H A Dinterbase.c642 IBG(num_links)--; in _php_ibase_close_link()
657 IBG(num_links)--; in _php_ibase_close_plink()
726 ibase_globals->num_persistent = ibase_globals->num_links = 0; in PHP_INI_END()
792 IBG(num_links) = IBG(num_persistent); in PHP_RSHUTDOWN_FUNCTION()
978 if ((l = INI_INT("ibase.max_links")) != -1 && IBG(num_links) >= l) { in _php_ibase_connect()
979 _php_ibase_module_error("Too many open links (%ld)", IBG(num_links)); in _php_ibase_connect()
1016 ++IBG(num_links); in _php_ibase_connect()
H A Dibase_query.c1112 if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) { in PHP_FUNCTION()
/PHP-7.2/ext/mysqli/
H A Dmysqli_nonapi.c237 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) {
238 php_error_docref(NULL, E_WARNING, "Too many open links (" ZEND_LONG_FMT ")", MyG(num_links));
332 MyG(num_links)++;
1248 add_assoc_long_ex(return_value, "total", sizeof("total") - 1, MyG(num_links));
H A Dphp_mysqli_structs.h318 zend_long num_links;
H A Dmysqli.c538 mysqli_globals->num_links = 0; in PHP_INI_END()
985 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
H A Dmysqli_api.c680 MyG(num_links)--; in php_mysqli_close()
/PHP-7.2/ext/pgsql/
H A Dphp_pgsql.h314 zend_long num_links,num_persistent;
H A Dpgsql.c948 PGG(num_links)--; in _close_pgsql_link()
971 PGG(num_links)--; in _close_pgsql_plink()
1238 PGG(num_links) = PGG(num_persistent); in PHP_RINIT_FUNCTION()
1280 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_links)); in PHP_MINFO_FUNCTION()
1355 if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) {
1357 "Cannot create new link. Too many open links (" ZEND_LONG_FMT ")", PGG(num_links));
1386 PGG(num_links)++;
1451 if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) {
1452 …ULL, E_WARNING, "Cannot create new link. Too many open links (" ZEND_LONG_FMT ")", PGG(num_links));
1505 PGG(num_links)++;
/PHP-7.2/ext/oci8/
H A Doci8.c1165 OCI_G(num_links) = OCI_G(num_persistent); in PHP_RINIT_FUNCTION()
1249 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, OCI_G(num_links)); in PHP_MINFO_FUNCTION()
1267 OCI_G(num_links)--; in php_oci_connection_list_dtor()
1283 OCI_G(num_links)--; in php_oci_pconnection_list_dtor()
2070 OCI_G(num_links)++; in php_oci_do_connect_ex()
2076 OCI_G(num_links)++; in php_oci_do_connect_ex()
2079 OCI_G(num_links)++; in php_oci_do_connect_ex()
2084 …on->is_persistent ? 1 : 0, exclusive ? 1 : 0, connection, OCI_G(num_persistent), OCI_G(num_links)); in php_oci_do_connect_ex()
H A Dphp_oci8_int.h518 zend_long num_links; /* non-persistent + persistent connections */ variable

Completed in 90 milliseconds