/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | utils.py | 16 T = TypeVar('T') variable 17 def opt_compare(a: T, b: T) -> bool: 21 def merge(a: T, b: T) -> T: 68 def not_optional(arg: Optional[T]) -> T:
|
H A D | patching.py | 26 T = TypeVar('T') variable 272 def matches_of_type(self, t: Type[T]) -> List[T]: 277 def find_matches(self, t: Type[T], name: str, group: str='name') -> List[T]: 289 def find_match(self, t: Type[T], name: str, group: str='name') -> Optional[T]: 336 def find_match(self, t: Type[T], name: str, group: str='name') -> Optional[T]:
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | util.py | 25 T = TypeVar('T') variable 56 def upper_half(func: T) -> T: 66 def bottom_half(func: T) -> T: 87 def create_task(coro: Coroutine[Any, Any, T], argument 152 def asyncio_run(coro: Coroutine[Any, Any, T], *, debug: bool = False) -> T: argument
|
H A D | protocol.py | 49 T = TypeVar('T') variable 917 def _cb_outbound(self, msg: T) -> T: 934 def _cb_inbound(self, msg: T) -> T: 1014 def _do_send(self, msg: T) -> None: 1024 async def _send(self, msg: T) -> None: 1044 async def _on_message(self, msg: T) -> None:
|
/openbmc/qemu/rust/qemu-api/src/ |
H A D | chardev.rs | 95 T, in enable_handlers() argument 96 CanReceiveFn: for<'a> FnCall<(&'a T,), u32>, in enable_handlers() 97 ReceiveFn: for<'a, 'b> FnCall<(&'a T, &'b [u8])>, in enable_handlers() 98 EventFn: for<'a> FnCall<(&'a T, Event)>, in enable_handlers() 104 owner: &'owner T, in enable_handlers() 109 unsafe extern "C" fn rust_can_receive_cb<T, F: for<'a> FnCall<(&'a T,), u32>>( in enable_handlers() 119 unsafe extern "C" fn rust_receive_cb<T, F: for<'a, 'b> FnCall<(&'a T, &'b [u8])>>( in enable_handlers() 131 unsafe extern "C" fn rust_event_cb<T, F: for<'a> FnCall<(&'a T, Event)>>( in enable_handlers() 163 (owner as *const T).cast_mut().cast::<c_void>(), in enable_handlers() constant
|
H A D | cell.rs | 265 fn clone(&self) -> BqlCell<T> { in clone() 303 fn from(t: T) -> BqlCell<T> { in from() 332 pub const fn new(value: T) -> BqlCell<T> { in new() 351 pub fn set(&self, val: T) { in set() 370 pub fn replace(&self, val: T) -> T { in replace() 391 pub fn into_inner(self) -> T { in into_inner() 411 pub fn get(&self) -> T { in get() 434 pub const fn as_ptr(&self) -> *mut T { in as_ptr() 454 pub fn take(&self) -> T { in take() 520 pub const fn new(value: T) -> BqlRefCell<T> { in new() [all …]
|
H A D | timer.rs | 48 pub fn init_full<'timer, 'opaque: 'timer, T, F>( in init_full() argument 55 opaque: &'opaque T, in init_full() 57 F: for<'a> FnCall<(&'a T,)>, in init_full() 62 unsafe extern "C" fn rust_timer_handler<T, F: for<'a> FnCall<(&'a T,)>>( in init_full() 84 (opaque as *const T).cast::<c_void>().cast_mut(), in init_full() constant
|
H A D | memory.rs | 44 unsafe extern "C" fn memory_region_ops_read_cb<T, F: for<'a> FnCall<(&'a T, hwaddr, u32), u64>>( in memory_region_ops_read_cb() 52 unsafe extern "C" fn memory_region_ops_write_cb<T, F: for<'a> FnCall<(&'a T, hwaddr, u64, u32)>>( in memory_region_ops_write_cb() 63 pub const fn read<F: for<'a> FnCall<(&'a T, hwaddr, u32), u64>>(mut self, _f: &F) -> Self { in read() 69 pub const fn write<F: for<'a> FnCall<(&'a T, hwaddr, u64, u32)>>(mut self, _f: &F) -> Self { in write() 119 pub const fn build(self) -> MemoryRegionOps<T> { in build() 169 pub fn init_io<T: IsA<Object>>( in init_io() argument 171 ops: &'static MemoryRegionOps<T>, in init_io()
|
H A D | uninit.rs | 15 pub fn new(parent: &'a mut MaybeUninit<T>, child: *mut U) -> Self { in new() 24 pub fn parent(f: &Self) -> *const T { in parent() 33 pub fn parent_mut(f: &mut Self) -> *mut T { in parent_mut()
|
H A D | qdev.rs | 263 pub fn init_clock_in<T: DeviceImpl, F: for<'a> FnCall<(&'a T, ClockEvent)>>( in init_clock_in() 264 this: &mut ParentInit<T>, in init_clock_in() 300 unsafe extern "C" fn rust_clock_cb<T, F: for<'a> FnCall<(&'a T, ClockEvent)>>( in init_clock_in() 324 pub fn init_clock_out<T: DeviceImpl>(this: &mut ParentInit<T>, name: &str) -> Owned<Clock> in init_clock_out() 377 unsafe extern "C" fn rust_irq_handler<T, F: for<'a> FnCall<(&'a T, u32, u32)>>( in init_gpio_in()
|
H A D | error.rs | 170 result: Result<T>, in ptr_or_propagate() 189 result: Result<T>, in ok_or_propagate() 191 ) -> Option<T> { in ok_or_propagate() 244 pub unsafe fn err_or_else<T, F: FnOnce() -> T>( in err_or_else() 247 ) -> Result<T> { in err_or_else()
|
H A D | qom.rs | 133 unsafe impl<T: ObjectType> IsA<T> for T {} implementation 296 pub fn with(obj: &'init mut MaybeUninit<T>, f: impl for<'id> FnOnce(ParentInit<'id, T>)) { in with() 640 impl<T: ObjectType> ObjectDeref for &T {} implementation 641 impl<T: ObjectType> ObjectCast for &T {} implementation 643 impl<T: ObjectType> ObjectDeref for &mut T {} implementation 825 pub fn into_raw(src: Owned<T>) -> *mut T { in into_raw() 949 impl<T> ObjectClassMethods for T where T: IsA<Object> {} implementation
|
H A D | assertions.rs | 21 impl<T> EqType for T { implementation
|
/openbmc/telemetry/src/utils/ |
H A D | conversion.hpp | 61 std::array<std::pair<std::string_view, T>, N> data) in minEnumValue() argument 76 std::array<std::pair<std::string_view, T>, N> data) in maxEnumValue() argument 90 inline T toEnum(const std::array<std::pair<std::string_view, T>, N>& data, in toEnum() argument 105 const std::array<std::pair<std::string_view, T>, N>& data, T value) in enumToString() argument
|
/openbmc/qemu/scripts/qapi/ |
H A D | source.py | 34 T = TypeVar('T', bound='QAPISourceInfo') variable in QAPISourceInfo 50 def next_line(self: T, n: int = 1) -> T:
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | bcdsub.c | 19 #define BCDSUB(T, A, B, PS) \ argument 23 #define BCDSUB(T, A, B, PS) "bcdsub. " #T ", " #A ", " #B ", " #PS "\n\t" argument
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-xts.c | 343 uint8_t out[512], Torg[16], T[16]; in test_xts() local 378 uint8_t out[512], Torg[16], T[16]; in test_xts_split() local 424 uint8_t Torg[16], T[16 + BAD_ALIGN]; in test_xts_unaligned() local
|
/openbmc/phosphor-bmc-code-mgmt/common/include/ |
H A D | utils.hpp | 78 using T = std::decay_t<decltype(value)>; in buildByteVector() typedef
|
/openbmc/qemu/crypto/ |
H A D | xts.c | 111 xts_uint128 PP, CC, T; in xts_decrypt() local 187 xts_uint128 PP, CC, T; in xts_encrypt() local
|
/openbmc/openbmc-tools/altitude/ |
H A D | altitude | 25 def T(h): function
|
/openbmc/u-boot/include/linux/ |
H A D | const.h | 22 #define _AT(T,X) ((T)(X)) argument
|
/openbmc/qemu/include/user/ |
H A D | thunk.h | 206 #define target_to_host_bitmask(M, T) \ argument 208 #define host_to_target_bitmask(M, T) \ argument
|
/openbmc/qemu/linux-headers/linux/ |
H A D | stddef.h | 41 #define __DECLARE_FLEX_ARRAY(T, member) \ argument
|
/openbmc/pldm/common/ |
H A D | bios_utils.hpp | 40 using T = typename std::conditional< typedef in pldm::bios::utils::BIOSTableIter::iterator
|
/openbmc/phosphor-fan-presence/control/ |
H A D | actions.hpp | 130 Action set_floor_from_average_sensor_value(std::map<T, uint64_t>&& val_to_speed) in set_floor_from_average_sensor_value() 188 std::map<T, uint64_t>&& val_to_speed) in set_ceiling_from_average_sensor_value() 483 std::map<T, uint64_t>&& valueToSpeed) in set_floor_from_median_sensor_value()
|