Lines Matching refs:contents

13 template <class contents>
15 contents* car;
19 inline LispNode(contents* value) in LispNode()
23 inline LispNode(contents* value, LispNode* next) in LispNode()
27 inline LispNode(LispNode* prev, contents* value) in LispNode()
32 template <class contents>
34 LispNode<contents> *first;
45 inline LispList(LispNode<contents>* _first) in LispList()
66 inline int is_present(contents* element) in is_present()
68 for (LispNode<contents>* node = first; node; node = node->cdr) in is_present()
79 for (LispNode<contents>* node = first; node; node = node->cdr) in count()
87 inline void add_head(LispNode<contents>* new_element) in add_head()
95 inline void add(LispNode<contents>* new_element) in add()
101 inline void add_tail(LispNode<contents>* new_element) in add_tail()
103 LispNode<contents>** pred = &first; in add_tail()
115 inline void add_head_new(contents* new_element) in add_head_new()
117 first = new LispNode<contents>(new_element, first); in add_head_new()
121 inline void add_head(contents* new_element) in add_head()
128 inline void add_tail_new(contents* new_element) in add_tail_new()
130 LispNode< contents >** pred = &first; in add_tail_new()
134 *pred = new LispNode< contents >(new_element); in add_tail_new()
138 inline void add_tail(contents* new_element) in add_tail()
145 inline void add_new(contents* new_element) in add_new()
151 inline void add(contents* new_element) in add()
159 inline void add_new_once(contents* new_element) in add_new_once()
166 inline void add_tail_once(contents *new_element) in add_tail_once()
176 inline LispNode<contents>* rem_head () in rem_head()
178 LispNode<contents>* n = first; in rem_head()
189 inline LispNode<contents>* remove () in remove()
196 inline void remove (LispNode<contents>* node) in remove()
198 for (LispNode<contents> **pp = &first; *pp; pp = &(*pp)->cdr) in remove()
207 inline void rem_del (contents* element) in rem_del()
209 LispNode<contents>** pp = &first; in rem_del()
212 LispNode<contents> *o = *pp; in rem_del()
225 LispNode<contents>* old = first; in rem_del_all()
239 inline void put( contents* c ) in put()
246 inline void put_head( contents* c ) in put_head()
253 inline void put_tail( contents* c ) in put_tail()
260 inline contents *get(contents *element)
262 contents *c = 0;
263 for (LispNode<contents> *node = first; node; node = node->cdr)
277 inline contents* get_head() in get_head()
279 contents *c = 0; in get_head()
289 inline contents* get() in get()
299 inline void push(contents* c) in push()
306 inline contents* pop() in pop()
323 for (LispNode<contents>* n = other.first; n; n = n->cdr) in add_new()
330 for (LispNode<contents>* n = other.first; n; n = n->cdr) in add_new_once()
339 for (LispNode<contents>* n = other.first; n; n = n->cdr) in rem_del()