Lines Matching refs:irecsize

956    uint32_t    irecsize;
967 irecsize = U_SIZE_BITMAP16 + cbBits;
968 bm16 = (U_BITMAP16 *) malloc(irecsize);
1455 uint32_t irecsize;
1458 memcpy(&irecsize,wmr,4); /* Size16_4 field is at offset 0 */
1459 irecsize *= 2;
1460 dup=malloc(irecsize);
1461 if(dup){ memcpy(dup,wmr,irecsize); }
1870 void U_WMRCORE_SETRECHEAD(char *record, uint32_t irecsize, int iType){
1872 Size16 = irecsize/2;
1883 uint32_t irecsize;
1884 irecsize = U_SIZE_METARECORD;
1885 record = malloc(irecsize);
1886 if(record)U_WMRCORE_SETRECHEAD(record,irecsize,iType);
1900 uint32_t irecsize,off;
1901 irecsize = U_SIZE_METARECORD + U_SIZE_COLORREF;
1902 if(arg1)irecsize+=2;
1903 if(arg2)irecsize+=2;
1904 if(arg3)irecsize+=2;
1905 record = malloc(irecsize);
1907 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
1924 uint32_t irecsize,off;
1925 irecsize = U_SIZE_WMR_1ARG16;
1926 record = malloc(irecsize);
1928 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
1943 uint32_t irecsize,off;
1944 irecsize = U_SIZE_WMR_2ARG16;
1945 record = malloc(irecsize);
1947 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
1965 uint32_t irecsize, off;
1966 irecsize = U_SIZE_WMR_4ARG16;
1967 record = malloc(irecsize);
1969 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
1990 uint32_t irecsize, off;
1991 irecsize = U_SIZE_WMR_5ARG16;
1992 record = malloc(irecsize);
1994 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
2017 uint32_t irecsize, off;
2018 irecsize = U_SIZE_WMR_6ARG16;
2019 record = malloc(irecsize);
2021 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
2047 uint32_t irecsize, off;
2048 irecsize = U_SIZE_WMR_8ARG16;
2049 record = malloc(irecsize);
2051 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
2080 uint32_t irecsize, off;
2081 irecsize = U_SIZE_METARECORD + N16*2;
2082 if(arg1)irecsize += 2;
2083 if(arg2)irecsize += 2;
2084 record = malloc(irecsize);
2086 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
2104 uint32_t irecsize, off, nPE;
2107 irecsize = U_SIZE_METARECORD + 2 + 2 + nPE;
2108 record = malloc(irecsize);
2110 U_WMRCORE_SETRECHEAD(record,irecsize,iType);
2439 uint32_t irecsize,off;
2442 irecsize = (size ? U_SIZE_WMRHEADER + U_SIZE_WMRPLACEABLE : U_SIZE_WMRHEADER);
2443 record = calloc(1,irecsize); /* most will be zero*/
2816 uint32_t irecsize;
2819 irecsize = U_SIZE_WMRPATBLT;
2820 record = malloc(irecsize);
2822 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_PATBLT);
2874 uint32_t irecsize,off;
2877 irecsize = 2 + U_SIZE_METARECORD + 4; /* core + length + Dst */
2880 irecsize += L2;
2881 record = malloc(irecsize);
2883 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_TEXTOUT);
2915 uint32_t irecsize;
2923 irecsize = U_SIZE_WMRBITBLT_PX + cbBm164;
2924 record = malloc(irecsize);
2926 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_BITBLT);
2941 irecsize = U_SIZE_WMRBITBLT_NOPX;
2942 record = malloc(irecsize);
2944 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_BITBLT);
2978 uint32_t irecsize;
2986 irecsize = U_SIZE_WMRSTRETCHBLT_PX + cbBm164;
2987 record = malloc(irecsize);
2989 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_STRETCHBLT);
3006 irecsize = U_SIZE_WMRSTRETCHBLT_NOPX;
3007 record = malloc(irecsize);
3009 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_STRETCHBLT);
3189 uint32_t irecsize,off;
3191 irecsize = U_SIZE_METARECORD + 8; /* 8 = y,x,Length,Opts*/
3193 irecsize += slen;
3194 if(dx)irecsize += 2*Length;
3196 irecsize += U_SIZE_RECT16;
3198 record = malloc(irecsize);
3200 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_EXTTEXTOUT);
3279 uint32_t irecsize;
3287 irecsize = U_SIZE_METARECORD + 2 + cbPolys + cbPoints; /* core WMR + nPolys + two array sizes in bytes */
3288 record = malloc(irecsize);
3290 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_POLYPOLYGON);
3356 uint32_t irecsize;
3364 irecsize = U_SIZE_WMRDIBBITBLT_PX + cbBmi + cbImage4;
3365 record = malloc(irecsize);
3367 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_DIBBITBLT);
3383 irecsize = U_SIZE_WMRDIBBITBLT_NOPX;
3384 record = malloc(irecsize);
3386 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_DIBBITBLT);
3424 uint32_t irecsize;
3430 irecsize = U_SIZE_WMRDIBSTRETCHBLT_PX + cbBmi + cbImage4;
3431 record = malloc(irecsize);
3433 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_DIBSTRETCHBLT);
3451 irecsize = U_SIZE_WMRDIBSTRETCHBLT_NOPX;
3452 record = malloc(irecsize);
3454 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_DIBSTRETCHBLT);
3491 uint32_t irecsize;
3497 irecsize = U_SIZE_WMRDIBCREATEPATTERNBRUSH + cbBm164;
3498 record = malloc(irecsize);
3500 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_DIBCREATEPATTERNBRUSH);
3510 irecsize = U_SIZE_WMRDIBCREATEPATTERNBRUSH + cbBmi + cbImage4;
3511 record = malloc(irecsize);
3513 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_DIBCREATEPATTERNBRUSH);
3550 uint32_t irecsize;
3556 irecsize = U_SIZE_WMRSTRETCHDIB + cbBmi + cbImage4;
3557 record = malloc(irecsize);
3559 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_STRETCHDIB);
4349 uint32_t irecsize,off,cbPat;
4353 irecsize = U_SIZE_METARECORD + 14 + 18 + cbPat; /* core WMR + truncated Bm16 + 18 spaces bytes + pattern */
4354 record = malloc(irecsize);
4356 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_CREATEPATTERNBRUSH);
4381 uint32_t irecsize,off,flen;
4384 irecsize = U_SIZE_METARECORD + U_SIZE_FONT_CORE + flen;
4385 record = calloc(1,irecsize);
4387 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_CREATEFONTINDIRECT);
4422 uint32_t irecsize,off;
4423 irecsize = U_SIZE_METARECORD + region->Size;
4424 record = malloc(irecsize);
4426 U_WMRCORE_SETRECHEAD(record,irecsize,U_WMR_CREATEREGION);