Lines Matching defs:rec
1626 \param rec Record to append to WMF in memory
1628 \param freerec If true, free rec after append
1631 U_METARECORD *rec,
1639 size = U_wmr_size(rec);
1642 printf(" probe %d\n",memprobe(rec, size));
1645 if(!rec)return(1);
1654 memcpy(wt->buf + wt->used, rec, size);
1660 wp = U_wmr_properties(U_WMRTYPE(rec));
1662 if(freerec){ free(rec); }
1670 \param rec header to append to WMF in memory
1672 \param freerec If true, free rec after append
1675 U_METARECORD *rec,
1682 hsize = (((U_WMRPLACEABLE *) rec)->Key == 0x9AC6CDD7 ? U_SIZE_WMRHEADER + U_SIZE_WMRPLACEABLE: U_SIZE_WMRHEADER);
1686 printf(" probe %d\n",memprobe(rec, hsize));
1689 if(!rec)return(1);
1691 if(U_wmr_size(rec) + wt->used > wt->allocated){
1698 memcpy(wt->buf + wt->used, rec, hsize);
1702 if(freerec){ free(rec); }