Searched refs:num_links (Results 1 – 17 of 17) sorted by relevance
/PHP-7.0/ext/ldap/ |
H A D | php_ldap.h | 44 zend_long num_links;
|
H A D | ldap.c | 120 LDAPG(num_links)--; in ZEND_GET_MODULE() 155 ldap_globals->num_links = 0; in PHP_INI_END() 277 snprintf(tmp, 31, ZEND_LONG_FMT "/unlimited", LDAPG(num_links)); in PHP_MINFO_FUNCTION() 279 snprintf(tmp, 31, ZEND_LONG_FMT "/" ZEND_LONG_FMT, LDAPG(num_links), LDAPG(max_links)); in PHP_MINFO_FUNCTION() 359 if (LDAPG(max_links) != -1 && LDAPG(num_links) >= LDAPG(max_links)) { in PHP_FUNCTION() 360 php_error_docref(NULL, E_WARNING, "Too many open links (%pd)", LDAPG(num_links)); in PHP_FUNCTION() 420 LDAPG(num_links)++; in PHP_FUNCTION()
|
/PHP-7.0/ext/odbc/ |
H A D | php_birdstep.h | 54 zend_long num_links; member
|
H A D | birdstep.c | 199 php_birdstep_module.num_links = 0; in PHP_MINIT_FUNCTION() 300 …if ( php_birdstep_module.max_links != -1 && php_birdstep_module.num_links == php_birdstep_module.m… in PHP_FUNCTION() 301 …_docref(NULL, E_WARNING, "Birdstep: Too many open connections (%d)",php_birdstep_module.num_links); in PHP_FUNCTION() 318 php_birdstep_module.num_links++; in PHP_FUNCTION() 339 php_birdstep_module.num_links--; in PHP_FUNCTION()
|
H A D | php_odbc_includes.h | 267 zend_long num_links; variable
|
H A D | php_odbc.c | 498 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() 2620 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect() 2621 php_error_docref(NULL, E_WARNING, "Too many open links (%ld)", ODBCG(num_links)); in odbc_do_connect() 2646 ODBCG(num_links)++; in odbc_do_connect() 2707 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect() 2708 php_error_docref(NULL, E_WARNING,"Too many open connections (%ld)",ODBCG(num_links)); in odbc_do_connect() 2728 ODBCG(num_links)++; in odbc_do_connect()
|
/PHP-7.0/ext/interbase/ |
H A D | php_ibase_includes.h | 64 zend_long num_links, num_persistent; variable
|
H A D | interbase.c | 642 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() 976 if ((l = INI_INT("ibase.max_links")) != -1 && IBG(num_links) >= l) { in _php_ibase_connect() 977 _php_ibase_module_error("Too many open links (%ld)", IBG(num_links)); in _php_ibase_connect() 1014 ++IBG(num_links); in _php_ibase_connect()
|
H A D | ibase_query.c | 1116 } else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) { in PHP_FUNCTION()
|
/PHP-7.0/ext/mysqli/ |
H A D | mysqli_nonapi.c | 208 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) { 209 php_error_docref(NULL, E_WARNING, "Too many open links (%pd)", MyG(num_links)); 283 MyG(num_links)++; 1199 add_assoc_long_ex(return_value, "total", sizeof("total") - 1, MyG(num_links));
|
H A D | php_mysqli_structs.h | 322 zend_long num_links;
|
H A D | mysqli.c | 537 mysqli_globals->num_links = 0; in PHP_INI_END() 987 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
|
H A D | mysqli_api.c | 680 MyG(num_links)--; in php_mysqli_close()
|
/PHP-7.0/ext/pgsql/ |
H A D | php_pgsql.h | 315 zend_long num_links,num_persistent;
|
H A D | pgsql.c | 940 PGG(num_links)--; in _close_pgsql_link() 956 PGG(num_links)--; in _close_pgsql_plink() 1222 PGG(num_links) = PGG(num_persistent); in PHP_RINIT_FUNCTION() 1263 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_links)); in PHP_MINFO_FUNCTION() 1338 if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) { 1340 "Cannot create new link. Too many open links (%pd)", PGG(num_links)); 1369 PGG(num_links)++; 1437 if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) { 1438 …error_docref(NULL, E_WARNING, "Cannot create new link. Too many open links (%pd)", PGG(num_links)); 1481 PGG(num_links)++;
|
/PHP-7.0/ext/oci8/ |
H A D | oci8.c | 1164 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() 2058 OCI_G(num_links)++; in php_oci_do_connect_ex() 2064 OCI_G(num_links)++; in php_oci_do_connect_ex() 2067 OCI_G(num_links)++; in php_oci_do_connect_ex() 2072 …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 D | php_oci8_int.h | 516 zend_long num_links; /* non-persistent + persistent connections */ variable
|
Completed in 79 milliseconds