Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
vararg.c File Reference
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include "cmplrs/host.h"
#include "comargs.h"
Include dependency graph for vararg.c:

Go to the source code of this file.

Functions

void __argmnt (int64 *__vcnt, int32 *chararg1, int32 *nargs)
void __getadr (int64 *__vcnt, int32 *n, long *iaddr)
void __getcln (int64 *__vcnt, int32 *n, int32 *iclen)
int32 __nullok (int64 *__vcnt, int32 *n, long *iaddr)
void __xetarg (int64 *__vcnt, int32 *n, int32 *len, void *iarg)
void __retour (int64 *__vcnt, int32 *nargs,...)
void check_vararg_error (void)
void s_abort (void)
void f77fatal (int32, char *)
int32 nullok_ (int32 *argno, int32 *adr)
void getadr_ (int32 *argno, int32 *argadr)
void argmnt_ (int32 *narg)
void xetarg_ (int32 *argno, int32 *len, char *buff)
void set_varg_ ()
void free_varg_ ()
void retour_ (int32 *arg1,...)
void reset_comargs__ ()

Variables

int32 comargs__ [COMARGSZ]
static int32 nlev = -1
static int32 ** comptr = NULL
static int32 comptr_size = 0

Function Documentation

void __argmnt ( int64 __vcnt,
int32 chararg1,
int32 nargs 
)

Definition at line 44 of file vararg.c.

void __getadr ( int64 __vcnt,
int32 n,
long *  iaddr 
)

Definition at line 55 of file vararg.c.

References _MIPS_SIM_NABI32.

Referenced by __retour(), and __xetarg().

void __getcln ( int64 __vcnt,
int32 n,
int32 iclen 
)

Definition at line 95 of file vararg.c.

References _MIPS_SIM_NABI32.

int32 __nullok ( int64 __vcnt,
int32 n,
long *  iaddr 
)

Definition at line 116 of file vararg.c.

References _MIPS_SIM_NABI32.

void __retour ( int64 __vcnt,
int32 nargs,
  ... 
)

Definition at line 161 of file vararg.c.

References __getadr(), fprintf(), and len.

Here is the call graph for this function:

void __xetarg ( int64 __vcnt,
int32 n,
int32 len,
void *  iarg 
)

Definition at line 153 of file vararg.c.

References __getadr().

Here is the call graph for this function:

void argmnt_ ( int32 narg)

Definition at line 226 of file vararg.c.

References check_vararg_error(), comptr, and nlev.

Here is the call graph for this function:

void check_vararg_error ( void  )

Definition at line 269 of file vararg.c.

References fprintf(), nlev, and s_abort().

Referenced by argmnt_(), free_varg_(), getadr_(), nullok_(), and xetarg_().

Here is the call graph for this function:

void f77fatal ( int32  ,
char *   
)
void free_varg_ ( )

Definition at line 262 of file vararg.c.

References check_vararg_error(), comptr, free(), and nlev.

Here is the call graph for this function:

void getadr_ ( int32 argno,
int32 argadr 
)

Definition at line 218 of file vararg.c.

References check_vararg_error(), comptr, and nlev.

Here is the call graph for this function:

int32 nullok_ ( int32 argno,
int32 adr 
)

Definition at line 208 of file vararg.c.

References check_vararg_error(), comptr, and nlev.

Here is the call graph for this function:

void reset_comargs__ ( )

Definition at line 325 of file vararg.c.

References comargs__.

void retour_ ( int32 arg1,
  ... 
)

Definition at line 279 of file vararg.c.

References comptr, fprintf(), len, and nlev.

Here is the call graph for this function:

void s_abort ( void  )
void set_varg_ ( )

Definition at line 240 of file vararg.c.

References _ferr(), comargs__, comptr, comptr_size, f77fatal(), FENOMEMY, nlev, and NULL.

Here is the call graph for this function:

void xetarg_ ( int32 argno,
int32 len,
char *  buff 
)

Definition at line 233 of file vararg.c.

References check_vararg_error(), comptr, and nlev.

Here is the call graph for this function:


Variable Documentation

int32** comptr = NULL [static]

Definition at line 197 of file vararg.c.

Referenced by argmnt_(), free_varg_(), getadr_(), nullok_(), retour_(), set_varg_(), and xetarg_().

int32 comptr_size = 0 [static]

Definition at line 198 of file vararg.c.

Referenced by set_varg_().

int32 nlev = -1 [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines