Searched refs:num_links (Results 1 – 12 of 12) sorted by relevance
/PHP-7.4/ext/ldap/ |
H A D | php_ldap.h | 42 zend_long num_links;
|
H A D | ldap.c | 113 LDAPG(num_links)--; in ZEND_GET_MODULE() 718 ldap_globals->num_links = 0; in PHP_INI_END() 962 snprintf(tmp, 31, ZEND_LONG_FMT "/unlimited", LDAPG(num_links)); in PHP_MINFO_FUNCTION() 964 snprintf(tmp, 31, ZEND_LONG_FMT "/" ZEND_LONG_FMT, LDAPG(num_links), LDAPG(max_links)); in PHP_MINFO_FUNCTION() 1025 if (LDAPG(max_links) != -1 && LDAPG(num_links) >= LDAPG(max_links)) { in PHP_FUNCTION() 1026 php_error_docref(NULL, E_WARNING, "Too many open links (" ZEND_LONG_FMT ")", LDAPG(num_links)); in PHP_FUNCTION() 1086 LDAPG(num_links)++; in PHP_FUNCTION()
|
/PHP-7.4/ext/odbc/ |
H A D | php_odbc_includes.h | 232 zend_long num_links; variable
|
H A D | php_odbc.c | 491 ODBCG(num_links)--; in _close_odbc_conn() 520 ODBCG(num_links)--; in _close_odbc_pconn() 819 ODBCG(num_links) = ODBCG(num_persistent); in PHP_RINIT_FUNCTION() 850 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); in PHP_MINFO_FUNCTION() 2637 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect() 2638 php_error_docref(NULL, E_WARNING, "Too many open links (%ld)", ODBCG(num_links)); in odbc_do_connect() 2659 ODBCG(num_links)++; in odbc_do_connect() 2720 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect() 2721 php_error_docref(NULL, E_WARNING,"Too many open connections (%ld)",ODBCG(num_links)); in odbc_do_connect() 2737 ODBCG(num_links)++; in odbc_do_connect()
|
/PHP-7.4/ext/mysqli/ |
H A D | php_mysqli_structs.h | 302 zend_long num_links;
|
H A D | mysqli_nonapi.c | 234 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) { 235 php_error_docref(NULL, E_WARNING, "Too many open links (" ZEND_LONG_FMT ")", MyG(num_links)); 349 MyG(num_links)++; 1279 add_assoc_long_ex(return_value, "total", sizeof("total") - 1, MyG(num_links));
|
H A D | mysqli.c | 548 mysqli_globals->num_links = 0; in PHP_INI_END() 981 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
|
H A D | mysqli_api.c | 679 MyG(num_links)--; in php_mysqli_close()
|
/PHP-7.4/ext/pgsql/ |
H A D | php_pgsql.h | 311 zend_long num_links,num_persistent;
|
H A D | pgsql.c | 939 PGG(num_links)--; in _close_pgsql_link() 962 PGG(num_links)--; in _close_pgsql_plink() 1246 PGG(num_links) = PGG(num_persistent); in PHP_RINIT_FUNCTION() 1288 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, PGG(num_links)); in PHP_MINFO_FUNCTION() 1365 if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) { 1367 "Cannot create new link. Too many open links (" ZEND_LONG_FMT ")", PGG(num_links)); 1394 PGG(num_links)++; 1460 if (PGG(max_links) != -1 && PGG(num_links) >= PGG(max_links)) { 1461 …ULL, E_WARNING, "Cannot create new link. Too many open links (" ZEND_LONG_FMT ")", PGG(num_links)); 1512 PGG(num_links)++;
|
/PHP-7.4/ext/oci8/ |
H A D | oci8.c | 1165 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 D | php_oci8_int.h | 518 zend_long num_links; /* non-persistent + persistent connections */ variable
|
Completed in 72 milliseconds