Home
last modified time | relevance | path

Searched refs:Copy (Results 1 – 25 of 72) sorted by relevance

123

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DSerializableMappedSegment.cs41 Marshal.Copy(zeroBuf, 0, pointer, sizeAsInt); in Touch()
62 Marshal.Copy(pointer, buffer, 0, sizeAsInt); in PrepareBuffer()
81 Marshal.Copy(buffer, 0, pointer, checked((int)Size)); in MakeSegment()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Bus/
DGaislerAHBPlugAndPlayRecord.cs33 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/Utilities/Collections/
DCircularBuffer.cs90 … Array.Copy(buffer, FirstPosition, array, arrayIndex, LastPosition + 1 - FirstPosition); in CopyTo()
95 Array.Copy(buffer, start, array, arrayIndex, rightSideLength); in CopyTo()
96 Array.Copy(buffer, 0, array, arrayIndex + rightSideLength, LastPosition + 1); in CopyTo()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/
DSMSC9500.cs287 Array.Copy(packet.data, 8, packetToSend, 0, packetToSend.Length); in WriteDataBulk()
292 Array.Copy(packet.data, 12, packetToSend, 0, packetToSend.Length); in WriteDataBulk()
381 Array.Copy(frameBytes, 14, tmp, 0, tmp.Length); in GetDataBulk()
406 Array.Copy(frameBytes, 14, tmp, 0, tmp.Length); in GetDataBulk()
726 …Array.Copy(buffer, MACHeaderLegth + IPHeaderLength, packet, 0, ( buffer.Length - (MACHeaderLegth +… in ReadFromBuffer()
770 Array.Copy(pseudoheader.ToArray(),0,checksumCalculationBase,0,pseudoheader.Length); in GetChecksum()
771 Array.Copy(packet,0,checksumCalculationBase,pseudoheader.Length,packet.Length); in GetChecksum()
784 Array.Copy(buffer,MACHeaderLegth+12,sourceAddress,0,4); in FillFromBuffer()
785 Array.Copy(buffer,MACHeaderLegth+16,destinationAddress,0,4); in FillFromBuffer()
794 Array.Copy(sourceAddress,0,arr,0,4); in ToArray()
[all …]
DSCSI.cs155 … Array.Copy(this.VendorIdentificationT10, 0, arr, 8, this.VendorIdentificationT10.Length); in ToArray()
156 … Array.Copy(this.ProductIdentification, 0, arr, 16, this.ProductIdentification.Length); in ToArray()
157 Array.Copy(this.ProductRevisionLevel, 0, arr, 32, this.ProductRevisionLevel.Length); in ToArray()
DUSBCommunicationClass.cs212 Array.Copy(SubordinateInterface, 0,arr, 0x4, SubordinateInterface.Length); in ToArray()
237 Array.Copy(CountryCode,0,arr,0x4,CountryCode.Length); in ToArray()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DBitPatternDetector.cs33 Array.Copy(resetValue, previousState, previousState.Length); in Reset()
56 Array.Copy(state, previousState, previousState.Length); in AcceptState()
DBitmapImageExtensions.cs28 public static void Copy(this BitmapImage bmp, byte[] frame) in Copy() method in Antmicro.Renode.Utilities.BitmapImageExtensions
43 Marshal.Copy(frame, 0, outBuffer, frame.Length); in Copy()
DSimpleFileCache.cs51 FileCopier.Copy(filename, Path.Combine(cacheLocation, sha), true); in StoreEntryWithSha()
DBlobManager.cs31 FileCopier.Copy(streamName, tempFile, true); in Load()
DFileCopier.cs21 public static void Copy(string src, string dst, bool overwrite = false) in Copy() method in Antmicro.Renode.Utilities.FileCopier
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/TAPHelper/
DTAPTools.cs110 Array.Copy(bytes, 0, memory, IFNAMSIZ, 2); in Open_TUNTAP()
119 Array.Copy(devBytes, memory, Math.Min(devBytes.Length, IFNAMSIZ)); in Open_TUNTAP()
122 Marshal.Copy(memory, 0, ifr, IFR_SIZE); in Open_TUNTAP()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/Crypto/
DAthenaX5200_BigIntegerHelper.cs21 Array.Copy(bytes, 0, temp, 1, bytes.Length); in CreateBigInteger()
45 Array.Copy(bytesRead, 0, bytesReadPadded, 0, (int)(wordCount * 4)); in CreateBigIntegerFromMemory()
DAESServiceProvider.cs116 Array.Copy(inputBytes, (i * SegmentSize), inputSegment, 0, SegmentSize); in GetResultBytesCBC()
124 Array.Copy(segment, 0, result, 0, SegmentSize); in GetResultBytesCBC()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/
DQuark_GPIOController.cs153 ….WithValueField(0, 32, writeCallback: (_, val) => Array.Copy(BitHelper.GetBits((uint)val).Select(x… in PrepareRegisters()
158 … Array.Copy(BitHelper.GetBits((uint)val), InterruptEnable, 32); in PrepareRegisters()
176 Array.Copy(BitHelper.GetBits((uint)val), InterruptMask, 32); in PrepareRegisters()
277 Array.Copy(State, previousState, State.Length); in RefreshInterrupts()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/
DArrayMemory.cs136 Array.Copy(array, offset, result, 0, count); in ReadBytes()
146 Array.Copy(bytes, startingIndex, array, offset, count); in WriteBytes()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DStreamToEventConverter.cs29 Array.Copy(buffer, offset, realData, 0, count); in Write()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/
DEtherBoneBridge.cs134 Marshal.Copy(ptr, result, 0, size); in EtherBoneRecordToBytes()
149 Marshal.Copy(bytes, 0, ptr, size); in EtherBoneRecordFromBytes()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Storage/
DUFSDevice.cs303 Array.Copy(vpdPageHeader, dataInTransfer, vpdPageHeader.Length); in HandleSCSIInquiry()
304 … Array.Copy(SupportedVPDPages, 0, dataInTransfer, vpdPageHeader.Length, SupportedVPDPages.Length); in HandleSCSIInquiry()
324 Array.Copy(vpdPageHeader, dataInTransfer, vpdPageHeader.Length); in HandleSCSIInquiry()
325 … Array.Copy(descriptor, 0, dataInTransfer, vpdPageHeader.Length, descriptor.Length); in HandleSCSIInquiry()
459 … Array.Copy(lunListLengthBytes, 0, reportLUNSParameterData, 0, lunListLengthBytes.Length); in HandleSCSIReportLUNs()
528 Array.Copy(responseHeader, responseData, responseHeader.Length); in HandleQueryRequest()
533 Array.Copy(crcBytes, 0, responseData, 32, crcBytes.Length); in HandleQueryRequest()
538 … Array.Copy(dataSegmentOut, 0, responseData, dataSegmentOffset, dataSegmentOut.Length); in HandleQueryRequest()
543 …Array.Copy(crcBytes, 0, responseData, dataSegmentOffset + response.DataSegmentLength, crcBytes.Len… in HandleQueryRequest()
739 Array.Copy(valueBytes, 0, response, 4, valueBytes.Length); in HandleQueryFunctionReadAttribute()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/SENT/
DMessages.cs36 Array.Copy(nibbles, Nibbles, nibbles.Length); in FastMessage()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/
DDataStorage.cs33 FileCopier.Copy(imageFile, tempFileName, true); in CreateFromFile()
DLBABackend.cs103 FileCopier.Copy(underlyingFile, tempFileName, true); in Touch()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/Assembler/
DLLVMAssembler.cs50 Marshal.Copy(output, result, 0, (int)outLen); in AssembleBlock()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/DMA/
DDmaEngine.cs48 … Array.Copy(request.Source.Array, request.Source.StartIndex.Value, buffer, 0, request.Size); in IssueCopy()
110 …Array.Copy(buffer, 0, request.Destination.Array, request.Destination.StartIndex.Value, request.Siz… in IssueCopy()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/VirtIO/
DVirtqueue.cs51 Array.Copy(readData, 0, data, (int)readLen, toRead); in TryReadFromBuffers()
84 Array.Copy(data, toWrite, dataLeft, 0, dataLeft.Length); in TryWriteToBuffers()

123