/PHP-5.6/ext/ldap/ |
H A D | php_ldap.h | 41 long num_links;
|
H A D | ldap.c | 124 LDAPG(num_links)--; in ZEND_GET_MODULE() 159 ldap_globals->num_links = 0; in PHP_INI_END() 271 snprintf(tmp, 31, "%ld/unlimited", LDAPG(num_links)); in PHP_MINFO_FUNCTION() 273 snprintf(tmp, 31, "%ld/%ld", LDAPG(num_links), LDAPG(max_links)); in PHP_MINFO_FUNCTION() 356 if (LDAPG(max_links) != -1 && LDAPG(num_links) >= LDAPG(max_links)) { in PHP_FUNCTION() 357 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", LDAPG(num_links)); in PHP_FUNCTION() 422 LDAPG(num_links)++; in PHP_FUNCTION()
|
/PHP-5.6/ext/odbc/ |
H A D | php_birdstep.h | 51 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 …LL TSRMLS_CC, 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 long num_links; variable
|
H A D | php_odbc.c | 498 ODBCG(num_links)--; in _close_odbc_conn() 530 ODBCG(num_links)--; in _close_odbc_pconn() 831 ODBCG(num_links) = ODBCG(num_persistent); in PHP_RINIT_FUNCTION() 862 snprintf(buf, sizeof(buf), "%ld", ODBCG(num_links)); in PHP_MINFO_FUNCTION() 2601 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect() 2602 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", ODBCG(num_links)); in odbc_do_connect() 2626 ODBCG(num_links)++; in odbc_do_connect() 2686 if (ODBCG(max_links) != -1 && ODBCG(num_links) >= ODBCG(max_links)) { in odbc_do_connect() 2687 php_error_docref(NULL TSRMLS_CC, E_WARNING,"Too many open connections (%ld)",ODBCG(num_links)); in odbc_do_connect() 2706 ODBCG(num_links)++; in odbc_do_connect()
|
/PHP-5.6/ext/sybase_ct/ |
H A D | php_sybase_ct.h | 66 long num_links,num_persistent;
|
H A D | php_sybase_ct.c | 355 SybCtG(num_links)--; in _close_sybase_link() 382 SybCtG(num_links)--; in _close_sybase_plink() 596 SybCtG(num_links) = SybCtG(num_persistent); in PHP_RINIT_FUNCTION() 768 if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) { in php_sybase_do_connect() 769 …p_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Too many open links (%ld)", SybCtG(num_links)); in php_sybase_do_connect() 801 SybCtG(num_links)++; in php_sybase_do_connect() 875 if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) { in php_sybase_do_connect() 876 …p_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Too many open links (%ld)", SybCtG(num_links)); in php_sybase_do_connect() 901 SybCtG(num_links)++; in php_sybase_do_connect() 2127 snprintf(buf, sizeof(buf), "%ld", SybCtG(num_links)); in PHP_MINFO_FUNCTION()
|
/PHP-5.6/ext/mysql/ |
H A D | php_mysql_structs.h | 115 long num_links,num_persistent;
|
H A D | php_mysql.c | 459 MySG(num_links)--; in _close_mysql_link() 476 MySG(num_links)--; in _close_mysql_plink() 630 MySG(num_links) = MySG(num_persistent); in PHP_RINIT_FUNCTION() 688 snprintf(buf, sizeof(buf), "%ld", MySG(num_links)); in PHP_MINFO_FUNCTION() 857 if (MySG(max_links) != -1 && MySG(num_links) >= MySG(max_links)) { 858 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", MySG(num_links)); 918 MySG(num_links)++; 986 if (MySG(max_links) != -1 && MySG(num_links) >= MySG(max_links)) { 987 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", MySG(num_links)); 1050 MySG(num_links)++;
|
/PHP-5.6/ext/interbase/ |
H A D | php_ibase_includes.h | 65 long num_links, num_persistent; variable
|
H A D | interbase.c | 647 IBG(num_links)--; in _php_ibase_close_link() 662 IBG(num_links)--; in _php_ibase_close_plink() 729 ibase_globals->num_persistent = ibase_globals->num_links = 0; in PHP_INI_END() 795 IBG(num_links) = IBG(num_persistent); in PHP_RSHUTDOWN_FUNCTION() 983 if ((l = INI_INT("ibase.max_links")) != -1 && IBG(num_links) >= l) { in _php_ibase_connect() 984 _php_ibase_module_error("Too many open links (%ld)" TSRMLS_CC, IBG(num_links)); in _php_ibase_connect() 1021 ++IBG(num_links); in _php_ibase_connect()
|
H A D | ibase_query.c | 1110 } else if (((l = INI_INT("ibase.max_links")) != -1) && (IBG(num_links) >= l)) { in PHP_FUNCTION() 1135 ++IBG(num_links); in PHP_FUNCTION()
|
/PHP-5.6/ext/mssql/ |
H A D | php_mssql.c | 391 MS_SQL_G(num_links)--; in _close_mssql_link() 405 MS_SQL_G(num_links)--; in _close_mssql_plink() 491 MS_SQL_G(num_links) = MS_SQL_G(num_persistent); in PHP_RINIT_FUNCTION() 531 snprintf(buf, sizeof(buf), "%ld", MS_SQL_G(num_links)); in PHP_MINFO_FUNCTION() 646 if (MS_SQL_G(max_links) != -1 && MS_SQL_G(num_links) >= MS_SQL_G(max_links)) { in php_mssql_do_connect() 647 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", MS_SQL_G(num_links)); in php_mssql_do_connect() 711 MS_SQL_G(num_links)++; in php_mssql_do_connect() 786 if (MS_SQL_G(max_links) != -1 && MS_SQL_G(num_links) >= MS_SQL_G(max_links)) { in php_mssql_do_connect() 787 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", MS_SQL_G(num_links)); in php_mssql_do_connect() 837 MS_SQL_G(num_links)++; in php_mssql_do_connect()
|
H A D | php_mssql.h | 158 long num_links,num_persistent;
|
/PHP-5.6/ext/mysqli/ |
H A D | mysqli_nonapi.c | 206 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) { 207 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Too many open links (%ld)", MyG(num_links)); 281 MyG(num_links)++; 1240 add_assoc_long_ex(return_value, "total", sizeof("total"), MyG(num_links));
|
H A D | php_mysqli_structs.h | 321 long num_links;
|
H A D | mysqli.c | 584 mysqli_globals->num_links = 0; in PHP_INI_END() 985 snprintf(buf, sizeof(buf), "%ld", MyG(num_links)); in PHP_MINFO_FUNCTION()
|
H A D | mysqli_api.c | 705 MyG(num_links)--; in php_mysqli_close()
|
/PHP-5.6/ext/pgsql/ |
H A D | php_pgsql.h | 313 long num_links,num_persistent;
|
H A D | pgsql.c | 937 PGG(num_links)--; in _close_pgsql_link() 953 PGG(num_links)--; in _close_pgsql_plink() 1219 PGG(num_links) = PGG(num_persistent); in PHP_RINIT_FUNCTION() 1260 snprintf(buf, sizeof(buf), "%ld", PGG(num_links)); in PHP_MINFO_FUNCTION() 1333 if (PGG(max_links)!=-1 && PGG(num_links)>=PGG(max_links)) { 1335 "Cannot create new link. Too many open links (%ld)", PGG(num_links)); 1364 PGG(num_links)++; 1435 if (PGG(max_links)!=-1 && PGG(num_links)>=PGG(max_links)) { 1436 …ef(NULL TSRMLS_CC, E_WARNING, "Cannot create new link. Too many open links (%ld)", PGG(num_links)); 1479 PGG(num_links)++;
|
/PHP-5.6/ext/oci8/ |
H A D | oci8.c | 1304 OCI_G(num_links) = OCI_G(num_persistent); in PHP_RINIT_FUNCTION() 1390 snprintf(buf, sizeof(buf), "%ld", OCI_G(num_links)); in PHP_MINFO_FUNCTION() 1408 OCI_G(num_links)--; in php_oci_connection_list_dtor() 1424 OCI_G(num_links)--; in php_oci_pconnection_list_dtor() 2181 OCI_G(num_links)++; in php_oci_do_connect_ex() 2187 OCI_G(num_links)++; in php_oci_do_connect_ex() 2190 OCI_G(num_links)++; in php_oci_do_connect_ex() 2195 …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 | 501 long num_links; /* non-persistent + persistent connections */ variable
|