Lines Matching defs:fm
120 Fmt_t *fm, *fmstk; /* stack contexts */
640 { if(!(fm = (Fmt_t*)malloc(sizeof(Fmt_t))) )
643 ft = fm->ft = argv.ft;
646 { fm->form = (char*)form; SFMBCPY(&fm->mbs,&fmbs);
647 va_copy(fm->args,args);
649 fm->oform = oform;
650 va_copy(fm->oargs,oargs);
651 fm->argn = argn;
652 fm->fp = fp;
661 else fm->form = NIL(char*);
663 fm->eventf = ft->eventf;
664 fm->next = fmstk;
665 fmstk = fm;
1353 while((fm = fmstk) ) /* pop the format stack and continue */
1354 { if(fm->eventf)
1356 (*fm->eventf)(f,SF_FINAL,NIL(Void_t*),ft);
1357 else if((*fm->eventf)(f,SF_DPOP,(Void_t*)form,ft) < 0)
1361 fmstk = fm->next;
1362 if((form = fm->form) )
1363 { SFMBCPY(&fmbs,&fm->mbs);
1364 va_copy(args, fm->args);
1365 oform = fm->oform;
1366 va_copy(oargs,fm->oargs);
1367 argn = fm->argn;
1368 fp = fm->fp;
1370 ft = fm->ft;
1371 free(fm);
1379 while((fm = fmstk) )
1380 { if(fm->eventf)
1381 (*fm->eventf)(f,SF_FINAL,NIL(Void_t*),fm->ft);
1382 fmstk = fm->next;
1383 free(fm);