Home
last modified time | relevance | path

Searched refs:underlyingFile (Results 1 – 3 of 3) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/
DLBABackend.cs22 …public LBABackend(string underlyingFile, int? numberOfBlocks = null, int blockSize = 512, bool per… in LBABackend() argument
24 if(!File.Exists(underlyingFile)) in LBABackend()
26 …tion(new FileNotFoundException("File not found: {0}.".FormatWith(underlyingFile), underlyingFile)); in LBABackend()
30 this.underlyingFile = underlyingFile; in LBABackend()
54 return underlyingFile;
103 FileCopier.Copy(underlyingFile, tempFileName, true); in Touch()
104 underlyingFile = tempFileName; in Touch()
108 numberOfBlocks = ToNumberOfBlocks(new FileInfo(underlyingFile).Length); in Touch()
111 … file = new SerializableStreamView(new FileStream(underlyingFile, FileMode.OpenOrCreate), size); in Touch()
119 private string underlyingFile; field in Antmicro.Renode.Storage.LBABackend
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DStorageTests.cs29 var underlyingFile = TemporaryFilesManager.Instance.GetTemporaryFile(); in ShouldReadAndWriteLBABackend()
33 using(var lbaBackend = new LBABackend(underlyingFile, blocksCount, BlockSize)) in ShouldReadAndWriteLBABackend()
52 File.Delete(underlyingFile); in ShouldReadAndWriteLBABackend()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/
DMassStorage.cs55 …public MassStorage(string underlyingFile, int? numberOfBlocks = null, int blockSize = 512, bool pe… in MassStorage() argument
57 lbaBackend = new LBABackend(underlyingFile, numberOfBlocks, blockSize, persistent); in MassStorage()