/openbmc/phosphor-networkd/src/ |
H A D | netlink.hpp | 46 template <typename T> 47 constexpr const T& extractRtData(std::string_view& data) in extractRtData() 49 const T& ret = stdplus::raw::refFrom<T, stdplus::raw::Aligned>(data); in extractRtData() 50 data.remove_prefix(NLMSG_ALIGN(sizeof(T))); in extractRtData() 71 template <typename T> 72 void performRequest(int protocol, uint16_t type, uint16_t flags, const T& msg, in performRequest() 75 static_assert(std::is_trivially_copyable_v<T>); in performRequest() 80 T msg; in performRequest()
|
/openbmc/qemu/tests/tcg/alpha/ |
H A D | test-cvttq.c | 53 } T[] = { in main() local 68 for (i = 0; i < sizeof(T)/sizeof(T[0]); i++) { in main() 69 long e, r = test_cvttq(&e, T[i].d); in main() 71 if (r != T[i].r || e != T[i].e) { in main() 73 T[i].d, T[i].r, T[i].e >> 48, r, e >> 48); in main()
|
/openbmc/phosphor-host-ipmid/include/ipmid/message/ |
H A D | unpack.hpp | 69 template <typename T> 77 static int op(Payload& p, T& t) in op() 99 UnpackBytes<T>(iter, t); in op() 114 t = T(); in op() 226 template <typename T> 227 struct UnpackSingle<std::optional<T>> 236 T value; in op() 255 template <typename T, size_t N> 256 struct UnpackSingle<std::array<T, N>> 296 template <typename T> [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | data_types.hpp | 53 template <typename T> 54 using RefVector = std::vector<std::reference_wrapper<T>>; 65 template <typename T> 67 std::map<std::string, std::map<std::string, std::variant<T>>>; 83 template <typename T> 84 using PropertiesChanged = std::map<std::string, std::variant<T>>; 101 template <typename T> 104 using Type = std::remove_cv_t<std::remove_reference_t<T>>; 106 template <typename T> 107 using DowncastType = typename Downcast<T>::Type;
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_cpp.cpp | 11 template <typename T> 14 T *skel; 18 ~Skeleton() { if (skel) T::destroy(skel); } in ~Skeleton() 27 skel = T::open(opts); in open() 37 int load() { return T::load(skel); } in load() 39 int attach() { return T::attach(skel); } in attach() 41 void detach() { return T::detach(skel); } in detach() 43 const T* operator->() const { return skel; } in operator ->() 45 T* operator->() { return skel; } in operator ->() 47 const T *get() const { return skel; } in get()
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm-assign-cpus.sh | 10 T="`mktemp -d ${TMPDIR-/tmp}/kvm-assign-cpus.sh.XXXXXX`" 14 if ! cd "$sysfsdir" > $T/msg 2>&1 16 sed -e 's/^/# /' < $T/msg 53 rm -f $T/cpulist 57 if ! cat $f > $T/msg 2>&1 59 sed -e 's/^/# /' < $T/msg 62 cat $f >> $T/cpulist 64 if grep -q '[-,]' $T/cpulist
|
H A D | configinit.sh | 18 T="`mktemp -d ${TMPDIR-/tmp}/configinit.sh.XXXXXX`" 26 sed -e 's/^\(CONFIG[0-9A-Z_]*\)=.*$/grep -v "^# \1" |/' < $c > $T/u.sh 27 sed -e 's/^\(CONFIG[0-9A-Z_]*=\).*$/grep -v \1 |/' < $c >> $T/u.sh 28 grep '^grep' < $T/u.sh > $T/upd.sh 29 echo "cat - $c" >> $T/upd.sh 36 sh $T/upd.sh < .config.sav > .config
|
H A D | parse-console.sh | 14 T=${TMPDIR-/tmp}/parse-console.sh.$$ 94 }' > $T.seq 98 if test -s $T.seq 100 print_warning $title `cat $T.seq` 107 print_warning HOTPLUG FAILURES $title `cat $T.seq` 112 if test -s $T.seq 114 print_warning $title `cat $T.seq` 120 console-badness.sh < $file > $T.diags 121 if test -s $T.diags 172 cat $T.diags >> $file.diags
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | cx88-cardlist.rst | 74 - KWorld/VStream XPert DVB-T 90 - Hauppauge Nova-T DVB-T 94 - Conexant DVB-T reference design 102 - DViCO FusionHDTV DVB-T Plus 110 - digitalnow DNTV Live! DVB-T 130 - DViCO FusionHDTV 3 Gold-T 134 - ADS Tech Instant TV DVB-T PCI 138 - TerraTec Cinergy 1400 DVB-T 158 - WinFast DTV1000-T 202 - DViCO FusionHDTV DVB-T Hybrid [all …]
|
H A D | dvb-usb-cxusb-cardlist.rst | 19 * - DViCO FusionHDTV DVB-T Dual Digital 2 21 * - DViCO FusionHDTV DVB-T Dual Digital 4 23 * - DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2) 25 * - DViCO FusionHDTV DVB-T Dual USB 27 * - DViCO FusionHDTV DVB-T NANO2 29 * - DViCO FusionHDTV DVB-T USB (LGZ201) 31 * - DViCO FusionHDTV DVB-T USB (TH7579) 35 * - DigitalNow DVB-T Dual USB
|
H A D | dvb-usb-rtl28xxu-cardlist.rst | 25 * - Dexatek DK DVB-T Dongle 27 * - Dexatek DK mini DVB-T Dongle 29 * - DigitalNow Quad DVB-T Receiver 31 * - Freecom USB2.0 DVB-T 33 * - G-Tek Electronics Group Lifeview LV5TDLX DVB-T 49 * - MaxMedia HU394-T 53 * - Peak DVB-T USB 67 * - TerraTec Cinergy T Stick Black 69 * - TerraTec Cinergy T Stick RC (Rev. 3) 71 * - TerraTec Cinergy T Stick+ [all …]
|
H A D | dvb-usb-dibusb-mb-cardlist.rst | 25 * - Compro Videomate DVB-U2000 - DVB-T USB1.1 (please confirm to linux-dvb) 27 * - DiBcom USB1.1 DVB-T reference design (MOD3000) 29 * - Grandtec USB1.1 DVB-T 31 * - KWorld V-Stream XPERT DTV - DVB-T USB1.1 33 * - KWorld Xpert DVB-T USB2.0 35 * - KWorld/ADSTech Instant DVB-T USB2.0 37 * - TwinhanDTV USB-Ter USB1.1 / Magic Box I / HAMA USB1.1 DVB-T device 39 * - Unknown USB1.1 DVB-T device ???? please report the name to the author 41 * - VideoWalker DVB-T USB
|
/openbmc/qemu/qga/vss-win32/ |
H A D | vss-common.h | 76 template <class T> 78 COMPointer(const COMPointer<T> &p) { } /* no copy */ in COMPointer() 79 T *p; 81 COMPointer &operator=(T *new_p) 91 T **replace(void) in replace() 97 operator T*() { return p; } 98 T *operator->(void) { return p; } 99 T &operator*(void) { return *p; } 102 COMPointer(T *p = NULL) : p(p) { } in p()
|
/openbmc/phosphor-inventory-manager/ |
H A D | utils.hpp | 32 template <typename T, typename Arg, typename Enable = void> 40 return T(); in make() 51 template <typename T, typename Arg> 53 T, Arg, 57 std::is_convertible_v<Arg, T>>> 61 return T(std::forward<Arg>(arg)); in make() 74 template <typename T, typename Arg> 76 T, Arg, 80 sdbusplus::message::has_convert_from_string_v<T>>> 82 static auto make(Arg&& arg) -> T in make() [all …]
|
/openbmc/linux/scripts/coccinelle/misc/ |
H A D | noderef.cocci | 21 type T; 30 f(...,(T)(x),...,sizeof( 38 ),...,(T)(x),...) 40 f(...,(T)(x),...,i*sizeof( 48 ),...,(T)(x),...) 56 type T; 62 *f(...,(T)(x),...,sizeof@p(x),...) 64 *f(...,sizeof@p(x),...,(T)(x),...) 66 *f(...,(T)(x),...,i*sizeof@p(x),...) 68 *f(...,i*sizeof@p(x),...,(T)(x),...)
|
H A D | flexible_array.cocci | 28 type T; 35 * T array@p[\(0\|1\)]; 40 * T array@p[\(0\|1\)]; 45 * T array@p[\(0\|1\)]; 50 * T array@p[\(0\|1\)]; 56 type T; 62 T array[0]; 66 T array[0]; 72 type T; 82 T array@p[ [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | utility.hpp | 45 template <typename T> 48 sdbusplus::bus_t& bus, T& value) in getProperty() 50 std::variant<T> property; in getProperty() 60 value = std::get<T>(property); in getProperty() 73 template <typename T> 76 sdbusplus::bus_t& bus, T& value) in setProperty() 78 std::variant<T> propertyValue(value); in setProperty() 94 template <typename T> 97 phosphor::logging::report<T>(); in powerOff()
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | utils.py | 16 T = TypeVar('T') variable 17 def opt_compare(a: T, b: T) -> bool: argument 21 def merge(a: T, b: T) -> T: argument 68 def not_optional(arg: Optional[T]) -> T: argument
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_selftest.h | 89 #define i915_subtests(T, data) \ argument 92 T, ARRAY_SIZE(T), data) 93 #define i915_live_subtests(T, data) ({ \ argument 98 T, ARRAY_SIZE(T), data); \ 100 #define intel_gt_live_subtests(T, data) ({ \ argument 105 T, ARRAY_SIZE(T), data); \
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | exec_rw_const.cocci | 40 type T; 41 const T *V; 45 - address_space_rw(E1, E2, E3, (T *)V, E4, 1) 80 type T; 86 - address_space_read(E1, E2, E3, (T *)(E4), E5) 89 - address_space_write(E1, E2, E3, (T *)(E4), E5) 96 - cpu_physical_memory_rw(E1, (T *)(E2), E3, E4) 99 - cpu_physical_memory_read(E1, (T *)(E2), E3) 102 - cpu_physical_memory_write(E1, (T *)(E2), E3) 106 - dma_memory_read(E1, E2, (T *)(E3), E4) [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | overflow.h | 33 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) argument 34 #define type_min(T) ((T)((T)-type_max(T)-(T)1)) argument
|
/openbmc/linux/lib/ |
H A D | test_scanf.c | 188 (is_signed_type(T) \ 189 ? ((long long)(val) >= type_min(T)) && ((long long)(val) <= type_max(T)) \ 195 const T expect_val = (T)(val); \ 286 #define random_for_type(T) \ argument 287 ((T)(sizeof(T) <= sizeof(u32) \ 355 T expect[8], result[8]; \ 383 T expect[8], result[8]; \ 609 T result[2] = { (T)~expect[0], (T)~expect[1] }; \ 684 T got; \ 713 _test_simple_strtoxx(T, fn, gen_fmt, (T)numbers[i], base); \ [all …]
|
/openbmc/qemu/crypto/ |
H A D | xts.c | 111 xts_uint128 PP, CC, T; in xts_decrypt() local 128 encfunc(tweakctx, XTS_BLOCK_SIZE, T.b, iv); in xts_decrypt() 135 xts_tweak_encdec(datactx, decfunc, S, D, &T); in xts_decrypt() 152 memcpy(&CC, &T, XTS_BLOCK_SIZE); in xts_decrypt() 169 xts_tweak_encdec(datactx, decfunc, &CC, &D, &T); in xts_decrypt() 174 decfunc(tweakctx, XTS_BLOCK_SIZE, iv, T.b); in xts_decrypt() 187 xts_uint128 PP, CC, T; in xts_encrypt() local 204 encfunc(tweakctx, XTS_BLOCK_SIZE, T.b, iv); in xts_encrypt() 231 xts_tweak_encdec(datactx, encfunc, &S, &CC, &T); in xts_encrypt() 244 xts_tweak_encdec(datactx, encfunc, &PP, &D, &T); in xts_encrypt() [all …]
|
/openbmc/linux/tools/memory-model/scripts/ |
H A D | initlitmushist.sh | 41 T=/tmp/initlitmushist.sh.$$ 43 mkdir $T 63 find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C 64 xargs < $T/list-C -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short 66 scripts/runlitmushist.sh < $T/list-C-short
|
/openbmc/sdbusplus/include/sdbusplus/utility/ |
H A D | dedup_variant.hpp | 24 template <typename T, typename... Unused> 27 using type = T; 60 template <typename T, typename... Types> 62 typename details::dedup_variant<std::variant<T>, Types...>::type; 67 template <typename T, typename... Types> 68 using dedup_variant = dedup_variant_t<T, Types...>;
|