#include "parm.h"
#include <stdio.h>
#include <varargs.h>
#include "ststructs.mh"
#include "Array.h"
Go to the source code of this file.
Functions | |
NODE * | addleft (NODE *l, NODE *e) |
LIST | addright (LIST l, NODE *e) |
LIST | mklist (va_alist) |
int | length (NODE *l) |
Array * | list_to_array (NODE *l) |
free_array (Array *a) | |
LIST | split (int kindno, NODE *id_list, NODE *arg1, NODE *arg2, NODE *arg3, NODE *arg4, NODE *arg5) |
NODE * | conc (NODE *l1, NODE *l2) |
NODE * | replace_last (NODE *l, NODE *p) |
Variables | |
int | stsize [] |
int | stptrs [] |
int | stmkfields [] |
LIST addright | ( | LIST | l, | |
NODE * | e | |||
) |
Definition at line 64 of file listops.c.
References BADflag, cn_cons(), cn_settail, dbgmsg, is_empty, kindname(), lock, and NIL.
Referenced by add_id_fv(), clear_construction(), decl_sort(), delcomp(), findapplsig(), findmpsig(), findsig(), fixhints(), gden_order(), infer_args(), list_in(), main(), mklist(), sig_in1(), split(), subst1(), tsig_order(), tsubst1(), and unshare1().
free_array | ( | Array * | a | ) |
Definition at line 193 of file listops.c.
References BADflag, diagmsg, free, unlock, and vfree.
Referenced by findmpsig(), gden_order(), mkappl(), and tsig_order().
int length | ( | NODE * | l | ) |
Definition at line 127 of file listops.c.
References dbgmsg.
Referenced by checksigs(), coerce(), comp1_st(), compile_stub(), construct_inline(), def_match(), Fexpression(), find_inline(), findapplsig(), finddecl1(), findsig(), fixhints(), Gentry_trace(), Gexpression(), Gfind_inline(), Gfunc_body(), Gfuncconstructor(), infer_args(), label_decls(), label_wl(), list_to_array(), sig_out1(), subst1(), tsig_length(), tsubst1(), type_constr(), unparse(), unshare1(), Vallocate(), Vallocwalk(), Vappl(), Ventry_trace(), and Vfuncconstructor().
LIST mklist | ( | va_alist | ) |
Definition at line 103 of file listops.c.
References addright().
Referenced by bld_analyze(), cand_cond(), coerce(), cor_cond(), expand_str(), findsig(), initids(), main(), mk_put_selection(), mkappl2(), and tsig_order().
LIST split | ( | int | kindno, | |
NODE * | id_list, | |||
NODE * | arg1, | |||
NODE * | arg2, | |||
NODE * | arg3, | |||
NODE * | arg4, | |||
NODE * | arg5 | |||
) |
Definition at line 232 of file listops.c.
References addright(), bitcnt(), dbgmsg, mknode(), stmkfields, and stsize.
int stmkfields[] |
int stptrs[] |
Referenced by copynode(), and mknode().
int stsize[] |