Searched defs:le (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/interbase/
H A Dinterbase.c889 zend_resource new_index_ptr, *le; local
931 if ((le = zend_hash_str_find_ptr(&EG(regular_list), hash, sizeof(hash)-1)) != NULL) {
934 if (le->type != le_index_ptr) {
938 xlink = (zend_resource*) le->ptr;
962 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hash, sizeof(hash)-1)) != NULL) {
963 if (le->type != le_plink) {
967 ib_link = (ibase_db_link *) le->ptr;
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c646 zend_resource *le = (zend_resource *)Z_PTR_P(el); local
647 if (le->type == le_plink) {
648 mysqlnd_end_psession(((php_mysql_conn *) le->ptr)->conn);
857 zend_resource *le; local
861 if ((le = zend_hash_find_ptr(&EG(persistent_list), hashed_details)) == NULL) { /* we don't */
934 if (le->type != le_plink) {
937 mysql = (php_mysql_conn *)le->ptr;
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c206 zend_resource *le; local
208 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_details_len))) {
218 pefree(le, 1);
/PHP_TRUNK/ext/sybase_ct/
H A Dphp_sybase_ct.c238 static int _clean_invalid_results(zend_rsrc_list_entry *le TSRMLS_DC)
240 if (Z_TYPE_P(le) == le_result) {
241 sybase_link *sybase_ptr = ((sybase_result *) le->ptr)->sybase_ptr;
762 zend_rsrc_list_entry *le; local
765 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
805 if (Z_TYPE_P(le) != le_plink) {
810 sybase_ptr = (sybase_link *) le->ptr;
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c298 static int _clean_invalid_results(zend_rsrc_list_entry *le TSRMLS_DC)
300 if (Z_TYPE_P(le) == le_result) {
301 mssql_link *mssql_ptr = ((mssql_result *) le->ptr)->mssql_ptr;
640 zend_rsrc_list_entry *le; local
643 if (new_link || zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length + 1, (void **) &le)==FAILURE) { /* we don't */
713 if (Z_TYPE_P(le) != le_plink) {
722 mssql_ptr = (mssql_link *) le->ptr;
/PHP_TRUNK/ext/dba/
H A Ddba.c591 zend_resource *le; local
597 if ((le = zend_hash_index_find_ptr(&EG(regular_list), i)) == NULL) {
600 if (le->type == le_db || le->type == le_pdb) {
601 info = (dba_info *)(le->ptr);
603 return (dba_info *)(le->ptr);
653 zend_resource *le; local
666 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), key, keylen)) != NULL) {
669 if (le->type != le_pdb) {
673 info = (dba_info *)le
1247 zend_resource *le; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c70 zend_resource *le; local
164 if ((le = zend_hash_find_ptr(&EG(persistent_list), hash_key)) != NULL) {
165 if (le->type == php_le_pmysqli()) {
166 plist = (mysqli_plist_entry *) le->ptr;
193 zend_resource le; local
194 le.type = php_le_pmysqli();
195 le.ptr = plist = calloc(1, sizeof(mysqli_plist_entry));
198 zend_hash_str_update_mem(&EG(persistent_list), hash_key->val, hash_key->len, &le, sizeof(le)); local
H A Dmysqli_api.c696 zend_resource *le; local
697 if ((le = zend_hash_find_ptr(&EG(persistent_list), mysql->hash_key)) != NULL) {
698 if (le->type == php_le_pmysqli()) {
699 mysqli_plist_entry *plist = (mysqli_plist_entry *) le->ptr;
/PHP_TRUNK/ext/ldap/
H A Dldap.c1905 zend_resource *le; local
1913 if ((le = zend_hash_index_find_ptr(&EG(regular_list), Z_RES_HANDLE_P(result))) == NULL || le->type != le_result) {
1918 if (ldap_sort_entries(ld->link, (LDAPMessage **) &le->ptr, sflen ? sortfilter : NULL, strcmp) != LDAP_SUCCESS) {
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c285 int le = 0; local
310 le = 0;
314 le = 1;
321 return le ? zend_multibyte_encoding_utf16le : zend_multibyte_encoding_utf16be;
323 return le ? zend_multibyte_encoding_utf32le : zend_multibyte_encoding_utf32be;
/PHP_TRUNK/ext/oci8/
H A Doci8.c131 static int php_oci_persistent_helper(zend_resource *le TSRMLS_DC);
1436 zend_resource *le; local
1457 le = Z_RES_P(zvp); /* PHPNG TODO check for null zvp */
1458 if (le != NULL && le->type == le_pconnection && le->ptr == connection) {
1805 zend_resource *le; local
1938 zend_resource *le = Z_RES_P(zvp); local
1942 if (le->type == le_pconnection) {
1943 connection = (php_oci_connection *)le
[all...]
/PHP_TRUNK/ext/odbc/
H A Dphp_odbc.c1039 static int _close_pconn_with_res(zend_resource *le, zend_resource *res TSRMLS_DC) argument
1041 if (le->type == le_pconn && (((odbc_connection *)(le->ptr))->res == res)){
2546 zend_resource *le; local
2549 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashed_details, hashed_len)) == NULL) {
2581 if (le->type != le_pconn) {
2587 db_conn = (odbc_connection *)le->ptr;
/PHP_TRUNK/main/streams/
H A Dstreams.c70 zend_resource *le = Z_RES_P(zv); local
71 if (le->ptr == pContext) {
72 return --GC_REFCOUNT(le) == 0;
121 zend_resource *le; local
123 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), persistent_id, strlen(persistent_id))) != NULL) {
124 if (le->type == le_pstream) {
134 if (regentry->ptr == le->ptr) {
140 *stream = (php_stream*)le->ptr;
142 GC_REFCOUNT(le)++;
374 zend_resource *le local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c274 zend_resource *le; local
298 if ((le = zend_hash_str_find_ptr(&EG(persistent_list), hashkey, plen)) != NULL) {
299 if (le->type == php_pdo_list_entry()) {
300 pdbh = (pdo_dbh_t*)le->ptr;
306 zend_list_close(le);
368 zend_resource le; local
374 le.type = php_pdo_list_entry();
375 le.ptr = dbh;
376 GC_REFCOUNT(&le) = 1;
379 (char*)dbh->persistent_id, dbh->persistent_id_len, &le, sizeo
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c1330 zend_resource *le; local
1333 if ((le = zend_hash_find_ptr(&EG(persistent_list), str.s)) == NULL) { /* we don't */
1370 if (le->type != le_plink) {
1378 pg_result = PQexec(le->ptr, "select 1");
1381 if (PQstatus(le->ptr) == CONNECTION_BAD) { /* the link died */
1382 if (le->ptr == NULL) {
1384 le->ptr = PQconnectdb(connstring);
1386 le->ptr = PQsetdb(host,port,options,tty,dbname);
1390 PQreset(le->ptr);
1392 if (le
[all...]

Completed in 76 milliseconds