| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/ |
| D | MultiValueDictionary.cs | 45 if(single.TryGetValue(key, out existingSingle)) in Add() 53 if(multiple.TryGetValue(key, out existingMultiple)) in Add() 65 if(single.TryGetValue(key, out existingSingle)) in AddRange() 75 if(multiple.TryGetValue(key, out existingMultiple)) in AddRange() 102 if(single.TryGetValue(key, out existingSingle) && existingSingle.Equals(value)) in Remove() 107 … if(multiple.TryGetValue(key, out existingMultipleValues) && existingMultipleValues.Remove(value)) in Remove() 125 public bool TryGetValue(TKey key, out IReadOnlyCollection<TValue> values) in TryGetValue() method in Antmicro.Renode.Utilities.Collections.MultiValueDictionary 128 if(single.TryGetValue(key, out existingSingle)) in TryGetValue() 135 var ret = multiple.TryGetValue(key, out existingMultiple); in TryGetValue() 165 return TryGetValue(key, out values) && values.Contains(value); in Contains()
|
| D | SerializableWeakKeyDictionary.cs | 55 public bool TryGetValue(TKey key, out TValue value) in TryGetValue() method in Antmicro.Renode.Utilities.Collections.SerializableWeakKeyDictionary 59 return cwt.TryGetValue(key, out value); in TryGetValue() 70 if(cwt.TryGetValue(index, out value)) 119 … return TryGetTarget(x, out target) && cwt.TryGetValue(target, out value) ? value : null; 171 if(TryGetTarget(weakKey, out key) && cwt.TryGetValue(key, out value)) in GetEnumerator() 214 if(TryGetTarget(x, out target) && cwt.TryGetValue(target, out value)) in BeforeSerialization()
|
| D | FastReadConcurrentTwoWayDictionary.cs | 66 if(!newLefts.TryGetValue(left, out right)) in TryRemove() 160 public bool TryGetValue(TLeft left, out TRight right) in TryGetValue() method in Antmicro.Renode.Utilities.Collections.FastReadConcurrentTwoWayDictionary 168 return copy.TryGetValue(left, out right); in TryGetValue() 171 public bool TryGetValue(TRight right, out TLeft left) in TryGetValue() method in Antmicro.Renode.Utilities.Collections.FastReadConcurrentTwoWayDictionary 179 return copy.TryGetValue(right, out left); in TryGetValue()
|
| D | TwoWayDictionary.cs | 116 public bool TryGetValue(TLeft left, out TRight right) in TryGetValue() method in Antmicro.Renode.Utilities.Collections.TwoWayDictionary 118 return lefts.TryGetValue(left, out right); in TryGetValue() 121 public bool TryGetValue(TRight right, out TLeft left) in TryGetValue() method in Antmicro.Renode.Utilities.Collections.TwoWayDictionary 123 return rights.TryGetValue(right, out left); in TryGetValue()
|
| D | SimpleCache.cs | 21 if(simpleCache.TryGetValue(obj, out var result)) in Get() 40 if(simpleCache.TryGetValue(obj, out var result)) in Get()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Collections/ |
| D | MultiValueDictionaryTests.cs | 40 Assert.IsTrue(multiDict.TryGetValue("key", out values)); in ShouldAddAndTryGetValue() 48 Assert.IsTrue(multiDict.TryGetValue("key2", out values)); in ShouldAddAndTryGetValue() 62 Assert.IsFalse(multiDict.TryGetValue("海亀", out values)); in ShouldNotGetValue() 74 Assert.IsFalse(multiDict.TryGetValue("海亀", out values)); in ShouldClear() 75 Assert.IsFalse(multiDict.TryGetValue("key1", out values)); in ShouldClear() 76 Assert.IsFalse(multiDict.TryGetValue("key2", out values)); in ShouldClear() 77 Assert.IsFalse(multiDict.TryGetValue("key3", out values)); in ShouldClear()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/ |
| D | DynamicPropertiesObject.cs | 36 if(setters.TryGetValue(binder.Name, out var setter)) in TrySetMember() 49 if(getters.TryGetValue(binder.Name, out var getter)) in TryGetMember() 55 if(!fields.TryGetValue(binder.Name, out result)) in TryGetMember()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/Structure/Registers/ |
| D | RegisterCollection.cs | 164 if(beforeReadHooks.TryGetValue(offset, out var beforeReadHook)) in TryRead() 175 if(registers.TryGetValue(offset, out var register)) in TryRead() 180 if(afterReadHooks.TryGetValue(offset, out var afterReadHook)) in TryRead() 214 if(registers.TryGetValue(offset, out var register)) in TryWrite() 216 if(beforeWriteHooks.TryGetValue(offset, out var beforeWriteHook)) in TryWrite() 224 if(afterWriteHooks.TryGetValue(offset, out var afterWriteHook)) in TryWrite() 240 return registers.TryGetValue(offset, out var selector) && selector.HasRegister(); in HasRegisterAtOffset()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Time/ |
| D | TimeDomainsManager.cs | 47 … if(!timeGetters.TryGetValue(Thread.CurrentThread.ManagedThreadId, out var timestampGenerator)) 62 … if(!timeGetters.TryGetValue(Thread.CurrentThread.ManagedThreadId, out var timestampGenerator)) in TryGetVirtualTimeStamp()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/ |
| D | LRUCache.cs | 24 public bool TryGetValue(TKey key, out TVal value) in TryGetValue() method in Antmicro.Renode.Utilities.LRUCache 28 if(values.TryGetValue(key, out var item)) in TryGetValue()
|
| D | LINDecoder.cs | 58 if(entries.TryGetValue(protectedIdentifier, out var linEntry)) in TryGetEntry() 97 if(!entries.TryGetValue(value, out var entry)) in Feed() 233 …protected LINEntry CurrentEntry => entries.TryGetValue(currentProtectedIdentifier, out var entry) …
|
| D | TypeResolver.cs | 26 if (!typesMap.TryGetValue(name, out result)) in ResolveType()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/ |
| D | IGPIORedirector.cs | 27 public bool TryGetValue(int key, out IGPIO value) in TryGetValue() method in Antmicro.Renode.Core.IGPIORedirector 43 if(!TryGetValue(index, out value))
|
| D | Emulation.cs | 159 return machs.TryGetValue(key, out machine); in TryGetMachine() 164 return machs.TryGetValue(machine, out name); in TryGetMachineName() 217 return machs.TryGetValue(name, out machine); in TryGetMachineByName() 446 if(peripheralToMachineCache.TryGetValue(p, out machine)) in TryGetMachineForPeripheral() 484 if(nameCache.TryGetValue(obj, out result)) in TryGetEmulationElementName()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/ |
| D | Quectel_BC660K.cs | 131 if(!nameModemConfigDecoder.TryGetValue(function, out var modemFunction)) in Qcfg() 136 if(modemBasicConfig.TryGetValue(modemFunction, out int value)) in Qcfg() 185 if(modemBasicConfig.TryGetValue(modemFunction, out int value)) in QcfgRead() 369 if(gpioConfig.TryGetValue(pin, out var gpioStatus)) in ConfigureGPIOStatus() 393 if(gpioConfig.TryGetValue(pin, out var gpioStatus)) in ConfigureGPIOStatus()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/Network/ |
| D | NetworkWithPHY.cs | 56 if(phys.TryGetValue(id, out var _phy) && _phy is IPhysicalLayer<T>) in TryGetPhy() 67 if(phys.TryGetValue(id, out var _phy) && _phy is IPhysicalLayer<T, V>) in TryGetPhy()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SPI/ |
| D | FakeEfmSPITransmitter.cs | 29 responses.TryGetValue(currentByteNo, out data); in WriteChar()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/ |
| D | MAX86171.cs | 922 … Metadata.TryGetValue($"meas{i}_led_a_exposure", out var value) ? value.As<ushort?>() : null 926 … Metadata.TryGetValue($"meas{i}_led_a_source", out var value) ? value.As<byte?>() : null 930 … Metadata.TryGetValue($"meas{i}_led_b_exposure", out var value) ? value.As<ushort?>() : null 934 … Metadata.TryGetValue($"meas{i}_led_b_source", out var value) ? value.As<byte?>() : null 938 … Metadata.TryGetValue($"meas{i}_led_c_exposure", out var value) ? value.As<ushort?>() : null 942 … Metadata.TryGetValue($"meas{i}_led_c_source", out var value) ? value.As<byte?>() : null 946 … Metadata.TryGetValue($"meas{i}_pd_a_source_flags", out var value) ? value.As<byte?>() : null 950 … Metadata.TryGetValue($"meas{i}_pd_a_adc_range", out var value) ? value.As<uint?>() : null 954 … Metadata.TryGetValue($"meas{i}_pd_a_dac_offset", out var value) ? value.As<short?>() : null 958 … Metadata.TryGetValue($"meas{i}_pd_b_source_flags", out var value) ? value.As<byte?>() : null [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/GDB/ |
| D | CommandsManager.cs | 92 if(!commandsCache.TryGetValue(mnemonic, out command)) in TryGetCommand() 146 if(unifiedRegisters.TryGetValue(registerNumber, out var registers)) in GetCompiledRegisters() 201 if(types.TryGetValue(id, out var hit)) in AddFeatureTypes() 220 if(field.TryGetValue("type", out var fieldType) && !types.ContainsKey(fieldType)) in AddFeatureTypes()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ |
| D | LLVMArchitectureMapping.cs | 28 if(!ModelTranslations.TryGetValue(cpu.Model, out model)) in GetTripleAndModelKey()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/GPIOPort/ |
| D | MiV_CoreGPIO.cs | 144 if(!intTypeToVal.TryGetValue((uint)value, out var type)) in MiV_CoreGPIO() 152 if(!intTypeToVal.TryGetValue(irqManager.InterruptType[j], out var value)) in MiV_CoreGPIO() 204 if(!intTypeToVal.TryGetValue(triggerType, out var value)) in ConfigureFixedPinTriggerMode()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/ |
| D | USBHost.cs | 44 bool found = devices.TryGetValue(peripheral, out var address); in Unregister() 59 devices.TryGetValue(address, out device); in TryGetDevice()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/Commands/ |
| D | LoggerFileCommand.cs | 40 if(Logger.GetBackends().TryGetValue(BackendName, out var backend)) in InnerRun()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/UI/XwtProvider/ |
| D | WindowedUserInterfaceProvider.cs | 48 if(openedWindows.TryGetValue(analyzer, out win)) in HideAnalyser()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/ |
| D | BackendManager.cs | 83 return map.TryGetValue(peripheral, out backend); in TryGetBackendFor() 89 var result = map.TryGetValue(element, out outValue); 105 …if(!analyzers.TryGetValue(backendType, out foundAnalyzers) || foundAnalyzers.Count(x => x.Item2) >…
|