| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Backends/ |
| D | NetworkBackend.cs | 43 socketServerProvider?.Send(Encoding.ASCII.GetBytes(line)); in WriteLine() 59 Encoding.ASCII.GetBytes("\x1b[30m"), // ConsoleColor.Black 60 Encoding.ASCII.GetBytes("\x1b[34m"), // ConsoleColor.DarkBlue 61 Encoding.ASCII.GetBytes("\x1b[32m"), // ConsoleColor.DarkGreen 62 Encoding.ASCII.GetBytes("\x1b[36m"), // ConsoleColor.DarkCyan 63 Encoding.ASCII.GetBytes("\x1b[31m"), // ConsoleColor.DarkRed 64 Encoding.ASCII.GetBytes("\x1b[35m"), // ConsoleColor.DarkMagenta 65 Encoding.ASCII.GetBytes("\x1b[33m"), // ConsoleColor.DarkYellow 66 Encoding.ASCII.GetBytes("\x1b[37m"), // ConsoleColor.Gray 67 Encoding.ASCII.GetBytes("\x1b[90m"), // ConsoleColor.DarkGray [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Logging/Profiler/ |
| D | ProfilerHeader.cs | 29 buffer.AddRange(BitConverter.GetBytes(cpus.Count)); in RegisterPeripherals() 33 … buffer.AddRange(BitConverter.GetBytes(machine.SystemBus.GetCPUSlot(cpu.Peripheral as ICPU))); in RegisterPeripherals() 34 buffer.AddRange(BitConverter.GetBytes(cpu.Name.Length)); in RegisterPeripherals() 35 buffer.AddRange(Encoding.ASCII.GetBytes(cpu.Name)); in RegisterPeripherals() 39 buffer.AddRange(BitConverter.GetBytes(busPeripherals.Count())); in RegisterPeripherals() 47 buffer.AddRange(BitConverter.GetBytes(name.Length)); in RegisterPeripherals() 48 buffer.AddRange(Encoding.ASCII.GetBytes(name)); in RegisterPeripherals() 50 buffer.AddRange(BitConverter.GetBytes(registrationPoint.Range.StartAddress)); in RegisterPeripherals() 51 buffer.AddRange(BitConverter.GetBytes(registrationPoint.Range.EndAddress)); in RegisterPeripherals()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/ |
| D | PAC1934.cs | 129 return BitConverter.GetBytes(accumulatorCount); in ReadRegister() 131 return BitConverter.GetBytes((ushort)registers.Read(offset)); in ReadRegister() 190 return BitConverter.GetBytes(proportionalPowerAccumulator); in GetBytesFromChannelOffset() 192 return BitConverter.GetBytes(busVoltage); in GetBytesFromChannelOffset() 194 return BitConverter.GetBytes(senseResistorVoltage); in GetBytesFromChannelOffset() 196 return BitConverter.GetBytes(averageBusVoltage); in GetBytesFromChannelOffset() 198 return BitConverter.GetBytes(senseResistorAverageVoltage); in GetBytesFromChannelOffset() 200 return BitConverter.GetBytes(proportionalPower); in GetBytesFromChannelOffset()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Bus/ |
| D | GaislerAHBPlugAndPlayRecord.cs | 33 Array.Copy( BitConverter.GetBytes(IdentificationRegister.GetValue()),0,arr,0,4); in ToByteArray() 37 Array.Copy( BitConverter.GetBytes(UserDefinedRegister[i]),0,arr,(4 + 4*i),4); in ToByteArray() 41 … Array.Copy( BitConverter.GetBytes(BankAddressRegister[i].GetValue()), 0, arr, (16 + 4*i), 4); in ToByteArray()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/CPU/ |
| D | RegisterValue.cs | 29 public byte[] GetBytes(Endianess endianness) in GetBytes() method 45 bytes = BitConverter.GetBytes((ushort)RawValue); in GetBytes() 48 bytes = BitConverter.GetBytes((uint)RawValue); in GetBytes() 51 bytes = BitConverter.GetBytes(RawValue); in GetBytes()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/ |
| D | SMSC9500.cs | 625 controlPacket = BitConverter.GetBytes((uint)0); in ProcessVendorGet() 626 return BitConverter.GetBytes((uint)0); in ProcessVendorGet() 629 controlPacket = BitConverter.GetBytes(macControlRegister); in ProcessVendorGet() 630 return BitConverter.GetBytes(macControlRegister); in ProcessVendorGet() 632 controlPacket = BitConverter.GetBytes(e2pCommand); in ProcessVendorGet() 633 return BitConverter.GetBytes(e2pCommand); in ProcessVendorGet() 635 … controlPacket = BitConverter.GetBytes(hardwareConfigurationRegister & (~0x00000008)); in ProcessVendorGet() 636 return (BitConverter.GetBytes(hardwareConfigurationRegister & (~0x00000008))); in ProcessVendorGet() 638 … controlPacket = BitConverter.GetBytes(powerMenagementConfigurationRegister & (~0x00000010)); in ProcessVendorGet() 639 … return BitConverter.GetBytes(powerMenagementConfigurationRegister & (~0x00000010)); in ProcessVendorGet() [all …]
|
| D | USBEthernetControlModelDevicesSubclass.cs | 161 BitConverter.GetBytes(EthernetStatistics).CopyTo(arr,0x04); in ToArray() 162 BitConverter.GetBytes(MaxSegmentSize).CopyTo(arr,0x08); in ToArray() 163 BitConverter.GetBytes(MulticastFiltersNumber).CopyTo(arr,0x0A); in ToArray()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Memory/ |
| D | ArrayMemoryWithReadonlys.cs | 44 var bytes = BitConverter.GetBytes(value); in WriteDoubleWord() 52 var bytes = BitConverter.GetBytes(value); in WriteWord()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/ |
| D | UDMA.cs | 225 parent.SystemBus.WriteBytes(controlStructure.GetBytes(), dataSource, true); in InitTransfer() 255 public byte[] GetBytes() in GetBytes() method 257 …return BitConverter.GetBytes(SourceEndPointer).Concat(BitConverter.GetBytes(DestinationEndPointer)) in GetBytes() 258 … .Concat(BitConverter.GetBytes(ControlWord)).Concat(BitConverter.GetBytes(Unused)).ToArray(); in GetBytes()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/ |
| D | ArrayMemory.cs | 57 var bytes = BitConverter.GetBytes(value); in WriteQuadWord() 78 var bytes = BitConverter.GetBytes(value); in WriteDoubleWord() 104 var bytes = BitConverter.GetBytes(value); in WriteWord()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/ |
| D | AtCommandModem.cs | 137 protected static readonly byte[] CrLfBytes = StringEncoding.GetBytes(CrLf); 204 SendBytes(StringEncoding.GetBytes(strWithNewlines)); in SendString() 210 SendBytes(response.GetBytes()); in SendResponse() 484 public byte[] GetBytes() in GetBytes() method in Antmicro.Renode.Peripherals.Network.AtCommandModem.Response 519 bodyContent = StringEncoding.GetBytes(parametersContent); in Response() 528 var statusBytes = StringEncoding.GetBytes(statusPart); in Response() 529 var trailerBytes = StringEncoding.GetBytes(Trailer.SurroundWith(CrLf)); in Response()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/GDB/Commands/ |
| D | MonitorCommand.cs | 36 ….IsNullOrEmpty(result) ? null : string.Join(string.Empty, Encoding.UTF8.GetBytes(result).Select(x … in Run() 85 foreach(var b in value.GetBytes(Endianess.BigEndian)) in TryProcess()
|
| D | ReadGeneralRegistersCommand.cs | 27 foreach(var b in value.GetBytes(manager.Cpu.Endianness)) in Execute()
|
| D | ReadRegisterCommand.cs | 28 … foreach(var b in manager.Cpu.GetRegister(registerNumber).GetBytes(manager.Cpu.Endianness)) in Execute()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/DMA/ |
| D | DmaEngine.cs | 83 … BitConverter.GetBytes(sysbus.ReadWord(readAddress, context)).CopyTo(buffer, transferred); in IssueCopy() 86 … BitConverter.GetBytes(sysbus.ReadDoubleWord(readAddress, context)).CopyTo(buffer, transferred); in IssueCopy() 89 … BitConverter.GetBytes(sysbus.ReadQuadWord(readAddress, context)).CopyTo(buffer, transferred); in IssueCopy()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/ACPI/ |
| D | MultipleAPICDescriptionTable.cs | 20 Signature = Encoding.ASCII.GetBytes("APIC"), in MultipleAPICDescriptionTable()
|
| D | FixedACPIDescriptionTable.cs | 19 Signature = Encoding.ASCII.GetBytes("FACP"), in FixedACPIDescriptionTable()
|
| D | RootSystemDescriptionPointer.cs | 18 Signature = Encoding.ASCII.GetBytes("RSD PTR "); in RootSystemDescriptionPointer()
|
| D | RootSystemDescriptionTable.cs | 19 Signature = Encoding.ASCII.GetBytes("RSDT"), in RootSystemDescriptionTable()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Utilities/USBIP/ |
| D | URBRequest.cs | 32 var bytes = BitConverter.GetBytes(Setup); in ToString()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/ |
| D | Packet.cs | 26 …return Encoding.ASCII.GetBytes(string.Format("${0}#{1:x2}", Data.DataAsString, CalculateChecksum()… in GetCompletePacket()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/ |
| D | SimpleCache.cs | 113 uint number = BitConverter.ToUInt32(BitConverter.GetBytes(value), 0); in ShiftAndWrap() 117 … return BitConverter.ToInt32(BitConverter.GetBytes((number << positions) | wrapped), 0); in ShiftAndWrap()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/TAPHelper/ |
| D | TAPTools.cs | 109 var bytes = BitConverter.GetBytes(flags); in Open_TUNTAP() 118 var devBytes = Encoding.ASCII.GetBytes(devname); in Open_TUNTAP()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/MonitorTests/CommandTests/ |
| D | PythonCommands.cs | 69 var bytes = Encoding.ASCII.GetBytes(message); in DumpTest() 109 var bytes = Encoding.ASCII.GetBytes(message); in DumpFileTest()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/ |
| D | TraceBinaryWriter.cs | 36 …stream.Write(Encoding.ASCII.GetBytes(FormatSignature), 0, Encoding.ASCII.GetByteCount(FormatSignat… in WriteHeader() 49 stream.Write(Encoding.ASCII.GetBytes(tripleAndModelString), 0, byteCount); in WriteHeader()
|