/openbmc/phosphor-inventory-manager/ |
H A D | functor.hpp | 29 template <typename T> 30 auto make_action(T&& action) in make_action() 44 template <typename T> 45 auto make_filter(T&& filter) in make_filter() 59 template <typename T> 75 template <typename T, typename U> 230 return _condition(std::forward<T>(std::get<T>(it->second))); in operator ()() 353 return _condition(std::forward<T>(std::get<T>(value))); in eval() 379 template <typename T> 382 auto condition = [val = std::forward<T>(val)](T&& arg) { in propertyChangedTo() [all …]
|
/openbmc/linux/rust/alloc/ |
H A D | slice.rs | 102 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument 161 impl<T: Copy> ConvertVec for T { implementation 178 impl<T> [T] { implementation 709 impl<T: Clone, V: Borrow<[T]>> Concat<T> for [V] { 724 impl<T: Clone, V: Borrow<[T]>> Join<&T> for [V] { 747 impl<T: Clone, V: Borrow<[T]>> Join<&[T]> for [V] { 774 impl<T, A: Allocator> Borrow<[T]> for Vec<T, A> { 781 impl<T, A: Allocator> BorrowMut<[T]> for Vec<T, A> { 796 impl<T: Clone, A: Allocator> SpecCloneIntoVec<T, A> for [T] { implementation 812 impl<T: Copy, A: Allocator> SpecCloneIntoVec<T, A> for [T] { implementation [all …]
|
/openbmc/phosphor-hwmon/ |
H A D | thresholds.hpp | 13 template <typename T> 74 template <typename T> 78 auto lo = (*realIface.*Thresholds<T>::getLo)(); in checkThresholds() 79 auto hi = (*realIface.*Thresholds<T>::getHi)(); in checkThresholds() 82 (*realIface.*Thresholds<T>::alarmLo)(value <= lo); in checkThresholds() 83 (*realIface.*Thresholds<T>::alarmHi)(value >= hi); in checkThresholds() 120 template <typename T> 126 std::shared_ptr<T> iface; in addThreshold() 139 (*iface.*Thresholds<T>::setLo)(lo); in addThreshold() 157 (*iface.*Thresholds<T>::setHi)(hi); in addThreshold() [all …]
|
/openbmc/linux/tools/memory-model/scripts/ |
H A D | newlitmushist.sh | 19 T=/tmp/newlitmushist.sh.$$ 21 mkdir $T 42 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already 46 find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C-all 47 xargs < $T/list-C-all -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short 50 sort $T/list-C-already $T/list-C-short | uniq -u > $T/list-C-new 53 sed < $T/list-C-short -e 's,^.*$,if test & -nt '"$LKMM_DESTDIR"'/&.out; then echo &; fi,' > $T/list… 54 sh $T/list-C-script > $T/list-C-newer 57 sort -u $T/list-C-new $T/list-C-newer > $T/list-C-needed 59 scripts/runlitmushist.sh < $T/list-C-needed
|
H A D | cmplitmushist.sh | 10 T=/tmp/cmplitmushist.sh.$$ 12 mkdir $T 60 if cmp -s $T/oldout $T/newout && grep -q '^Observation' $1 67 grep '^Observation' $1 > $T/oldout 68 grep '^Observation' $2 > $T/newout 69 if test -s $T/oldout -o -s $T/newout 71 if cmp -s $T/oldout $T/newout 85 if cmp -s $T/oldout $T/newout 97 . $T/cmpscript > $T/cmpscript.out 98 cat $T/cmpscript.out [all …]
|
H A D | checklitmushist.sh | 19 T=/tmp/checklitmushist.sh.$$ 21 mkdir $T 34 mkdir $T/results 35 find litmus -type d -print | ( cd $T/results; sed -e 's/^/mkdir -p /' | sh ) 41 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already 42 xargs < $T/list-C-already -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short 46 LKMM_DESTDIR=$T/results; export LKMM_DESTDIR 47 scripts/runlitmushist.sh < $T/list-C-short > $T/runlitmushist.sh.out 2>&1 55 ( cd $T/results; find litmus -type f -name '*.litmus.out' -print | 58 sed < $T/list-C-short -e 's,^,'"$LKMM_DESTDIR/"',' |
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | parse-build.sh | 18 T="`mktemp -d ${TMPDIR-/tmp}/parse-build.sh.XXXXXX`" 38 grep warning: < $F > $T/warnings 39 grep "include/linux/*rcu*\.h:" $T/warnings > $T/hwarnings 40 grep "kernel/rcu/[^/]*:" $T/warnings > $T/cwarnings 41 grep "^ld: .*undefined reference to" $T/warnings | head -1 > $T/ldwarnings 42 cat $T/hwarnings $T/cwarnings $T/ldwarnings > $T/rcuwarnings 43 if test -s $T/rcuwarnings 46 cat $T/rcuwarnings
|
H A D | kvm-remote.sh | 48 TD="`basename "$T"`" 50 resdir="$T/res" 73 cat $T/kvm.sh.out 115 cat $T/kvm-again.sh.out 134 chmod +x $T/bin/kvm-remote-*.sh 135 ( cd "`dirname $T`"; tar -chzf $T/binres.tgz "$TD/bin" "$TD/res" ) 140 ssh -o BatchMode=yes $i getconf _NPROCESSORS_ONLN > $T/ssh.stdout 2> $T/ssh.stderr 254 startbatches $curbatch $nbatches > $T/curbatch 2> $T/startbatches.stderr 255 curbatch="`cat $T/curbatch`" 256 if test -s "$T/startbatches.stderr" [all …]
|
H A D | configcheck.sh | 12 T="`mktemp -d ${TMPDIR-/tmp}/configcheck.sh.XXXXXX`" 17 if ! grep -q "^$1$" $T/.config 27 if grep -q "^$1=n$" $T/.config 31 if grep -q "^$1=" $T/.config 39 sed -e 's/"//g' < $1 > $T/.config 40 sed -e 's/^#CHECK#//' < $2 > $T/ConfigFragment 41 grep '^CONFIG_.*=n$' $T/ConfigFragment | 43 . $T/kconfig-n.sh 44 grep -v '^CONFIG_.*=n$' $T/ConfigFragment | grep '^CONFIG_' | 45 sed -e 's/^/test_kconfig_enabled /' > $T/kconfig-not-n.sh [all …]
|
/openbmc/slpd-lite/ |
H A D | endian.hpp | 10 template <typename T> 13 static T to_network(T) = delete; 14 static T from_network(T) = delete; 43 template <typename T> 44 T to_network(T i) in to_network() 46 return details::convert<T>::to_network(i); in to_network() 48 template <typename T> 49 T from_network(T i) in from_network() 51 return details::convert<T>::from_network(i); in from_network()
|
/openbmc/phosphor-virtual-sensor/ |
H A D | exprtkTools.hpp | 46 template <typename T> 47 struct FuncMaxIgnoreNaN : public exprtk::ivararg_function<T> 55 inline T operator()(const std::vector<T>& argList) in operator ()() 73 template <typename T> 74 struct FuncSumIgnoreNaN : public exprtk::ivararg_function<T> 76 inline T operator()(const std::vector<T>& argList) in operator ()() 94 template <typename T> 95 struct FuncIfNan : public exprtk::ifunction<T> 97 using exprtk::ifunction<T>::operator(); 99 FuncIfNan() : exprtk::ifunction<T>(2) {} in FuncIfNan() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/message/ |
H A D | types.hpp | 63 template <typename T> 66 using type = T; 82 template <typename T> 94 template <typename T> 101 template <typename T> 148 template <typename T> 232 template <typename T> 233 struct type_id<T, std::enable_if_t<utility::has_const_iterator_v<T>>> : 275 template <typename T> 280 return type_id_v<T>; in type_id_single() [all …]
|
H A D | append.hpp | 81 template <typename T> 83 T, typename std::enable_if_t<utility::has_const_iterator_v<T>>> : 114 template <typename T> 123 template <typename T> 128 template <typename T> 155 static std::enable_if_t<std::is_same_v<S, Td<T>> && !std::is_enum_v<Td<T>>> 170 static std::enable_if_t<std::is_same_v<S, Td<T>> && std::is_enum_v<Td<T>>> 178 template <typename T> 269 template <typename T> 270 struct append_single<T, std::enable_if_t<utility::has_const_iterator_v<T>>> [all …]
|
H A D | read.hpp | 81 template <typename T> 83 T, typename std::enable_if_t<utility::has_emplace_method_v<T> || 116 template <typename T> 132 template <typename T> 152 template <typename T> 168 template <typename T> 182 template <typename T> 201 template <typename T> 220 template <typename T> 258 template <typename T> [all …]
|
/openbmc/telemetry/src/utils/ |
H A D | contains.hpp | 10 template <class T> 12 requires(T container) { container.find(container.begin()->first); }; 14 template <class T> 16 requires(T container) { container.contains(*container.begin()); }; 20 template <detail::HasMemberFind T> 21 inline bool contains(const T& container, in contains() 22 const typename T::value_type::first_type& key) in contains() 27 template <detail::HasMemberContains T> 28 inline bool contains(const T& container, const typename T::value_type& key) in contains() 33 template <class T> [all …]
|
/openbmc/linux/include/linux/ |
H A D | overflow.h | 34 #define __type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument 36 #define __type_min(T) ((T)((T)-type_max(T)-(T)1)) argument 135 (x) > type_max(T) : \ 136 is_unsigned_type(typeof(T)) ? \ 137 (x) < 0 || (x) > type_max(T) : \ 138 (x) < type_min(T) || (x) > type_max(T)) 140 #define __overflows_type(x, T) ({ \ argument 141 typeof(T) v = 0; \ 159 #define overflows_type(n, T) \ argument 162 __overflows_type(n, T)) [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | actions.hpp | 85 template <typename T> 129 template <typename T> 186 template <typename T> 304 template <typename T> 305 auto set_net_increase_speed(T&& state, T&& factor, uint64_t speedDelta) in set_net_increase_speed() 315 T value = zone.template getPropertyValue<T>( in set_net_increase_speed() 356 template <typename T> 357 auto set_net_decrease_speed(T&& state, T&& factor, uint64_t speedDelta) in set_net_decrease_speed() 366 T value = zone.template getPropertyValue<T>( in set_net_decrease_speed() 421 template <typename T> [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | utility.hpp | 70 template <typename T> 115 template <typename T> 150 std::add_pointer_t<std::remove_extent_t<T>>, T>, 151 T>; 163 template <typename T> 166 using type = T; 182 template <typename T> 194 template <typename T> 201 template <typename T> 211 template <typename... T> [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | dvb-usb-af9015-cardlist.rst | 17 * - AVerMedia AVerTV DVB-T Volar X 43 * - KWorld PlusTV DVB-T PCI Pro Card (DVB-T PC160-T) 45 * - KWorld PlusTV Dual DVB-T PCI (DVB-T PC160-2T) 47 * - KWorld PlusTV Dual DVB-T Stick (DVB-T 399U) 49 * - KWorld USB DVB-T Stick Mobile (UB383-T) 51 * - KWorld USB DVB-T TV Stick II (VS-DVB-T 395U) 63 * - Sveon STV20 Tuner USB DVB-T HDTV 69 * - TerraTec Cinergy T Stick Dual RC 71 * - TerraTec Cinergy T Stick RC 73 * - TerraTec Cinergy T USB XE [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | tupleref.hpp | 15 template <typename... T> 16 using TupleOfRefs = std::tuple<std::reference_wrapper<T>...>; 21 template <size_t size, size_t i, typename T, typename U> 24 static constexpr bool compare(const T& l, const U& r) in compare() 34 return TupleOfRefsLess<size, i + 1, T, U>::compare(l, r); in compare() 39 template <size_t size, typename T, typename U> 40 struct TupleOfRefsLess<size, size, T, U> 52 template <typename... T, typename... U> 53 constexpr bool operator()(const TupleOfRefs<T...>& l, in operator ()() 56 static_assert(sizeof...(T) == sizeof...(U), in operator ()() [all …]
|
/openbmc/linux/rust/alloc/vec/ |
H A D | partial_eq.rs | 12 impl<T, U, $($vars)*> PartialEq<$rhs> for $lhs 14 T: PartialEq<U>, 25 __impl_slice_eq1! { [A1: Allocator, A2: Allocator] Vec<T, A1>, Vec<U, A2>, #[stable(feature = "rust… 26 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &[U], #[stable(feature = "rust1", since = "1.0.0")] } 27 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &mut [U], #[stable(feature = "rust1", since = "1.0.0"… 30 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, [U], #[stable(feature = "partialeq_vec_for_slice", si… 31 __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", si… 33 __impl_slice_eq1! { [A: Allocator] Cow<'_, [T]>, Vec<U, A> where T: Clone, #[stable(feature = "rust… 35 __impl_slice_eq1! { [] Cow<'_, [T]>, &[U] where T: Clone, #[stable(feature = "rust1", since = "1.0.… 37 __impl_slice_eq1! { [] Cow<'_, [T]>, &mut [U] where T: Clone, #[stable(feature = "rust1", since = "… [all …]
|
H A D | extract_if.rs | 27 T, 31 F: FnMut(&mut T) -> bool, 33 pub(super) vec: &'a mut Vec<T, A>, 44 impl<T, F, A: Allocator> ExtractIf<'_, T, F, A> 46 F: FnMut(&mut T) -> bool, 57 impl<T, F, A: Allocator> Iterator for ExtractIf<'_, T, F, A> 59 F: FnMut(&mut T) -> bool, 61 type Item = T; 63 fn next(&mut self) -> Option<T> { in next() argument 93 impl<T, F, A: Allocator> Drop for ExtractIf<'_, T, F, A> [all …]
|
/openbmc/linux/rust/kernel/sync/ |
H A D | locked_by.rs | 75 pub struct LockedBy<T: ?Sized, U: ?Sized> { 77 data: UnsafeCell<T>, 81 unsafe impl<T: ?Sized + Send, U: ?Sized> Send for LockedBy<T, U> {} 85 unsafe impl<T: ?Sized + Send, U: ?Sized> Sync for LockedBy<T, U> {} 87 impl<T, U> LockedBy<T, U> { 95 pub fn new<B: Backend>(owner: &Lock<U, B>, data: T) -> Self { in new() 107 impl<T: ?Sized, U> LockedBy<T, U> { 118 pub fn access<'a>(&'a self, owner: &'a U) -> &'a T { in access() argument 144 pub fn access_mut<'a>(&'a self, owner: &'a mut U) -> &'a mut T { in access_mut() argument
|
/openbmc/openbmc/poky/meta/recipes-core/libxml/libxml2/ |
H A D | run-ptest | 10 for T in $TESTS; do 11 echo Running $T 12 ./$T && echo PASS: $T || echo FAIL: $T 17 for T in *.py; do 18 python3 ./$T && echo PASS: $T || echo FAIL: $T
|
/openbmc/sdbusplus/include/sdbusplus/utility/ |
H A D | container_traits.hpp | 17 template <typename T> 33 static constexpr bool value = sizeof(test<T>(nullptr)) == sizeof(yes); 36 template <typename T> 37 inline constexpr bool has_const_iterator_v = has_const_iterator<T>::value; 45 template <typename T> 61 std::is_same_v<std::true_type, decltype(test<T, dummy>(nullptr))>; 64 template <typename T> 65 inline constexpr bool has_emplace_method_v = has_emplace_method<T>::value; 74 template <typename T> 93 template <typename T> [all …]
|