Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
getdcparam.c File Reference
#include <fortran.h>
#include <cray/nassert.h>
#include <cray/dopevec.h>
#include "fio.h"
Include dependency graph for getdcparam.c:

Go to the source code of this file.

Defines

#define DT_SPECREAL
#define INTEGER_SZ   (sizeof(_f_int) << 3) /* INTEGER */
#define REAL_SZ   (sizeof(_f_real) << 3) /* REAL */
#define DOUBLE_SZ   (sizeof(_f_dble) << 3) /* DOUBLE */
#define COMPLEX_SZ   (sizeof(_f_comp) << 3) /* COMPLEX */
#define LOGICAL_SZ   (sizeof(_f_log) << 3) /* LOGICAL */

Functions

static void _gdc_abort (FIOSPTR css, unit *cup, struct f90_type ts)
int _gdc_dflt2len (int ncindex, struct f90_type ts, short dp)
int _gdc_kind2len (int ncindex, struct f90_type ts)
int _gdc_star2len (int ncindex, struct f90_type ts)
int _get_dc_param (FIOSPTR css, unit *cup, struct f90_type ts, type_packet *tip)

Define Documentation

#define COMPLEX_SZ   (sizeof(_f_comp) << 3) /* COMPLEX */

Definition at line 54 of file getdcparam.c.

Referenced by _gdc_dflt2len(), and _get_dc_param().

#define DOUBLE_SZ   (sizeof(_f_dble) << 3) /* DOUBLE */

Definition at line 53 of file getdcparam.c.

#define DT_SPECREAL
Value:
8       /* type code for converting single precision
                                 * data to double precision data */

Definition at line 45 of file getdcparam.c.

Referenced by _get_dc_param().

#define INTEGER_SZ   (sizeof(_f_int) << 3) /* INTEGER */

Definition at line 51 of file getdcparam.c.

Referenced by _gdc_dflt2len().

#define LOGICAL_SZ   (sizeof(_f_log) << 3) /* LOGICAL */

Definition at line 55 of file getdcparam.c.

Referenced by _gdc_dflt2len().

#define REAL_SZ   (sizeof(_f_real) << 3) /* REAL */

Definition at line 52 of file getdcparam.c.

Referenced by _gdc_dflt2len(), and _get_dc_param().


Function Documentation

static void _gdc_abort ( FIOSPTR  css,
unit cup,
struct f90_type  ts 
) [static]

Definition at line 623 of file getdcparam.c.

References _f90_type_name, _ferr(), f90_type::dec_len, f90_type::dpflag, FENCNV90, f90_type::int_len, f90_type::kind_or_star, and f90_type::type.

Referenced by _get_dc_param().

Here is the call graph for this function:

int _gdc_dflt2len ( int  ncindex,
struct f90_type  ts,
short  dp 
)
int _gdc_kind2len ( int  ncindex,
struct f90_type  ts 
)

Definition at line 575 of file getdcparam.c.

References f90_type::dec_len, NCV_CRAY, NCV_IEL, NCV_T3D, and f90_type::type.

Referenced by _get_dc_param().

int _gdc_star2len ( int  ncindex,
struct f90_type  ts 
)

Definition at line 516 of file getdcparam.c.

References f90_type::dec_len, NCV_CDC, NCV_CRAY, NCV_IEL, NCV_NVE, NCV_T3D, and f90_type::type.

Referenced by _get_dc_param().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines