Lines Matching defs:fm
319 Fmt_t *fm, *fmstk;
723 { if(!(fm = (Fmt_t*)malloc(sizeof(Fmt_t))) )
726 ft = fm->ft = argv.ft;
729 { fm->form = (char*)form; SFMBCPY(&fm->mbs,&fmbs);
730 va_copy(fm->args,args);
732 fm->oform = oform;
733 va_copy(fm->oargs,oargs);
734 fm->argn = argn;
735 fm->fp = fp;
744 else fm->form = NIL(char*);
746 fm->eventf = ft->eventf;
747 fm->next = fmstk;
748 fmstk = fm;
1059 while((fm = fmstk) ) /* pop the format stack and continue */
1060 { if(fm->eventf)
1062 (*fm->eventf)(f,SF_FINAL,NIL(Void_t*),ft);
1063 else if((*fm->eventf)(f,SF_DPOP,(Void_t*)form,ft) < 0)
1067 fmstk = fm->next;
1068 if((form = fm->form) )
1069 { SFMBCPY(&fmbs,&fm->mbs);
1070 va_copy(args, fm->args);
1071 oform = fm->oform;
1072 va_copy(oargs,fm->oargs);
1073 argn = fm->argn;
1074 fp = fm->fp;
1076 ft = fm->ft;
1077 free(fm);
1085 while((fm = fmstk) )
1086 { if(fm->eventf)
1087 (*fm->eventf)(f,SF_FINAL,NIL(Void_t*),fm->ft);
1088 fmstk = fm->next;
1089 free(fm);