Searched refs:strndupx (Results 1 – 7 of 7) sorted by relevance
/external/mksh/src/ |
D | var.c | 187 strndupx(vn, n, p - n, ATEMP); in array_index_calc() 210 strndupx(tmp, p + 1, len - 2, ATEMP); in array_index_calc() 213 strndupx(n, n, p - n, ATEMP); in array_index_calc() 772 strndupx(tvar, var, val - var, ATEMP); in typeset() 778 strndupx(tvar, var, val - var, ATEMP); in typeset() 1487 strndupx(rv, str, p - str, ATEMP); in arrayname() 1507 strndupx(cp, var, n - 1, ATEMP); in set_array() 1550 strndupx(cp, vals[i] + 1, ccp - (vals[i] + 1), in set_array()
|
D | expr.c | 655 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken() 663 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken() 684 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); in exprtoken()
|
D | eval.c | 487 strndupx(x.str, beg, num, ATEMP); in expand() 615 strndupx(end, s, sbeg - s, ATEMP); in expand() 1471 strndupx(end, str, p - str, ATEMP); in trimsub() 1580 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
|
D | sh.h | 562 #define strndupx(d, s, n, ap) do { \ macro 578 #define strndupx(d, s, n, ap) do { \ macro
|
D | edit.c | 613 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob() 2240 strndupx(cp, xcp, nchars, AEDIT); in x_push() 2735 strndupx(unescaped, xbuf + start, olen, ATEMP); in do_complete()
|
D | funcs.c | 1114 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias() 2500 strndupx(cp, id, n - 3, ATEMP); in c_unset()
|
D | misc.c | 234 strndupx(cp, m, cp - m, ATEMP); in getoptions()
|