| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/ |
| D | MiscTests.cs | 19 Assert.AreEqual(new byte[] {0x0a}, Misc.HexStringToByteArray("0a")); in ShouldGetBytesFromHexString() 22 Misc.HexStringToByteArray("abcdefABCDEF0123456789") in ShouldGetBytesFromHexString() 24 Assert.AreEqual(new byte[] {0x0a, 0xb1}, Misc.HexStringToByteArray("0aB1")); in ShouldGetBytesFromHexString() 25 … Assert.AreEqual(new byte[] {0xb1, 0x0a}, Misc.HexStringToByteArray("0aB1", reverse: true)); in ShouldGetBytesFromHexString() 26 Assert.AreEqual(new byte[] {0x00, 0xab, 0x15}, Misc.HexStringToByteArray("00aB15")); in ShouldGetBytesFromHexString() 27 …Assert.AreEqual(new byte[] {0x15, 0xab, 0x00}, Misc.HexStringToByteArray("00aB15", reverse: true)); in ShouldGetBytesFromHexString() 28 … Assert.AreEqual(new byte[] {0xab}, Misc.HexStringToByteArray("a\tb", ignoreWhitespace: true)); in ShouldGetBytesFromHexString() 29 … Assert.AreEqual(new byte[] {0xab}, Misc.HexStringToByteArray("a\t \nb", ignoreWhitespace: true)); in ShouldGetBytesFromHexString() 30 …Assert.AreEqual(new byte[] {0xab, 0xcd}, Misc.HexStringToByteArray("ab cd", ignoreWhitespace: true… in ShouldGetBytesFromHexString() 31 …Assert.AreEqual(new byte[] {0xcd, 0xab}, Misc.HexStringToByteArray("ab cd", ignoreWhitespace: true… in ShouldGetBytesFromHexString() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/ |
| D | OpenTitan_LifeCycleController.cs | 59 testExitToken = Misc.HexStringToByteArray(value); 67 testUnlockToken = Misc.HexStringToByteArray(value); 75 rmaToken = Misc.HexStringToByteArray(value); 88 deviceId = Misc.HexStringToByteArray(value).Reverse().ToArray();
|
| D | OpenTitan_CSRNG.cs | 273 fixedData = Misc.HexStringToByteArray(value);
|
| D | OpenTitan_KeyManager.cs | 116 field = Misc.HexStringToByteArray(value); in ConstructorParseHexstringArgument()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Mocks/ |
| D | SpiHost.cs | 40 var dataToSend = Misc.HexStringToByteArray(hexString); in WriteBytes()
|
| D | I2CHost.cs | 41 var dataToSend = Misc.HexStringToByteArray(hexString); in WriteBytes()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/Disassembler/ |
| D | LLVMDisassembler.cs | 193 opcode = Misc.HexStringToByteArray(result.OpcodeString.Trim(), true); in TryDecodeInstruction() 360 opcode = Misc.HexStringToByteArray(result.OpcodeString, true); in TryDecodeInstruction()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/SiLabs/ |
| D | EFR32xG2_LockbitsData.cs | 206 temp = Misc.HexStringToByteArray(value); in ParseHexStringArgument()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Test/PeripheralsTests/ |
| D | OpenTitan_SpiDeviceTest.cs | 189 var dataToSend = Misc.HexStringToByteArray(hexstring); in AppendPeripheralFifo()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/ |
| D | TraceBasedModelFlatBufferWriter.cs | 51 var opcode = Misc.HexStringToByteArray(result.OpcodeString.Trim(), true); in Write()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Extensions/ |
| D | FileLoaderExtensions.cs | 274 … var buffer = Misc.HexStringToByteArray(line.Substring(SRecBytesCountStart, bufferLength)); in LoadSRecord()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Testing/ |
| D | TerminalTester.cs | 160 …pattern = Encoding.GetEncoding("iso-8859-1").GetString(Misc.HexStringToByteArray(pattern, ignoreWh… in WaitFor()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | Misc.cs | 442 …public static byte[] HexStringToByteArray(string hexString, bool reverse = false, bool ignoreWhite… in HexStringToByteArray() method in Antmicro.Renode.Utilities.Misc 467 var byteArray = HexStringToByteArray(hexString); in TryParseHexString()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/ |
| D | QuectelModem.cs | 746 bytes = Misc.HexStringToByteArray(data); in Qisend()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/ |
| D | OpenTitan_BigNumberAcceleratorCore.cs | 421 return Misc.HexStringToByteArray(input, reverse: true); in ParseHexPattern()
|