Home
last modified time | relevance | path

Searched refs:ToList (Results 1 – 25 of 51) sorted by relevance

123

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/
DLazyList.cs25 public List<T> ToList() in ToList() method in Antmicro.Renode.Utilities.Collections.LazyList
27 return funcs.Select(x => x()).ToList(); in ToList()
DWeakMultiTable.cs41 … return snapshotRights.Where((r, index) => neededIndices.Contains(index)).Distinct().ToList(); in GetAllForLeft()
58 … return snapshotLefts.Where((l, index) => neededIndices.Contains(index)).Distinct().ToList(); in GetAllForRight()
124 lefts = snapshotLefts.Select(x => new WeakReference(x)).ToList(); in FromSnapshot()
125 rights = snapshotRights.Select(x => new WeakReference(x)).ToList(); in FromSnapshot()
DSerializableWeakKeyDictionary.cs104 }).Where(x => x != null).ToList();
120 }).Where(x => x != null).ToList();
DSerializableWeakDictionary.cs270 keys = serializedKeys.Select(x => new WeakReference(x)).ToList(); in AfterDeserialization()
271 values = serializedValues.Select(x => new WeakReference(x)).ToList(); in AfterDeserialization()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/GDB/Commands/
DMultithreadContinueCommand.cs73 …= operations.Where(operation => !manager.ManagedCpus[operation.CoreId].TimeHandle.IsDone).ToList(); in TryHandleBlockingExecution()
74 … = operations.Where(operation => manager.ManagedCpus[operation.CoreId].TimeHandle.IsDone).ToList(); in TryHandleBlockingExecution()
77 … var blockedStep = blocked.Where(operation => operation.Type == OperationType.Step).ToList(); in TryHandleBlockingExecution()
81 … var stepping = blocking.Where(operation => operation.Type == OperationType.Step).ToList(); in TryHandleBlockingExecution()
102 … blockingContinue = blocking.Where(operation => operation.Type == OperationType.Continue).ToList(); in TryHandleBlockingExecution()
DTrace32Commands.cs51 …r.GetBytesFromValue(value, valueSize, reverse: cpu.Endianness == Endianess.LittleEndian)).ToList(); in Execute()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/
DSimpleContainer.cs31 return ChildCollection.Keys.Select(x => new NumberRegistrationPoint<int>(x)).ToList(); in GetRegistrationPoints()
38 …llection.Select(x => Registered.Create(x.Value, new NumberRegistrationPoint<int>(x.Key))).ToList();
53 …hildCollection.Where(x => x.Value.Equals(peripheral)).Select(x => x.Key).ToList(); //ToList requir… in Unregister()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/MTD/
DAMDCFIFlash.cs52 Enumerable.Repeat(0x2000L, 8).Concat(Enumerable.Repeat(0x10000L, 15)).ToList(), in AMDCFIFlash()
53 Enumerable.Repeat(0x10000L, 48).ToList(), in AMDCFIFlash()
54 Enumerable.Repeat(0x10000L, 48).ToList(), in AMDCFIFlash()
55 Enumerable.Repeat(0x10000L, 15).Concat(Enumerable.Repeat(0x2000L, 8)).ToList(), in AMDCFIFlash()
123 bankSectorSizes.Add(entry.ToList()); in AddSectorSizes()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Backends/
DMemoryBackend.cs48 return entries.Skip(Math.Max(0, entries.Count() - numberOfElements)).ToList(); in GetMemoryLogEntries()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DMonitorCommands.cs95 …idateParameters.Where(x => typeof(ICommandInteraction).IsAssignableFrom(x.ParameterType)).ToList(); in RunCommand()
115 …didateParameters.Skip(writers.Count).Take(candidateParameters.Length - writers.Count - 1).ToList(); in RunCommand()
120 …tersWithoutLastArray = parameters.Take(candidateParametersWithoutArrayAndWriters.Count()).ToList(); in RunCommand()
124 … candidateParametersWithoutArrayAndWriters = candidateParameters.Skip(writers.Count).ToList(); in RunCommand()
1101 parameters = parameters.Skip(1).ToList(); in TryPrepareParameters()
1109 parameters = parameters.Take(parameters.Count - 1).ToList(); in TryPrepareParameters()
1253 var indexers = cache.Get(type, GetAvailableIndexers).ToList(); in ExecuteDeviceAction()
1256 var foundMethods = methods.Where(x => x.Name == commandValue).ToList(); in ExecuteDeviceAction()
1259 var foundExts = extensions.Where(x => x.Name == commandValue).ToList(); in ExecuteDeviceAction()
1261 … ? indexers.ToList() : indexers.Where(x => x.Name == commandValue).ToList(); in ExecuteDeviceAction()
[all …]
DMonitor.cs351 var tokens = tokensToParse.ToList(); in ParseTokens()
744 … VariableToken ? ExpandVariable(x as VariableToken, variables) ?? x : x).ToList(); // ?? to preven… in ExpandVariables()
817 return RunCommand(writer, commandHandler, com.Skip(1).ToList()); in ExecuteCommand()
833 return RunCommand(writer, item, com.Skip(1).ToList()); in ExecuteCommand()
982 …bles.Keys.Concat(macros.Keys).Where(x => x.StartsWith(varName, StringComparison.Ordinal)).ToList(); in SuggestCommands()
1028 var sugg = Commands.Select(x => x.Name).ToList(); in SuggestCommands()
1060 var baseNames = GetAvailableNames().ToList(); in GetAllAvailableNames()
1096 var list = value.ToList();
1111 var list = value.ToList(); in AllButLastAndAggregate()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/
DMachineExtensions.cs132 result.Add(entry, uniqueEntryList.Select(x => x.RegistrationPoint).ToList()); in GetPeripheralsWithAllRegistrationPoints()
141 …ry, uniqueEntryList.Where(x => x.Parent == sysbusEntry).Select(x => x.RegistrationPoint).ToList()); in GetPeripheralsWithAllRegistrationPoints()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/Wrappers/
DRegisterMapper.cs50 var closestCandidates = map.Keys.Where(k => k < offset).ToList(); in ToString()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/Devices/
DDevicesConfig.cs459 foreach(var deferredDevice in deferred.ToList()) in DevicesConfig()
549 …devices = ((JsonObject)SimpleJson.DeserializeObject<dynamic>(File.ReadAllText(filename))).ToList(); in GetShortInfo()
551 var arrays = devices.Where(d => d.Value is JsonArray).ToList(); in GetShortInfo()
553 …ct(a => a.Value).Cast<JsonArray>().SelectMany(y => y).Cast<JsonObject>().ToList().ForEach(x => dev… in GetShortInfo()
593 …tInterfaces().Where(x => IsSpecializationOfRawGeneric(typeof(IPeripheralRegister<,>), x)).ToList(); in RegisterInParents()
597 .ToList(); in RegisterInParents()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DAdHocCompiler_NET.cs40 AssemblyHelper.GetAssembliesLocations().ToList() in Compile()
DLINDecoder.cs167 var dataToTransmit = txQueue.ToList(); in Finalize()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DConnector.cs71 return connections.GetAllForLeft(obj).ToList(); in GetObjectsConnectedTo()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Profiler/
DProfilerHeader.cs27 var cpus = peripherals.Where(x => x.Peripheral is ICPU).ToList(); in RegisterPeripherals()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/ACPI/
DACPIExtensions.cs37 var ids = bus.GetCPUs().OfType<BaseX86>().Select(x => (ulong)x.Lapic.ID).ToList(); in GenerateACPITable()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/S32K3XX_FlexIO/
DInterrupt.cs35 ).ToList().AsReadOnly(); in BuildRegisters()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/TAPHelper/
DDynamicModuleSpawner_NET.cs78 AssemblyHelper.GetAssembliesLocations().ToList() in GenerateTAPHelper()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DAmbiqApollo4_IOMaster.cs99 .ToList(); in GetRegistrationPoints()
105 .ToList(); in GetRegistrationPoints()
109 …ed.Create(x.Value, new TypedNumberRegistrationPoint<int>(x.Key, typeof(ISPIPeripheral)))).ToList();
112 …ed.Create(x.Value, new TypedNumberRegistrationPoint<int>(x.Key, typeof(II2CPeripheral)))).ToList();
804 …ve = container.Where(x => x.Value.Equals(peripheral)).Select(x => x.Key).ToList(); //ToList requir…
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/Cadence_xSPICommands/
DSTIGCommands.cs163 var dataList = data.ToList(); in ReadData()
DPIOCommands.cs204 var dataList = data.ToList(); in ReadData()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/
DEOSS3_FlexibleFusionEngine.cs66 … var toRemove = children.Where(x => x.Value.Equals(peripheral)).Select(x => x.Key).ToList(); in Unregister()

123