/ast/src/lib/libvgraph/ |
H A D | grfold.c | 29 Gredge_t *ed, *enext, *oedge, *iedge; local 43 { ed = nd->oedge; nd->oedge = NIL(Gredge_t*); 44 for(; ed; ed = enext) 45 { enext = ed->onext; 46 if(grfind(ed->head) != fold) 47 { ed->onext = oedge; oedge = ed; } 50 ed = nd->iedge; nd->iedge = NIL(Gredge_t*); 51 for(; ed; e [all...] |
H A D | graph.c | 120 Gredge_t edge, *ed, *e, *pe; local 133 ed = dtsearch(gr->edges, &edge); 136 { if(ed) 137 { for(pe = NIL(Gredge_t*), e = ed->tail->oedge; e; pe = e, e = e->onext) 138 { if(e == ed) 141 else ed->tail->oedge->onext = e->onext; 145 for(pe = NIL(Gredge_t*), e = ed->head->iedge; e; pe = e, e = e->inext) 146 { if(e == ed) 149 else ed->head->iedge->inext = e->inext; 154 dtdelete(gr->edges, ed); 174 (*gr->disc->eventf)(gr, GR_EDGE|GR_OPENING, ed, gr->disc); local 208 Gredge_t *ed; local [all...] |
H A D | grbranching.c | 43 static int predge(Gredge_t* ed) argument 45 if(!ed) 49 PRINT(Fd,"%d", (int)ed->tail->label); PRINT(Fd,"(%d) -> ", (int)grfind(ed->tail)->label ); 50 PRINT(Fd,"%d", (int)ed->head->label); PRINT(Fd,"(%d), ", (int)grfind(ed->head)->label ); 51 PRINT(Fd,"root=%d, ", BREDGE(ed)->root ? (int)BREDGE(ed)->root->label : -1 ); 52 PRINT(Fd,"wght=%d, ", (int)BREDGE(ed)->wght); PRINT(Fd,"wadj=%d\n", (int)BREDGE(ed) 95 Gredge_t *ed; local [all...] |
/ast/src/lib/libast/vmalloc/ |
H A D | vmdebug.c | 537 { Vmuchar_t *d = data+oldsize, *ed = data+size; local 538 do { *d++ = 0; } while(d < ed);
|
H A D | vmprofile.c | 611 { reg Vmuchar_t *d = (Vmuchar_t*)addr+oldsize, *ed = (Vmuchar_t*)addr+size; local 612 do { *d++ = 0; } while(d < ed);
|
/ast/src/cmd/nmake/ |
H A D | convert.c | 71 expandops(register char* xp, register char* ed, int del) argument 106 expand(buf, ed); 107 ed = buf; 109 eb = ed; 110 debug((-5, "expandops(`%s')", ed)); 116 if (strneq(bp->old, ed, bp->len)) 118 strncpy(ed, bp->xxx, bp->len); 121 if (!(op = *ed++)) break; 136 switch (*ed) 139 ed 810 char* ed; local [all...] |
H A D | expand.c | 3359 * apply edit operators ed on value v into xp 3371 expandops(Sfio_t* xp, char* v, char* ed, int del, int exp) argument 3444 eb = ed; 3446 while (op = *ed++) 3452 while (isspace(*ed)) 3453 ed++; 3454 if ((op = *ed++) == del) 3461 ed--; 3464 error(2, "edit +++ %-.32s", ed); 3466 if (map = getedit(&ed, de 4470 expandvars(register Sfio_t* xp, register char* s, char* ed, int del, int nvars) argument 4709 long ed; local [all...] |
/ast/src/cmd/ksh93/edit/ |
H A D | emacs.c | 82 #define putchar(ed,c) ed_putchar(ed,c) 121 Edit_t *ed; /* pointer to edit data */ member in struct:_emacs_ 124 #define editb (*ep->ed) 180 Edit_t *ed = (Edit_t*)context; local 185 register Emacs_t *ep = ed->e_emacs; 194 ep = ed->e_emacs = newof(0,Emacs_t,1,0); 195 ep->ed = ed; 209 ed_setup(ep->ed,f [all...] |
H A D | edit.c | 1820 Edit_t *ed = newof(0,Edit_t,1,0); local 1821 ed->sh = shp; 1822 strcpy(ed->e_macro,"_??"); 1823 return((void*)ed);
|
H A D | vi.c | 132 Edit_t *ed; /* pointer to edit data */ member in struct:_vi_ 135 #define editb (*vp->ed) 138 #define putchar(c) ed_putchar(vp->ed,c) 214 Edit_t *ed = (Edit_t*)context; local 217 register Vi_t *vp = ed->e_vi; 229 int viraw = (sh_isoption(SH_VIRAW) || ed->sh->st.trap[SH_KEYTRAP]); 237 ed->e_vi = vp = newof(0,Vi_t,1,0); 240 vp->ed = ed; 246 ed_setup(vp->ed,f [all...] |
/ast/src/cmd/re/ |
H A D | ed.c | 26 "[-?\n@(#)$Id: ed (AT&T Research) 2004-06-08 $\n]" 28 "[+NAME?ed - edit text]" 89 #define BEG(n) (ed.line+ed.match[n].rm_so) 90 #define BAS() (ed.base) 91 #define CUR() (ed.line) 92 #define END(n) (ed.line+ed.match[n].rm_eo) 93 #define HIT(n) (ed.match[n].rm_eo!=-1) 94 #define NUL(n) (ed 183 } ed; variable in typeref:struct:__anon200 [all...] |