Lines Matching refs:val
432 static int firebird_handle_set_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_set_attribute() argument
439 zend_bool bval = zval_get_long(val)? 1 : 0; in firebird_handle_set_attribute()
463 H->fetch_table_names = zval_get_long(val)? 1 : 0; in firebird_handle_set_attribute()
468 zend_string *str = zval_get_string(val); in firebird_handle_set_attribute()
479 zend_string *str = zval_get_string(val); in firebird_handle_set_attribute()
490 zend_string *str = zval_get_string(val); in firebird_handle_set_attribute()
516 static int firebird_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *val) /* {{{ */ in firebird_handle_get_attribute() argument
524 ZVAL_LONG(val,dbh->auto_commit); in firebird_handle_get_attribute()
528 ZVAL_BOOL(val, !isc_version(&H->db, firebird_info_cb, NULL)); in firebird_handle_get_attribute()
546 ZVAL_STRING(val, tmp); in firebird_handle_get_attribute()
549 ZVAL_NULL(val); in firebird_handle_get_attribute()
559 ZVAL_STRING(val, tmp); in firebird_handle_get_attribute()
564 ZVAL_BOOL(val, H->fetch_table_names); in firebird_handle_get_attribute()