#include <../../nrnconf.h>
#include "hoc.h"
#include "hocstr.h"
#include "parse.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
double check_domain_limits | ( | float* | limits, | |
double | val | |||
) |
double chkarg | ( | int | arg, | |
double | low, | |||
double | high | |||
) |
double chkarg | ( | ) |
char* gargstr | ( | int | narg | ) |
References hoc_pgargstr().
Referenced by batch_run(), fit_praxis(), hoc_allobjects(), hoc_Chdir(), hoc_exec_cmd(), hoc_Execerror(), hoc_execute1(), hoc_fmenu(), hoc_Graph(), hoc_load_file(), hoc_Lw(), hoc_name_declared(), hoc_nrn_load_dll(), hoc_Sred(), hoc_sscanf(), hoc_stdout(), hoc_Strcmp(), hoc_Symbol_limits(), hoc_Symbol_units(), hoc_vsscanf(), hoc_win_exec(), implementTable(), ion_charge(), ion_register(), ismembrane(), issection(), ivoc_gr_begin_line(), ivoc_gr_gif(), ivoc_gr_label(), ivoc_gr_mark(), ivoc_gr_menu_remove(), ivoc_gr_menu_tool(), make_mechanism(), make_pointprocess(), nernst(), neuron2nemo(), nrn_vecsim_add(), nrnglobalmechmenu(), nrnpython_real(), push_section(), ropen(), section_exists(), sprint(), System(), wopen(), xopen(), and Xred().
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().
hoc_name_declared | ( | ) |
References gargstr(), getarg(), hoc_lookup(), hoc_symlist, ifarg(), pushx, ret, STRING, Symbol::type, and x.
hoc_neuronhome | ( | ) |
References chkarg(), hoc_pushstr(), hoc_ret(), ifarg(), neuron_home, and neuron_home_dos.
int hoc_nopop | ( | ) |
Referenced by call_ob_proc(), connect_point_process_pointer(), hoc_assignsym(), hoc_newobj(), hoc_newobj1(), hoc_object_component(), and hoc_pop_defer().
References HocStr::buf, Proc::defn, hoc_install(), hoc_xopen_run(), hocstr_create(), hocstr_delete(), Inst::in, Proc::list, Proc::nauto, Proc::nobjauto, STOP, Symbol::u, and Symbol::u_proc.
References HocStr::buf, Proc::defn, hoc_install(), hoc_xopen_run(), hocstr_create(), hocstr_delete(), Inst::in, Proc::list, Proc::nauto, Proc::nobjauto, STOP, Symbol::u, and Symbol::u_proc.
char** hoc_pgargstr | ( | ) |
hoc_pointer | ( | ) |
int hoc_print | ( | ) |
double hoc_run_expr | ( | Symbol* | sym | ) |
hoc_run_stmt | ( | Symbol* | sym | ) |
int hoc_sscanf | ( | ) |
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().
hoc_Symbol_limits | ( | ) |
References assert, gargstr(), getarg(), hoc_execerror(), hoc_get_last_pointer_symbol(), hoc_is_str_arg(), hoc_name2sym(), hoc_pgetarg(), hoc_symbol_limits(), name, pushx, and ret.
hoc_symbol_tolerance | ( | Symbol* | sym, | |
double | tol | |||
) |
References sym_extra_alloc().
Referenced by hoc_register_tolerance().
hoc_Symbol_units | ( | ) |
References assert, chkarg(), gargstr(), hoc_execerror(), hoc_get_last_pointer_symbol(), hoc_is_double_arg(), hoc_is_str_arg(), hoc_name2sym(), hoc_pgetarg(), hoc_pushstr(), hoc_ret(), hoc_symbol_units(), hoc_temp_charptr(), ifarg(), int, name, and units_on_flag_.
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().
Symbol* hoc_table_lookup | ( | ) |
Referenced by BBSImpl::execute_helper(), HocCommand::func_call(), hoc_decl(), hoc_endtemplate(), hoc_external_var(), hoc_name2obj(), hoc_name2sym(), hoc_object_component(), hoc_register_limits(), hoc_register_tolerance(), hoc_register_units(), hoc_which_template(), HocDataPaths::HocDataPaths(), install_vector_method(), KSChan::looksym(), lookup(), make_pointprocess(), Matrix_reg(), NonLinImpRep::NonLinImpRep(), nrn_get_mechtype(), nrn_modeltype(), nrn_new_pointprocess(), nrnallpointmenu(), nrnpointmenu(), NrnProperty::NrnProperty(), nrnpy_hoc(), Oc2IV::object_pstr(), OcList::OcList(), OcPointer_reg(), section_exists(), SectionRef_reg(), and Vector_reg().
double* hoc_val_pointer | ( | char* | s | ) |
References HocStr::buf, buf, hoc_oc(), hocstr_create(), and hocstr_delete().
Referenced by nrnglobalmechmenu(), and SymDirectory::variable().
HocSymExtension* hoc_var_extra | ( | char* | name | ) |
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().
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().
symbols | ( | ) |
References Symbol::arayinfo, Symlist::first, i, ISARRAY, Symbol::name, name, Symbol::next, Arrayinfo::nsub, Printf, pushx, ret, Arrayinfo::sub, Symbol::type, and zzdebug.
System | ( | ) |
References HocStr::buf, d, fgets_unlimited(), gargstr(), hoc_assign_str(), hoc_execerror(), hoc_pgargstr(), hoc_plttext, hoc_tmpbuf, hocstr_create(), hocstr_delete(), hocstr_resize(), i, ifarg(), IGNORE, n, pclose(), plprint(), popen(), pushx, ret, HocStr::size, Sprintf, and system().
int Xred | ( | ) |
FILE* fin |
char** gargv |
double hoc_ac_ |
Referenced by KSChan::add_channel(), KSChan::freesym(), HocDataPaths::HocDataPaths(), init(), KSChan::installsym(), SymDirectoryImpl::load(), KSChan::looksym(), mac_open_dll(), MechanismStandard::MechanismStandard(), NonLinImpRep::NonLinImpRep(), nrn_new_pointprocess(), nrnallpointmenu(), nrnglobalmechmenu(), NrnProperty::NrnProperty(), and HocDataPathImpl::search().
Referenced by hoc_call_func(), hoc_execstr(), and hoc_getsym().
double* hoc_varpointer |
char* name |
Referenced by declarePtrList(), hoc_araystr(), hoc_last_init(), hoc_register_limits(), hoc_register_tolerance(), hoc_register_units(), hoc_register_var(), hoc_section_pathname(), hoc_spinit(), hoc_Symbol_limits(), hoc_Symbol_units(), init(), ion_register(), neuron2nemo(), parallel_hoc_main(), secname(), special_pnt_call(), and symbols().
char* neuron_home_dos |
Referenced by hoc_neuronhome(), and setneuronhome().
short t_type |
Referenced by hoc_Symbol_units(), and ivocmain().