Home | History | Annotate | Download | only in toolutil

Lines Matching refs:fileCount

89 static uint32_t fileCount=0;
191 if(fileCount==0) {
197 qsort(files, fileCount, sizeof(File), compareFiles);
203 basenameOffset=4+8*fileCount;
205 for(i=0; i<fileCount; ++i) {
225 udata_write32(out, fileCount);
226 for(i=0; i<fileCount; ++i) {
232 for(i=0; i<fileCount; ++i) {
235 length=4+8*fileCount+basenameTotal;
238 for(i=0; i<fileCount; ++i) {
330 for(i=1; i<fileCount; ++i) {
358 (unsigned long)fileCount,
364 (unsigned long)fileCount
370 for(i=1; i<fileCount; ++i) {
388 if(fileCount==fileMax) {
392 fprintf(stderr, "pkgdata/gencmn: Could not allocate %ld bytes for %d files\n", (fileMax*sizeof(files[0])), fileCount);
415 files[fileCount].basename=s;
416 files[fileCount].basenameLength=length;
418 files[fileCount].pathname=fullPath;
445 files[fileCount].fileSize=length;
457 files[fileCount].basename=s;
461 t=files[fileCount].pathname=allocString(length);
473 ++fileCount;