Lines Matching defs:ex
41 struct expression *ex, *at;
43 ex = malloc(sizeof(struct expression));
44 if (ex == NULL) {
48 memset(ex, 0, sizeof(struct expression));
50 *exp_p = ex;
55 *last_p = ex;
58 at->next = ex;
59 ex->prev = at;
60 *last_p = ex;
62 return (ex);
213 struct expression *at, *ex;
216 ex = malloc(sizeof(struct expression));
217 if (ex == NULL) {
221 memset(ex, 0, sizeof(struct expression));
222 ex->type = TYPE_PARN_OPEN;
228 ex->next = at;
229 at->prev = ex;
230 *beg = ex;
236 ex->prev = at->prev;
237 ex->prev->next = ex;
238 ex->next = at;
239 at->prev = ex;
273 struct expression *at, *ex;
275 ex = malloc(sizeof(struct expression));
276 if (ex == NULL) {
280 memset(ex, 0, sizeof(struct expression));
281 ex->type = TYPE_PARN_CLOSE;
282 *added = ex;
289 ex->next = at->next;
290 ex->prev = at;
291 at->next = ex;