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() 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()
|
D | expr.c | 519 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()
|
D | eval.c | 428 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()
|
D | sh.h | 448 #define strndupx(d, s, n, ap) do { \ macro 464 #define strndupx(d, s, n, ap) do { \ macro
|
D | funcs.c | 1069 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias() 2427 strndupx(cp, id, n - 3, ATEMP); in c_unset()
|
D | misc.c | 209 strndupx(cp, m, cp - m, ATEMP); in getoptions()
|
D | edit.c | 542 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob() 2185 strndupx(cp, xcp, nchars, AEDIT); in x_push()
|