Lines Matching refs:toc
366 int toc) in _XcursorSeekToToc() argument
369 (*file->seek) (file, fileHeader->tocs[toc].position, SEEK_SET) == EOF) in _XcursorSeekToToc()
377 int toc, in _XcursorFileReadChunkHeader() argument
382 if (!_XcursorSeekToToc (file, fileHeader, toc)) in _XcursorFileReadChunkHeader()
393 if (chunkHeader->type != fileHeader->tocs[toc].type || in _XcursorFileReadChunkHeader()
394 chunkHeader->subtype != fileHeader->tocs[toc].subtype) in _XcursorFileReadChunkHeader()
436 unsigned int toc; in _XcursorFindImageToc() local
442 for (toc = 0; toc < fileHeader->ntoc; toc++) in _XcursorFindImageToc()
444 if (fileHeader->tocs[toc].type != XCURSOR_IMAGE_TYPE) in _XcursorFindImageToc()
446 thisSize = fileHeader->tocs[toc].subtype; in _XcursorFindImageToc()
453 if (toc == fileHeader->ntoc) in _XcursorFindImageToc()
455 return toc; in _XcursorFindImageToc()
461 int toc) in _XcursorReadImage() argument
472 if (!_XcursorFileReadChunkHeader (file, fileHeader, toc, &chunkHeader)) in _XcursorReadImage()
524 int toc; in XcursorXcFileLoadImages() local
545 toc = _XcursorFindImageToc (fileHeader, bestSize, n); in XcursorXcFileLoadImages()
546 if (toc < 0) in XcursorXcFileLoadImages()
549 toc); in XcursorXcFileLoadImages()