Lines Matching refs:fsize
138 int decompress(char* data, long fsize)
168 _source_init( &sourcemgr, data, fsize );
309 long fsize;
320 fsize = ftell(f);
335 data = malloc( fsize );
337 if (fsize > 0)
338 fprintf(stderr, "could not allocate %ld bytes to load '%s'\n", fsize, argv[1] );
342 fread( data, 1, fsize, f );
346 printf( "compressed load: %10.2f ms (%ld bytes)\n", usec1*1e-3, fsize );
351 decompress( data, fsize );
359 printf( "decompression took: %10.3f ms (%.2f KB/s, %d passes)\n", usec1/1e3, fsize*(1e6/1024)*repeat_count/usec1, repeat_count );