Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 6 of 6) sorted by relevance

/Renode-v1.15.3-c57714d/tests/unit-tests/RenodeTests/PlatformDescription/
DParserTests.cs137 var attribute = (ConstructorOrPropertyAttribute)entry.Attributes.Single(); in ShouldParseEntryWithOneAttribute()
138 Assert.AreEqual("baudRate", attribute.Name); in ShouldParseEntryWithOneAttribute()
139 Assert.AreEqual("B9600", ((EnumValue)attribute.Value).Value); in ShouldParseEntryWithOneAttribute()
246 var attribute = entry.Attributes.Cast<IrqAttribute>().Single(); in ShouldParseEntryWithMultiplexedMultiIrqEntries()
248 var flattenedSources = attribute.Sources.SelectMany(x => x.Ends).ToArray(); in ShouldParseEntryWithMultiplexedMultiIrqEntries()
254 …Assert.AreEqual("pic0", attribute.Destinations.ElementAt(0).DestinationPeripheral.Reference.Value); in ShouldParseEntryWithMultiplexedMultiIrqEntries()
255 …Assert.AreEqual(flattenedSources.Count(), attribute.Destinations.ElementAt(0).Destinations.SelectM… in ShouldParseEntryWithMultiplexedMultiIrqEntries()
256 …Assert.AreEqual(4, attribute.Destinations.ElementAt(0).Destinations.ElementAt(0).Ends.ElementAt(0)… in ShouldParseEntryWithMultiplexedMultiIrqEntries()
257 …Assert.AreEqual(5, attribute.Destinations.ElementAt(0).Destinations.ElementAt(0).Ends.ElementAt(1)… in ShouldParseEntryWithMultiplexedMultiIrqEntries()
258 …Assert.AreEqual(6, attribute.Destinations.ElementAt(0).Destinations.ElementAt(0).Ends.ElementAt(2)… in ShouldParseEntryWithMultiplexedMultiIrqEntries()
[all …]
/Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/
DCreationDriver.cs507 foreach(var attribute in entry.Attributes) in ProcessEntryPreMerge()
509 ValidateAttributePreMerge(entryType, attribute); in ProcessEntryPreMerge()
655 …var attribute = attributes.SingleOrDefault(x => ParameterNameMatches(x.Name, parameter, silent: tr… in PrepareConstructorParameters()
656 if(attribute == null) in PrepareConstructorParameters()
662 …if(TryConvertSimpleValue(parameter.ParameterType, attribute.Value, out parameterValues[i], silent:… in PrepareConstructorParameters()
666 var referenceValue = attribute.Value as ReferenceValue; in PrepareConstructorParameters()
676 var objectValue = attribute.Value as ObjectValue; in PrepareConstructorParameters()
754 foreach(var attribute in propertyAttributes) in SetPropertiesAndConnectInterrupts()
756 if(attribute.Value == null) in SetPropertiesAndConnectInterrupts()
762attribute.Property.GetSetMethod().Invoke(objectToSetOn, new[] { ConvertFromValue(attribute.Propert… in SetPropertiesAndConnectInterrupts()
[all …]
/Renode-v1.15.3-c57714d/src/Renode/PlatformDescription/Syntax/
DEntry.cs106 foreach(var attribute in multiplexedAttribute.Destinations) in FlattenIrqAttributes()
109 if(attribute.DestinationPeripheral == null) in FlattenIrqAttributes()
114 var destinationsAsArray = attribute.Destinations.SelectMany(selector).ToArray(); in FlattenIrqAttributes()
117 …plexedAttribute.SingleAttributeWithInheritedPosition(sourcesAsArray[i], attribute.DestinationPerip… in FlattenIrqAttributes()
/Renode-v1.15.3-c57714d/tests/unit-tests/
Dplatform-file-aliases.robot44 …Run Keyword And Expect Error *Could not find corresponding attribute for parameter 'aliasedPara…
Dgrammar-number-separator.robot28 …Run Keyword And Expect Error *Error E00: Syntax error, unexpected '_'; expected attribute list …
/Renode-v1.15.3-c57714d/
DCHANGELOG.rst199 * crashes when using both aliased attribute name and normal name at the same time