| /Renode-v1.15.3-c57714d/tests/unit-tests/RenodeTests/PlatformDescription/ |
| D | VerificationTests.cs | 23 var source = @" in ShouldProcessOneObject() 26 ProcessSource(source); in ShouldProcessOneObject() 32 var source = @" in ShouldProcessLateAttach() 37 ProcessSource(source); in ShouldProcessLateAttach() 43 var source = @" in ShouldProcessWithoutTypeNameInFirstEntry() 48 ProcessSource(source); in ShouldProcessWithoutTypeNameInFirstEntry() 54 var source = @" in ShouldFailIfTypeIsSpecifiedSecondTime() 59 var exception = Assert.Throws<ParsingException>(() => ProcessSource(source)); in ShouldFailIfTypeIsSpecifiedSecondTime() 66 var source = @" in ShouldFailOnEmptyEntry() 68 var exception = Assert.Throws<ParsingException>(() => ProcessSource(source)); in ShouldFailOnEmptyEntry() [all …]
|
| D | PreLexerTests.cs | 27 var source = @"first line in ShouldProcessSimpleFile() 32 var result = PreLexer.Process(source); in ShouldProcessSimpleFile() 46 var source = @"first line in ShouldProcessDoubleDedent() 52 var result = PreLexer.Process(source); in ShouldProcessDoubleDedent() 67 var source = @"first line in ShouldProcessDoubleDedentAtTheEndOfFile() 70 var result = PreLexer.Process(source); in ShouldProcessDoubleDedentAtTheEndOfFile() 82 var source = @" in ShouldProcessTwoLinesWithNoIndent() 85 var result = PreLexer.Process(source); in ShouldProcessTwoLinesWithNoIndent() 96 var source = @" in ShouldProcessTwoLinesWithNoIndentAndSeparation() 100 var result = PreLexer.Process(source); in ShouldProcessTwoLinesWithNoIndentAndSeparation() [all …]
|
| D | MergeAndCreationTests.cs | 29 var source = @" in ShouldUpdateRegistrationPoint() 35 ProcessSource(source); in ShouldUpdateRegistrationPoint() 44 var source = @" in ShouldCancelRegistration() 49 ProcessSource(source); in ShouldCancelRegistration() 57 var source = @" in ShouldHandleRegistrationInReverseOrder() 62 ProcessSource(source); in ShouldHandleRegistrationInReverseOrder() 70 var source = @" in ShouldHandleAlias() 73 ProcessSource(source); in ShouldHandleAlias() 82 var source = @" in ShouldUpdateProperty() 90 ProcessSource(source); in ShouldUpdateProperty() [all …]
|
| D | UsingTests.cs | 26 var source = @" in ShouldFindVariableFromUsing() 31 ProcessSource(null, source, a); in ShouldFindVariableFromUsing() 40 var source = @" in ShouldNotFindLocalVariableFromUsing() 45 var exception = Assert.Throws<ParsingException>(() => ProcessSource(null, source, a)); in ShouldNotFindLocalVariableFromUsing() 52 var source = @" in ShouldFindVariableFromNestedUsing() 65 ProcessSource(null, source, a, b); in ShouldFindVariableFromNestedUsing() 71 var source = @" in ShouldAllowReverseVariableDependency() 79 ProcessSource(null, source, a); in ShouldAllowReverseVariableDependency() 85 var source = @" in ShouldFindPrefixedVariable() 93 ProcessSource(null, source, a); in ShouldFindPrefixedVariable() [all …]
|
| D | ParserPrimitivesTest.cs | 34 var source = "<100, 200>"; in ShouldParseDecimalRange() 35 var result = Grammar.Range(new Input(source)); in ShouldParseDecimalRange() 43 var source = "<0x0, 0x1000>"; in ShouldParseHexadecimalRange() 44 var result = Grammar.Range(new Input(source)); in ShouldParseHexadecimalRange() 52 var source = "<100, +0x100>"; in ShouldParseMixedRangeWithPlus() 53 var result = Grammar.Range(new Input(source)); in ShouldParseMixedRangeWithPlus() 61 var source = "<0x1000, +0x1000>"; in ShouldParseHexadecimalRangeWithPlus() 62 var result = Grammar.Range(new Input(source)); in ShouldParseHexadecimalRangeWithPlus() 70 var source = "<0x1000, 0x100>"; in ShouldNotParseNegativeRange() 71 var result = Grammar.Range(new Input(source)); in ShouldNotParseNegativeRange() [all …]
|
| D | ParserTests.cs | 24 var source = string.Empty; in ShouldParseEmptyFile() 26 var result = Grammar.Description(GetInputFromString(source)); in ShouldParseEmptyFile() 33 var source = @" in ShouldParseUsingEntry() 37 var input = GetInputFromString(source); in ShouldParseUsingEntry() 48 var source = @" in ShouldParseSimpleEntry() 50 var result = Grammar.Description(GetInputFromString(source)); in ShouldParseSimpleEntry() 61 var source = @" in ShouldParseEntryWithSimpleRegistrationInfo() 63 var result = Grammar.Description(GetInputFromString(source)); in ShouldParseEntryWithSimpleRegistrationInfo() 76 var source = @" in ShouldParseEntryWithRangeRegistrationPoint() 78 var result = Grammar.Description(GetInputFromString(source)); in ShouldParseEntryWithRangeRegistrationPoint() [all …]
|
| D | FakeUsingResolver.cs | 24 public FakeUsingResolver With(string argument, string source) in With() argument 26 argumentToSource.Add(argument, source); in With()
|
| /Renode-v1.15.3-c57714d/tools/csv2resd/ |
| D | csv2resd.py | 114 def map_source(labels, source): argument 115 if source is None: 118 source = int(source) if all(c.isdigit() for c in source) else source 119 if isinstance(source, int) and 0 <= source < len(labels): 120 source = labels[source] 122 if source not in labels: 126 return source
|
| /Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/ |
| D | UsingsGraph.cs | 100 …OrCreateGraphNode(CreationDriver creationDriver, string filePath, string source, string prefix, Gr… in GetOrCreateGraphNode() argument 104 node = CreateGraphNode(creationDriver, filePath, source, prefix, parent); in GetOrCreateGraphNode() 109 …e CreateGraphNode(CreationDriver creationDriver, string filePath, string source, string prefix, Gr… in CreateGraphNode() argument 111 if(source == "") in CreateGraphNode() 113 source = File.ReadAllText(filePath); in CreateGraphNode() 115 var description = creationDriver.ParseDescription(source, filePath); in CreateGraphNode() 125 var node = new GraphNode(filePath, source, prefix, description, parent); in CreateGraphNode() 144 …public GraphNode(string path, string source, string prefix, Description parsedDescription, GraphNo… in GraphNode() argument 147 Source = source; in GraphNode()
|
| D | CreationDriver.cs | 60 var source = File.ReadAllText(path); in ProcessFile() 62 ProcessInner(path, source); in ProcessFile() 143 private void ProcessInner(string file, string source) in ProcessInner() argument 147 var usingsGraph = new UsingsGraph(this, file, source); in ProcessInner() 328 …private DependencyGraph BuildDependencyGraph(IEnumerable<Entry> source, bool creationNotRegistrati… in BuildDependencyGraph() argument 331 foreach(var from in source) in BuildDependencyGraph() 367 var to = source.Single(x => x.Variable.Equals(variable)); in BuildDependencyGraph() 789 IGPIO source; in SetPropertiesAndConnectInterrupts() 795 …source = (IGPIO)GetGpioProperties(objectType).Single(x => x.Name == irqEnd.PropertyName).GetValue(… in SetPropertiesAndConnectInterrupts() 797 if(source == null) in SetPropertiesAndConnectInterrupts() [all …]
|
| D | PreLexer.cs | 17 public static IEnumerable<string> Process(string source, string path = "") in Process() argument 20 …var sourceInLines = source.Replace("\r", string.Empty).Split(new[] { '\n' }, StringSplitOptions.No… in Process()
|
| /Renode-v1.15.3-c57714d/tools/sel4_extensions/ |
| D | gdbscript.py | 62 def source(callable): function 68 @source 75 @source 86 @source 97 @source 121 @source 198 @source 218 @source 238 @source 298 @source [all …]
|
| /Renode-v1.15.3-c57714d/src/Renode/Network/NetworkServer/Modules/ |
| D | TftpServerModule.cs | 78 … public void HandleUdp(IPEndPoint source, UdpPacket packet, Action<IPEndPoint, UdpPacket> callback) in HandleUdp() argument 80 callbacks[source] = callback; in HandleUdp() 81 server.OnUdpData(source, packet.PayloadData); in HandleUdp() 121 private void HandleResponse(IPEndPoint source, byte[] buffer, int count) in HandleResponse() argument 123 var response = new UdpPacket((ushort)Port, (ushort)source.Port); in HandleResponse() 136 callbacks[source](source, response); in HandleResponse()
|
| /Renode-v1.15.3-c57714d/src/Renode/Connectors/ |
| D | GPIOConnector.cs | 58 public void SelectSourcePin(INumberedGPIOOutput source, int pinNumber) in SelectSourcePin() argument 60 VerifyPeripheralOrThrow(source); in SelectSourcePin() 61 if(!source.Connections.TryGetValue(pinNumber, out IGPIO tempPin)) in SelectSourcePin() 63 … RecoverableException("Peripheral {0} has no GPIO with number: {1}".FormatWith(source, pinNumber)); in SelectSourcePin()
|
| /Renode-v1.15.3-c57714d/tools/tlib_helper/ |
| D | README.md | 16 … single `gdbscript.py`, therefore it is enough to just source the script in GDB using the `source`… 19 $ gdb -ex 'source tools/tlib_helper/gdbscript.py' \
|
| D | gdbscript.py | 129 def source(callable): function 135 @source 142 @source 152 @source 162 @source 179 @source 227 @source
|
| /Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/Syntax/ |
| D | IrqAttribute.cs | 21 …public IrqAttribute SingleAttributeWithInheritedPosition(SingleOrMultiIrqEnd source, IrqReceiver d… in SingleAttributeWithInheritedPosition() argument 24 copy.Sources = new[] { source }; in SingleAttributeWithInheritedPosition()
|
| D | Grammar.cs | 254 public static Parser<SingleOrMultiIrqEnd> GetIrqEnd(bool source) in GetIrqEnd() argument 258 if(source) in GetIrqEnd() 265 public static Parser<IEnumerable<SingleOrMultiIrqEnd>> GetIrqEnds(bool source) in GetIrqEnds() argument 269 from first in GetIrqEnd(source) in GetIrqEnds() 270 from rest in Comma.Then(x => GetIrqEnd(source)).XMany() in GetIrqEnds() 293 (from source in GetIrqEnd(true).Select(x => new[] { x }).Optional() 297 select new IrqAttribute(source.GetOrDefault(), new[] { destination }.Concat(rest))); 307 (from source in GetIrqEnd(true).Select(x => new[] { x }).Optional() 310 … select new IrqAttribute(source.GetOrDefault(), new[] { new IrqDestinations(null, null) }));
|
| /Renode-v1.15.3-c57714d/ |
| D | renode-test.bat | 3 set "CONTEXT=source" 20 if "%CONTEXT%" == "source" (
|
| D | ACKNOWLEDGEMENTS.rst | 4 Renode is an open source framework for developing IoT systems.
|
| /Renode-v1.15.3-c57714d/src/Renode/Network/NetworkServer/ |
| D | IServerModule.cs | 18 void HandleUdp(IPEndPoint source, UdpPacket packet, Action<IPEndPoint, UdpPacket> callback); in HandleUdp() argument
|
| D | NetworkServer.cs | 173 private void HandleUdpResponse(IPEndPoint source, UdpPacket response) in HandleUdpResponse() argument 175 var ipPacket = new IPv4Packet(IP, source.Address); in HandleUdpResponse() 176 …var ethernetPacket = new EthernetPacket((PhysicalAddress)MAC, arpTable[source.Address], EthernetPa… in HandleUdpResponse()
|
| /Renode-v1.15.3-c57714d/tools/packaging/windows/ |
| D | winpthreads-license | 34 * Redistribution and use in source and binary forms, with or without modification, 38 * * Redistributions of source code must retain the above copyright notice,
|
| D | mingw-license | 17 This license has been certified as open source. It has also been designated 20 Redistribution and use in source and binary forms, with or without 23 1. Redistributions in source code must retain the accompanying copyright 83 Redistribution and use in source and binary forms, with or without 86 1. Redistributions of source code must retain the above copyright 227 are prominent maked in source. Their copyright belongs to contributors and
|
| /Renode-v1.15.3-c57714d/tests/platforms/systemc/dma/ |
| D | dma.robot | 40 # Set source address register in dma_systemc.
|