Home
last modified time | relevance | path

Searched refs:element (Results 1 – 19 of 19) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DHostMachine.cs28 public void AddHostMachineElement(IHostMachineElement element, string name) in AddHostMachineElement() argument
35 hostEmulationElements.Add(name, element); in AddHostMachineElement()
37 var elementAsIHasOwnLife = element as IHasOwnLife; in AddHostMachineElement()
55 public void RemoveHostMachineElement(IHostMachineElement element) in RemoveHostMachineElement() argument
57 var elementAsIHasOwnLife = element as IHasOwnLife; in RemoveHostMachineElement()
63 var key = hostEmulationElements.SingleOrDefault(x => x.Value == element).Key; in RemoveHostMachineElement()
86 public bool TryGetName(IHostMachineElement element, out string name) in TryGetName() argument
88 var pair = hostEmulationElements.SingleOrDefault(x => x.Value == element); in TryGetName()
89 if(pair.Value == element) in TryGetName()
103 foreach(var element in hostEmulationElements) in Dispose()
[all …]
DConnector.cs55 public void DisconnectFromAll(IEmulationElement element) in DisconnectFromAll() argument
57 var interestingKeys = connections.GetAllForRight(element); in DisconnectFromAll()
60 Disconnect(external, element); in DisconnectFromAll()
DEmulation.cs550 …ublic bool TryGetEmulationElementByName(string name, object context, out IEmulationElement element) in TryGetEmulationElementByName() argument
554 element = null; in TryGetEmulationElementByName()
563 element = outputPeripheral; in TryGetEmulationElementByName()
571 element = machine; in TryGetEmulationElementByName()
578 element = external; in TryGetEmulationElementByName()
586 element = hostMachineElement; in TryGetEmulationElementByName()
590 element = null; in TryGetEmulationElementByName()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/renode/
Drenode_memory.c29 host_memory_block_t* element; member
85 …if(offset >= current_block->element->start && offset <= (current_block->element->start + current_b… in tlib_guest_offset_to_host_ptr()
87 return current_block->element->host_pointer + (offset - current_block->element->start); in tlib_guest_offset_to_host_ptr()
110 …if(ptr >= current_block->element->host_pointer && ptr <= (current_block->element->host_pointer + c… in tlib_host_ptr_to_guest_offset()
112 return current_block->element->start + (ptr - current_block->element->host_pointer); in tlib_host_ptr_to_guest_offset()
160 new_mappings->guest_to_host_nodes[i].element = &new_mappings->elements[i]; in renode_set_host_blocks()
161 new_mappings->host_to_guest_nodes[i].element = &new_mappings->elements[i]; in renode_set_host_blocks()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DTable.cs34 foreach(var element in source) in AddRows()
36 content.Add(selectors.Select(x => x(element)).ToArray()); in AddRows()
DMisc.cs396 foreach (var element in source) in IndexOf()
398 if (predicate(element)) in IndexOf()
410 foreach (var element in revSource) in LastIndexOf()
412 if (predicate(element)) in LastIndexOf()
518 foreach (var element in source) in DistinctBy()
520 if (knownKeys.Add(keySelector(element))) in DistinctBy()
522 yield return element; in DistinctBy()
531 public static IEnumerable<T> Append<T>(this IEnumerable<T> source, params T[] element) in Append() argument
537 return ConcatIterator(element, source, false); in Append()
1626 public static bool TryGetNext<T>(this IEnumerator<T> @this, out T element) in TryGetNext() argument
[all …]
DCachingFileFetcher.cs409 foreach(var element in index) in UpdateInCache()
411 fileId = Math.Max(fileId, element.Value.Index) + 1; in UpdateInCache()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/
DPacket.cs32 foreach(var element in fieldsAndProperties) in CalculateOffset()
34 if(element.ElementName == fieldName) in CalculateOffset()
39 if(element.ByteOffset.HasValue) in CalculateOffset()
41 offset = element.ByteOffset.Value; in CalculateOffset()
44 var bytesRequired = element.BytesRequired; in CalculateOffset()
434 foreach(var element in fieldsAndProperties) in CalculateLength()
436 var bytesRequired = element.BytesRequired; in CalculateLength()
437 offset = element.ByteOffset ?? offset; in CalculateLength()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/
DTreeBase.cs97 foreach(var element in child) in GetEnumerator()
99 yield return element; in GetEnumerator()
DCircularBuffer.cs30 public bool Enqueue(T element) in Enqueue() argument
40 buffer[LastPosition] = element; in Enqueue()
/Renode-Infrastructure-v1.15.3-29f510e/src/UI/VideoAnalyzer/
DVideoAnalyzer.cs53 element = videoPeripheral; in OnAttach()
199 …return EmulationManager.Instance.CurrentEmulation.TryGetMachineForPeripheral(element, out var mach… in FindKeyboards()
204 …return EmulationManager.Instance.CurrentEmulation.TryGetMachineForPeripheral(element, out var mach… in FindPointers()
247 private IPeripheral element; field in Antmicro.Renode.Extensions.Analyzers.Video.VideoAnalyzer
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Bus/
DSVDParser.cs502 …private XElement GetDerivedElementFromTheScope(XElement element, IEnumerable<XElement> collection,… in GetDerivedElementFromTheScope() argument
507 var name = GetMandatoryField(element, "name"); in GetDerivedElementFromTheScope()
562 …private XElement FindDerivedElement(NestingType nestingType, XElement element, String derivedEleme… in FindDerivedElement() argument
571 element, in FindDerivedElement()
572 element.Parent.Elements(), in FindDerivedElement()
580 element, in FindDerivedElement()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/
DBackendManager.cs86 …public bool TryGetBackendFor<T>(T element, out IAnalyzableBackend<T> backend) where T : IAnalyzable
89 var result = map.TryGetValue(element, out outValue);
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/
DCommandsManager.cs210 var index = source.FindIndex(element => element.Attributes["id"] == id); in AddFeatureTypes()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/
DEHCIHostController.cs901 public int Add(T element) in Add() argument
906 internalList[firstEmpty] = element; in Add()
910 internalList.Add(element); in Add()
914 public void Remove(T element) in Remove() argument
916 var index = internalList.IndexOf(element); in Remove()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/Devices/
DDevicesConfig.cs85 foreach(var element in description.Value) in InitializeDevice()
87 … dev = InitializeSingleDevice(new KeyValuePair<string, dynamic>(element.Keys[0], element.Values[0]… in InitializeDevice()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/
DEOSS3_PacketFIFO.cs299 foreach(var element in pf3QueueMode) in EnableRingMode()
301 pf3BufferMode.Enqueue(element); in EnableRingMode()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SCI/
DRenesasRA8M1_SCI.cs754 …veQueue.EnqueueRange(selectedIICSlave.Read(IICReadBufferCount).Select(element => (ushort)element)); in TryReadFromIICSlave()
DRenesasRA6M5_SCI.cs916 …veQueue.EnqueueRange(selectedIICSlave.Read(IICReadBufferCount).Select(element => (ushort)element)); in TryReadFromIICSlave()