Home
last modified time | relevance | path

Searched refs:N (Results 1 – 25 of 478) sorted by relevance

12345678910>>...20

/openbmc/qemu/target/loongarch/
H A Dvec.h45 #define DO_DIVU(N, M) (unlikely(M == 0) ? 0 : N / M) argument
46 #define DO_REMU(N, M) (unlikely(M == 0) ? 0 : N % M) argument
47 #define DO_DIV(N, M) (unlikely(M == 0) ? 0 :\ argument
48 unlikely((N == -N) && (M == (__typeof(N))(-1))) ? N : N / M)
49 #define DO_REM(N, M) (unlikely(M == 0) ? 0 :\ argument
50 unlikely((N == -N) && (M == (__typeof(N))(-1))) ? 0 : N % M)
56 #define DO_CLO_B(N) (clz32(~N & 0xff) - 24) argument
57 #define DO_CLO_H(N) (clz32(~N & 0xffff) - 16) argument
58 #define DO_CLO_W(N) (clz32(~N)) argument
59 #define DO_CLO_D(N) (clz64(~N)) argument
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-qht.c11 #define N 5000 macro
14 static int32_t arr[N * 2];
159 for (i = 0; i < N; i++) { in iter_rm_mod_check()
198 insert(0, N); in qht_do_test()
199 check(0, N, true); in qht_do_test()
200 check_n(N); in qht_do_test()
201 check(-N, -1, false); in qht_do_test()
202 iter_check(N); in qht_do_test()
205 check_n(N - 1); in qht_do_test()
206 insert(N, N * 2); in qht_do_test()
[all …]
/openbmc/qemu/tests/tcg/loongarch64/
H A Dtest_bit.c5 #define TEST_CLO(N) \ argument
6 static uint64_t test_clo_##N(uint64_t rj) \
10 asm volatile("clo."#N" %0, %1\n\t" \
17 #define TEST_CLZ(N) \ argument
18 static uint64_t test_clz_##N(uint64_t rj) \
22 asm volatile("clz."#N" %0, %1\n\t" \
29 #define TEST_CTO(N) \ argument
30 static uint64_t test_cto_##N(uint64_t rj) \
34 asm volatile("cto."#N" %0, %1\n\t" \
41 #define TEST_CTZ(N) \ argument
[all …]
H A Dtest_div.c5 #define TEST_DIV(N, M) \ argument
6 static void test_div_ ##N(uint ## M ## _t rj, \
12 asm volatile("div."#N" %0,%1,%2\n\t" \
19 #define TEST_MOD(N, M) \ argument
20 static void test_mod_ ##N(uint ## M ## _t rj, \
26 asm volatile("mod."#N" %0,%1,%2\n\t" \
H A Dtest_pcadd.c5 #define TEST_PCADDU(N) \ argument
6 void test_##N(int a) \
12 asm volatile(""#N" %0, 0x104\n\t" \
13 ""#N" %1, 0x12345\n\t" \
17 if (!strcmp(#N, "pcalau12i")) { \
H A Dtest_fclass.c15 #define TEST_FCLASS(N) \ argument
16 void test_fclass_##N(long s) \
21 asm volatile("fclass."#N" %0, %2\n\t" \
22 "movfr2gr."#N" %1, %2\n\t" \
39 printf("fclass."#N" test failed.\n"); \
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0021-gentypes-genmodes-Do-not-use-__LINE__-for-maintainin.patch84 #define _SPECIAL_MODE(C, N) \
85 - make_special_mode (MODE_##C, #N, __FILE__, __LINE__)
86 + make_special_mode (MODE_##C, #N, __FILE__, 0)
87 #define RANDOM_MODE(N) _SPECIAL_MODE (RANDOM, N)
88 #define CC_MODE(N) _SPECIAL_MODE (CC, N)
92 #define INT_MODE(N, Y) FRACTIONAL_INT_MODE (N, -1U, Y)
93 #define FRACTIONAL_INT_MODE(N, B, Y) \
94 - make_int_mode (#N, B, Y, __FILE__, __LINE__)
95 + make_int_mode (#N, B, Y, __FILE__, 0)
102 #define FRACT_MODE(N, Y, F) \
[all …]
/openbmc/qemu/target/hexagon/
H A Dmacros.h254 #define fVSATUVALN(N, VAL) \ argument
256 (((int64_t)(VAL)) < 0) ? 0 : ((1LL << (N)) - 1); \
258 #define fSATUVALN(N, VAL) \ argument
261 ((VAL) < 0) ? 0 : ((1LL << (N)) - 1); \
263 #define fSATVALN(N, VAL) \ argument
266 ((VAL) < 0) ? (-(1LL << ((N) - 1))) : ((1LL << ((N) - 1)) - 1); \
268 #define fVSATVALN(N, VAL) \ argument
270 ((VAL) < 0) ? (-(1LL << ((N) - 1))) : ((1LL << ((N) - 1)) - 1); \
272 #define fZXTN(N, M, VAL) (((N) != 0) ? extract64((VAL), 0, (N)) : 0LL) argument
273 #define fSXTN(N, M, VAL) (((N) != 0) ? sextract64((VAL), 0, (N)) : 0LL) argument
[all …]
/openbmc/sdbusplus/include/sdbusplus/utility/
H A Dtype_traits.hpp33 template <std::size_t N, typename FirstArg, typename... Rest>
36 template <std::size_t N, typename FirstArg, typename... Rest>
37 struct strip_first_n_args<N, std::tuple<FirstArg, Rest...>> :
38 strip_first_n_args<N - 1, std::tuple<Rest...>>
46 template <std::size_t N>
47 struct strip_first_n_args<N, std::tuple<>>
52 template <std::size_t N, typename... Args>
53 using strip_first_n_args_t = typename strip_first_n_args<N, Args...>::type;
95 template <std::size_t N, std::size_t... Is>
96 constexpr std::array<char, N - 2> strip_ends(const std::array<char, N>& s, in strip_ends()
[all …]
/openbmc/telemetry/src/utils/
H A Dconversion.hpp15 template <size_t N>
18 constexpr ConstexprString(const char (&data)[N]) : s() in ConstexprString()
20 for (size_t i = 0; i < N; ++i) in ConstexprString()
31 std::array<char, N> s;
59 template <class T, size_t N>
61 std::array<std::pair<std::string_view, T>, N> data) in minEnumValue()
74 template <class T, size_t N>
76 std::array<std::pair<std::string_view, T>, N> data) in maxEnumValue()
89 template <class T, size_t N>
90 inline T toEnum(const std::array<std::pair<std::string_view, T>, N>& data, in toEnum()
[all …]
/openbmc/phosphor-host-ipmid/include/ipmid/message/
H A Dunpack.hpp163 template <bitcount_t N>
164 struct UnpackSingle<fixed_uint_t<N>>
166 static int op(Payload& p, fixed_uint_t<N>& t) in op()
168 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op()
169 constexpr size_t count = N; in op()
176 t = (p.bitStream & bitmask).convert_to<fixed_uint_t<N>>(); in op()
204 template <size_t N>
205 struct UnpackSingle<std::bitset<N>>
207 static int op(Payload& p, std::bitset<N>& t) in op()
209 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op()
[all …]
H A Dtypes.hpp32 template <bitcount_t N>
35 N, N, boost::multiprecision::unsigned_magnitude,
38 template <bitcount_t N>
41 N, N, boost::multiprecision::signed_magnitude,
90 template <bitcount_t N>
93 static constexpr bitcount_t value = N;
H A Dpack.hpp137 template <bitcount_t N>
138 struct PackSingle<fixed_uint_t<N>>
140 static int op(Payload& p, const fixed_uint_t<N>& t) in op()
142 size_t count = N; in op()
143 static_assert(N <= (details::bitStreamSize - CHAR_BIT)); in op()
144 static_assert(N <= std::numeric_limits<uint64_t>::digits, in op()
170 template <size_t N>
171 struct PackSingle<std::bitset<N>>
173 static int op(Payload& p, const std::bitset<N>& t) in op()
175 size_t count = N; in op()
[all …]
/openbmc/qemu/tests/tcg/alpha/
H A Dtest-cond.c5 #define TEST_COND(N) \ argument
6 int test_##N (long a) \
10 asm ("cmov"#N" %1,$31,%0" \
17 #define TEST_COND(N) \ argument
18 int test_##N (long a) \
22 asm ("b"#N" %1,1f\n\t" \
/openbmc/qemu/target/hexagon/imported/
H A Dmpy.idef203 #define vmac_sema(N)\
204 { fSETWORD(0,RddV,fSAT(fSCALE(N,fMPY16SS(fGETHALF(0,RsV),fGETHALF(0,RtV)))));\
205 fSETWORD(1,RddV,fSAT(fSCALE(N,fMPY16SS(fGETHALF(1,RsV),fGETHALF(1,RtV)))));\
212 #define vmac_sema(N)\
213 { fSETWORD(0,RxxV,fSAT(fGETWORD(0,RxxV) + fSCALE(N,fMPY16SS(fGETHALF(0,RsV),fGETHALF(0,RtV)))));\
214 fSETWORD(1,RxxV,fSAT(fGETWORD(1,RxxV) + fSCALE(N,fMPY16SS(fGETHALF(1,RsV),fGETHALF(1,RtV)))));\
220 #define vmac_sema(N)\
221 { fSETWORD(0,RddV,fSAT(fSCALE(N,fMPY16SU(fGETHALF(0,RsV),fGETUHALF(0,RtV)))));\
222 fSETWORD(1,RddV,fSAT(fSCALE(N,fMPY16SU(fGETHALF(1,RsV),fGETUHALF(1,RtV)))));\
229 #define vmac_sema(N)\
[all …]
/openbmc/u-boot/scripts/kconfig/tests/choice/
H A Doldask0_expected_stdout6 optional boolean choice [N/y/?] (NEW)
8 choice 0 (TRI_CHOICE0) [N/m/?] (NEW)
9 choice 1 (TRI_CHOICE1) [N/m/?] (NEW)
10 optional tristate choice [N/m/y/?] (NEW)
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/
H A Dconfig5 # Q: Should we disallow root login on tty's 1-6? [N]
15 # Q: Should we restrict console access to a small group of user accounts? [N]
19 # Q: Would you like to put limits on system resource usage? [N]
21 # Q: Would you like to set more restrictive permissions on the administration utilities? [N]
31 # Q: Should Bastille run the firewall and enable it at boot time? [N]
33 # Q: Would you like to run the packet filtering script? [N]
57 # Q: Force passive mode? [N]
58 Firewall.ip_s_passiveftp="N"
81 # Q: Would you like to set up process accounting? [N]
82 Logging.pacct="N"
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dmve_helper.c839 #define DO_CLS_B(N) (clrsb32(N) - 24) argument
840 #define DO_CLS_H(N) (clrsb32(N) - 16) argument
846 #define DO_CLZ_B(N) (clz32(N) - 24) argument
847 #define DO_CLZ_H(N) (clz32(N) - 16) argument
860 #define DO_NOT(N) (~(N)) argument
864 #define DO_ABS(N) ((N) < 0 ? -(N) : (N)) argument
865 #define DO_FABSH(N) ((N) & dup_const(MO_16, 0x7fff)) argument
866 #define DO_FABSS(N) ((N) & dup_const(MO_32, 0x7fffffff)) argument
876 #define DO_NEG(N) (-(N)) argument
877 #define DO_FNEGH(N) ((N) ^ dup_const(MO_16, 0x8000)) argument
[all …]
/openbmc/qemu/tests/tcg/aarch64/
H A Dsve-str.c4 #define N (256 + 16) macro
8 unsigned char buf[N]; in test()
11 for (int i = 0; i < N; ++i) { in test()
28 for (int i = vl; i < N; ++i) { in test()
/openbmc/u-boot/scripts/dtc/
H A Dsrcpos.h81 #define YYLLOC_DEFAULT(Current, Rhs, N) \ argument
83 if (N) { \
86 (Current).last_line = YYRHSLOC(Rhs, N).last_line; \
87 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
88 (Current).file = YYRHSLOC(Rhs, N).file; \
/openbmc/openbmc/poky/scripts/contrib/bb-perf/
H A Dbuildstats-plot.sh41 N=10
55 -n N Top N recipes to display. Ignored if -S is present
56 (default: "$N")
80 N="$OPTARG"
132 cat $OUTBUILDSTATS | sed -e '1d' -e 's/_/\\\\_/g' | sort -k3 -n -r | head -$N > $OUTDATA_FILE
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/
H A Dlog_phase_fault.md11 - An "N+2" regulator has two redundant phases
12 - An "N+1" regulator has one redundant phase
22 | n+1 | An "N+2" regulator has lost one redundant phase. The regulator is now at redundancy level …
23 | n | Regulator has lost all redundant phases. The regulator is now at redundancy level N. …
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutility.hpp46 template <std::size_t N, typename FirstArg, typename... Rest>
49 template <std::size_t N, typename FirstArg, typename... Rest>
50 struct StripFirstArgs<N, std::tuple<FirstArg, Rest...>> :
51 StripFirstArgs<N - 1, std::tuple<Rest...>>
59 template <std::size_t N>
60 struct StripFirstArgs<N, std::tuple<>>
/openbmc/openbmc/poky/meta/recipes-core/sysvinit/sysvinit/
H A Dbootlogd.init90 N=${0##*/}
91 N=${N#[SK]??}
92 echo "Usage: $N {start|stop|status|restart|force-reload}" >&2
/openbmc/u-boot/scripts/kconfig/tests/auto_submenu/
H A Dexpected_stdout3 A1_0 (A0_0) [N/y/?] (NEW)
9 B (B) [N/y/?] (NEW)
10 C (C) [N/y/?] (NEW)

12345678910>>...20