Lines Matching defs:commands
243 apr_status_t sed_init_eval(sed_eval_t *eval, sed_commands_t *commands, sed_err_fn_t *errfn, void *data, sed_write_fn_t *writefn, apr_pool_t* p)
248 return sed_reset_eval(eval, commands, errfn, data);
254 apr_status_t sed_reset_eval(sed_eval_t *eval, sed_commands_t *commands, sed_err_fn_t *errfn, void *data)
261 eval->commands = commands;
286 eval->inar = apr_pcalloc(eval->pool, commands->nrep * sizeof(unsigned char));
287 eval->nrep = commands->nrep;
300 for (i = 0; i < commands->nfiles; i++) {
301 const char* filename = commands->fname[i];
321 for (i = 0; i < eval->commands->nfiles; i++) {
362 if (!sed_canbe_finalized(eval->commands)) {
364 const char* error = sed_get_finalize_error(eval->commands, eval->pool);
463 sed_reptr_t *ipc = eval->commands->ptrspace;
493 if (eval->lnum > eval->commands->tlno[c]) {
500 if (eval->lnum == eval->commands->tlno[c]) {
515 if (eval->lnum != eval->commands->tlno[c]) {
556 ipc = eval->commands->ptrspace;
563 if (!eval->commands->nflag && !eval->delflag) {
859 if(!eval->commands->nflag) {
893 if (!eval->commands->nflag) {
921 if(ipc->pfl && eval->commands->nflag && i) {