| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/ |
| D | LBABackend.cs | 64 file.Seek((long)blockSize * startingBlock, SeekOrigin.Begin); in Read() 65 return file.ReadBytes(bytesToRead); in Read() 77 file.Seek((long)blockSize * startingBlock, SeekOrigin.Begin); in Write() 78 file.Write(data, 0, data.Length); in Write() 83 if(file != null) in Dispose() 85 file.Dispose(); in Dispose() 96 if(file != null) in Touch() 111 … file = new SerializableStreamView(new FileStream(underlyingFile, FileMode.OpenOrCreate), size); in Touch() 120 private SerializableStreamView file; field in Antmicro.Renode.Storage.LBABackend
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Sound/ |
| D | PCMEncoder.cs | 63 file.Write(data, 0, data.Length); in FlushBuffer() 64 file.Flush(); in FlushBuffer() 88 if(file != null) 90 file.Dispose(); 91 file = null; 96 file = File.OpenWrite(value); 111 private FileStream file; field in Antmicro.Renode.Sound.PCMEncoder
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SD/ |
| D | SDCardExtensions.cs | 17 …public static void SdCardFromFile(this IMachine machine, string file, IPeripheralRegister<Deprecat… in SdCardFromFile() argument 19 var card = new DeprecatedSDCard(file, size, persistent); in SdCardFromFile() 24 …public static void SdCardFromFile(this IMachine machine, string file, IPeripheralRegister<SDCard, … in SdCardFromFile() argument 26 var card = new SDCard(file, size, persistent); in SdCardFromFile() 31 …public static void SdCardFromFile(this IMachine machine, string file, IPeripheralRegister<ISPIPeri… in SdCardFromFile() argument 33 var card = new SDCard(file, size, persistent, spiMode: true); in SdCardFromFile() 38 …public static void SdCardFromFile(this IMachine machine, string file, IPeripheralRegister<ISPIPeri… in SdCardFromFile() argument 40 var card = new SDCard(file, size, persistent, spiMode: true); in SdCardFromFile()
|
| D | DeprecatedSDCard.cs | 33 file = new SerializableStreamView(new FileStream(imageFile, FileMode.OpenOrCreate)); in DeprecatedSDCard() 36 CardSize = cardSize ?? file.Length; in DeprecatedSDCard() 67 file.Dispose(); in Dispose() 170 file.Seek(offset, SeekOrigin.Begin); in ReadData() 172 return file.ReadBytes(size); in ReadData() 177 file.Seek(offset, SeekOrigin.Begin); in WriteData() 178 file.Write(data, 0, size); in WriteData() 191 private readonly SerializableStreamView file; field in Antmicro.Renode.Peripherals.SD.DeprecatedSDCard
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/ |
| D | DisplayImageCommand.cs | 67 using(var file = new FileStream(pathToImage, FileMode.Open)) in Run() 69 if(!CheckFormat(file)) in Run() 75 writer.WriteRaw(InlineImage.Encode(file)); in Run() 79 private static bool CheckFormat(Stream file) in CheckFormat() argument 82 file.Seek(0, SeekOrigin.Begin); in CheckFormat() 83 file.Read(head, 0, 8); in CheckFormat() 84 file.Seek(0, SeekOrigin.Begin); in CheckFormat()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | AdHocCompilerTests.cs | 28 Assert.DoesNotThrow(() => { file = adhoc.Compile(extension); }); in ShouldNotThrowOnEmptyFile() 29 Assert.IsTrue(manager.ScanFile(file)); in ShouldNotThrowOnEmptyFile() 38 Assert.DoesNotThrow(() => { file = adhoc.Compile(extension); }); in ShouldCompileCsFile() 39 Assert.IsTrue(manager.ScanFile(file)); in ShouldCompileCsFile() 49 private string file; field in Antmicro.Renode.Utilities.AdHocCompilerTests
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | PosixFileLocker.cs | 20 file = fileToLock; in PosixFileLocker() 24 throw new InvalidOperationException("File {0} not locked.".FormatWith(file)); in PosixFileLocker() 32 throw new InvalidOperationException("File {0} not unlocked.".FormatWith(file)); in Dispose() 56 private readonly string file; field in Antmicro.Renode.Utilities.PosixFileLocker
|
| D | VmemReader.cs | 21 public VmemReader(ReadFilePath file) in VmemReader() argument 23 this.file = file; in VmemReader() 53 foreach(var line in File.ReadLines(file)) in GetRawEnumerable() 136 private readonly string file; field in Antmicro.Renode.Utilities.VmemReader
|
| D | WindowsFileLocker.cs | 25 … file = File.Open(fileToLock, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.None); in WindowsFileLocker() 45 file.Close(); in Dispose() 56 private readonly FileStream file; field in Antmicro.Renode.Utilities.WindowsFileLocker
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | BinaryFingerprint.cs | 17 public BinaryFingerprint(string file) in BinaryFingerprint() argument 20 using(var stream = File.OpenRead(file)) in BinaryFingerprint() 25 FileName = Path.GetFullPath(file); in BinaryFingerprint()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Common/ |
| D | RegisterEnumParser.tt | 6 // This file is licensed under the MIT License. 17 /* This file is automatically generated. Do not modify it manually! All changes should be made in `… 20 // * file easy usable in other T4 templates 24 // and used by `RegisterTemplate.tt` and by this file. 26 …// This file simply reads content of `RegisterEnumParserContent.tt` and, with simple transformatio…
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm64/ |
| D | ARMv8RRegisters.tt | 5 // This file is licensed under the MIT License. 10 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 17 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| D | ARMv8ARegisters.tt | 5 // This file is licensed under the MIT License. 10 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 25 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Xtensa/ |
| D | XtensaRegisters.tt | 5 // This file is licensed under the MIT License. 10 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 20 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/ |
| D | X86Registers.tt | 6 // This file is licensed under the MIT License. 11 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 20 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| D | X86_64Registers.tt | 5 // This file is licensed under the MIT License. 10 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 23 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm/ |
| D | ArmRegisters.tt | 6 // This file is licensed under the MIT License. 11 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 21 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/ |
| D | RiscvOpcodesParser.cs | 21 public static void EnableRiscvOpcodesCounting(this BaseRiscV cpu, ReadFilePath file) in EnableRiscvOpcodesCounting() argument 23 foreach(var x in RiscVOpcodesParser.Parse(file)) in EnableRiscvOpcodesCounting() 42 … if(!assembly.TryFromResourceToTemporaryFile($"{ResourceNamePrefix}.{name}", out var file)) in EnableRiscvOpcodesCountingFromEmbeddedResource() 47 cpu.EnableRiscvOpcodesCounting(file); in EnableRiscvOpcodesCountingFromEmbeddedResource() 80 if(!assembly.TryFromResourceToTemporaryFile(resourceName, out var file)) in EnableRiscvOpcodesCounting() 85 cpu.EnableRiscvOpcodesCounting(file); in EnableRiscvOpcodesCounting() 120 public static IEnumerable<Tuple<string, string>> Parse(string file) in Parse() argument 126 foreach(var line in File.ReadLines(file).Select(x => RemoveComments(x))) in Parse()
|
| D | RiscV32Registers.tt | 5 // This file is licensed under the MIT License. 10 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 46 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/PowerPC/ |
| D | PowerPc64Registers.tt | 6 // This file is licensed under the MIT License. 11 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 27 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| D | PowerPcRegisters.tt | 6 // This file is licensed under the MIT License. 11 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 27 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm-M/ |
| D | CortexMRegisters.tt | 6 // This file is licensed under the MIT License. 11 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 28 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Sparc/ |
| D | SparcRegisters.tt | 6 // This file is licensed under the MIT License. 11 <#@ include file="../Common/RegisterTemplateDefinitions.tt" #> 30 <#@ include file="../Common/RegisterTemplate.tt" #>
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/GuestProfiling/ProtoBuf/ |
| D | README.txt | 6 Protobuf message definitions are created form the 'trace_packet.proto' file. This file is a 11 When using protobuf-net this file can be converted to a C# class using: https://protogen.marcgravel… 14 The 'TracePacket.cs' file was created using this converter and this class is the only one that is r…
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/ |
| D | MassStorageExtensions.cs | 16 …public static void PendriveFromFile(this IMachine machine, string file, string name, IPeripheralRe… in PendriveFromFile() argument 20 var pendrive = new MassStorage(file, persistent: persistent); in PendriveFromFile()
|