Lines Matching refs:condensed
54 static void WriteInfo(FILE* condensed, const SkMemberInfo* info, int infoCount, in WriteInfo() argument
56 fprintf(condensed, "static const char g%sStrings[] = \n", typeName); in WriteInfo()
63 fprintf(condensed, "\t\"%s%s\"\n", name, zero); in WriteInfo()
65 …fprintf(condensed, ";\n\nstatic const SkMemberInfo g%s", draw ? "Draw" : display ? "Display" : ""); in WriteInfo()
66 fprintf(condensed, "%sInfo[] = {", typeName); in WriteInfo()
77 fprintf(condensed, "\n\t{%d, %d, %d, %d}", nameOffset, offset, in WriteInfo()
80 putc(',', condensed); in WriteInfo()
85 fprintf(condensed, "\n};\n\n"); in WriteInfo()
145 FILE* condensed = fopen("../../src/animator/SkCondensedDebug.cpp", "w+"); in BuildCondensedInfo() local
146 fprintf(condensed, "#include \"SkTypes.h\"\n"); in BuildCondensedInfo()
147 fprintf(condensed, "#ifdef SK_DEBUG\n"); in BuildCondensedInfo()
149 FILE* condensed = fopen("../../src/animator/SkCondensedRelease.cpp", "w+"); in BuildCondensedInfo() local
150 fprintf(condensed, "#include \"SkTypes.h\"\n"); in BuildCondensedInfo()
151 fprintf(condensed, "#ifdef SK_RELEASE\n"); in BuildCondensedInfo()
154 fprintf(condensed, "// This file was automatically generated.\n"); in BuildCondensedInfo()
155 fprintf(condensed, "// To change it, edit the file with the matching debug info.\n"); in BuildCondensedInfo()
156 fprintf(condensed, "// Then execute SkDisplayType::BuildCondensedInfo() to " in BuildCondensedInfo()
177 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefix, displayPrefix); in BuildCondensedInfo()
181 fprintf(condensed, "static const SkMemberInfo* const gInfoTables[] = {"); in BuildCondensedInfo()
200 fprintf(condensed, "\n\tg"); in BuildCondensedInfo()
202 fprintf(condensed, "Draw"); in BuildCondensedInfo()
204 fprintf(condensed, "Display"); in BuildCondensedInfo()
205 fprintf(condensed, "%sInfo", scratch); in BuildCondensedInfo()
207 putc(',', condensed); in BuildCondensedInfo()
209 fprintf(condensed, "\n};\n\n"); in BuildCondensedInfo()
211 fprintf(condensed, "static const unsigned char gInfoCounts[] = {\n\t"); in BuildCondensedInfo()
218 putc(',', condensed); in BuildCondensedInfo()
220 fprintf(condensed, "\n\t"); in BuildCondensedInfo()
221 fprintf(condensed, "%d",count); in BuildCondensedInfo()
224 fprintf(condensed, "\n};\n\n"); in BuildCondensedInfo()
226 fprintf(condensed, "static const unsigned char gTypeIDs[] = {\n\t"); in BuildCondensedInfo()
242 fprintf(condensed, "%d%c // %s\n\t", index, in BuildCondensedInfo()
245 fprintf(condensed, "\n};\n\n"); in BuildCondensedInfo()
246 fprintf(condensed, "static const int kTypeIDs = %d;\n\n", typeIDCount); in BuildCondensedInfo()
248 fprintf(condensed, "static const char* const gInfoNames[] = {"); in BuildCondensedInfo()
257 putc(',', condensed); in BuildCondensedInfo()
259 fprintf(condensed, "\n\tg"); in BuildCondensedInfo()
267 fprintf(condensed, "%sStrings", scratch); in BuildCondensedInfo()
269 fprintf(condensed, "\n};\n\n"); in BuildCondensedInfo()
270 fprintf(condensed, "#endif\n"); in BuildCondensedInfo()
271 fclose(condensed); in BuildCondensedInfo()