Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 2367) sorted by relevance

12345678910>>...95

/openbmc/qemu/include/migration/
H A Dqemu-file-types.h28 int qemu_file_get_error(QEMUFile *f);
30 void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, size_t size);
31 void qemu_put_byte(QEMUFile *f, int v);
35 void qemu_put_be16(QEMUFile *f, unsigned int v);
36 void qemu_put_be32(QEMUFile *f, unsigned int v);
37 void qemu_put_be64(QEMUFile *f, uint64_t v);
38 size_t coroutine_mixed_fn qemu_get_buffer(QEMUFile *f, uint8_t *buf, size_t size);
40 int qemu_get_byte(QEMUFile *f);
42 static inline unsigned int qemu_get_ubyte(QEMUFile *f) in qemu_get_ubyte() argument
44 return (unsigned int)qemu_get_byte(f); in qemu_get_ubyte()
[all …]
/openbmc/phosphor-logging/lib/include/phosphor-logging/lg2/
H A Dconversion.hpp93 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() argument
96 prohibit(f, floating); in log_convert()
97 prohibit(f, signed_val); in log_convert()
98 prohibit(f, str); in log_convert()
100 one_from_set(f, dec | hex | bin); in log_convert()
101 one_from_set(f, field8 | field16 | field32 | field64); in log_convert()
104 return std::make_tuple(h, (f | unsigned_val).value, in log_convert()
110 static auto log_convert(const char* h, log_flag<Fs...> f, V v) in log_convert() argument
113 prohibit(f, floating); in log_convert()
114 prohibit(f, str); in log_convert()
[all …]
/openbmc/u-boot/scripts/dtc/
H A Dtreesource.c37 yyin = current_srcfile->f; in dt_from_source()
49 static void write_prefix(FILE *f, int level) in write_prefix() argument
54 fputc('\t', f); in write_prefix()
64 static void write_propval_string(FILE *f, struct data val) in write_propval_string() argument
74 fprintf(f, "%s: ", m->ref); in write_propval_string()
77 fprintf(f, "\""); in write_propval_string()
84 fprintf(f, "\\a"); in write_propval_string()
87 fprintf(f, "\\b"); in write_propval_string()
90 fprintf(f, "\\t"); in write_propval_string()
93 fprintf(f, "\\n"); in write_propval_string()
[all …]
H A Dflattree.c117 static void emit_label(FILE *f, const char *prefix, const char *label) in emit_label() argument
119 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); in emit_label()
120 fprintf(f, "%s_%s:\n", prefix, label); in emit_label()
121 fprintf(f, "_%s_%s:\n", prefix, label); in emit_label()
124 static void emit_offset_label(FILE *f, const char *label, int offset) in emit_offset_label() argument
126 fprintf(f, "\t.globl\t%s\n", label); in emit_offset_label()
127 fprintf(f, "%s\t= . + %d\n", label, offset); in emit_offset_label()
130 #define ASM_EMIT_BELONG(f, fmt, ...) \ argument
132 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \
133 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \
[all …]
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_b.S8 bnone a2, a3, 1f
12 bnone a2, a3, 1f
13 j 2f
22 beq a2, a3, 1f
26 beq a2, a3, 1f
27 j 2f
36 blt a2, a3, 1f
40 blt a2, a3, 1f
44 blt a2, a3, 1f
45 j 2f
[all …]
H A Dtest_bi.S7 beqi a2, 7, 1f
11 beqi a2, 7, 1f
12 j 2f
20 bnei a2, 7, 1f
24 bnei a2, 7, 1f
25 j 2f
33 blti a2, 7, 1f
37 blti a2, 7, 1f
41 blti a2, 7, 1f
42 j 2f
[all …]
H A Dtest_bz.S7 _beqz a2, 1f
11 _beqz a2, 1f
12 j 2f
20 _bnez a2, 1f
24 _bnez a2, 1f
25 j 2f
33 bltz a2, 1f
37 bltz a2, 1f
38 j 2f
46 bgez a2, 1f
[all …]
H A Dtest_loop.S10 loop a3, 1f
18 loop a2, 1f
21 j 1f
28 loop a3, 1f
30 j 1f
38 loop a3, 1f
40 beqi a2, 3, 1f
48 movi a4, 1f
49 movi a5, 2f
54 j 1f
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/parse/
H A D__init__.py50 def cached_mtime(f): argument
51 if f not in __mtime_cache:
52 res = os.stat(f)
53 __mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
54 return __mtime_cache[f]
56 def cached_mtime_noerror(f): argument
57 if f not in __mtime_cache:
59 res = os.stat(f)
60 __mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
63 return __mtime_cache[f]
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch26 for f in ${tmake_file}
28 - if test -f ${srcdir}/config/$f
30 - tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
32 + case $f in
34 + if test -f ./config/$f
36 + tmake_file_="${tmake_file_} ./config/$f"
40 + if test -f ${srcdir}/config/$f
42 + tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
51 for f in $tm_file; do
52 case $f in
[all …]
/openbmc/qemu/target/hexagon/
H A Dgen_tcg_funcs.py47 def gen_tcg_func(f, tag, regs, imms): argument
48 f.write(f"static void generate_{tag}(DisasContext *ctx)\n")
49 f.write("{\n")
51 f.write(" Insn *insn G_GNUC_UNUSED = ctx->insn;\n")
54 f.write(" TCGv EA G_GNUC_UNUSED = tcg_temp_new();\n")
60 reg.decl_tcg(f, tag, i)
64 f.write(f" int {hex_common.imm_name(immlett)} = insn->immed[{i}];\n")
77 f.write(f" emit_{tag}({arguments});\n")
80 f.write(f" fGEN_TCG_{tag}({hex_common.semdict[tag]});\n")
92 f.write(f" gen_helper_{tag}({arguments});\n")
[all …]
H A Dgen_decodetree.py99 def gen_decodetree_file(f, class_to_decode): argument
101 f.write(f"## DO NOT MODIFY - This file is generated by {sys.argv[0]}\n\n")
103 f.write("%PP\t14:2\n\n")
110 f.write(("#" * 80) + "\n"
111 f"## {tag}:\t{enc_str}\n"
133 raise Exception(f"{tag} missing register field!")
135 raise Exception(f"{tag} has split register field!")
138 raise Exception(f"{tag} has incorrect register field width!")
140 f.write(f"%{tag}_{reg_type}{reg_id}\t"
141 f"{enc.index(reg_enc_field)}:{len(reg_enc_field)}")
[all …]
H A Dgen_analyze_funcs.py41 def gen_analyze_func(f, tag, regs, imms): argument
42 f.write(f"static void analyze_{tag}(DisasContext *ctx)\n")
43 f.write("{\n")
45 f.write(" Insn *insn G_GNUC_UNUSED = ctx->insn;\n")
48 f.write(
51 f.write(" ctx_start_hvx_insn(ctx);\n")
53 f.write(
61 reg.decl_reg_num(f, regno)
68 reg.analyze_read(f, regno)
75 reg.analyze_write(f, tag, regno)
[all …]
H A Dgen_trans_funcs.py50 def mark_which_imm_extended(f, tag): argument
57 f.write(code_fmt(f"""\
78 def gen_trans_funcs(f): argument
79 f.write(f"/* DO NOT MODIFY - This file is generated by {sys.argv[0]} */\n\n")
84 f.write(textwrap.dedent(f"""\
97 f.write(code_fmt(f"""\
111 mark_which_imm_extended(f, tag)
119 f.write(code_fmt(f"""\
125 f.write(code_fmt(f"""\
129 f.write(code_fmt(f"""\
[all …]
/openbmc/openbmc/meta-security/recipes-security/redhat-security/files/
H A Drpm-chksec.sh66 for f in $files
68 if [ ! -f "$f" ] ; then
71 if [ `echo "$f" | grep '\/etc\/rc.d\/init.d'` ] ; then
72 n=`basename "$f"`
83 t=`cat "$f" 2>/dev/null | grep 'bin' | grep 'exit 5' | grep -v '\$'`
89 echo "Can't find the executable in $f but daemon rules would apply"
91 elif [ `echo "$f" | grep '\/lib\/systemd\/'` ] ; then
92 t=`cat "$f" | grep -i '^ExecStart=' | tr '=' ' ' | awk '{ print $2 }'`
103 for f in $files
105 if [ ! -f "$f" ] ; then
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dchecksum.py26 def cached_mtime(self, f): argument
27 if f not in self.cache:
28 self.cache[f] = os.stat(f)[stat.ST_MTIME]
29 return self.cache[f]
31 def cached_mtime_noerror(self, f): argument
32 if f not in self.cache:
34 self.cache[f] = os.stat(f)[stat.ST_MTIME]
37 return self.cache[f]
39 def update_mtime(self, f): argument
40 self.cache[f] = os.stat(f)[stat.ST_MTIME]
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dsensor_info_record.py35 f"{sensor_id}: Lower thresholds violate IPMI spec\n"
36 f"lnr={lnr} lcr={lcr} lnc={lnc}"
41 f"- Error: {e}\n"
42 f"- Threshold Values:\n"
43 f" • Lower Non-Recoverable (lnr): {lnr}\n"
44 f" • Lower Critical (lcr): {lcr}\n"
45 f" • Lower Non-Critical (lnc): {lnc}\n"
58 f"{sensor_id}: Upper thresholds violate IPMI spec\n"
59 f"unc={unc} ucr={ucr} unr={unr}"
64 f"- Error: {e}\n"
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Dparse.py43 f = tempfile.NamedTemporaryFile(suffix = suffix)
44 f.write(bytes(content, "utf-8"))
45 f.flush()
46 os.chdir(os.path.dirname(f.name))
47 return f
50 f = self.parsehelper(self.testfile)
51 d = bb.parse.handle(f.name, self.d)['']
58 f = self.parsehelper(testfileB)
60 d = bb.parse.handle(f.name, self.d)['']
72 f = self.parsehelper(self.unsettest)
[all …]
/openbmc/openbmc/poky/meta/lib/bbconfigbuild/
H A Dconfigfragments.py59 def print_fragment(f, verbose, is_enabled): argument
61 print('{}\t{}'.format(f['name'], f['summary']))
63 …ummary: {}\nDescription:\n{}\n'.format(f['name'], f['path'], 'yes' if is_enabled else 'no', f['sum…
70 enabled_fragments = [f for f in fragments if f['name'] in all_enabled_fragments]
71 disabled_fragments = [f for f in fragments if f['name'] not in all_enabled_fragments]
76 for f in enabled_fragments:
77 print_fragment(f, args.verbose, is_enabled=True)
81 for f in disabled_fragments:
82 print_fragment(f, args.verbose, is_enabled=False)
87 for f in layerdata['fragments']:
[all …]
/openbmc/qemu/scripts/codeconverter/codeconverter/
H A Dtest_patching.py32 f = FileInfo(files, of.name)
33 f.load()
34 matches = f.matches_of_type(BasicPattern)
39 f.patches.append(p2.append('XXX'))
42 f.gen_patches(matches)
43 patched = f.get_patched_content()
72 f = FileInfo(files, of.name)
73 f.load()
74 assert len(f.matches_of_type(Function)) == 2
75 print(' '.join(m.name for m in f.matches_of_type(Statement)))
[all …]
/openbmc/qemu/include/qemu/
H A Dfutex.h35 static inline void qemu_futex_wake_all(void *f) in qemu_futex_wake_all() argument
37 qemu_futex(f, FUTEX_WAKE, INT_MAX, NULL, NULL, 0); in qemu_futex_wake_all()
40 static inline void qemu_futex_wake_single(void *f) in qemu_futex_wake_single() argument
42 qemu_futex(f, FUTEX_WAKE, 1, NULL, NULL, 0); in qemu_futex_wake_single()
45 static inline void qemu_futex_wait(void *f, unsigned val) in qemu_futex_wait() argument
47 while (qemu_futex(f, FUTEX_WAIT, (int) val, NULL, NULL, 0)) { in qemu_futex_wait()
61 static inline void qemu_futex_wake_all(void *f) in qemu_futex_wake_all() argument
63 WakeByAddressAll(f); in qemu_futex_wake_all()
66 static inline void qemu_futex_wake_single(void *f) in qemu_futex_wake_single() argument
68 WakeByAddressSingle(f); in qemu_futex_wake_single()
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dmemcpy.S67 blt 8f
70 bne 9f
72 bne 10f
76 blt 5f
81 CALGN( bcs 2f )
82 CALGN( adr r4, 6f )
89 PLD( blt 4f )
94 4: ldr8w r1, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
96 str8w r0, r3, r4, r5, r6, r7, r8, ip, lr, abort=20f
107 b 7f
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-opts-visitor.c36 setup_fixture(OptsVisitorFixture *f, gconstpointer test_data) in setup_fixture() argument
47 visit_type_UserDefOptions(v, NULL, &f->userdef, &f->err); in setup_fixture()
54 teardown_fixture(OptsVisitorFixture *f, gconstpointer test_data) in teardown_fixture() argument
56 qapi_free_UserDefOptions(f->userdef); in teardown_fixture()
57 error_free(f->err); in teardown_fixture()
63 void (*test_func)(OptsVisitorFixture *f, gconstpointer test_data), in add_test() argument
73 expect_ok(OptsVisitorFixture *f, gconstpointer test_data) in expect_ok() argument
75 g_assert(f->err == NULL); in expect_ok()
76 g_assert(f->userdef != NULL); in expect_ok()
81 expect_fail(OptsVisitorFixture *f, gconstpointer test_data) in expect_fail() argument
[all …]
/openbmc/openbmc-build-scripts/scripts/
H A Dbuild-unit-test-docker105 …lambda pkg, rev: f"https://github.com/boostorg/{pkg}/releases/download/{pkg}-{rev}/{pkg}-{rev}-cma…
111f" --prefix={prefix} --with-libraries=atomic,context,coroutine,filesystem,process,url"
114 f"./b2 install --prefix={prefix} valgrind=on",
120 build_steps=[f"cp -a include/cereal/ {prefix}/include/"],
128 url=lambda pkg, rev: f"https://github.com/DMTF/libspdm/archive/{rev}.tar.gz",
143 f"-DARCH={arch_mapping.get(__import__('platform').machine(), 'x64')}",
150 f"-DCOMPILED_LIBCRYPTO_PATH={prefix}/lib",
151 f"-DCOMPILED_LIBSSL_PATH={prefix}/lib",
177 f"mkdir {prefix}/include/function2",
178 f"cp include/function2/function2.hpp {prefix}/include/function2/",
[all …]
/openbmc/qemu/tests/tcg/tricore/asm/
H A Dtest_fadd.S5 TEST_D_DD_PSW(add.f, 1, 0x7fc00000, 0x00000b80, 0xffffff85, 0x00001234)
6 TEST_D_DD_PSW(add.f, 2, 0xf9c00000, 0x00000b80, 0xf9400000, 0xf9400000)
7 TEST_D_DD_PSW(add.f, 3, 0x8bb858ca, 0x00000b80, 0x8b3858ca, 0x8b3858ca)
8 TEST_D_DD_PSW(add.f, 4, 0x00000000, 0x00000b80, 0x000000ff, 0x00000000)
9 TEST_D_DD_PSW(add.f, 5, 0x7fc00000, 0x00000b80, 0xfffffe52, 0x0a4cf70c)
10 TEST_D_DD_PSW(add.f, 6, 0x9e6d5076, 0x84000b80, 0x9ded50ec, 0x9ded4fff)
11 TEST_D_DD_PSW(add.f, 7, 0x00000000, 0x04000b80, 0x0000e8bd, 0x00000000)
12 TEST_D_DD_PSW(add.f, 8, 0x7fc00000, 0xc4000b80, 0xffad546e, 0xffad546e)
13 TEST_D_DD_PSW(add.f, 9, 0x7fc00000, 0x04000b80, 0xfffe0000, 0x08130000)

12345678910>>...95