Lines Matching refs:toc
1091 int max_toc, xkmSectionInfo *toc)
1118 fread(&toc[i], SIZEOF(xkmSectionInfo), 1, file);
1124 XkmFindTOCEntry(xkmFileInfo *finfo, xkmSectionInfo *toc, unsigned type)
1129 if (toc[i].type == type)
1130 return &toc[i];
1137 xkmSectionInfo * toc,
1148 fseek(file, toc->offset, SEEK_SET);
1151 if ((tmpTOC.type != toc->type) || (tmpTOC.format != toc->format) ||
1152 (tmpTOC.size != toc->size) || (tmpTOC.offset != toc->offset)) {
1207 XkmReadFileSectionName(FILE *file, xkmSectionInfo *toc)
1212 if ((!file) || (!toc))
1214 switch (toc->type) {
1223 fseek(file, toc->offset, SEEK_SET);
1225 if ((tmpTOC.type != toc->type) || (tmpTOC.format != toc->format) ||
1226 (tmpTOC.size != toc->size) || (tmpTOC.offset != toc->offset)) {
1248 xkmSectionInfo toc[MAX_TOC], tmpTOC;
1253 if (!XkmReadTOC(file, &fileInfo, MAX_TOC, toc))
1264 fseek(file, toc[i].offset, SEEK_SET);
1267 if ((tmpTOC.type != toc[i].type) || (tmpTOC.format != toc[i].format) ||
1268 (tmpTOC.size != toc[i].size) || (tmpTOC.offset != toc[i].offset)) {
1304 which &= ~(1 << toc[i].type);
1305 result->defined |= (1 << toc[i].type);