Home
last modified time | relevance | path

Searched refs:ATEMP (Results 1 – 15 of 15) sorted by relevance

/external/mksh/src/
Deval.c125 s = pushs(SWSTR, ATEMP); in substitute()
131 afree(s, ATEMP); in substitute()
266 Xinit(ds, dp, 128, ATEMP); in expand()
395 beg = wdcopy(sp, ATEMP); in expand()
402 afree(beg, ATEMP); in expand()
415 newst = alloc(sizeof(SubType), ATEMP); in expand()
455 beg = wdcopy(sp, ATEMP); in expand()
473 afree(stg, ATEMP); in expand()
477 afree(stg, ATEMP); in expand()
479 afree(beg, ATEMP); in expand()
[all …]
Dsyn.c202 yylval.cp = wdcopy(IONDELIM_delim, ATEMP); in synio()
221 nextiop = alloc(sizeof(*iop), ATEMP); in synio()
222 nextiop->ioname = cp = alloc(3, ATEMP); in synio()
276 iops = alloc2((NUFILE + 1), sizeof(struct ioword *), ATEMP); in get_command()
284 afree(iops, ATEMP); in get_command()
351 XPput(args, wdcopy(builtin_cmd, ATEMP)); in get_command()
352 XPput(args, wdcopy(setA_cmd0, ATEMP)); in get_command()
353 XPput(args, wdcopy(setA_cmd1, ATEMP)); in get_command()
355 XPput(args, wdcopy(setA_cmd2, ATEMP)); in get_command()
368 afree(t, ATEMP); in get_command()
[all …]
Dmisc.c211 strndupx(cp, m, cp - m, ATEMP); in getoptions()
557 cp = alloc(strlen((const void *)sp) + 1, ATEMP); in simplify_gmatch_pattern()
645 char *t = len <= sizeof(tbuf) ? tbuf : alloc(len, ATEMP); in gmatchx()
661 afree(pnew, ATEMP); in gmatchx()
1014 strndupx(subp, s, p - s - 3, ATEMP); in gmatch_cclass()
1033 afree(subp, ATEMP); in gmatch_cclass()
1045 afree(subp, ATEMP); in gmatch_cclass()
1106 strndupx(subp, s, p - s - 3, ATEMP); in gmatch_cclass()
1130 afree(subp, ATEMP); in gmatch_cclass()
1494 str = alloc(max_oct, ATEMP); in print_columns()
[all …]
Dos2.c205 strdupx(cp, val, ATEMP); in setextlibpath()
213 afree(cp, ATEMP); in setextlibpath()
276 x_name = alloc(x_namelen, ATEMP); in access_stat_ex()
285 afree(x_name, ATEMP); in access_stat_ex()
327 strdupx(real_name, x_name, ATEMP); in real_exec_name()
353 strdupx(result, rsp_name_arg, ATEMP); in make_response_file()
437 afree(rsp_name_arg, ATEMP); in execve()
544 cp = aresize(*cpp, (size_t)sz + (size_t)4, ATEMP); in getdrvwd()
556 afree(cp, ATEMP); in getdrvwd()
Dvar.c71 l = alloc(sizeof(struct block), ATEMP); in newblock()
113 afree(l, ATEMP); in popblock()
190 strndupx(vn, n, p - n, ATEMP); in array_index_calc()
193 afree(vn, ATEMP); in array_index_calc()
200 afree(ap, ATEMP); in array_index_calc()
213 strndupx(tmp, p + 1, len - 2, ATEMP); in array_index_calc()
215 afree(tmp, ATEMP); in array_index_calc()
216 strndupx(n, n, p - n, ATEMP); in array_index_calc()
219 afree(sub, ATEMP); in array_index_calc()
258 vp->areap = ATEMP; in isglobal()
[all …]
Dlex.c166 ri = alloc(sizeof(struct sretrace_info), ATEMP); \
167 Xinit(ri->xs, ri->xp, 64, ATEMP); \
178 afree(dp, ATEMP); \
208 Xinit(ws, wp, 64, ATEMP); in yylex()
289 afree(tmp, ATEMP); in yylex()
637 afree(sp, ATEMP); in yylex()
858 afree(sp, ATEMP); in yylex()
895 struct ioword *iop = alloc(sizeof(struct ioword), ATEMP); in yylex()
941 afree(iop, ATEMP); in yylex()
1029 afree(yylval.cp, ATEMP); in yylex()
[all …]
Dexpr.c592 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
594 afree(tvar, ATEMP); in exprtoken()
601 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
615 tvar = alloc(c + /* NUL */ 1, ATEMP); in exprtoken()
625 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); in exprtoken()
633 afree(tvar, ATEMP); in exprtoken()
668 vp = alloc(offsetof(struct tbl, name[0]) + vsize, ATEMP); in tempvar()
672 vp->areap = ATEMP; in tempvar()
Dfuncs.c281 afree(allocd, ATEMP); in c_pwd()
457 Xinit(xs, xp, 128, ATEMP); in c_print()
517 Xinit(xs, xp, 128, ATEMP); in c_print()
534 afree(XPptrv(po.words)[w], ATEMP); in c_print()
862 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias()
867 afree(xalias, ATEMP); in c_alias()
911 afree(xalias, ATEMP); in c_alias()
1337 strdupx(up, *wp, ATEMP); in c_bind()
1346 afree(up, ATEMP); in c_bind()
1690 strdupx(allocd, *wp, ATEMP); in c_read()
[all …]
Dmain.c209 strdupx(x, cx, ATEMP); in isuc()
219 afree(x, ATEMP); in isuc()
487 s = pushs(SSTRINGCMDLINE, ATEMP); in main_init()
506 s = pushs(SFILE, ATEMP); in main_init()
534 s = pushs(SSTDIN, ATEMP); in main_init()
767 s = pushs(SFILE, ATEMP); in include()
769 strdupx(s->file, name, ATEMP); in include()
787 s = pushs(SSTRING, ATEMP); in command()
989 cp = alloc(sizeof(struct env) - sizeof(ALLOC_ITEM), ATEMP); in newenv()
1087 afree(cp + sizeof(ALLOC_ITEM), ATEMP); in quitenv()
[all …]
Dhistrap.c112 editor = alloc(len + 4, ATEMP); in c_fc()
171 strdupx(pat, *wp, ATEMP); in c_fc()
190 strdupx(line, *hp, ATEMP); in c_fc()
200 Xinit(xs, xp, 128, ATEMP); in c_fc()
223 return (hist_execute(line, ATEMP)); in c_fc()
295 tf = maketemp(ATEMP, TT_HIST_EDIT, &e->temps); in c_fc()
854 afree(nhname, ATEMP); in hist_persist_init()
1190 strdupx(as, cs, ATEMP); in gettrap()
1215 afree(as, ATEMP); in gettrap()
Dshf.c60 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_open()
61 shf->areap = ATEMP; in shf_open()
138 shf->buf = alloc(bsize, ATEMP); in shf_fdopen()
143 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_fdopen()
147 shf->areap = ATEMP; in shf_fdopen()
206 shf = alloc(sizeof(struct shf), ATEMP); in shf_sopen()
209 shf->areap = ATEMP; in shf_sopen()
Dedit.c358 afree(s, ATEMP); in x_glob_hlp_tilde_and_rem_qchar()
400 s = pushs(SWSTR, ATEMP); in x_file_glob()
409 afree(s, ATEMP); in x_file_glob()
518 alloc2(nwords, sizeof(struct path_order_info), ATEMP); in x_command_glob()
533 afree(info, ATEMP); in x_command_glob()
544 afree(words[i], ATEMP); in x_command_glob()
638 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob()
683 afree(toglob, ATEMP); in x_cf_glob()
728 afree(words[--nwords], ATEMP); in x_free_words()
729 afree(words, ATEMP); in x_free_words()
[all …]
Dexec.c115 afree(dp, ATEMP); in execute()
134 e->savefd = alloc2(NUFILE, sizeof(short), ATEMP); in execute()
1233 afree(npath.rw, ATEMP); in findcom()
1341 Xinit(xs, xp, 128, ATEMP); in search_path()
1485 afree(sp, ATEMP); in iosetup()
1552 afree(sp, ATEMP); in iosetup()
1601 s = pushs(SSTRING, ATEMP); in hereinval()
1638 h = maketemp(ATEMP, TT_HEREDOC_EXP, &e->temps); in herein()
Dtree.c96 afree(cp, ATEMP); in ptree()
785 buf = alloc(sz + 16, ATEMP); in vistree()
819 afree(buf, ATEMP); in vistree()
Dsh.h774 #define ATEMP &e->area macro
2063 (x).beg = alloc2((x).siz, sizeof(void *), ATEMP); \
2069 2 * sizeof(void *), ATEMP); \
2077 #define XPclose(x) aresize2((x).beg, XPsize(x), sizeof(void *), ATEMP)
2078 #define XPfree(x) afree((x).beg, ATEMP)