Home | History | Annotate | Download | only in animator

Lines Matching refs:info

22 #error "SK_USE_CONDENSED_INFO must be zero to build condensed info"
25 #error "SK_BUILD_FOR_WIN32 must be defined to build condensed info"
37 static void AddInfo(SkDisplayTypes type, const SkMemberInfo* info, int infoCount) {
39 gInfos[type] = info;
44 SkASSERT(info[inner].fCount < 256);
45 int offset = (int) info[inner].fOffset;
48 if (info[inner].fType == SkType_BaseClassInfo) {
49 const SkMemberInfo* innerInfo = (const SkMemberInfo*) info[inner].fName;
52 *gUnknownsCounts.append() = info[inner].fCount;
55 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName)
56 allStrs += strlen(info[inner].fName);
58 SkASSERT(info[inner].fType < 256);
62 static void WriteInfo(FILE* condensed, const SkMemberInfo* info, int infoCount,
68 const char* name = (info[inner].fType != SkType_BaseClassInfo && info[inner].fName) ?
69 info[inner].fName : "";
76 // write info tables
78 size_t offset = info[inner].fOffset;
79 if (info[inner].fType == SkType_BaseClassInfo) {
80 offset = (size_t) gInfos.find((const SkMemberInfo* ) info[inner].fName);
86 info[inner].fType, info[inner].fCount);
89 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName)
90 nameOffset += strlen(info[inner].fName);
121 const SkMemberInfo* info = GetMembers(maker, gTypeNames[index].fType, &infoCount);
122 if (info == NULL)
124 AddInfo(gTypeNames[index].fType, info, infoCount);
137 const SkMemberInfo* info = oldRefs[index];
138 if (gInfos.find(info) == -1) {
143 if (temp == info)
147 AddInfo((SkDisplayTypes) typeIndex, info, oldRefCounts[index]);
163 fprintf(condensed, "// To change it, edit the file with the matching debug info.\n");
170 const SkMemberInfo* info = gInfos[index];
171 if (info == NULL)
185 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefix, displayPrefix);
193 const SkMemberInfo* info = gInfos[index];
194 if (info == NULL)
218 // write the array of number of entries in the info table
239 const SkMemberInfo* info = gInfos[index];
240 if (info == NULL)
261 const SkMemberInfo* info = gInfos[index];
262 if (info == NULL)