kerneltest/f32test/fileutils/inc/f32_test_utils.h
changeset 244 a77889bee936
parent 175 5af6c74cd793
equal deleted inserted replaced
243:c7a0ce20c48c 244:a77889bee936
    57 
    57 
    58 TInt  RemountFS(RFs& aFs, TInt aDrive, TTime* apTimeMountStart=NULL);
    58 TInt  RemountFS(RFs& aFs, TInt aDrive, TTime* apTimeMountStart=NULL);
    59 
    59 
    60 TInt FormatDrive(RFs &aFs, TInt aDrive, TBool aQuickFormat); 
    60 TInt FormatDrive(RFs &aFs, TInt aDrive, TBool aQuickFormat); 
    61 
    61 
       
    62 //-----------------------------------------------------------------------------
       
    63 
       
    64 TBool CompareBuffers(const TDesC8& aBuf1, const TDesC8& aBuf2);
       
    65 TBool CompareBuffers(const TAny* apBuf1, TUint aBuf1Len, const TAny* apBuf2, TUint aBuf2Len);
       
    66 
       
    67 void  HexDump(const TDesC8& aBuf);
       
    68 void  HexDump(const TAny* apBuf, TUint aBufLen);
    62 
    69 
    63 //-----------------------------------------------------------------------------
    70 //-----------------------------------------------------------------------------
    64 /** 
    71 /** 
    65     a file system descriptor. Contains the information about file system.
    72     a file system descriptor. Contains the information about file system.
    66     support for non-primary FS extensions is not implemented yet, it suports primary extensions only
    73     support for non-primary FS extensions is not implemented yet, it suports primary extensions only
   153 TBool Is_Fat16(RFs &aFs, TInt aDrive);  //-- returns ETrue if "FAT" FS is mounted on this drive and it is FAT16 type    
   160 TBool Is_Fat16(RFs &aFs, TInt aDrive);  //-- returns ETrue if "FAT" FS is mounted on this drive and it is FAT16 type    
   154 TBool Is_Fat12(RFs &aFs, TInt aDrive);  //-- returns ETrue if "FAT" FS is mounted on this drive and it is FAT12 type
   161 TBool Is_Fat12(RFs &aFs, TInt aDrive);  //-- returns ETrue if "FAT" FS is mounted on this drive and it is FAT12 type
   155 
   162 
   156 
   163 
   157 
   164 
       
   165 
       
   166 
   158 //#############################################################################
   167 //#############################################################################
   159 //#  some  private helper functions  
   168 //#  some  private helper functions  
   160 //#############################################################################
   169 //#############################################################################
   161 void DoPrintf(TRefByValue<const TDesC> aFmt,...);
   170 void DoPrintf(TRefByValue<const TDesC> aFmt,...);
   162 void DoMediaRawReadL(RFs &aFs, TInt aDrive, TInt64 aMediaPos, TUint32 aLen, TDes8& aData);
   171 void DoMediaRawReadL(RFs &aFs, TInt aDrive, TInt64 aMediaPos, TUint32 aLen, TDes8& aData);