Searched refs:strndupx (Results 1 – 8 of 8) sorted by relevance
/external/mksh/src/ |
D | var.c | 190 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()
|
D | expr.c | 590 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()
|
D | eval.c | 489 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()
|
D | sh.h | 618 #define strndupx(d, s, n, ap) do { \ macro 634 #define strndupx(d, s, n, ap) do { \ macro
|
D | histrap.c | 635 strndupx(c, cmd, ccp - cmd, APERM); in histsave()
|
D | edit.c | 638 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()
|
D | funcs.c | 857 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias() 2305 strndupx(cp, id, n - 3, ATEMP); in c_unset()
|
D | misc.c | 239 strndupx(cp, m, cp - m, ATEMP); in getoptions()
|