Lines Matching refs:info
14 #error "SK_USE_CONDENSED_INFO must be zero to build condensed info"
17 #error "SK_BUILD_FOR_WIN32 must be defined to build condensed info"
29 static void AddInfo(SkDisplayTypes type, const SkMemberInfo* info, int infoCount) {
31 gInfos[type] = info;
36 SkASSERT(info[inner].fCount < 256);
37 int offset = (int) info[inner].fOffset;
40 if (info[inner].fType == SkType_BaseClassInfo) {
41 const SkMemberInfo* innerInfo = (const SkMemberInfo*) info[inner].fName;
44 *gUnknownsCounts.append() = info[inner].fCount;
47 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName)
48 allStrs += strlen(info[inner].fName);
50 SkASSERT(info[inner].fType < 256);
54 static void WriteInfo(FILE* condensed, const SkMemberInfo* info, int infoCount,
60 const char* name = (info[inner].fType != SkType_BaseClassInfo && info[inner].fName) ?
61 info[inner].fName : "";
68 // write info tables
70 size_t offset = info[inner].fOffset;
71 if (info[inner].fType == SkType_BaseClassInfo) {
72 offset = (size_t) gInfos.find((const SkMemberInfo* ) info[inner].fName);
78 info[inner].fType, info[inner].fCount);
81 if (info[inner].fType != SkType_BaseClassInfo && info[inner].fName)
82 nameOffset += strlen(info[inner].fName);
113 const SkMemberInfo* info = GetMembers(maker, gTypeNames[index].fType, &infoCount);
114 if (info == NULL)
116 AddInfo(gTypeNames[index].fType, info, infoCount);
129 const SkMemberInfo* info = oldRefs[index];
130 if (gInfos.find(info) == -1) {
135 if (temp == info)
139 AddInfo((SkDisplayTypes) typeIndex, info, oldRefCounts[index]);
155 fprintf(condensed, "// To change it, edit the file with the matching debug info.\n");
162 const SkMemberInfo* info = gInfos[index];
163 if (info == NULL)
177 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefix, displayPrefix);
185 const SkMemberInfo* info = gInfos[index];
186 if (info == NULL)
210 // write the array of number of entries in the info table
231 const SkMemberInfo* info = gInfos[index];
232 if (info == NULL)
253 const SkMemberInfo* info = gInfos[index];
254 if (info == NULL)