Searched refs:lastbcomm (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/nvi/ex/
H A Dex_bang.c70 if (exp->lastbcomm != NULL)
71 free(exp->lastbcomm);
72 if ((exp->lastbcomm = v_wstrdup(sp, ap->bp, ap->len)) == NULL) {
H A Dex_init.c61 if (oexp->lastbcomm != NULL &&
62 (nexp->lastbcomm = v_wstrdup(sp, oexp->lastbcomm,
63 STRLEN(oexp->lastbcomm))) == NULL) {
100 if (exp->lastbcomm != NULL)
101 free(exp->lastbcomm);
H A Dex_read.c115 if (exp->lastbcomm != NULL)
116 free(exp->lastbcomm);
117 if ((exp->lastbcomm =
H A Dex_write.c167 free(exp->lastbcomm);
168 exp->lastbcomm = v_wstrdup(sp, cmdp->argv[1]->bp,
H A Dex.h169 CHAR_T *lastbcomm; /* Last bang command. */ member in struct:_ex_private
H A Dex_argv.c377 if (exp->lastbcomm == NULL) {
382 len += tlen = STRLEN(exp->lastbcomm);
386 MEMCPY(p, exp->lastbcomm, tlen);

Completed in 173 milliseconds