Lines Matching refs:fileLength
311 int32_t fileLength, typeEnum;
323 fileLength=getFileLength(file);
324 if(ferror(file) || fileLength<=0) {
331 length=(fileLength+0xf)&~0xf;
340 if(fileLength!=(int32_t)fread(data, 1, fileLength, file)) {
348 if(fileLength<length) {
349 memset(data+fileLength, 0xaa, length-fileLength);
1135 int32_t fileLength;
1178 fileLength=(int32_t)fwrite(pItem->data, 1, pItem->length, file);
1180 if(ferror(file) || fileLength!=pItem->length) {