flen 121 tools/packfi2/fi2enc.c size_t flen; flen 155 tools/packfi2/fi2enc.c flen = ftell( fi ); flen 158 tools/packfi2/fi2enc.c if( flen <= 0 || flen > (256 << 20) ){ // file size sanity check (256MB max) flen 159 tools/packfi2/fi2enc.c printf( "Data file %s have unacceptable file size (%ld)\n", infname, (unsigned long) flen ); flen 162 tools/packfi2/fi2enc.c upkbuf = (unsigned char*)malloc( flen ); // allocate buffer for data file flen 164 tools/packfi2/fi2enc.c printf( g_str_err_malloc, flen ); flen 167 tools/packfi2/fi2enc.c if( flen > fread( upkbuf, 1, flen, fi ) ){ flen 172 tools/packfi2/fi2enc.c i = align128( 4 + compressBound( flen ) ); // determine upper bound for compressed block buffer flen 180 tools/packfi2/fi2enc.c if( Z_OK != compress( buf + 4, &i, upkbuf, flen ) ){ flen 185 tools/packfi2/fi2enc.c fi2rec.upklen = flen;