Home
last modified time | relevance | path

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

/external/mksh/src/
Dvar.c190 strndupx(vn, n, p - n, ATEMP); in array_index_calc()
213 strndupx(tmp, p + 1, len - 2, ATEMP); in array_index_calc()
216 strndupx(n, n, p - n, ATEMP); in array_index_calc()
805 strndupx(tvar, var, val - var, ATEMP); in typeset()
811 strndupx(tvar, var, val - var, ATEMP); in typeset()
1551 strndupx(rv, str, p - str, ATEMP); in arrayname()
1571 strndupx(cp, var, n - 1, ATEMP); in set_array()
1614 strndupx(cp, vals[i] + 1, ccp - (vals[i] + 1), in set_array()
Dexpr.c590 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
599 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken()
623 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); in exprtoken()
Deval.c489 strndupx(x.str, beg, num, ATEMP); in expand()
587 strndupx(end, sbeg, p - sbeg, ATEMP); in expand()
597 strndupx(end, s, sbeg - s, ATEMP); in expand()
1533 strndupx(end, str, p - str, ATEMP); in trimsub()
1642 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
Dsh.h618 #define strndupx(d, s, n, ap) do { \ macro
634 #define strndupx(d, s, n, ap) do { \ macro
Dhistrap.c635 strndupx(c, cmd, ccp - cmd, APERM); in histsave()
Dedit.c638 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob()
2269 strndupx(killstack[killsp], xcp, nchars, AEDIT); in x_push()
2763 strndupx(unescaped, xbuf + start, olen, ATEMP); in do_complete()
Dfuncs.c857 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias()
2305 strndupx(cp, id, n - 3, ATEMP); in c_unset()
Dmisc.c239 strndupx(cp, m, cp - m, ATEMP); in getoptions()