Home
last modified time | relevance | path

Searched refs:IsEmpty (Results 1 – 9 of 9) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/
DCircularBuffer.cs27 IsEmpty = true; in Clear()
34 if(!IsEmpty && ((LastPosition + 1) % buffer.Length) == FirstPosition) in Enqueue()
41 IsEmpty = false; in Enqueue()
49 if(IsEmpty) in TryDequeue()
56 IsEmpty = true; in TryDequeue()
73 if(IsEmpty) in TryPeek()
84 if(IsEmpty) in CopyTo()
101 if(IsEmpty) in GetEnumerator()
133 private bool IsEmpty { get; set; } property in Antmicro.Renode.Utilities.Collections.CircularBuffer
136 public int Count => IsEmpty ? 0
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/
DGPIODetachingTests.cs63 Assert.IsEmpty(connections[0].Endpoints); in ShouldDetachConnectionFromGPIOByNumberConnection()
89 Assert.IsEmpty(connections[0].Endpoints); in ShouldDetachOnlyOneConnectionFromGPIOByNumberConnection()
140 Assert.IsEmpty(AConnections[0].Endpoints); in ShouldUnregisterChainedPeripheralsOnBDisconnect()
141 Assert.IsEmpty(BConnections[0].Endpoints); in ShouldUnregisterChainedPeripheralsOnBDisconnect()
142 Assert.IsEmpty(BConnections[1].Endpoints); in ShouldUnregisterChainedPeripheralsOnBDisconnect()
173 Assert.IsEmpty(B.Connections[0].Endpoints); in ShouldDisconnectEndpointOfUnregisteredPeripheral()
192 Assert.IsEmpty(gpioConnections[1].Endpoints); in ShouldConnectGPIOToReceiverAndReturnTheSameReceiver()
193 Assert.IsEmpty(gpioConnections[2].Endpoints); in ShouldConnectGPIOToReceiverAndReturnTheSameReceiver()
DNullRegistrationPointPeripheralContainerTests.cs70 Assert.IsEmpty(container.GetRegistrationPoints(peripheral)); in ShouldGetEmptyRegistrationPoints()
73 Assert.IsEmpty(container.GetRegistrationPoints(peripheral)); in ShouldGetEmptyRegistrationPoints()
88 Assert.IsEmpty(container.Children); in ShouldGetEmptyChildren()
91 Assert.IsEmpty(container.Children); in ShouldGetEmptyChildren()
DGPIOTests.cs37 Assert.IsEmpty(endpoint); in ShouldBeEmptyWhenNotConnected()
DRangeTests.cs138 CollectionAssert.IsEmpty(range.Subtract(sub)); in SubtractContaining()
145 CollectionAssert.IsEmpty(range.Subtract(range)); in SubtractItself()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/UART/
DVirtualConsole.cs50 public bool IsEmpty() in IsEmpty() method in Antmicro.Renode.Peripherals.UART.VirtualConsole
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/
DK6xF_Ethernet.cs289 if(rxDescriptorsQueue.CurrentDescriptor.IsEmpty) in ReceiveFrame()
302 rxDescriptorsQueue.CurrentDescriptor.IsEmpty = false; in ReceiveFrame()
875 public bool IsEmpty property in Antmicro.Renode.Peripherals.Network.K6xF_Ethernet.DmaRxBufferDescriptor
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/
DOpenTitan_SpiDevice.cs317 … .WithFlag(1, FieldMode.Read, valueProviderCallback: _ => rxFifo.IsEmpty, name: "rxf_empty") in DefineRegisters()
319 … .WithFlag(3, FieldMode.Read, valueProviderCallback: _ => txFifo.IsEmpty, name: "txf_empty") in DefineRegisters()
803 public bool IsEmpty => (writePointer == readPointer) && (writePhase == readPhase); field in Antmicro.Renode.Peripherals.SPI.OpenTitan_SpiDevice.SRAMCircularFifoRange
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/
DTranslationCPU.cs1200 if(descriptor.IsEmpty) in RemoveHook()
1588 if(!ourPointers.IsEmpty) in CheckIfAllIsFreed()
2481 if(result && IsEmpty) in RemoveCallback()
2517 public bool IsEmpty { get { return !callbacks.Any(); } } property in Antmicro.Renode.Peripherals.CPU.TranslationCPU.HookDescriptor