Lines Matching refs:fileCount
91 static uint32_t fileCount=0; variable
216 if(fileCount==0) { in createCommonDataFile()
222 qsort(files, fileCount, sizeof(File), compareFiles); in createCommonDataFile()
228 basenameOffset=4+8*fileCount; in createCommonDataFile()
230 for(i=0; i<fileCount; ++i) { in createCommonDataFile()
250 udata_write32(out, fileCount); in createCommonDataFile()
251 for(i=0; i<fileCount; ++i) { in createCommonDataFile()
257 for(i=0; i<fileCount; ++i) { in createCommonDataFile()
260 length=4+8*fileCount+basenameTotal; in createCommonDataFile()
263 for(i=0; i<fileCount; ++i) { in createCommonDataFile()
350 name, type, fileCount); in createCommonDataFile()
355 for(i=1; i<fileCount; ++i) { in createCommonDataFile()
383 static_cast<unsigned long>(fileCount), in createCommonDataFile()
389 static_cast<unsigned long>(fileCount) in createCommonDataFile()
395 for(i=1; i<fileCount; ++i) { in createCommonDataFile()
413 if(fileCount==fileMax) { in addFile()
417 … Could not allocate %u bytes for %d files\n", (unsigned int)(fileMax*sizeof(files[0])), fileCount); in addFile()
439 files[fileCount].basename=s; in addFile()
440 files[fileCount].basenameLength=length; in addFile()
442 files[fileCount].pathname=fullPath; in addFile()
469 files[fileCount].fileSize=length; in addFile()
480 files[fileCount].basename=s; in addFile()
482 t=files[fileCount].pathname=allocString(length); in addFile()
494 ++fileCount; in addFile()