Searched refs:strndupx (Results 1 – 7 of 7) sorted by relevance
/external/mksh/src/ |
D | var.c | 183 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()
|
D | expr.c | 558 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()
|
D | eval.c | 475 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()
|
D | sh.h | 535 #define strndupx(d, s, n, ap) do { \ macro 551 #define strndupx(d, s, n, ap) do { \ macro
|
D | edit.c | 614 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()
|
D | funcs.c | 1093 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias() 2469 strndupx(cp, id, n - 3, ATEMP); in c_unset()
|
D | misc.c | 223 strndupx(cp, m, cp - m, ATEMP); in getoptions()
|