Home
last modified time | relevance | path

Searched refs:T (Results 51 – 75 of 1111) sorted by relevance

12345678910>>...45

/openbmc/linux/tools/memory-model/scripts/
H A Drunlitmushist.sh20 T=/tmp/runlitmushist.sh.$$
22 mkdir $T
35 echo T=$T >> $T/$i.sh
36 cat << '___EOF___' >> $T/$i.sh
68 awk -v dq='"' -v hwfnseg="$hwfnseg" -v ncpu="$LKMM_JOBS" -v t="$T" '
83 cat $T/*.sh.out
84 if grep -q '!!!' $T/*.sh.out
87 grep '!!!' $T/*.sh.out 1>&2
88 nfail="`grep '!!!' $T/*.sh.out | wc -l`"
H A Dparseargs.sh14 T=/tmp/parseargs.sh.$$
15 mkdir $T
19 echo if test -z '"$'$1'"' > $T/s
20 echo then >> $T/s
21 echo $1='"'$2'"' >> $T/s
22 echo export $1 >> $T/s
23 echo fi >> $T/s
24 echo $1_DEF='$'$1 >> $T/s
25 . $T/s
147 rm -rf $T
/openbmc/qemu/tests/unit/
H A Dtest-crypto-xts.c343 uint8_t out[512], Torg[16], T[16]; in test_xts() local
357 memcpy(T, Torg, sizeof(T)); in test_xts()
365 memcpy(T, Torg, sizeof(T)); in test_xts()
393 memcpy(T, Torg, sizeof(T)); in test_xts_split()
405 memcpy(T, Torg, sizeof(T)); in test_xts_split()
439 memcpy(T + BAD_ALIGN, Torg, 16); in test_xts_unaligned()
449 memcpy(T, Torg, 16); in test_xts_unaligned()
459 memcpy(T, Torg, 16); in test_xts_unaligned()
470 memcpy(T + BAD_ALIGN, Torg, 16); in test_xts_unaligned()
480 memcpy(T, Torg, 16); in test_xts_unaligned()
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/message/
H A Dpack.hpp72 template <typename T>
94 PackBytes<T>(out, t); in op()
101 template <typename... T>
102 struct PackSingle<std::tuple<T...>>
189 template <typename T>
190 struct PackSingle<std::optional<T>>
204 template <typename T, size_t N>
205 struct PackSingle<std::array<T, N>>
223 template <typename T>
224 struct PackSingle<std::vector<T>>
[all …]
/openbmc/linux/rust/alloc/
H A Draw_vec.rs54 ptr: Unique<T>,
59 impl<T> RawVec<T, Global> {
106 impl<T, A: Allocator> RawVec<T, A> {
255 pub fn ptr(&self) -> *mut T { in ptr() argument
280 let _: () = const { assert!(mem::size_of::<T>() % mem::align_of::<T>() == 0) }; in current_memory()
318 slf: &mut RawVec<T, A>, in reserve() argument
400 impl<T, A: Allocator> RawVec<T, A> {
426 if T::IS_ZST { in grow_amortized()
452 if T::IS_ZST { in grow_exact()
473 let _: () = const { assert!(mem::size_of::<T>() % mem::align_of::<T>() == 0) }; in shrink()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv50.c88 T(CWL) = T(CL) - 1; in nv50_ram_timing_calc()
98 timing[6] = (0x2d + T(CL) - T(CWL) + in nv50_ram_timing_calc()
101 (0x2f + T(CL) - T(CWL)); in nv50_ram_timing_calc()
104 timing[6] = (0x2b + T(CL) - T(CWL)) << 16 | in nv50_ram_timing_calc()
106 (0x2e + T(CL) - T(CWL)); in nv50_ram_timing_calc()
109 timing[0] = (T(RP) << 24 | T(RAS) << 16 | T(RFC) << 8 | T(RC)); in nv50_ram_timing_calc()
110 timing[1] = (T(WR) + 1 + T(CWL)) << 24 | in nv50_ram_timing_calc()
112 (T(WTR) + 1 + T(CWL)) << 8 | in nv50_ram_timing_calc()
113 (3 + T(CL) - T(CWL)); in nv50_ram_timing_calc()
126 max_t(u8, T(RCDRD), T(RCDWR)) << 16 | in nv50_ram_timing_calc()
[all …]
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/
H A Dconversion.hpp29 template <typename T>
33 std::decay_t<T>>)&&!std::same_as<std::nullptr_t, T>;
40 template <typename T>
49 template <typename T>
53 template <typename T>
56 template <typename T>
59 template <typename T>
75 !(unsigned_integral_except_bool<T> || std::signed_integral<T> ||
76 std::same_as<bool, T> || std::floating_point<T> || string_like_type<T> ||
77 pointer_type<T> || sdbusplus_enum<T> || exception_type<T> ||
[all …]
H A Dheader.hpp19 template <typename T>
20 consteval header_str(const T& s) : value(s) in header_str()
71 template <typename T>
74 using type = T;
78 template <maybe_constexpr_string T>
79 struct header_str_conversion<T>
85 template <typename T>
86 using header_str_conversion_t = typename header_str_conversion<T>::type;
H A Dconcepts.hpp10 template <typename T, typename... Ss>
11 concept any_but = (... && !std::convertible_to<T, Ss>);
14 template <typename T>
15 concept maybe_constexpr_string = std::is_array_v<std::remove_cvref_t<T>> &&
16 std::same_as<const char*, std::decay_t<T>>;
19 template <typename T>
20 concept not_constexpr_string = (!maybe_constexpr_string<T>);
/openbmc/phosphor-fan-presence/control/
H A Dfunctor.hpp28 template <typename T>
29 auto make_zoneHandler(T&& handler) in make_zoneHandler()
41 template <typename T>
42 auto make_trigger(T&& trigger) in make_trigger()
54 template <typename T, typename U>
67 template <typename T>
68 auto make_action(T&& action) in make_action()
82 template <typename T, typename U>
200 template <typename T, typename U>
215 template <typename T, typename U>
[all …]
H A Dhandlers.hpp26 template <typename T>
27 auto setZoneProperty(const char* intf, const char* prop, T (Zone::*func)(T), in setZoneProperty() argument
28 T&& value, bool persist) in setZoneProperty()
30 return [=, value = std::forward<T>(value)](auto& zone) { in setZoneProperty()
51 template <typename T>
54 return [](auto& zone, auto& path, auto& intf, auto& prop, T&& arg) { in setProperty()
55 zone.setPropertyValue(path, intf, prop, std::forward<T>(arg)); in setProperty()
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dconfig2csv.sh33 T=`mktemp -d /tmp/config2latex.sh.XXXXXX`
36 cat << '---EOF---' >> $T/p.awk
41 echo ' s["'$i'"] = 1;' >> $T/p.awk
42 grep -v '^#' < $i | grep -v '^ *$' > $T/p
45 tr -s ' ' '\012' < $i.boot | grep -v '^#' >> $T/p
47 sed -e 's/^[^=]*$/&=?/' < $T/p |
48 sed -e 's/^\([^=]*\)=\(.*\)$/\tp["\1:'"$i"'"] = "\2";\n\tc["\1"] = 1;/' >> $T/p.awk
50 cat << '---EOF---' >> $T/p.awk
65 awk -f $T/p.awk < /dev/null > $T/p.csv
66 cp $T/p.csv $csvout
H A Dkvm.sh302 touch $T/cfgcpu
340 echo $configs_derep | awk -f $T/cfgcpu.awk > $T/cfgcpu
341 sort -k2nr $T/cfgcpu -T="$T" > $T/cfgcpu.sort
344 awk < $T/cfgcpu.sort > $T/cfgcpu.pack -v ncpus=$cpus '
442 kvm-get-cpus-script.sh $T/cpuarray.awk $T/dumpbatches.awk
584 -f $T/dumpbatches.awk >> $T/script
597 }' > $T/batches
616 }' > $T/scenarios
620 cat $T/script
636 cat $T/batches
[all …]
H A Dkvm-test-1-run-batch.sh16 T="`mktemp -d ${TMPDIR-/tmp}/kvm-test-1-run-batch.sh.XXXXXX`"
45 grep '^#' $1/qemu-cmd | sed -e 's/^# //' > $T/qemu-cmd-settings
46 . $T/qemu-cmd-settings
52 kvm-assign-cpus.sh /sys/devices/system/node > $T/cpuarray.awk
58 kvm-get-cpus-script.sh $T/cpuarray.awk $T/cpubatches.awk $T/cpustate
59 cat << ' ___EOF___' >> $T/cpubatches.awk
78 affinity_export="`awk -f $T/cpubatches.awk -v cpu_count="$cpu_count" -v scenario=$i < /dev/null`"
/openbmc/sdbusplus/include/sdbusplus/message/
H A Dnative_types.hpp178 template <typename T>
184 template <typename T>
187 static std::string op(T) = delete;
200 template <typename T>
215 template <typename T>
216 std::string convert_to_string(T t) in convert_to_string()
224 template <typename T>
225 auto has_convert_from_string_helper(T)
230 template <typename T>
235 template <typename T>
[all …]
/openbmc/phosphor-logging/lib/include/phosphor-logging/
H A Dlog.hpp71 template <typename T, size_t... I>
72 void helper_log(T&& e, std::integer_sequence<size_t, I...>) in helper_log()
77 sd_journal_send(std::get<I>(std::forward<T>(e))..., NULL); in helper_log()
86 template <typename T>
87 void log(T&& e) in log()
89 constexpr auto e_size = std::tuple_size<std::decay_t<T>>::value; in log()
95 template <class T>
99 (std::is_pointer<typename std::decay<T>::type>::value &&
105 template <class T>
112 typename std::remove_reference<T>::type>::value ||
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/
H A D0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch20 @@ -77,37 +77,37 @@ template <typename T, typename U>
21 __attribute__((always_inline)) static inline T toku_sync_fetch_and_add(T *addr,
27 template <typename T, typename U>
28 __attribute__((always_inline)) static inline T toku_sync_add_and_fetch(T *addr,
34 template <typename T, typename U>
35 __attribute__((always_inline)) static inline T toku_sync_fetch_and_sub(T *addr,
41 template <typename T, typename U>
42 __attribute__((always_inline)) static inline T toku_sync_sub_and_fetch(T *addr,
48 template <typename T, typename U, typename V>
50 T *addr, U oldval, V newval) {
[all …]
/openbmc/dbus-sensors/src/
H A DVariantVisitors.hpp30 template <typename T>
31 U operator()(const T& t) const in operator ()()
33 if constexpr (std::is_arithmetic_v<T>) in operator ()()
39 boost::typeindex::type_id<T>().pretty_name() + " to " + in operator ()()
54 template <typename T>
55 std::string operator()(const T& t) const in operator ()()
57 if constexpr (std::is_same_v<T, std::string>) in operator ()()
61 else if constexpr (std::is_arithmetic_v<T>) in operator ()()
67 boost::typeindex::type_id<T>().pretty_name() + " to string"); in operator ()()
/openbmc/qemu/pc-bios/
H A Dqemu_vga.ndrv13TF>T�>T�>T>H������<`ps8up|��A���@��@<`in8tf|��A���@��<`de8vt|��A��`H���<`lp8wr|��A�…
14 …|�����N�� |��������!��|~x;�D8b�8�tK�����N(���@�� 8`��H����(|��4T��~���8`����H8!�@|…
15 …qT~>�����`��x8���8��8H� �`���8b ���x��xK����|���8|�@A�� 8`��H��H��T|�@@����h|�@A���…
18 …�T>K��yT}>�����`��x8���8��8H� �`�����8|�@A�� 8`��H��X��`|�@@����T|�@@����h|�@A��(…
21 …@@�� 8`��H���,���@�� 8`��H��8c��8��@8��<H� %`���,��A�� 8`��H����T>K��5T>�}��8c����x8�…
23 |���8K��a�@8�T���|��8����}�����}����}����}����}����}���<`�H8����}�����}����…
31 …���!��;�D8b DK���8����N��*(���A��H�1`���8b TK���H��@8b |K���K��E|`�4T��>��D��D��((���A�…
33 …�8`�8��?K���8`�8��?K���8�D���p��H8!�@|�����N�� ����8������8���H��$T�>T`>|�@@�� �e�N�� …
35 …`��H��a�<8��|���<��x8��8��8K���|yA��܀�8T���88���H����|����T��A����e�W@>|�@@�…
/openbmc/linux/scripts/coccinelle/api/alloc/
H A Dzalloc-simple.cocci31 type T, T2;
48 type T, T2;
131 type T, T2;
145 type T, T2;
175 type T, T2;
205 type T, T2;
235 type T, T2;
265 type T, T2;
295 type T, T2;
325 type T, T2;
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dpropertywatchimpl.hpp137 template <typename T, typename DBusInterfaceType>
138 void PropertyWatchOfType<T, DBusInterfaceType>::updateProperties( in updateProperties()
149 template <typename T, typename DBusInterfaceType>
152 const PropertiesChanged<T>& properties) in propertiesChanged()
168 auto value = std::get<T>(p.second); in propertiesChanged()
190 template <typename T, typename DBusInterfaceType>
195 PropertiesChanged<T> properties; in propertiesChanged()
200 template <typename T, typename DBusInterfaceType>
201 void PropertyWatchOfType<T, DBusInterfaceType>::interfacesAdded( in interfacesAdded()
210 template <typename T, typename DBusInterfaceType>
[all …]
/openbmc/linux/tools/perf/tests/
H A Dmem2node.c22 #define T TEST_ASSERT_VAL macro
62 T("failed: alloc bitmap", in test__mem2node()
66 T("failed: mem2node__init", !mem2node__init(&map, &env)); in test__mem2node()
67 T("failed: mem2node__node", 0 == mem2node__node(&map, 0x50)); in test__mem2node()
68 T("failed: mem2node__node", 1 == mem2node__node(&map, 0x100)); in test__mem2node()
69 T("failed: mem2node__node", 1 == mem2node__node(&map, 0x250)); in test__mem2node()
70 T("failed: mem2node__node", 3 == mem2node__node(&map, 0x500)); in test__mem2node()
71 T("failed: mem2node__node", 3 == mem2node__node(&map, 0x650)); in test__mem2node()
72 T("failed: mem2node__node", -1 == mem2node__node(&map, 0x450)); in test__mem2node()
73 T("failed: mem2node__node", -1 == mem2node__node(&map, 0x1050)); in test__mem2node()
/openbmc/telemetry/tests/src/
H A Ddbus_environment.hpp44 template <class T, class F>
45 static T waitForFutures(std::vector<std::future<T>> futures, T init, in waitForFutures()
78 template <class T>
79 static T waitForFuture(std::future<T> future, in waitForFuture()
82 std::vector<std::future<T>> futures; in waitForFuture()
86 std::move(futures), T{}, in waitForFuture()
96 template <class T>
97 static T getProperty(const std::string& path, in getProperty()
101 auto propertyPromise = std::promise<T>(); in getProperty()
103 sdbusplus::asio::getProperty<T>( in getProperty()
[all …]
/openbmc/entity-manager/src/
H A Dvariant_visitors.hpp25 template <typename T>
26 int operator()(const T& t) const in operator ()()
28 if constexpr (std::is_arithmetic_v<T>) in operator ()()
38 template <typename T>
39 std::string operator()(const T& t) const in operator ()()
41 if constexpr (std::is_same_v<T, std::string>) in operator ()()
45 else if constexpr (std::is_arithmetic_v<T>) in operator ()()
/openbmc/linux/rust/alloc/vec/
H A Dis_zero.rs45 unsafe impl<T> IsZero for *const T { implementation
52 unsafe impl<T> IsZero for *mut T { implementation
59 unsafe impl<T: IsZero, const N: usize> IsZero for [T; N] {
106 unsafe impl<T: ?Sized> IsZero for Option<&T> {
113 unsafe impl<T: ?Sized> IsZero for Option<Box<T>> {
170 unsafe impl<T: IsZero> IsZero for Wrapping<T> {
177 unsafe impl<T: IsZero> IsZero for Saturating<T> {

12345678910>>...45