| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | SnapshotTracker.cs | 42 while(index >= 0 && !File.Exists(snapshots[index].Path)) in GetLastSnapshotBeforeOrAtTimeStamp() 50 return snapshots[index].Path; in GetLastSnapshotBeforeOrAtTimeStamp() 80 x => x.Path, in PrintDetailedSnapshotsInfo() 82 x => GetSnapshotSizeText(new FileInfo(x.Path).Length) in PrintDetailedSnapshotsInfo() 90 …public long TotalSnapshotsSize => snapshots.Select(x => new FileInfo(x.Path)).Where(x => x.Exists)… 106 Path = path; in SnapshotDescriptor() 110 public string Path { get; } property in Antmicro.Renode.Utilities.SnapshotTracker.SnapshotDescriptor
|
| D | SimpleFileCache.cs | 18 cacheLocation = Path.Combine(Emulator.UserDirectoryPath, location); in SimpleFileCache() 37 filename = Path.Combine(cacheLocation, sha); in TryGetEntryWithSha() 49 using(var locker = new FileLocker(Path.Combine(cacheLocation, lockFileName))) in StoreEntryWithSha() 51 FileCopier.Copy(filename, Path.Combine(cacheLocation, sha), true); in StoreEntryWithSha() 65 using(var locker = new FileLocker(Path.Combine(cacheLocation, lockFileName))) in Populate()
|
| D | TypeManager.cs | 42 assemblyLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); in TypeManager() 154 return GetTypeWithLazyLoad(name, assembly.FullName, assembly.Path); in TryGetTypeByName() 163 … name, possibleAssemblies.Select(x => x.Path).Aggregate((x, y) => x + ", " + y))); in TryGetTypeByName() 165 … var selectedAssembly = assemblyResolver(possibleAssemblies.Select(x => x.Path).ToList()); in TryGetTypeByName() 166 …var selectedAssemblyDescription = possibleAssemblies.FirstOrDefault(x => x.Path == selectedAssembl… in TryGetTypeByName() 171 … selectedAssembly, possibleAssemblies.Select(x => x.Path).Aggregate((x, y) => x + ", " + y))); in TryGetTypeByName() 255 …LogLevel.Noisy, "Assembly '{0}' resolved by exact match from '{1}'.", args.Name, description.Path); in ResolveAssembly() 259 …ssembly '{0}' resolved by simple name '{1}' from '{2}'.", args.Name, simpleName, description.Path); in ResolveAssembly() 261 return Assembly.LoadFrom(description.Path); in ResolveAssembly() 364 assemblyFromAssemblyPath.Add(assembly.Path, assembly); in BuildAssemblyCache() [all …]
|
| D | TemporaryFilesManager.cs | 20 …Initialize(Path.GetTempPath(), DefaultDirectoryPrefix, !EmulationManager.DisableEmulationFilesClea… in TemporaryFilesManager() 38 path = Path.Combine(emulatorTemporaryPath, fileName); in GetTemporaryFile() 60 path = Path.Combine(emulatorTemporaryPath, fileName); in TryCreateFile() 130 otherEmulatorTempPrefix = Path.Combine(tempDirectory, tempDirPrefix); in TemporaryFilesManager()
|
| D | AdHocCompiler_NET.cs | 26 var outputFilePath = Path.ChangeExtension(tempFilePath, ".dll"); in Compile() 27 var outputFileName = Path.GetFileName(outputFilePath); in Compile()
|
| D | CachingFileFetcher.cs | 125 … fileName = TemporaryFilesManager.Instance.GetTemporaryFile(Path.GetExtension(uri.AbsoluteUri)); in TryFetchFromUriInner() 485 return Path.Combine(cacheDir, "bin" + id); in GetBinaryFileName() 495 return Path.Combine(Emulator.UserDirectoryPath, CacheDirectory); in GetCacheLocation() 500 return Path.Combine(Emulator.UserDirectoryPath, CacheIndex); in GetCacheIndexLocation() 505 return Path.Combine(Emulator.UserDirectoryPath, CacheLock); in GetCacheIndexLockLocation()
|
| D | AssemblyHelper.cs | 55 …ntDomain.GetAssemblies().Where(x => !x.IsDynamic).Select(x => x.Location).Where(Path.IsPathRooted)) in GetAssembliesLocations()
|
| D | FilePath.cs | 177 var lastSplit = path.LastIndexOf(Path.DirectorySeparatorChar); in Validate()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/XwtProvider/ |
| D | DllMap.cs | 39 …return NativeLibrary.Load(Path.Combine("/opt/homebrew/lib", mappedName), assembly, dllImportSearch… in MapAndLoad() 45 …string xmlPath = Path.Combine(Path.GetDirectoryName(assemblyLocation), Path.GetFileNameWithoutExte… in MapLibraryName()
|
| D | XwtProvider.cs | 55 … var assemblyLocation = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); in Initialize() 56 var assembly = Assembly.LoadFrom(Path.Combine(assemblyLocation, "Xwt.Gtk3.dll")); in Initialize()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/TAPHelper/ |
| D | DynamicModuleSpawner_NET.cs | 28 var outputFilePath = Path.ChangeExtension(generatedFilePath, ".dll"); in GetTAPHelper() 29 var outputFileName = Path.GetFileName(outputFilePath); in GetTAPHelper() 35 Path.ChangeExtension(generatedFilePath, "runtimeconfig.json"), in GetTAPHelper() 41 …var targetPath = Path.Combine(TemporaryFilesManager.Instance.EmulatorTemporaryPath, "Infrastructur… in GetTAPHelper()
|
| D | DynamicModuleSpawner.cs | 22 var dirName = Path.GetDirectoryName(generatedFileName); in GetTAPHelper() 23 var filName = Path.GetFileName(generatedFileName); in GetTAPHelper() 27 …var targetPath = Path.Combine(TemporaryFilesManager.Instance.EmulatorTemporaryPath, "Infrastructur… in GetTAPHelper()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/ |
| D | MonitorPath.cs | 33 Environment.CurrentDirectory = System.IO.Path.Combine(CurrentWorkingDirectory, path); in PushWorkingDirectory() 68 public String Path property in Antmicro.Renode.UserInterface.MonitorPath 96 Path = DefaultPath; in Reset()
|
| D | ShellProvider.cs | 33 …HistorySavePath = ConfigurationManager.Instance.Get("general", "history-path", Path.Combine(Emulat… in GenerateShell()
|
| D | Monitor.cs | 634 …SetVariable(OriginVariable, new PathToken("@" + Path.GetDirectoryName(filename).Replace(" ", @"\ "… in TryExecuteScript() 702 var currentPath = Path.Combine(pathElement, fileName); in TryGetFilenameFromAvailablePaths() 705 fullPath = Path.GetFullPath(currentPath); in TryGetFilenameFromAvailablePaths() 876 var directoryPath = Path.Combine(prefix, directory); in SuggestFiles() 899 …return new[] { "{0}@{1}/".FormatWith(allButLast, Path.Combine(StripPrefix(directoryPath, prefix), … in SuggestFiles() 909 …ringComparison.Ordinal) ? path.Substring(prefix.Length + (prefix.EndsWith(Path.DirectorySeparatorC… in StripPrefix() 943 directory = Path.GetDirectoryName(lastElement) ?? lastElement; in SuggestCommands() 944 file = Path.GetFileName(lastElement); in SuggestCommands() 961 … foreach(var pathEntry in monitorPath.PathElements.Select(x => Path.GetFullPath(x))) in SuggestCommands()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/ |
| D | MonitorPathCommand.cs | 31 writer.WriteLine(string.Format("Current 'PATH' value is: {0}", monitorPath.Path)); in PrintCurrentPath() 40 monitorPath.Path = path.Value; in SetOrAdd()
|
| D | IncludeFileCommand.cs | 44 switch(Path.GetExtension(path)) in Run()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/ |
| D | UartFileBackend.cs | 25 var name = ExternalNamePrefix + Path.GetFullPath(path); in CreateFileBackend() 39 var name = ExternalNamePrefix + Path.GetFullPath(path); in CloseFileBackend()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/USBIP/ |
| D | DeviceDescriptor.cs | 15 public byte[] Path; field
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | BinaryFingerprint.cs | 25 FileName = Path.GetFullPath(file); in BinaryFingerprint()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/ |
| D | Emulator.cs | 24 …UserDirectoryPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationDa… in Emulator()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/ |
| D | CrashHandler.cs | 65 File.AppendAllText(Path.Combine(location, filename), message); in SaveErrorToFile()
|
| D | CommandLineInterface.cs | 221 …Uri.IsWellFormedUriString(options.FilePath, UriKind.Absolute) || Path.IsPathRooted(options.FilePat… in PrepareShell() 224 switch(Path.GetExtension(filePath)) in PrepareShell()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/VideoAnalyzer/ |
| D | VideoAnalyzer.cs | 146 var screenshotDir = Path.Combine(Emulator.UserDirectoryPath, "screenshots"); in EnsureAnalyserWidget() 148 …var filename = Path.Combine(screenshotDir, string.Format("screenshot-{0:yyyy_M_d_HHmmss}.png", Cus… in EnsureAnalyserWidget()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Common/ |
| D | RegisterEnumParser.tt | 32 var baseDirectoryPath = Path.GetDirectoryName(BASE_PATH);
|