#include "parm.h"#include "sttdefs.h"#include "arith.h"#include <stdio.h>#include "stree/ststructs.mh"#include "pass2/Idtable.h"Go to the source code of this file.
Defines | |
| #define | STTHDRSZ 128 |
Functions | |
| Sttentry * | stt_abs (sttrelptr rpt) |
| char * | getname (sttrelptr rpt) |
| stt_balloc (unsigned blkno) | |
| sttrelptr | stt_alloc (unsigned nbytes) |
| sttrelptr | stt_enter (char *str, int lgth) |
| build_Idtable () | |
| Idcompare (Identry *e1, Identry *e2) | |
Variables | |
| sttblock * | sttindx [STTNBLKS] |
| sttrelptr | sttfirstfree |
| sttrelptr | stthdr [STTHDRSZ] |
| #define STTHDRSZ 128 |
| build_Idtable | ( | ) |
Definition at line 163 of file stt.c.
References alloc, dbgmsg, Identry::i_sttindx, Identry::i_value, Idcompare(), Idtable, NIL, stt_abs(), STT_NO_NEXT_ENTRY, Sttentry::stte_next, stthdr, STTHDRSZ, and sttnstrings.
Referenced by main().
| char* getname | ( | sttrelptr | rpt | ) |
Definition at line 45 of file stt.c.
References stt_abs().
Referenced by add_id_fv(), bld_analyze(), check_sig(), comp_tsc(), comp_wlc(), compile_decl(), compile_stubs(), Fexpression(), finddecl1(), findidsig(), findmpsig(), findsig(), get_complexity(), getcomp(), Gexpression(), Gident(), hascomp(), import(), inscomp(), is_unique(), main(), prefix(), prtr1(), put_name(), realloc_blocks(), sig_out1(), sigids(), subst1(), tl_findsig(), tsig_order(), tsubst1(), unparse(), Vallocwalk(), Vappl(), Vexpression(), yyperror(), and yywarn().
Definition at line 31 of file stt.c.
References STTBLKNO, sttindx, and STTOFFSET.
Referenced by build_Idtable(), getname(), and stt_enter().
| sttrelptr stt_alloc | ( | unsigned | nbytes | ) |
Definition at line 77 of file stt.c.
References roundup, stt_balloc(), STTBLKNO, sttfirstfree, sttindx, and STTOFFSET.
Referenced by stt_enter().
| stt_balloc | ( | unsigned | blkno | ) |
Definition at line 60 of file stt.c.
References gc_malloc_atomic, sttindx, STTNBLKS, and yyperror().
Referenced by stt_alloc(), and stt_enter().
| sttrelptr stt_enter | ( | char * | str, | |
| int | lgth | |||
| ) |
Definition at line 114 of file stt.c.
References FALSE, stt_abs(), stt_alloc(), stt_balloc(), STT_NO_NEXT_ENTRY, Sttentry::stte_next, Sttentry::stte_str, STTENTRYSZ, sttfirstfree, stthdr, STTHDRSZ, sttnstrings, and TRUE.
Referenced by expand_str(), get_name(), initids(), main(), prefix(), rdposition(), reschk(), and yylex().
1.5.4