Searched refs:strndupx (Results 1 – 8 of 8) sorted by relevance
/third_party/mksh/ |
D | expr.c | 592 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken() 601 strndupx(tvar, es->tokp, cp - es->tokp, ATEMP); in exprtoken() 625 strndupx(tvar, es->tokp, --cp - es->tokp, ATEMP); in exprtoken()
|
D | var.c | 192 strndupx(vn, n, p - n, ATEMP); in array_index_calc() 1625 strndupx(rv, str, p - str, ATEMP); in arrayname() 1645 strndupx(cp, var, n - 1, ATEMP); in set_array() 1692 strndupx(cp, vals[i] + 1, ccp - (vals[i] + 1), in set_array()
|
D | eval.c | 491 strndupx(x.str, beg, num, ATEMP); in expand() 1694 strndupx(end, str, p - str, ATEMP); in trimsub() 1803 strndupx(np, Xstring(*xs, xp), Xlength(*xs, xp), ATEMP); in globit()
|
D | misc.c | 239 strndupx(cp, m, cp - m, ATEMP); in getoptions() 1066 strndupx(subp, s, p - s - 3, ATEMP); in gmatch_cclass() 1158 strndupx(subp, s, p - s - 3, ATEMP); in gmatch_cclass()
|
D | edit.c | 643 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob() 2304 strndupx(killstack[killsp], xcp, nchars, AEDIT); in x_push() 2844 strndupx(unescaped, xbuf + start, olen, ATEMP); in do_complete() 5734 strndupx(s, cmd, len, ATEMP); in x_quote_region_helper()
|
D | sh.h | 691 #define strndupx(d,s,n,ap) do { \ macro 707 #define strndupx(d,s,n,ap) do { \ macro
|
D | histrap.c | 638 strndupx(c, cmd, ccp - cmd, APERM); in histsave()
|
D | funcs.c | 889 strndupx(xalias, alias, val++ - alias, ATEMP); in c_alias() 2326 strndupx(cp, id, n - 3, ATEMP); in c_unset()
|