Home
last modified time | relevance | path

Searched refs:strndupx (Results 1 – 7 of 7) sorted by relevance

/external/mksh/src/
Dvar.c183 strndupx(vn, n, p - n, ATEMP); in array_index_calc()
205 strndupx(tmp, p + 1, len - 2, ATEMP); in array_index_calc()
208 strndupx(n, n, p - n, ATEMP); in array_index_calc()
735 strndupx(tvar, var, val - var, ATEMP); in typeset()
1405 strndupx(rv, str, p - str, ATEMP); in arrayname()
1425 strndupx(cp, var, n - 1, ATEMP); in set_array()
1467 strndupx(cp, vals[i] + 1, ccp - (vals[i] + 1), in set_array()
Dexpr.c558 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
566 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
587 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); in exprtoken()
Deval.c475 strndupx(x.str, beg, num, ATEMP); in expand()
604 strndupx(end, s, sbeg - s, ATEMP); in expand()
1421 strndupx(end, str, p - str, ATEMP); in trimsub()
1530 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
Dsh.h535 #define strndupx(d, s, n, ap) do { \ macro
551 #define strndupx(d, s, n, ap) do { \ macro
Dedit.c614 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob()
2263 strndupx(cp, xcp, nchars, AEDIT); in x_push()
2759 strndupx(unescaped, xbuf + start, olen, ATEMP); in do_complete()
Dfuncs.c1093 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias()
2469 strndupx(cp, id, n - 3, ATEMP); in c_unset()
Dmisc.c223 strndupx(cp, m, cp - m, ATEMP); in getoptions()