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

/PHP_5_3/ext/dba/
H A Ddba.c432 int dba_close_pe_rsrc_deleter(zend_rsrc_list_entry *le, void *pDba TSRMLS_DC) argument
434 return le->ptr == pDba;
584 zend_rsrc_list_entry *le; local
590 if (zend_hash_index_find(&EG(regular_list), i, (void **) &le)==FAILURE) {
593 if (Z_TYPE_P(le) == le_db || Z_TYPE_P(le) == le_pdb) {
594 info = (dba_info *)(le->ptr);
596 return (dba_info *)(le->ptr);
641 zend_rsrc_list_entry *le; local
654 if (zend_hash_find(&EG(persistent_list), key, keylen+1, (void **) &le)
1224 zend_rsrc_list_entry *le; local
[all...]
/PHP_5_3/ext/hash/
H A Dhash.c473 zend_rsrc_list_entry *le; local
510 if (zend_hash_index_find(&EG(regular_list), Z_RESVAL_P(zhash), (void *) &le)==SUCCESS) {
513 le->refcount = 1;
/PHP_5_3/ext/interbase/
H A Dinterbase.c901 zend_rsrc_list_entry new_index_ptr, *le; local
943 if (SUCCESS == zend_hash_find(&EG(regular_list), hash, sizeof(hash), (void *) &le)) {
947 if (Z_TYPE_P(le) != le_index_ptr) {
951 xlink = (long) le->ptr;
961 switch (zend_hash_find(&EG(persistent_list), hash, sizeof(hash), (void *) &le)) {
970 if (Z_TYPE_P(le) != le_plink) {
974 ib_link = (ibase_db_link *) le->ptr;
/PHP_5_3/ext/ldap/
H A Dldap.c1527 zend_rsrc_list_entry *le; local
1535 if (zend_hash_index_find(&EG(regular_list), Z_LVAL_P(result), (void **) &le) != SUCCESS || le->type != le_result) {
1540 if (ldap_sort_entries(ld->link, (LDAPMessage **) &le->ptr, sflen ? sortfilter : NULL, strcmp) != LDAP_SUCCESS) {
/PHP_5_3/ext/mssql/
H A Dphp_mssql.c293 static int _clean_invalid_results(zend_rsrc_list_entry *le TSRMLS_DC)
295 if (Z_TYPE_P(le) == le_result) {
296 mssql_link *mssql_ptr = ((mssql_result *) le->ptr)->mssql_ptr;
635 zend_rsrc_list_entry *le; local
638 if (new_link || zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length + 1, (void **) &le)==FAILURE) { /* we don't */
708 if (Z_TYPE_P(le) != le_plink) {
717 mssql_ptr = (mssql_link *) le->ptr;
/PHP_5_3/ext/mysqli/
H A Dmysqli_api.c587 zend_rsrc_list_entry *le; local
588 if (zend_hash_find(&EG(persistent_list), mysql->hash_key, strlen(mysql->hash_key) + 1, (void **)&le) == SUCCESS) {
589 if (Z_TYPE_P(le) == php_le_pmysqli()) {
590 mysqli_plist_entry *plist = (mysqli_plist_entry *) le->ptr;
H A Dmysqli_nonapi.c71 zend_rsrc_list_entry *le; local
165 if (zend_hash_find(&EG(persistent_list), hash_key, hash_len + 1, (void **)&le) == SUCCESS) {
166 if (Z_TYPE_P(le) == php_le_pmysqli()) {
167 plist = (mysqli_plist_entry *) le->ptr;
194 zend_rsrc_list_entry le; local
195 le.type = php_le_pmysqli();
196 le.ptr = plist = calloc(1, sizeof(mysqli_plist_entry));
199 zend_hash_update(&EG(persistent_list), hash_key, hash_len + 1, (void *)&le, sizeof(le), NULL);
/PHP_5_3/ext/oci8/
H A Doci8.c140 static int php_oci_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC);
1424 zend_rsrc_list_entry *le; local
1444 if ((zend_hash_find(&EG(persistent_list), connection->hash_key, strlen(connection->hash_key)+1, (void **) &le)== SUCCESS) && (le->type == le_pconnection) && (le->ptr == connection)) {
1761 zend_rsrc_list_entry *le; local
1891 if (persistent && zend_hash_find(&EG(persistent_list), hashed_details.c, hashed_details.len+1, (void **) &le) == SUCCESS) {
1894 if (le->type == le_pconnection) {
1895 connection = (php_oci_connection *)le->ptr;
1897 } else if (!persistent && zend_hash_find(&EG(regular_list), hashed_details.c, hashed_details.len+1, (void **) &le)
[all...]
/PHP_5_3/ext/pdo/
H A Dpdo_dbh.c279 zend_rsrc_list_entry *le; local
301 if (SUCCESS == zend_hash_find(&EG(persistent_list), hashkey, plen+1, (void*)&le)) {
302 if (Z_TYPE_P(le) == php_pdo_list_entry()) {
303 pdbh = (pdo_dbh_t*)le->ptr;
382 zend_rsrc_list_entry le; local
388 le.type = php_pdo_list_entry();
389 le.ptr = dbh;
392 (char*)dbh->persistent_id, dbh->persistent_id_len, (void*)&le,
393 sizeof(le), NULL)) {
/PHP_5_3/ext/sqlite/
H A Dsqlite.c725 static int _clean_unfinished_results(zend_rsrc_list_entry *le, void *db TSRMLS_DC) argument
727 if (Z_TYPE_P(le) == le_sqlite_result) {
728 struct php_sqlite_result *res = (struct php_sqlite_result *)le->ptr;
1135 static int sqlite_free_persistent(zend_rsrc_list_entry *le, void *ptr TSRMLS_DC) argument
1137 return le->ptr == ptr ? ZEND_HASH_APPLY_REMOVE : ZEND_HASH_APPLY_KEEP;
1528 zend_rsrc_list_entry le; local
1530 Z_TYPE(le) = le_sqlite_pdb;
1531 le.ptr = db;
1535 (void *)&le, sizeof(le), NUL
1552 zend_rsrc_list_entry *le; local
[all...]
/PHP_5_3/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_5_3/main/streams/
H A Dstreams.c68 static int _php_stream_release_context(zend_rsrc_list_entry *le, void *pContext TSRMLS_DC) argument
70 if (le->ptr == pContext) {
71 return --le->refcount == 0;
110 zend_rsrc_list_entry *le; local
112 if (zend_hash_find(&EG(persistent_list), (char*)persistent_id, strlen(persistent_id)+1, (void*) &le) == SUCCESS) {
113 if (Z_TYPE_P(le) == le_pstream) {
125 if (regentry->ptr == le->ptr) {
133 *stream = (php_stream*)le->ptr;
135 le->refcount++;
309 zend_rsrc_list_entry le; local
331 _php_stream_free_persistent(zend_rsrc_list_entry *le, void *pStream TSRMLS_DC) argument
[all...]
/PHP_5_3/Zend/
H A Dzend_list.c38 zend_rsrc_list_entry le; local
41 le.ptr=ptr;
42 le.type=type;
43 le.refcount=1;
47 zend_hash_index_update(&EG(regular_list), index, (void *) &le, sizeof(zend_rsrc_list_entry), NULL);
53 zend_rsrc_list_entry *le; local
55 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) {
56 /* printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1); */
57 if (--le
70 zend_rsrc_list_entry *le; local
83 zend_rsrc_list_entry *le; local
171 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; local
197 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; local
243 clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRMLS_DC) argument
[all...]
H A Dzend_multibyte.c1130 int le = 0; local
1153 le = 0;
1157 le = 1;
1164 return le ? &encoding_utf16le : &encoding_utf16be;
1166 return le ? &encoding_utf32le : &encoding_utf32be;
H A Dzend_compile.c435 zend_llist_element *le; local
459 le = fetch_list_ptr->head;
461 opline_ptr = (zend_op *)le->data;
945 zend_llist_element *le; local
948 for (le=jmp_list_ptr->head; le; le = le->next) {
949 CG(active_op_array)->opcodes[*((int *) le->data)].op1.u.opline_num = next_op_number;
982 zend_llist_element *le; local
3711 zend_llist_element *le = fetch_list_ptr->head; local
3786 zend_llist_element *le; local
4164 zend_llist_element *le; local
[all...]
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_net.c158 zend_rsrc_list_entry *le; local
160 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_len + 1, (void*) &le) == SUCCESS) {
/PHP_5_3/ext/mysql/
H A Dphp_mysql.c612 static int php_mysql_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC)
614 if (le->type == le_plink) {
615 mysqlnd_end_psession(((php_mysql_conn *) le->ptr)->conn);
815 zend_rsrc_list_entry *le; local
818 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
884 if (Z_TYPE_P(le) != le_plink) {
887 mysql = (php_mysql_conn *) le->ptr;
/PHP_5_3/ext/pgsql/
H A Dpgsql.c1131 zend_rsrc_list_entry *le; local
1134 if (zend_hash_find(&EG(persistent_list), str.c, str.len+1, (void **) &le)==FAILURE) { /* we don't */
1171 if (Z_TYPE_P(le) != le_plink) {
1179 pg_result = PQexec(le->ptr, "select 1");
1182 if (PQstatus(le->ptr)==CONNECTION_BAD) { /* the link died */
1183 if (le->ptr == NULL) {
1185 le->ptr=PQconnectdb(connstring);
1187 le->ptr=PQsetdb(host,port,options,tty,dbname);
1191 PQreset(le->ptr);
1193 if (le
[all...]
/PHP_5_3/ext/odbc/
H A Dphp_odbc.c1022 static int _close_pconn_with_id(zend_rsrc_list_entry *le, int *id TSRMLS_DC) argument
1024 if(Z_TYPE_P(le) == le_pconn && (((odbc_connection *)(le->ptr))->id == *id)){
2534 zend_rsrc_list_entry *le; local
2537 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_len + 1, (void **) &le) == FAILURE) {
2568 if (Z_TYPE_P(le) != le_pconn) {
2574 db_conn = (odbc_connection *)le->ptr;

Completed in 57 milliseconds