Lines Matching refs:ex
38 struct expression *ex, *at;
40 ex = malloc(sizeof(struct expression));
41 if (ex == NULL) {
45 memset(ex, 0, sizeof(struct expression));
47 *exp_p = ex;
52 *last_p = ex;
55 at->next = ex;
56 ex->prev = at;
57 *last_p = ex;
59 return (ex);
210 struct expression *at, *ex;
213 ex = malloc(sizeof(struct expression));
214 if (ex == NULL) {
218 memset(ex, 0, sizeof(struct expression));
219 ex->type = TYPE_PARN_OPEN;
225 ex->next = at;
226 at->prev = ex;
227 *beg = ex;
233 ex->prev = at->prev;
234 ex->prev->next = ex;
235 ex->next = at;
236 at->prev = ex;
270 struct expression *at, *ex;
272 ex = malloc(sizeof(struct expression));
273 if (ex == NULL) {
277 memset(ex, 0, sizeof(struct expression));
278 ex->type = TYPE_PARN_CLOSE;
279 *added = ex;
286 ex->next = at->next;
287 ex->prev = at;
288 at->next = ex;