Searched refs:ptr (Results 1 – 7 of 7) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/ |
| D | EtherBoneBridge.cs | 132 var ptr = Marshal.AllocHGlobal(size); in EtherBoneRecordToBytes() 133 Marshal.StructureToPtr(ebRecord, ptr, true); in EtherBoneRecordToBytes() 134 Marshal.Copy(ptr, result, 0, size); in EtherBoneRecordToBytes() 135 Marshal.FreeHGlobal(ptr); in EtherBoneRecordToBytes() 147 var ptr = Marshal.AllocHGlobal(size); in EtherBoneRecordFromBytes() 149 Marshal.Copy(bytes, 0, ptr, size); in EtherBoneRecordFromBytes() 151 var result = (EtherBoneRecord)Marshal.PtrToStructure(ptr, typeof(EtherBoneRecord)); in EtherBoneRecordFromBytes() 152 Marshal.FreeHGlobal(ptr); in EtherBoneRecordFromBytes()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/DMA/ |
| D | TegraDmaHost1X.cs | 105 uint ptr = 0; in WriteDoubleWord() 107 while (ptr < cmd_l) { in WriteDoubleWord() 108 ptr = ptr + Execute_DMA(cmd_ad + ptr); in WriteDoubleWord()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/renode/ |
| D | renode_memory.c | 98 uint64_t tlib_host_ptr_to_guest_offset(void *ptr) in tlib_host_ptr_to_guest_offset() argument 110 …if(ptr >= current_block->element->host_pointer && ptr <= (current_block->element->host_pointer + c… in tlib_host_ptr_to_guest_offset() 112 return current_block->element->start + (ptr - current_block->element->host_pointer); in tlib_host_ptr_to_guest_offset()
|
| D | renode_callbacks.c | 55 void *tlib_realloc(void *ptr, size_t size) in EXTERNAL_AS() 57 return tlib_reallocate(ptr, (void *)size); in EXTERNAL_AS()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ |
| D | TranslationCPU.cs | 1533 var ptr = Marshal.AllocHGlobal(size); in Allocate() 1535 if(!ourPointers.TryAdd(ptr, (long)size)) in Allocate() 1540 parent.NoisyLog("Allocated {0}B pointer at 0x{1:X}.", sizeNormalized, ptr); in Allocate() 1542 return ptr; in Allocate() 1560 var ptr = Marshal.ReAllocHGlobal(oldPointer, newSize); in Reallocate() 1561 … 0x{3:X}.", Misc.NormalizeBinary(oldSize), oldPointer, Misc.NormalizeBinary((double)newSize), ptr); in Reallocate() 1563 ourPointers.TryAdd(ptr, (long)newSize); in Reallocate() 1564 return ptr; in Reallocate() 1567 public void Free(IntPtr ptr) in Free() argument 1569 if(!ourPointers.TryRemove(ptr, out var oldSize)) in Free() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/VideoAnalyzer/ |
| D | VideoAnalyzer.cs | 132 foreach(var ptr in pointers) in EnsureAnalyserWidget() 135 emulation.TryGetEmulationElementName(ptr, out name); in EnsureAnalyserWidget() 136 pointersComboBox.Items.Add(ptr, name); in EnsureAnalyserWidget()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Memory/ |
| D | MappedMemory.cs | 840 byte* ptr = null; in Allocate() 841 mmva.SafeMemoryMappedViewHandle.AcquirePointer(ref ptr); in Allocate() 842 return (IntPtr)ptr; in Allocate()
|