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()
729 strndupx(tvar, var, val - var, ATEMP); in typeset()
1369 strndupx(rv, str, p - str, ATEMP); in arrayname()
1392 strndupx(cp, var, n - 1, ATEMP); in set_array()
1437 strndupx(cp, vals[i] + 1, ccp - (vals[i] + 1), in set_array()
Dexpr.c519 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
527 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
548 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); in exprtoken()
Deval.c428 strndupx(x.str, beg, num, ATEMP); in expand()
556 strndupx(end, s, sbeg - s, ATEMP); in expand()
1330 strndupx(end, str, p - str, ATEMP); in trimsub()
1439 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
Dsh.h448 #define strndupx(d, s, n, ap) do { \ macro
464 #define strndupx(d, s, n, ap) do { \ macro
Dfuncs.c1069 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias()
2427 strndupx(cp, id, n - 3, ATEMP); in c_unset()
Dmisc.c209 strndupx(cp, m, cp - m, ATEMP); in getoptions()
Dedit.c542 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob()
2185 strndupx(cp, xcp, nchars, AEDIT); in x_push()