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

/PHP_5_6/Zend/
H A Dzend_list.c38 zend_rsrc_list_entry le; local
40 le.ptr=ptr;
41 le.type=type;
42 le.refcount=1;
46 zend_hash_index_update(&EG(regular_list), index, (void *) &le, sizeof(zend_rsrc_list_entry), NULL);
52 zend_rsrc_list_entry *le; local
54 if (zend_hash_index_find(&EG(regular_list), id, (void **) &le)==SUCCESS) {
55 /* printf("del(%d): %d->%d\n", id, le->refcount, le->refcount-1); */
56 if (--le
69 zend_rsrc_list_entry *le; local
82 zend_rsrc_list_entry *le; local
170 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; local
196 zend_rsrc_list_entry *le = (zend_rsrc_list_entry *) ptr; local
242 clean_module_resource(zend_rsrc_list_entry *le, int *resource_id TSRMLS_DC) argument
[all...]
H A Dzend_language_scanner.c287 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;
H A Dzend_compile.c728 zend_llist_element *le; local
763 le = fetch_list_ptr->head;
765 opline_ptr = (zend_op *)le->data;
1272 zend_llist_element *le; local
1275 for (le=jmp_list_ptr->head; le; le = le->next) {
1276 CG(active_op_array)->opcodes[*((int *) le->data)].op1.opline_num = next_op_number;
1309 zend_llist_element *le; local
5502 zend_llist_element *le = fetch_list_ptr->head; local
5976 zend_llist_element *le; local
[all...]
/PHP_5_6/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_5_6/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_6/ext/dba/
H A Ddba.c451 int dba_close_pe_rsrc_deleter(zend_rsrc_list_entry *le, void *pDba TSRMLS_DC) argument
453 return le->ptr == pDba;
591 zend_rsrc_list_entry *le; local
597 if (zend_hash_index_find(&EG(regular_list), i, (void **) &le)==FAILURE) {
600 if (Z_TYPE_P(le) == le_db || Z_TYPE_P(le) == le_pdb) {
601 info = (dba_info *)(le->ptr);
603 return (dba_info *)(le->ptr);
649 zend_rsrc_list_entry *le; local
662 if (zend_hash_find(&EG(persistent_list), key, keylen+1, (void **) &le)
1231 zend_rsrc_list_entry *le; local
[all...]
/PHP_5_6/ext/hash/
H A Dhash.c494 zend_rsrc_list_entry *le; local
531 if (zend_hash_index_find(&EG(regular_list), Z_RESVAL_P(zhash), (void *) &le)==SUCCESS) {
534 le->refcount = 1;
/PHP_5_6/ext/oci8/
H A Doci8.c131 static int php_oci_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC);
1435 zend_rsrc_list_entry *le; local
1455 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)) {
1801 zend_rsrc_list_entry *le; local
1931 if (persistent && zend_hash_find(&EG(persistent_list), hashed_details.c, hashed_details.len+1, (void **) &le) == SUCCESS) {
1934 if (le->type == le_pconnection) {
1935 connection = (php_oci_connection *)le->ptr;
1937 } else if (!persistent && zend_hash_find(&EG(regular_list), hashed_details.c, hashed_details.len+1, (void **) &le)
[all...]
/PHP_5_6/ext/interbase/
H A Dinterbase.c899 zend_rsrc_list_entry new_index_ptr, *le; local
941 if (SUCCESS == zend_hash_find(&EG(regular_list), hash, sizeof(hash), (void *) &le)) {
945 if (Z_TYPE_P(le) != le_index_ptr) {
949 xlink = (long) le->ptr;
959 switch (zend_hash_find(&EG(persistent_list), hash, sizeof(hash), (void *) &le)) {
968 if (Z_TYPE_P(le) != le_plink) {
972 ib_link = (ibase_db_link *) le->ptr;
/PHP_5_6/ext/mysql/
H A Dphp_mysql.c642 static int php_mysql_persistent_helper(zend_rsrc_list_entry *le TSRMLS_DC)
644 if (le->type == le_plink) {
645 mysqlnd_end_psession(((php_mysql_conn *) le->ptr)->conn);
849 zend_rsrc_list_entry *le; local
852 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_length+1, (void **) &le)==FAILURE) { /* we don't */
918 if (Z_TYPE_P(le) != le_plink) {
921 mysql = (php_mysql_conn *) le->ptr;
/PHP_5_6/ext/mysqli/
H A Dmysqli_api.c700 zend_rsrc_list_entry *le; local
701 if (zend_hash_find(&EG(persistent_list), mysql->hash_key, strlen(mysql->hash_key) + 1, (void **)&le) == SUCCESS) {
702 if (Z_TYPE_P(le) == php_le_pmysqli()) {
703 mysqli_plist_entry *plist = (mysqli_plist_entry *) le->ptr;
H A Dmysqli_nonapi.c72 zend_rsrc_list_entry *le; local
166 if (zend_hash_find(&EG(persistent_list), hash_key, hash_len + 1, (void **)&le) == SUCCESS) {
167 if (Z_TYPE_P(le) == php_le_pmysqli()) {
168 plist = (mysqli_plist_entry *) le->ptr;
195 zend_rsrc_list_entry le; local
196 le.type = php_le_pmysqli();
197 le.ptr = plist = calloc(1, sizeof(mysqli_plist_entry));
200 zend_hash_update(&EG(persistent_list), hash_key, hash_len + 1, (void *)&le, sizeof(le), NULL);
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_net.c202 zend_rsrc_list_entry *le; local
204 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_details_len + 1, (void*) &le) == SUCCESS) {
/PHP_5_6/ext/ldap/
H A Dldap.c1920 zend_rsrc_list_entry *le; local
1928 if (zend_hash_index_find(&EG(regular_list), Z_LVAL_P(result), (void **) &le) != SUCCESS || le->type != le_result) {
1933 if (ldap_sort_entries(ld->link, (LDAPMessage **) &le->ptr, sflen ? sortfilter : NULL, strcmp) != LDAP_SUCCESS) {
/PHP_5_6/ext/odbc/
H A Dphp_odbc.c1045 static int _close_pconn_with_id(zend_rsrc_list_entry *le, int *id TSRMLS_DC) argument
1047 if(Z_TYPE_P(le) == le_pconn && (((odbc_connection *)(le->ptr))->id == *id)){
2568 zend_rsrc_list_entry *le; local
2571 if (zend_hash_find(&EG(persistent_list), hashed_details, hashed_len + 1, (void **) &le) == FAILURE) {
2602 if (Z_TYPE_P(le) != le_pconn) {
2608 db_conn = (odbc_connection *)le->ptr;
/PHP_5_6/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;
119 zend_rsrc_list_entry *le; local
121 if (zend_hash_find(&EG(persistent_list), (char*)persistent_id, strlen(persistent_id)+1, (void*) &le) == SUCCESS) {
122 if (Z_TYPE_P(le) == le_pstream) {
134 if (regentry->ptr == le->ptr) {
142 *stream = (php_stream*)le->ptr;
144 le->refcount++;
318 zend_rsrc_list_entry le; local
377 _php_stream_free_persistent(zend_rsrc_list_entry *le, void *pStream TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/pdo/
H A Dpdo_dbh.c280 zend_rsrc_list_entry *le; local
302 if (SUCCESS == zend_hash_find(&EG(persistent_list), hashkey, plen+1, (void*)&le)) {
303 if (Z_TYPE_P(le) == php_pdo_list_entry()) {
304 pdbh = (pdo_dbh_t*)le->ptr;
387 zend_rsrc_list_entry le; local
393 le.type = php_pdo_list_entry();
394 le.ptr = dbh;
397 (char*)dbh->persistent_id, dbh->persistent_id_len, (void*)&le,
398 sizeof(le), NULL)) {
/PHP_5_6/ext/pgsql/
H A Dpgsql.c1327 zend_rsrc_list_entry *le; local
1330 if (zend_hash_find(&EG(persistent_list), str.c, str.len+1, (void **) &le)==FAILURE) { /* we don't */
1367 if (Z_TYPE_P(le) != le_plink) {
1375 pg_result = PQexec(le->ptr, "select 1");
1378 if (PQstatus(le->ptr)==CONNECTION_BAD) { /* the link died */
1379 if (le->ptr == NULL) {
1381 le->ptr=PQconnectdb(connstring);
1383 le->ptr=PQsetdb(host,port,options,tty,dbname);
1387 PQreset(le->ptr);
1389 if (le
[all...]

Completed in 103 milliseconds