Home
last modified time | relevance | path

Searched refs:String (Results 1 – 25 of 106) sorted by relevance

12345

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/SiLabs/
DEFR32xG2_LockbitsData.cs26 String cbkeDataCertificate = null, in EFR32xG2_LockbitsData()
27 String cbkeDataCaPublicKey = null, in EFR32xG2_LockbitsData()
28 String cbkeDataPrivateKey = null, in EFR32xG2_LockbitsData()
29 String cbkeDataFlags = null, in EFR32xG2_LockbitsData()
30 String securityConfig = null, in EFR32xG2_LockbitsData()
31 String installationCodeFlags = null, in EFR32xG2_LockbitsData()
32 String installationCodeValue = null, in EFR32xG2_LockbitsData()
33 String installationCodeCrc = null, in EFR32xG2_LockbitsData()
34 String secureBootloaderKey = null, in EFR32xG2_LockbitsData()
35 String cbke283k1DataCertificate = null, in EFR32xG2_LockbitsData()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DCoreTimerTest.cs26 …var timer = new LimitTimer(manualClockSource, 100, null, String.Empty, 100000, Direction.Ascending… in ShouldBeAscending()
41 …var timer = new LimitTimer(manualClockSource, 100, null, String.Empty, 100000, Direction.Descendin… in ShouldBeDescending()
57 …var timer = new LimitTimer(manualClockSource, 1, null, String.Empty, limit, Direction.Ascending, t… in ShouldNotExceedLimitAscending()
73 …var timer = new LimitTimer(manualClockSource, 1, null, String.Empty, limit, Direction.Descending, … in ShouldNotExceedLimitDescending()
91 …var timer = new LimitTimer(manualClockSource, 1000000, null, String.Empty, limit, Direction.Descen… in ShouldHandleMicrosecondPrecisionTimerEvents()
107 …var timer = new LimitTimer(manualClockSource, 10000000, null, String.Empty, limit, Direction.Desce… in ShouldHandleSubMicrosecondPrecisionTimerEvents()
120 …var timer = new LimitTimer(manualClockSource, 100, null, String.Empty, 100000, Direction.Ascending… in ShouldSwitchDirectionProperly()
134 …var timer = new LimitTimer(manualClockSource, 1, null, String.Empty, 10, Direction.Descending, tru… in ShouldNotFireAlarmWhenInterruptsAreDisabled()
145 …var timer = new LimitTimer(manualClockSource, 1, null, String.Empty, 10, Direction.Descending, tru… in ShouldFireAlarmWhenInterruptsAreEnabled()
DTimeTests.cs24 …clocksource.AddClockEntry(new ClockEntry(2, 1, () => counter++, null, String.Empty) { Value = 0 }); in ShouldTickWithOneHandler()
42 …clocksource.AddClockEntry(new ClockEntry(2, 1, () => counterA++, null, String.Empty) { Value = 0 }… in ShouldTickWithTwoHandlers()
43 …clocksource.AddClockEntry(new ClockEntry(5, 1, () => counterB++, null, String.Empty) { Value = 0 }… in ShouldTickWithTwoHandlers()
68 clockSource.AddClockEntry(new ClockEntry(10000, 10, firstHandler, null, String.Empty)); in ShouldHaveHandlersInSync()
69 …Entry(10, 1, () => values.Add(clockSource.GetClockEntry(firstHandler).Value), null, String.Empty)); in ShouldHaveHandlersInSync()
86 ClockEntry entryA = new ClockEntry(1000, 1, handlerA, null, String.Empty) { Value = 0 }; in ShouldObserveShorterPeriodClockAfterAdd()
87 ClockEntry entryB = new ClockEntry(100, 1, handlerB, null, String.Empty) { Value = 0 }; in ShouldObserveShorterPeriodClockAfterAdd()
DTypeExtensionsCacheTests.cs59 … private static MethodInfo methodInfo = typeof(String).GetMethods().First(x => x.Name == "Equals");
60 …private static PropertyInfo propertyInfo = typeof(String).GetProperties().First(x => x.Name == "Le…
61 … private static FieldInfo fieldInfo = typeof(String).GetFields().First(x => x.Name == "Empty");
DComparingTimerTests.cs22 … var timer = new ComparingTimer(new BaseClockSource(), 10, null, String.Empty, 20, compare: 5); in ShouldThrowOnCompareHigherThanLimit()
31 …var timer = new ComparingTimer(clockSource, 1000000, null, String.Empty, 65535 + 1, enabled: true,… in ShouldHandleCompareValueChangeWhenEnabled()
84 … ComparingTimer(clockSource, frequency: 1000000, owner: null, localName: String.Empty, limit: limi… in ShouldClearWhenValueSetToZero()
107 … localName: String.Empty, limit: limit, enabled: true, eventEnabled: true, compare: compare); in ShouldGenerateCompareEventAtCompareAfterClear()
131 … localName: String.Empty, limit: limit, enabled: true, eventEnabled: true, compare: compare); in ShouldNotGenerateAdditionalCompareEvent()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/RESD/
DDataBlock.cs31 IDictionary<String, MetadataValue> Metadata { get; }
32 IDictionary<String, String> ExtraInformation { get; }
50 public abstract IDictionary<String, String> ExtraInformation { get; }
57 public virtual IDictionary<String, MetadataValue> Metadata => CurrentSample.Metadata;
140 … public override IDictionary<String, String> ExtraInformation => new Dictionary<String, String>() {
DMetadataBlock.cs14 public static IDictionary<String, MetadataValue> ReadFromStream(SafeBinaryReader reader) in ReadFromStream()
63 case MetadataValueType.String: in ReadFromStream()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/GDB/Commands/
DQueryCommand.cs24 … [Argument(Separator = ':', Encoding = ArgumentAttribute.ArgumentEncoding.String)]string command, in SendQueryXml()
25 …[Argument(Separator = ':', Encoding = ArgumentAttribute.ArgumentEncoding.String)]string objectType, in SendQueryXml()
26 … [Argument(Separator = ':', Encoding = ArgumentAttribute.ArgumentEncoding.String)]string operation, in SendQueryXml()
27 … [Argument(Separator = ':', Encoding = ArgumentAttribute.ArgumentEncoding.String)]string annex, in SendQueryXml()
90 if(!String.IsNullOrEmpty(register.Type)) in AppendFeature()
94 if(!String.IsNullOrEmpty(register.Group)) in AppendFeature()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Tokenizer/
DTokenizationResult.cs34 …return String.Join("", Tokens.Select(x => x.ToString())) + ((UnmatchedCharactersLeft != 0) ? Strin… in ToString()
35 … + Exception != null ? String.Format(" Exception message: {0}",Exception.Message):""); in ToString()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DMonitorPath.cs26 public String CurrentWorkingDirectory
61 …throw new RecoverableException(String.Format("Entry {0} does not exist or is not a directory.", cu… in GetDirEntries()
68 public String Path
80 public String DefaultPath
DMonitor.cs333 private Token ExecuteWithResult(String value, ICommandInteraction writer) in ExecuteWithResult()
416 return Parse(String.Join(" ", result.Select(x => x.OriginalValue)), writer); in ParseTokens()
445 … PrintException(String.Join(" ", result.Select(x => x.OriginalValue)), inner, writer); in ParseTokens()
450 … PrintException(String.Join(" ", result.Select(x => x.OriginalValue)), e, writer); in ParseTokens()
529 …variableName = String.Format("{0}.{1}", EmulationManager.Instance.CurrentEmulation[currentMachine]… in GetVariableName()
533 variableName = String.Format("global.{0}", variableName); in GetVariableName()
698 fullPath = String.Empty; in TryGetFilenameFromAvailablePaths()
700 foreach(var pathElement in monitorPath.PathElements.Prepend(String.Empty)) in TryGetFilenameFromAvailablePaths()
714 if(!(e is TargetInvocationException) && !String.IsNullOrWhiteSpace(e.Message)) in PrintExceptionDetails()
768 … newName = String.Format("{0}.{1}", Emulation[currentMachine].Replace("-", "_"), varName); in TryExpandVariable()
[all …]
DMonitorExecutorExtensions.cs53 …private static void UnregisterEvent(IMachine machine, String name, MachineStateChangedEventArgs st… in UnregisterEvent()
116 public void Remove(IMachine machine, String name) in Remove()
124 public bool HasEvent(IMachine machine, String name) in HasEvent()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/
DMonitorPathCommand.cs25 … writer.WriteLine(String.Format("'{0} set @path'\tto set 'PATH' to the given value", Name)); in PrintHelp()
26 … writer.WriteLine(String.Format("'{0} add @path'\tto append the given value to 'PATH'", Name)); in PrintHelp()
27 … writer.WriteLine(String.Format("'{0} reset'\t\tto reset 'PATH' to it's default value", Name)); in PrintHelp()
DPeripheralsCommand.cs109 …writer.WriteLine(String.Format("{0}{1} ({2})", indent, PeripheralEntry.Name, PeripheralEntry.Type.… in PrintTree()
118 … writer.WriteLine(String.Format("{0}{1}", newIndent, registerPlace.PrettyString)); in PrintTree()
139 private static String GetIndentString(TreeViewBlock[] rawSignPattern) in GetIndentString()
149 private static String GetSingleIndentString(TreeViewBlock rawSignPattern) in GetSingleIndentString()
191 private const String DefaultPadding = " ";
DStartCommand.cs23 writer.WriteLine(String.Format("{0} - starts the whole emulation", Name)); in PrintHelp()
24 … writer.WriteLine(String.Format("{0} @path - executes the script and starts the emulation", Name)); in PrintHelp()
DSetCommand.cs27 …writer.WriteLine(String.Format("Usage:\n\r\t{0} {1} \"value\"\n\r\n\r\t{0} {1}\n\r\t\"\"\"\n\r\t[m… in PrintHelp()
93 private readonly String noun;
95 …public SetCommand(Monitor monitor, String name, string noun, Action<string, Token> setVariable, Ac… in SetCommand()
/Renode-Infrastructure-v1.15.3-29f510e/src/Plugins/SampleCommandPlugin/
DHelloCommand.cs23 writer.WriteLine(String.Format("{0} \"name\"", Name)); in PrintHelp()
29 writer.WriteLine(String.Format("Hello, {0}!", name.Value)); in Run()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/
DMonitorInfo.cs27 public IEnumerable<String> AllNames
31 var names = new List<String>();
DMachineExtensions.cs27 public static void LoadPeripheralsFromJSONFile(this IMachine machine, String fileName) in LoadPeripheralsFromJSONFile()
36 public static void LoadPeripheralsFromJSONString(this IMachine machine, String text) in LoadPeripheralsFromJSONString()
41 …public static void LoadAtags(this IBusController bus, String bootargs, uint memorySize, uint begin… in LoadAtags()
97 … throw new RecoverableException(String.Format("Device {0} not found.", deviceName)); in LoadFdt()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DMisc.cs217 public static String NormalizeBinary(double what) in NormalizeBinary()
264 public static String NormalizeDecimal(double what) in NormalizeDecimal()
336 public static StringBuilder AppendIf(this String value, bool condition, string what) in AppendIf()
351 public static String Indent(this String value, int count) in Indent()
356 public static String Indent(this String value, int count, char fill) in Indent()
361 public static String Outdent(this String value, int count) in Outdent()
366 public static Boolean StartsWith(this String source, char value) in StartsWith()
375 public static Boolean EndsWith(this String source, char value) in EndsWith()
384 public static String Trim(this String value, String toCut) in Trim()
429 …return Stringify(source.Select(x => x == null ? String.Empty : x.ToString()), separator, limitPerL… in Stringify()
[all …]
DConfigurationManager.cs62 …throw new ConfigurationException(String.Format("Could not apply value '{0}' for type {1}. Verify y… in Get()
75 …throw new ConfigurationException(String.Format("Field {0}->{1} is not of type {2}.", group, name, … in Get()
80 …throw new ConfigurationException(String.Format("Value '{0}' is not valid for entry in section {1}-… in Get()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DPropertyTagParser.cs24 while(current < buffer.Length && String.IsNullOrWhiteSpace(buffer[current])) in GetNextTag()
40 if(String.IsNullOrEmpty(value)) in GetNextTag()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/USB/
DUSBString.cs53 .Append((byte)DescriptorType.String) in GetSupportedLanguagesDescriptor()
66 protected USBString(string value, byte id) : base((byte)DescriptorType.String) in USBString()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/
DZMOD4xxx.cs104 public String RValue
119 public String InitConfigurationRValue
134 public String Configuration
149 public String ProductionData
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/MonitorTests/CommandTests/
DPythonCommands.cs58 monitor.Parse(String.Format("echo \"{0}\"", text), commandEater); in EchoTest()
72 monitor.Parse(String.Format("dump {0} {1}", address, bytes.Length), commandEater); in DumpTest()
114 … monitor.Parse(String.Format("dump_file {0} {1} @{2}", address, bytes.Length, file), commandEater); in DumpFileTest()

12345