Lines Matching refs:ptr

421 	odbc_result *res = (odbc_result *)rsrc->ptr;  in ZEND_GET_MODULE()
471 void *ptr; in _close_odbc_conn() local
474 odbc_connection *conn = (odbc_connection *)rsrc->ptr; in _close_odbc_conn()
478 ptr = zend_list_find(i, &type); in _close_odbc_conn()
479 if (ptr && (type == le_result)) { in _close_odbc_conn()
480 res = (odbc_result *)ptr; in _close_odbc_conn()
500 void *ptr; in _close_odbc_pconn() local
502 odbc_connection *conn = (odbc_connection *)rsrc->ptr; in _close_odbc_pconn()
506 ptr = zend_list_find(i, &type); in _close_odbc_pconn()
507 if (ptr && (type == le_result)) { in _close_odbc_pconn()
508 res = (odbc_result *)ptr; in _close_odbc_pconn()
1024 if(Z_TYPE_P(le) == le_pconn && (((odbc_connection *)(le->ptr))->id == *id)){ in _close_pconn_with_id()
1083 void *ptr; in PHP_FUNCTION() local
1096 ptr = zend_list_find(i, &type); in PHP_FUNCTION()
1097 if (ptr && (type == le_result)){ in PHP_FUNCTION()
1106 ptr = zend_list_find(i, &type); in PHP_FUNCTION()
1107 if (ptr){ in PHP_FUNCTION()
2557 new_le.ptr = db_conn; in odbc_do_connect()
2574 db_conn = (odbc_connection *)le->ptr; in odbc_do_connect()
2607 void *ptr; in odbc_do_connect() local
2612 conn_id = (int)index_ptr->ptr; in odbc_do_connect()
2613 ptr = zend_list_find(conn_id, &type); /* check if the connection is still there */ in odbc_do_connect()
2615 if (ptr && (type == le_conn || type == le_pconn)) { in odbc_do_connect()
2636 new_index_ptr.ptr = (void *) Z_LVAL_P(return_value); in odbc_do_connect()
2656 void *ptr; in PHP_FUNCTION() local
2677 ptr = zend_list_find(i, &type); in PHP_FUNCTION()
2678 if(ptr && (type == le_result)){ in PHP_FUNCTION()
2679 res = (odbc_result *)ptr; in PHP_FUNCTION()
2952 char *ptr; in php_odbc_lasterror() local
2967 ptr = ecalloc(len + 1, 1); in php_odbc_lasterror()
2969 strlcpy(ptr, conn->laststate, len+1); in php_odbc_lasterror()
2971 strlcpy(ptr, conn->lasterrormsg, len+1); in php_odbc_lasterror()
2974 ptr = ecalloc(len + 1, 1); in php_odbc_lasterror()
2976 strlcpy(ptr, ODBCG(laststate), len+1); in php_odbc_lasterror()
2978 strlcpy(ptr, ODBCG(lasterrormsg), len+1); in php_odbc_lasterror()
2981 RETVAL_STRING(ptr, 0); in php_odbc_lasterror()