Lines Matching refs:ntoc
104 XcursorUInt ntoc; /* number of toc entries */ member
297 _XcursorFileHeaderCreate (int ntoc) in _XcursorFileHeaderCreate() argument
301 if (ntoc > 0x10000) in _XcursorFileHeaderCreate()
304 ntoc * sizeof (XcursorFileToc)); in _XcursorFileHeaderCreate()
310 fileHeader->ntoc = ntoc; in _XcursorFileHeaderCreate()
333 if (!_XcursorReadUInt (file, &head.ntoc)) in _XcursorReadFileHeader()
339 fileHeader = _XcursorFileHeaderCreate (head.ntoc); in _XcursorReadFileHeader()
345 fileHeader->ntoc = head.ntoc; in _XcursorReadFileHeader()
346 for (n = 0; n < fileHeader->ntoc; n++) in _XcursorReadFileHeader()
355 if (n != fileHeader->ntoc) in _XcursorReadFileHeader()
414 for (n = 0; n < fileHeader->ntoc; n++) in _XcursorFindBestSize()
442 for (toc = 0; toc < fileHeader->ntoc; toc++) in _XcursorFindImageToc()
453 if (toc == fileHeader->ntoc) in _XcursorFindImageToc()