osprey/libf/fio/fmtchk.c File Reference

#include <cray/fmtconv.h>
#include <cray/format.h>
#include "fmt.h"

Include dependency graph for fmtchk.c:

Go to the source code of this file.

Defines

#define D   ((signed char) MODEDP)
#define U   ((signed char) MODEUN)
#define H   INVALID_INTLEN
#define W   INVALID_INTLEN
#define B   INVALID_INTLEN
#define HU   (H | U)
#define DU   (D | U)
#define WU   (W | U)
#define BU   (B | U)
#define _   INVALID_INTLEN
#define _   ((signed char) -100)

Variables

signed char _wr_ilchk [LAST_DATA_ED][MAX_SUP_INTLEN]
signed char _rd_ilchk [LAST_DATA_ED][MAX_SUP_INTLEN]
signed char _rw_mxdgt [LAST_DATA_ED][MAX_SUP_INTLEN]
fmtchk_t _RCHK [DVTYPE_ASCII]
fmtchk_t _RNOCHK [DVTYPE_ASCII]
fmtchk_t _RCHK77 [DVTYPE_ASCII]
fmtchk_t _RCHK90 [DVTYPE_ASCII]
fmtchk_t _WCHK [DVTYPE_ASCII]
fmtchk_t _WNOCHK [DVTYPE_ASCII]
fmtchk_t _WCHK77 [DVTYPE_ASCII]
fmtchk_t _WCHK90 [DVTYPE_ASCII]


Define Documentation

#define _   ((signed char) -100)

Definition at line 137 of file fmtchk.c.

#define _   INVALID_INTLEN

Definition at line 137 of file fmtchk.c.

#define B   INVALID_INTLEN

Definition at line 79 of file fmtchk.c.

#define BU   (B | U)

Definition at line 85 of file fmtchk.c.

#define D   ((signed char) MODEDP)

Definition at line 61 of file fmtchk.c.

#define DU   (D | U)

Definition at line 83 of file fmtchk.c.

#define H   INVALID_INTLEN

Definition at line 67 of file fmtchk.c.

#define HU   (H | U)

Definition at line 82 of file fmtchk.c.

#define U   ((signed char) MODEUN)

Definition at line 62 of file fmtchk.c.

#define W   INVALID_INTLEN

Definition at line 73 of file fmtchk.c.

#define WU   (W | U)

Definition at line 84 of file fmtchk.c.


Variable Documentation

fmtchk_t _RCHK[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0 },  
  {  1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0 },  
  {  1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 186 of file fmtchk.c.

Referenced by _wf_setup(), and rd_ed().

fmtchk_t _RCHK77[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0 },  
  {  1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 214 of file fmtchk.c.

Referenced by _wf_setup().

fmtchk_t _RCHK90[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 228 of file fmtchk.c.

Referenced by _wf_setup().

signed char _rd_ilchk[LAST_DATA_ED][MAX_SUP_INTLEN]

Initial value:

 {
  
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, 0  }, 
  { BU,WU, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  B, W, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  {  B, W, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  { BU,WU, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, 0  }, 
  { BU,WU, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, _  }  
}

Definition at line 109 of file fmtchk.c.

Referenced by _rdfmt().

fmtchk_t _RNOCHK[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 },  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 },  
  {  1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 200 of file fmtchk.c.

Referenced by _wf_setup().

signed char _rw_mxdgt[LAST_DATA_ED][MAX_SUP_INTLEN]

Initial value:

 {
  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  8,16, _,32, _, _, _,64, _, _, _, _, _, _, _,127},  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  3, 5, _,10, _, _, _,19, _, _, _, _, _, _, _, _ },  
  {  2, 2, _, 2, _, _, _, 2, _, _, _, _, _, _, _, _ },  
  {  3, 6, _,11, _, _, _,22, _, _, _, _, _, _, _,44 },  
  {  _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _ },  
  {  2, 4, _, 8, _, _, _,16, _, _, _, _, _, _, _,32 },  
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, _ } 
}

Definition at line 140 of file fmtchk.c.

Referenced by _rdfmt(), _wf_setup(), and _wrfmt().

fmtchk_t _WCHK[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0 },  
  {  1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0 },  
  {  1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 242 of file fmtchk.c.

Referenced by _wf_setup(), and w_ed().

fmtchk_t _WCHK77[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0 },  
  {  1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 270 of file fmtchk.c.

Referenced by _wf_setup().

fmtchk_t _WCHK90[DVTYPE_ASCII]

Initial value:

 {

  
  {  1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1 },  
  {  1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1 },  
  {  1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 284 of file fmtchk.c.

Referenced by _wf_setup().

fmtchk_t _WNOCHK[DVTYPE_ASCII]

Initial value:

 {
  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 },  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },  
  {  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 },  
  {  1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0 } 
}

Definition at line 256 of file fmtchk.c.

Referenced by _wf_setup().

signed char _wr_ilchk[LAST_DATA_ED][MAX_SUP_INTLEN]

Initial value:

 {
  
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, 0  }, 
  { BU,WU, _,HU, _, _, _, U, _, _, _, _, _, _, _, DU }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  _, _, _, H, _, _, _, 0, _, _, _, _, _, _, _, D  }, 
  {  B, W, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  {  B, W, _, H, _, _, _, 0, _, _, _, _, _, _, _, _  }, 
  { BU,WU, _,HU, _, _, _, U, _, _, _, _, _, _, _, DU }, 
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, 0  }, 
  { BU,WU, _,HU, _, _, _, U, _, _, _, _, _, _, _, DU }, 
  {  0, 0, _, 0, _, _, _, 0, _, _, _, _, _, _, _, _  }  
}

Definition at line 90 of file fmtchk.c.

Referenced by _wrfmt().


Generated on Wed Apr 8 15:53:12 2009 for Open64 by  doxygen 1.5.6