symbol.c File Reference

#include <../../nrnconf.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "hoc.h"
#include "parse.h"
#include "hoclist.h"
Include dependency graph for symbol.c:

Functions

void print_symlist (char *s, Symlist *tab)
Symbolhoc_table_lookup (char *s, Symlist *tab)
Symbollookup (char *s)
Symbolinstall (char *s, int t, double d, Symlist **list)
Symbolhoc_install_var (char *name, double *pval)
 hoc_unlink_symbol (Symbol *s, Symlist *list)
 hoc_link_symbol (Symbol *sp, Symlist *list)
 hoc_malchk ()
char * hoc_Emalloc (unsigned n)
char * hoc_Ecalloc (unsigned n, unsigned size)
voidnrn_cacheline_alloc (void **memptr, size_t size)
voidnrn_cacheline_calloc (void **memptr, size_t nmemb, size_t size)
char * hoc_Erealloc (char *ptr, unsigned size)
 hoc_free_symspace (Symbol *s1)
 sym_extra_alloc (Symbol *sym)
 free_list (Symlist **list)
 hoc_free_val (double *p)
 hoc_free_val_array (double *p, int size)
 hoc_free_object (Object *p)
 hoc_free_string (char *p)
 hoc_free_pstring (char **p)

Variables

Symlistsymlist = (Symlist *)0
Symlistp_symlist = (Symlist *)0

Function Documentation

free_list ( Symlist **  list  ) 

References hoc_free_symspace(), Symbol::name, and Symbol::next.

Here is the call graph for this function:

char* hoc_Ecalloc ( unsigned  n,
unsigned  size 
)
char* hoc_Emalloc ( unsigned  n  ) 
char* hoc_Erealloc ( char *  ptr,
unsigned  size 
)

References hoc_Emalloc().

Here is the call graph for this function:

hoc_free_object ( Object*  p  ) 

References notify_pointer_freed().

Referenced by hoc_obj_unref().

Here is the call graph for this function:

hoc_free_pstring ( char**  p  ) 

References notify_freed().

Here is the call graph for this function:

hoc_free_string ( char*  p  ) 

Referenced by hoc_assign_str().

hoc_free_symspace ( Symbol s1  ) 
hoc_free_val ( double*  p  ) 

References notify_freed().

Here is the call graph for this function:

hoc_free_val_array ( double*  p,
int  size 
)

References notify_freed_val_array().

Referenced by hoc_freearay().

Here is the call graph for this function:

Symbol* hoc_install_var ( char*  name,
double*  pval 
)

References hoc_install(), Symbol::pval, s, Symbol::subtype, Symbol::type, Symbol::u, and USERDOUBLE.

Referenced by init().

Here is the call graph for this function:

hoc_link_symbol ( Symbol sp,
Symlist list 
)
hoc_malchk (  ) 
Symbol* hoc_table_lookup ( char *  s,
Symlist tab 
)
hoc_unlink_symbol ( Symbol s,
Symlist list 
)
Symbol* install ( char *  s,
int  t,
double  d,
Symlist **  list 
)
Symbol* lookup ( char *  s  ) 

References hoc_table_lookup().

Here is the call graph for this function:

void* nrn_cacheline_alloc ( void **  memptr,
size_t  size 
)

References fprintf(), hoc_Emalloc(), and hoc_malchk().

Referenced by nrn_cacheline_calloc().

Here is the call graph for this function:

void* nrn_cacheline_calloc ( void **  memptr,
size_t  nmemb,
size_t  size 
)

References hoc_Ecalloc(), hoc_malchk(), i, n, and nrn_cacheline_alloc().

Here is the call graph for this function:

void print_symlist ( char*  s,
Symlist tab 
)
sym_extra_alloc ( Symbol sym  ) 

Variable Documentation

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