code2.c File Reference

#include <../../nrnconf.h>
#include "hoc.h"
#include "hocstr.h"
#include "parse.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
Include dependency graph for code2.c:

Functions

double chkarg ()
Symbolhoc_table_lookup ()
char ** hoc_pgargstr ()
float * hoc_sym_domain (Symbol *sym)
HocSymExtensionhoc_var_extra (char *name)
Symbolhoc_name2sym (char *name)
 hoc_Symbol_limits ()
 hoc_symbol_limits (Symbol *sym, float low, float high)
 hoc_symbol_tolerance (Symbol *sym, double tol)
double check_domain_limits (float *limits, double val)
char * hoc_symbol_units (Symbol *sym, char *units)
 hoc_Symbol_units ()
char * neuronhome_forward ()
 hoc_neuronhome ()
char * gargstr (int narg)
 hoc_Strcmp ()
int hoc_sscanf ()
int hoc_vsscanf (char *buf)
 System ()
int Xred ()
 symbols ()
double chkarg (int arg, double low, double high)
int hoc_nopop ()
int hoc_print ()
int hoc_xopen_run ()
double hoc_xpop ()
double hoc_run_expr (Symbol *sym)
Symbolhoc_parse_expr (char *str, Symlist **psymlist)
 hoc_run_stmt (Symbol *sym)
Symbolhoc_parse_stmt (char *str, Symlist **psymlist)
 hoc_pointer ()
double * hoc_val_pointer (char *s)
 hoc_name_declared ()

Variables

int units_on_flag_
FILE * fin
char ** gargv
int gargc
Symlisthoc_built_in_symlist
Symlisthoc_top_level_symlist
char * neuron_home_dos
Symlistsymlist
Symlistp_symlist
int zzdebug
Insthoc_pc
double hoc_ac_
double * hoc_varpointer

Function Documentation

double check_domain_limits ( float*  limits,
double  val 
)
double chkarg ( int  arg,
double  low,
double  high 
)

References getarg(), and hoc_execerror().

Here is the call graph for this function:

double chkarg (  ) 
char* gargstr ( int  narg  ) 
Symbol* hoc_name2sym ( char *  name  ) 

References buf, emalloc, hoc_table_lookup(), Symbol::template, Symbol::type, and Symbol::u.

Referenced by hoc_Symbol_limits(), and hoc_Symbol_units().

Here is the call graph for this function:

hoc_name_declared (  ) 

References gargstr(), getarg(), hoc_lookup(), hoc_symlist, ifarg(), pushx, ret, STRING, Symbol::type, and x.

Here is the call graph for this function:

hoc_neuronhome (  ) 

References chkarg(), hoc_pushstr(), hoc_ret(), ifarg(), neuron_home, and neuron_home_dos.

Here is the call graph for this function:

int hoc_nopop (  ) 
Symbol* hoc_parse_expr ( char*  str,
Symlist**  psymlist 
)
Symbol* hoc_parse_stmt ( char*  str,
Symlist**  psymlist 
)
char** hoc_pgargstr (  ) 
hoc_pointer (  ) 

References hoc_pgetarg(), pushx, and ret.

Here is the call graph for this function:

int hoc_print (  ) 
double hoc_run_expr ( Symbol sym  ) 

References hoc_execute().

Here is the call graph for this function:

hoc_run_stmt ( Symbol sym  ) 

References hoc_execute().

Here is the call graph for this function:

int hoc_sscanf (  ) 

References gargstr(), hoc_vsscanf(), n, pushx, and ret.

Here is the call graph for this function:

hoc_Strcmp (  ) 

References gargstr(), pushx, and ret.

Here is the call graph for this function:

float* hoc_sym_domain ( Symbol sym  ) 
hoc_symbol_limits ( Symbol sym,
float  low,
float  high 
)

References emalloc, and sym_extra_alloc().

Referenced by hoc_register_limits(), hoc_Symbol_limits(), and ion_reg().

Here is the call graph for this function:

hoc_Symbol_limits (  ) 
hoc_symbol_tolerance ( Symbol sym,
double  tol 
)

References sym_extra_alloc().

Referenced by hoc_register_tolerance().

Here is the call graph for this function:

hoc_Symbol_units (  ) 
char* hoc_symbol_units ( Symbol sym,
char*  units 
)

References emalloc, and sym_extra_alloc().

Referenced by hoc_register_units(), hoc_Symbol_units(), ion_reg(), and KSChan::setcond().

Here is the call graph for this function:

Symbol* hoc_table_lookup (  ) 
double* hoc_val_pointer ( char*  s  ) 

References HocStr::buf, buf, hoc_oc(), hocstr_create(), and hocstr_delete().

Referenced by nrnglobalmechmenu(), and SymDirectory::variable().

Here is the call graph for this function:

HocSymExtension* hoc_var_extra ( char*  name  ) 

References Symbol::extra, and hoc_lookup().

Here is the call graph for this function:

int hoc_vsscanf ( char*  buf  ) 

References arg, assert, d, emalloc, gargstr(), hoc_assign_str(), hoc_execerror(), hoc_is_pdouble_arg(), hoc_is_str_arg(), hoc_pgargstr(), hoc_pgetarg(), i, if(), ifarg(), n, s, and type.

Referenced by hoc_sscanf().

Here is the call graph for this function:

int hoc_xopen_run (  ) 
double hoc_xpop (  ) 
char* neuronhome_forward (  ) 

References buf, emalloc, hoc_back2forward(), hoc_forward2back(), and neuron_home.

Referenced by nrnpy_augment_path().

Here is the call graph for this function:

symbols (  ) 
System (  ) 
int Xred (  ) 

References d, gargstr(), getarg(), pushx, ret, and xred().

Here is the call graph for this function:


Variable Documentation

FILE* fin
char** gargv
double hoc_ac_
double* hoc_varpointer
char* name

Referenced by hoc_neuronhome(), and setneuronhome().

short t_type

Referenced by hoc_Symbol_units(), and ivocmain().

Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3