Lines Matching refs:USHORT
348 memcpy_s(header_array, GX_RESOURCE_HEADER_SIZE, &s, sizeof(USHORT)); in WriteResourceHeader()
349 index += sizeof(USHORT); in WriteResourceHeader()
354 memcpy_s(header_array + index, GX_RESOURCE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteResourceHeader()
355 index += sizeof(USHORT); in WriteResourceHeader()
361 memcpy_s(header_array + index, GX_RESOURCE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteResourceHeader()
362 index += sizeof(USHORT); in WriteResourceHeader()
368 memcpy_s(header_array + index, GX_RESOURCE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteResourceHeader()
369 index += sizeof(USHORT); in WriteResourceHeader()
405 memcpy_s(header_array, GX_THEME_HEADER_SIZE, &s, sizeof(USHORT)); in WriteThemeHeader()
406 index += sizeof(USHORT); in WriteThemeHeader()
411 memcpy_s(header_array + index, GX_THEME_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteThemeHeader()
412 index += sizeof(USHORT); in WriteThemeHeader()
418 memcpy_s(header_array + index, GX_THEME_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteThemeHeader()
419 index += sizeof(USHORT); in WriteThemeHeader()
425 memcpy_s(header_array + index, GX_THEME_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteThemeHeader()
426 index += sizeof(USHORT); in WriteThemeHeader()
432 memcpy_s(header_array + index, GX_THEME_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteThemeHeader()
433 index += sizeof(USHORT); in WriteThemeHeader()
439 memcpy_s(header_array + index, GX_THEME_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteThemeHeader()
440 index += sizeof(USHORT); in WriteThemeHeader()
660 memcpy_s(header_array, GX_COLOR_HEADER_SIZE, &s, sizeof(USHORT)); in WriteColorHeader()
661 index += sizeof(USHORT); in WriteColorHeader()
666 memcpy_s(header_array + index, GX_COLOR_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteColorHeader()
667 index += sizeof(USHORT); in WriteColorHeader()
689 memcpy_s(header_array, GX_PALETTE_HEADER_SIZE, &s, sizeof(USHORT)); in WritePaletteHeader()
690 index += sizeof(USHORT); in WritePaletteHeader()
695 memcpy_s(header_array + index, GX_PALETTE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WritePaletteHeader()
696 index += sizeof(USHORT); in WritePaletteHeader()
718 memcpy_s(header_array, GX_FONT_HEADER_SIZE, &s, sizeof(USHORT)); in WriteFontHeader()
719 index += sizeof(USHORT); in WriteFontHeader()
724 memcpy_s(header_array + index, GX_FONT_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteFontHeader()
725 index += sizeof(USHORT); in WriteFontHeader()
731 memcpy_s(header_array + index, GX_FONT_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteFontHeader()
732 index += sizeof(USHORT); in WriteFontHeader()
767 memcpy_s(header_array, GX_PAGE_HEADER_SIZE , &s, sizeof(USHORT)); in WritePageHeader()
768 index += sizeof(USHORT); in WritePageHeader()
773 memcpy_s(header_array + index, GX_PAGE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WritePageHeader()
774 index += sizeof(USHORT); in WritePageHeader()
819 memcpy_s(header_array, GX_GLYPH_HEADER_SIZE, &s, sizeof(USHORT)); in WriteGlyphHeader()
820 index += sizeof(USHORT); in WriteGlyphHeader()
825 memcpy_s(header_array + index, GX_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteGlyphHeader()
826 index += sizeof(USHORT); in WriteGlyphHeader()
839 memcpy_s(header_array + index, GX_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteGlyphHeader()
840 index += sizeof(USHORT); in WriteGlyphHeader()
846 memcpy_s(header_array + index, GX_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteGlyphHeader()
847 index += sizeof(USHORT); in WriteGlyphHeader()
853 memcpy_s(header_array + index, GX_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteGlyphHeader()
854 index += sizeof(USHORT); in WriteGlyphHeader()
884 memcpy_s(header_array, GX_KERNING_GLYPH_HEADER_SIZE, &s, sizeof(USHORT)); in WriteKerningGlyphHeader()
885 index += sizeof(USHORT); in WriteKerningGlyphHeader()
890 memcpy_s(header_array + index, GX_KERNING_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteKerningGlyphHeader()
891 index += sizeof(USHORT); in WriteKerningGlyphHeader()
904 memcpy_s(header_array + index, GX_KERNING_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteKerningGlyphHeader()
905 index += sizeof(USHORT); in WriteKerningGlyphHeader()
911 memcpy_s(header_array + index, GX_KERNING_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteKerningGlyphHeader()
912 index += sizeof(USHORT); in WriteKerningGlyphHeader()
918 memcpy_s(header_array + index, GX_KERNING_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteKerningGlyphHeader()
919 index += sizeof(USHORT); in WriteKerningGlyphHeader()
940 memcpy_s(header_array + index, GX_KERNING_GLYPH_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteKerningGlyphHeader()
955 memcpy_s(header_array, GX_PIXELMAP_HEADER_SIZE, &s, sizeof(USHORT)); in WritePixelmapHeader()
956 index += sizeof(USHORT); in WritePixelmapHeader()
961 memcpy_s(header_array + index, GX_PIXELMAP_HEADER_SIZE - index, &s, sizeof(USHORT)); in WritePixelmapHeader()
962 index += sizeof(USHORT); in WritePixelmapHeader()
997 memcpy_s(header_array + index, GX_PIXELMAP_HEADER_SIZE - index, &s, sizeof(USHORT)); in WritePixelmapHeader()
998 index += sizeof(USHORT); in WritePixelmapHeader()
1004 memcpy_s(header_array + index, GX_PIXELMAP_HEADER_SIZE - index, &s, sizeof(USHORT)); in WritePixelmapHeader()
1005 index += sizeof(USHORT); in WritePixelmapHeader()
1034 memcpy_s(header_array, GX_STRING_HEADER_SIZE, &s, sizeof(USHORT)); in WriteStringHeader()
1035 index += sizeof(USHORT); in WriteStringHeader()
1040 memcpy_s(header_array + index, GX_STRING_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteStringHeader()
1041 index += sizeof(USHORT); in WriteStringHeader()
1047 memcpy_s(header_array + index, GX_STRING_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteStringHeader()
1048 index += sizeof(USHORT); in WriteStringHeader()
1069 memcpy_s(header_array, GX_LANGUAGE_HEADER_SIZE, &s, sizeof(USHORT)); in WriteLanguageHeader()
1070 index += sizeof(USHORT); in WriteLanguageHeader()
1075 memcpy_s(header_array + index, GX_LANGUAGE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteLanguageHeader()
1076 index += sizeof(USHORT); in WriteLanguageHeader()
1122 memcpy_s(header_array, GX_RESOURCE_STANDALONE_HEADER_SIZE, &s, sizeof(USHORT)); in WriteStandaloneResHeader()
1123 index += sizeof(USHORT); in WriteStandaloneResHeader()
1129 … memcpy_s(header_array + index, GX_RESOURCE_STANDALONE_HEADER_SIZE - index, &s, sizeof(USHORT)); in WriteStandaloneResHeader()
1130 index += sizeof(USHORT); in WriteStandaloneResHeader()
1159 USHORT binary_resource_gen::SwapUshort(USHORT s) in SwapUshort()
1197 void binary_resource_gen::WriteThemeBlock(USHORT theme_id) in WriteThemeBlock()
1398 void binary_resource_gen::WriteFontBlock(res_info *info, USHORT font_id, USHORT theme_id) in WriteFontBlock()
1402 USHORT output_font_id = font_id; in WriteFontBlock()
1458 void binary_resource_gen::WriteFontData(res_info *info, USHORT theme_id, USHORT font_id) in WriteFontData()
1487 void binary_resource_gen::WritePageBlock(const GX_FONT *font, USHORT page_id) in WritePageBlock()
1534 void binary_resource_gen::WriteGlyphBock(const GX_FONT *font, USHORT glyph_index) in WriteGlyphBock()
1677 USHORT *swap_data = new USHORT[map->gx_pixelmap_data_size / 2]; in WriteBigEndianUshortData()
1678 USHORT *data_p = (USHORT *)map->gx_pixelmap_data; in WriteBigEndianUshortData()
1679 USHORT val; in WriteBigEndianUshortData()
1696 USHORT *swap_data = new USHORT[map->gx_pixelmap_data_size / 2]; in WriteBigEndianCompressedUshortData()
1697 USHORT *data_p = (USHORT *)map->gx_pixelmap_data; in WriteBigEndianCompressedUshortData()
1698 USHORT val; in WriteBigEndianCompressedUshortData()
1940 …inary_resource_gen::WritePixelmapBlock(res_info *info, USHORT map_id, USHORT output_map_id, USHORT… in WritePixelmapBlock()
2217 void binary_resource_gen::WriteStringData(USHORT language_id) in WriteStringData()
2287 USHORT write_ushort; in WriteOneStringData()
2294 WriteDataOut(&write_ushort, sizeof(USHORT)); in WriteOneStringData()
2302 USHORT binary_resource_gen::GetEnabledThemeCount() in GetEnabledThemeCount()
2309 USHORT count = 0; in GetEnabledThemeCount()
2337 USHORT binary_resource_gen::GetEnabledLanguageCount() in GetEnabledLanguageCount()
2344 USHORT count = 0; in GetEnabledLanguageCount()
2371 USHORT binary_resource_gen::GetColorCount(USHORT theme_id) in GetColorCount()
2386 USHORT binary_resource_gen::GetFontCount(USHORT theme_id) in GetFontCount()
2400 USHORT binary_resource_gen::GetPageCount(res_info *info, USHORT theme_id, USHORT font_id) in GetPageCount()
2427 USHORT binary_resource_gen::GetPixelmapCount(USHORT theme_id) in GetPixelmapCount()
2550 ULONG binary_resource_gen::GetThemeDataSize(ULONG written_size, USHORT theme_id) in GetThemeDataSize()
2575 ULONG binary_resource_gen::GetPaletteBlockSize(USHORT theme_id) in GetPaletteBlockSize()
2594 ULONG binary_resource_gen::GetColorBlockSize(USHORT theme_id) in GetColorBlockSize()
2615 ULONG binary_resource_gen::GetFontBlockSize(ULONG written_size, USHORT theme_id, SHORT font_count) in GetFontBlockSize()
2662 …etOnePixelmapDataSize(ULONG written_size, res_info *info, USHORT theme_id, INT frame_id, USHORT ou… in GetOnePixelmapDataSize()
2751 ULONG binary_resource_gen::GetPixelmapBlockSize(ULONG written_size, USHORT theme_id, SHORT map_id, … in GetPixelmapBlockSize()
2836 …_resource_gen::GetFontDataSize(ULONG written_size, res_info *info, USHORT theme_id, USHORT font_id) in GetFontDataSize()
2873 ULONG binary_resource_gen::GetFontDataOffset(USHORT font_id, USHORT theme_id) in GetFontDataOffset()
2897 ULONG binary_resource_gen::GetPixelmapDataOffset(USHORT map_id, USHORT frame_id, USHORT theme_id) in GetPixelmapDataOffset()
2968 USHORT binary_resource_gen::GetGlyphKerningTableSize(const GX_FONT *font, INT glyph_index) in GetGlyphKerningTableSize()
2970 USHORT table_size = 0; in GetGlyphKerningTableSize()
3086 ULONG binary_resource_gen::GetStringDataSize(USHORT language_id) in GetStringDataSize()
3138 string_data_size += sizeof(USHORT); in GetStringDataSize()
3223 USHORT outmap_id = 1; in MakeFileDictionary()