Searched defs:edit (Results 1 - 14 of 14) sorted by relevance

/ast/src/cmd/mailx/
H A Dedit.c157 char* edit; local
164 if (!(ep = fileopen(state.tmp.edit, "EMw")))
173 if (filecopy(NiL, fp, state.tmp.edit, ep, NiL, size, NiL, NiL, 0))
182 edit = type == 'e' ? state.var.editor : state.var.visual;
183 err = run_command(edit, 0, -1, -1, state.tmp.edit, NiL, NiL) < 0;
189 if (stat(state.tmp.edit, &state.openstat) < 0)
194 note(0, "%s did not exit normally but did do some changes -- you may want to re-edit", edit);
198 if (!(ep = fileopen(state.tmp.edit, "E
[all...]
H A Dmailx.h626 int edit; /* Indicates editing a file */ member in struct:__anon136
657 unsigned long editheaders; /* These headers in edit template */
771 char edit[256]; member in struct:__anon136::__anon146
/ast/src/cmd/ksh93/bltins/
H A Dhist.c31 # include "edit.h"
51 char *edit = 0; /* name of editor */ local
65 edit = opt_info.arg;
77 edit = "-";
171 range[1] = ((lflag && !edit)?hist_max(hp)-1:range[0]);
177 if(edit && *edit=='-' && range[0]!=range[1])
216 arg = edit;
/ast/src/lib/libdss/
H A Dcxmap.c171 register Cxedit_t* edit; local
217 for (edit = part->num2str; edit; edit = edit->next)
218 if (!edit->num2strf)
222 if (!regexec(&edit->re, buf, elementsof(match), match, 0) && !regsubexec(&edit->re, buf, elementsof(match), match))
224 sfprintf(sp, "%c%s", del, edit->re.re_sub->re_buf);
229 else if (s = (*edit
274 register Cxedit_t* edit; local
337 cxsub(Cx_t* cx, Cxedit_t* edit, Cxoperand_t* r) argument
[all...]
H A Ddssprintf.c36 Cxedit_t* edit; member in struct:Arg_s
148 if (ap->edit)
149 cxsub(fp->cx, ap->edit, &ret);
466 if (strneq(v, "edit=", 5))
470 if (ap->edit = cxedit(cx, v + 5, dss->disc))
472 d = v + 5 + ap->edit->re.re_npat;
577 if (ap->variable && !ap->edit && cxisstring(ap->variable->type) && ap->variable->format.map && ap->variable->format.map->part && ap->variable->format.map->part->edit)
578 ap->edit = ap->variable->format.map->part->edit;
[all...]
H A Ddsstags.c364 Cxedit_t* edit; local
366 if (!(edit = cxedit(NiL, data, state->disc)))
370 edit->next = part->num2str;
371 part->num2str = edit;
375 edit->next = part->str2num;
376 part->str2num = edit;
380 edit->next = part->edit;
381 part->edit = edit;
[all...]
H A Dcxcomp.c588 * eval time edit
592 edit(Cx_t* cx, Cxinstruction_t* pc, Cxoperand_t* r, Cxoperand_t* a, Cxoperand_t* b, void* data, Cxdisc_t* disc) function
839 if (op == CX_GET && (v1 = (Cxvariable_t*)pointer) && cxisstring(v1->type) && v1->format.map && v1->format.map->part && v1->format.map->part->edit)
840 codecast(cx, cc, v1->type, edit, v1->format.map->part);
H A Dcxopen.c921 Cxedit_t* edit; local
923 if (!(edit = cxedit(cx, arg[0].value.string.data, disc)))
926 return cxsub(cx, edit, ret);
945 CXF("edit", "string", cx_edit_B, "string,string",
1752 * add an edit
1756 cxaddedit(Cx_t* cx, register Cxedit_t* edit, Cxdisc_t* disc) argument
1784 *copy = *edit;
1785 edit = copy;
1789 if (dtsearch(dict, edit))
1792 (*disc->errorf)(NiL, disc, 2, "%s: edit alread
[all...]
H A Dcx.h334 struct Cxedit_s /* edit list element */
355 Cxedit_t* num2str; /* num=>str edit list */
356 Cxedit_t* str2num; /* str=>num edit list */
357 Cxedit_t* edit; /* str=>str edit list */ member in struct:Cxpart_s
538 Cxedit_t* edits; /* edit table */
/ast/src/lib/libpp/
H A Dppcontrol.c36 struct edit struct
38 struct edit* next;
46 struct edit* edit; member in struct:map
262 struct edit* edit; local
550 for (edit = map->edit; edit; edit
[all...]
/ast/src/cmd/ie/
H A Dedit.h22 * edit.h - common data structure for vi and emacs edit options
63 struct edit struct
82 int e_mode; /* edit mode */
159 extern struct edit editb;
/ast/src/cmd/ksh93/include/
H A Dedit.h23 * edit.h - common data structure for vi and emacs edit options
63 #define MAXLINE 1024 /* longest edit line permitted */
84 typedef struct edit struct
108 int e_mode; /* edit mode */
/ast/src/cmd/nmake/
H A Dexpand.c191 * edit operator syntax:
200 * edit operator forms:
283 * return edit map for *p delimited by space or del
2190 * edit a single (expanded) file name s into xp
2200 edit(Sfio_t* xp, register char* s, char* dir, char* bas, char* suf) function
2324 * NOTE: this and :D:B:S: were the first edit operators
3309 * generate edit context in xp at cur from beg
3359 * apply edit operators ed on value v into xp
3464 error(2, "edit +++ %-.32s", ed);
3522 error(1, "%s: --%s: unknown edit operato
[all...]
/ast/src/cmd/re/
H A Ded.c28 "[+NAME?ed - edit text]"
1212 edit(void) function
1296 edit();
1836 edit();

Completed in 57 milliseconds