/ast/src/cmd/mailx/ |
H A D | edit.c | 157 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 D | mailx.h | 626 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 D | hist.c | 31 # 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 D | cxmap.c | 171 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 D | dssprintf.c | 36 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 D | dsstags.c | 364 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 D | cxcomp.c | 588 * 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 D | cxopen.c | 921 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 D | cx.h | 334 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 D | ppcontrol.c | 36 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 D | edit.h | 22 * 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 D | edit.h | 23 * 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 D | expand.c | 191 * 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 D | ed.c | 28 "[+NAME?ed - edit text]" 1212 edit(void) function 1296 edit(); 1836 edit();
|