Lines Matching refs:mem_alloc
73 static void *mem_alloc(struct memh *mh, size_t len);
156 if (expr && (str = (char *) mem_alloc(mh, strlen(expr)+1))) { in evaluate()
219 list = (struct tok *) mem_alloc(mh, i * sizeof(struct tok)); in tokenize()
377 tok = (struct tok *) mem_alloc(mh, tok_size); in tokenize()
612 t = (struct tok *) mem_alloc(mh, sizeof(struct tok)); in eval()
660 valstk = (struct val *) mem_alloc(mh, vcnt * sizeof(struct val)); in eval()
661 opstk = (struct tok **) mem_alloc(mh, ocnt * sizeof(struct tok *)); in eval()
1046 void *mem_alloc(struct memh *mh, size_t len) { in mem_alloc() function
1096 void *mem_alloc(struct memh *mh, size_t len) { in mem_alloc() function
1135 vt = (struct vartable *) mem_alloc(mh, sizeof(struct vartable)); in create_vartable()
1165 v = (struct var *) mem_alloc(vt->mh, sizeof(struct var)); in put_var()
1166 n = (char *) mem_alloc(vt->mh, strlen(name)+1); in put_var()