Home
last modified time | relevance | path

Searched full:foo (Results 1 – 25 of 1145) sorted by relevance

12345678910>>...46

/openbmc/u-boot/test/env/
H A Dattr.c17 ut_assertok(env_attr_lookup("foo:bar", "foo", attrs)); in env_test_attrs_lookup()
20 ut_assertok(env_attr_lookup(",foo:bar", "foo", attrs)); in env_test_attrs_lookup()
23 ut_assertok(env_attr_lookup(",foo:bar,", "foo", attrs)); in env_test_attrs_lookup()
26 ut_assertok(env_attr_lookup(" foo:bar", "foo", attrs)); in env_test_attrs_lookup()
29 ut_assertok(env_attr_lookup("foo : bar", "foo", attrs)); in env_test_attrs_lookup()
32 ut_assertok(env_attr_lookup(" foo: bar ", "foo", attrs)); in env_test_attrs_lookup()
35 ut_assertok(env_attr_lookup("foo:bar ", "foo", attrs)); in env_test_attrs_lookup()
38 ut_assertok(env_attr_lookup(",foo:bar,goo:baz", "foo", attrs)); in env_test_attrs_lookup()
41 ut_asserteq(-ENOENT, env_attr_lookup(",,", "foo", attrs)); in env_test_attrs_lookup()
43 ut_asserteq(-ENOENT, env_attr_lookup("goo:baz", "foo", attrs)); in env_test_attrs_lookup()
[all …]
/openbmc/linux/Documentation/driver-api/driver-model/
H A Ddesign-patterns.rst24 struct foo {
31 struct foo *foo;
33 foo = devm_kzalloc(dev, sizeof(*foo), GFP_KERNEL);
34 if (!foo)
36 spin_lock_init(&foo->lock);
40 This will create an instance of struct foo in memory every time probe() is
46 pass around a pointer to struct foo like this::
50 struct foo *foo = arg;
56 struct foo *foo;
59 ret = request_irq(irq, foo_handler, 0, "foo", foo);
[all …]
/openbmc/openbmc/poky/bitbake/lib/bb/tests/
H A Ddata.py43 self.d["foo"] = "value_of_foo"
48 val = self.d.expand("${foo}")
52 val = self.d.expand("${${foo}}")
56 val = self.d.expand("${${foo}} ${bar}")
69 val = self.d.expand("${@2*2},${foo},${@d.getVar('foo') + ' ${bar}'},${foo}")
70 … self.assertEqual(str(val), "4,value_of_foo,${@d.getVar('foo') + ' ${unsetvar}'},value_of_foo")
73 val = self.d.expand("${@'boo ' + '${foo}'}")
77 val = self.d.expand("${@d.getVar('foo') + ' ${bar}'}")
94 val = self.d.expand("${@d.getVar('foo') + ' ${bar}'}")
95 self.assertEqual(str(val), "${@d.getVar('foo') + ' ${unsetvar}'}")
[all …]
H A Dcodeparser.py50 self.setEmptyVars(["FOO"])
51 self.parseExpression("${FOO}")
52 self.assertReferences(set(["FOO"]))
56 self.d.setVar("FOO", "BAR")
57 self.parseExpression("${${FOO}}")
58 self.assertReferences(set(["FOO", "BAR"]))
62 self.parseExpression("${@d.getVar('BAR') + 'foo'}")
81 self.parseExpression('foo=foo"bar"baz')
89 self.parseExpression("sed -i -e s,foo,bar,g \\\n *.pc")
93 self.parseExpression('sed -i -e "foo$" *.pc')
[all …]
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_effecter/good/
H A Deffecter_pdr.json7 "entity_path": "/xyz/openbmc_project/foo",
19 "path": "/foo/bar",
20 "interface": "xyz.openbmc_project.Foo.Bar",
24 "xyz.openbmc_project.Foo.Bar.V1"
35 "path": "/foo/bar",
36 "interface": "xyz.openbmc_project.Foo.Bar",
40 "xyz.openbmc_project.Foo.Bar.V1",
41 "xyz.openbmc_project.Foo.Bar.V2"
48 "entity_path": "/xyz/openbmc_project/foo",
60 "path": "/foo/bar",
[all …]
/openbmc/pldm/libpldmresponder/test/pdr_jsons/state_effecter/malformed/
H A Deffecter_pdr.json7 "entity_path": "/xyz/openbmc_project/foo",
21 "path": "/foo/bar",
22 "interface": "xyz.openbmc_project.Foo.Bar",
26 "xyz.openbmc_project.Foo.Bar.V1"
40 "path": "/foo/bar",
41 "interface": "xyz.openbmc_project.Foo.Bar",
45 "xyz.openbmc_project.Foo.Bar.V1",
46 "xyz.openbmc_project.Foo.Bar.V2"
53 "entity_path": "/xyz/openbmc_project/foo",
67 "path": "/foo/bar",
[all …]
/openbmc/pldm/libpldmresponder/examples/pdr/
H A Deffecter_pdr.json7 "entity_path": "/xyz/openbmc_project/foo",
19 "path": "/foo/bar",
20 "interface": "xyz.openbmc_project.Foo.Bar",
24 "xyz.openbmc_project.Foo.Bar.V1"
35 "path": "/foo/bar",
36 "interface": "xyz.openbmc_project.Foo.Bar",
40 "xyz.openbmc_project.Foo.Bar.V1",
41 "xyz.openbmc_project.Foo.Bar.V2"
48 "entity_path": "/xyz/openbmc_project/foo",
60 "path": "/foo/bar",
[all …]
/openbmc/linux/samples/trace_events/
H A Dtrace-events-sample.h70 * Here it is trace_foo_bar(char *foo, int bar).
73 * Here it is simply "foo, bar".
85 * __field(int, foo)
87 * __entry->foo = 5;
94 * __field_struct(struct bar, foo)
102 * __array( char, foo, 10) is the same as saying: char foo[10];
106 * __entry->foo[0] = 'a';
108 * memcpy(__entry->foo, bar, 10);
119 * __dynamic_array( int, foo, bar) is similar to: int foo[bar];
124 * memcpy(__get_dynamic_array(foo), bar, 10);
[all …]
/openbmc/phosphor-inventory-manager/test/
H A Dinterface_ops_test.cpp120 EXPECT_CALL(mock, constructWithoutProperties("foo")).Times(1); in TEST()
125 MakeInterface<DummyInterfaceWithoutProperties>::op(b, "foo", i, false); in TEST()
134 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST()
137 EXPECT_CALL(mock, constructWithoutProperties("foo")).Times(1); in TEST()
142 MakeInterface<DummyInterfaceWithoutProperties>::op(b, "foo", i, false); in TEST()
168 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST()
172 EXPECT_CALL(mock, constructWithProperties("foo", _, _)).Times(1); in TEST()
176 MakeInterface<DummyInterfaceWithProperties>::op(b, "foo", i, false); in TEST()
192 MakeInterface<DummyInterfaceWithoutProperties>::op(b, "foo", i, false); in TEST()
200 Interface i{{"foo"s, static_cast<int64_t>(1ll)}}; in TEST()
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/oelib/
H A Dlicense.py48 "FOO&BAR": ["FOO", "BAR"],
51 "BAZ&MOO|FOO": ["FOO"],
52 "FOO&BAR|BAZ": ["FOO", "BAR"],
54 preferred = ["ALPHA", "FOO", "BAR"]
69 "FOO & (BAR | BAZ)&MOO": ["FOO", "BAR", "MOO"],
71 "((ALPHA|BETA)&FOO)|BAZ": ["BETA", "FOO"],
78 ("FOO | BAR", None, None):
79 [True, ["FOO"]],
80 ("FOO | BAR", None, "FOO"):
82 ("FOO | BAR", "BAR", None):
[all …]
H A Dutils.py24 d.setVar("PN", "foo")
26 d.setVar("PACKAGES", "foo foo-doc foo-dev")
30 d.setVar("PACKAGES", "foo foo-doc foo-data foo-dev")
32 self.assertEqual(pkgs, ["foo-data"])
34 d.setVar("PACKAGES", "foo foo-locale-en-gb")
38 d.setVar("PACKAGES", "foo foo-data foo-locale-en-gb")
40 self.assertEqual(pkgs, ["foo-data"])
/openbmc/u-boot/doc/uImage.FIT/
H A Doverlay-fdt-boot.txt18 Take a hypothetical board named 'foo' where there are different supported
36 data = /incbin/("./foo-reva.dtb");
41 data = /incbin/("./foo-revb.dtb");
46 data = /incbin/("./foo-reva-bar.dtb");
51 data = /incbin/("./foo-revb-bar.dtb");
56 data = /incbin/("./foo-revb-baz.dtb");
61 data = /incbin/("./foo-revb-bar-baz.dtb");
68 default = "foo-reva.dtb;
69 foo-reva.dtb {
73 foo-revb.dtb {
[all …]
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-support/fcgiwrap/fcgiwrap/
H A D0001-Fix-implicit-fallthrough-warning.patch158 + int foo( void ) { return 0; }
159 + int bar( void ) __attribute__(($1("foo")));
162 + int foo( void ) __attribute__(($1(32)));
165 + void *foo(int a) __attribute__(($1(1)));
168 + inline __attribute__(($1)) int foo( void ) { return 0; }
171 + inline __attribute__(($1)) int foo( void ) { return 0; }
174 + int foo( void ) __attribute__(($1));
177 + int foo( void ) __attribute__(($1));
180 + int foo( void ) __attribute__((__constructor__(65535/2)));
183 + int foo( void ) __attribute__(($1));
[all …]
/openbmc/linux/samples/kobject/
H A Dkset-example.c18 * Then tree kobjects are created and assigned to this kset, "foo", "baz",
31 int foo; member
40 ssize_t (*show)(struct foo_obj *foo, struct foo_attribute *attr, char *buf);
41 ssize_t (*store)(struct foo_obj *foo, struct foo_attribute *attr, const char *buf, size_t count);
57 struct foo_obj *foo; in foo_attr_show() local
60 foo = to_foo_obj(kobj); in foo_attr_show()
65 return attribute->show(foo, attribute, buf); in foo_attr_show()
77 struct foo_obj *foo; in foo_attr_store() local
80 foo = to_foo_obj(kobj); in foo_attr_store()
85 return attribute->store(foo, attribute, buf, len); in foo_attr_store()
[all …]
/openbmc/linux/tools/memory-model/Documentation/
H A Daccess-marking.txt220 For example, ASSERT_EXCLUSIVE_ACCESS(foo) tells KCSAN that any
221 concurrent access to variable foo by any other CPU is an error, even
223 ASSERT_EXCLUSIVE_WRITER(foo) tells KCSAN that although it is OK for there
224 to be concurrent reads from foo from other CPUs, it is an error for some
225 other CPU to be concurrently writing to foo, even if that concurrent
246 For example, suppose a shared variable "foo" is read only while a
251 int foo;
257 foo = newval;
268 ret = foo;
275 pr_info("Current value of foo: %d\n", data_race(foo));
[all …]
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/
H A Dbootconfig.rst46 foo.bar.baz = value1
47 foo.bar.qux.quux = value2
51 foo.bar {
58 foo.bar { baz = value1; qux.quux = value2 }
68 foo = bar, baz
69 foo = qux # !错误! 我们不可以重定义相同的关键字
73 foo = bar, baz
74 foo := qux
76 这样 ``foo`` 关键字的值就变成了 ``qux`` 。这对于通过添加(部分)自定义引导
81 foo = bar, baz
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_attach_override.c7 #define FOO "/foo" macro
8 #define BAR "/foo/bar/"
28 int drop_prog = -1, allow_prog = -1, foo = -1, bar = -1; in serial_test_cgroup_attach_override() local
41 foo = test__join_cgroup(FOO); in serial_test_cgroup_attach_override()
42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n")) in serial_test_cgroup_attach_override()
45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_attach_override()
48 "attach prog to %s failed, errno=%d\n", FOO, errno)) in serial_test_cgroup_attach_override()
87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override()
89 "detach prog from %s failed, errno=%d\n", FOO, errno)) in serial_test_cgroup_attach_override()
111 if (CHECK(!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in serial_test_cgroup_attach_override()
[all …]
H A Dlinked_list.c87 "operation on bpf_list_head expects arg#1 bpf_list_node at offset=48 in struct foo, "
91 { "incorrect_node_off2", "arg#1 offset=0, but expected bpf_list_node at offset=48 in struct foo" },
298 foo_btf_id = btf__add_struct(btf, "foo", 20); in list_and_rb_node_same_struct()
299 if (!ASSERT_GT(foo_btf_id, 0, "btf__add_struct foo")) in list_and_rb_node_same_struct()
302 if (!ASSERT_OK(err, "btf__add_field foo::a")) in list_and_rb_node_same_struct()
305 if (!ASSERT_OK(err, "btf__add_field foo::b")) in list_and_rb_node_same_struct()
325 id = btf__add_struct(btf, "foo", 24); in test_btf()
326 if (!ASSERT_EQ(id, 5, "btf__add_struct foo")) in test_btf()
329 if (!ASSERT_OK(err, "btf__add_struct foo::a")) in test_btf()
332 if (!ASSERT_OK(err, "btf__add_struct foo::a")) in test_btf()
[all …]
/openbmc/openpower-pnor-code-mgmt/test/
H A Dtest_functions.cpp22 {"system-foo"s, {".EXT"s}}, in TEST()
24 std::vector<std::string> compatibleSystem{"system-foo"s}, extensions; in TEST()
37 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST()
38 extensions{"foo"s}; in TEST()
43 EXPECT_EQ(extensions, std::vector<std::string>{"foo"s}); in TEST()
50 {"system-foo"s, {".FOO"s}}, in TEST()
52 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST()
53 extensions{"foo"s}; in TEST()
58 EXPECT_EQ(extensions, std::vector<std::string>{".FOO"s}); in TEST()
64 std::vector<std::string> compatibleSystem{"system-foo"s}, in TEST()
[all …]
/openbmc/linux/tools/testing/selftests/ftrace/test.d/instances/
H A Dinstance-event.tc7 rmdir foo 2>/dev/null
29 mkdir foo 2> /dev/null
30 rmdir foo 2> /dev/null
36 cat foo/trace 1> /dev/null 2>&1
42 echo 1 > foo/events/sched/sched_switch/enable
69 mkdir foo
70 ls foo > /dev/null
71 rmdir foo
72 if [ -d foo ]; then
73 fail "foo still exists"
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D083.out4 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
8 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
12 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
16 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
20 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
24 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
28 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
32 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
36 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
40 qemu-io: can't open device nbd+tcp://127.0.0.1:PORT/foo
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_uprobe_from_different_cu.sh20 perf probe -x ${temp_dir}/testfile -d foo || true
34 cat > ${temp_dir}/testfile-foo.h << EOF
41 extern int foo (int i, struct t *t);
44 cat > ${temp_dir}/testfile-foo.c << EOF
45 #include "testfile-foo.h"
48 foo (int i, struct t *t)
59 #include "testfile-foo.h"
72 return foo (3, &g);
76 gcc -g -Og -flto -c ${temp_dir}/testfile-foo.c -o ${temp_dir}/testfile-foo.o
78 gcc -g -Og -o ${temp_dir}/testfile ${temp_dir}/testfile-foo.o ${temp_dir}/testfile-main.o
[all …]
/openbmc/entity-manager/test/
H A Dtest_entity-manager.cpp14 nlohmann::json j = {{"foo", "$bus"}}; in TEST()
22 EXPECT_EQ(expected, j["foo"]); in TEST()
27 nlohmann::json j = {{"foo", "$TEST"}}; in TEST()
35 EXPECT_EQ(expected, j["foo"]); in TEST()
40 nlohmann::json j = {{"foo", "the $TEST"}}; in TEST()
48 EXPECT_EQ(expected, j["foo"]); in TEST()
53 nlohmann::json j = {{"foo", "the $TEST worked"}}; in TEST()
61 EXPECT_EQ(expected, j["foo"]); in TEST()
66 nlohmann::json j = {{"foo", "the Test $TEST"}}; in TEST()
74 EXPECT_EQ(expected, j["foo"]); in TEST()
[all …]
/openbmc/boost-dbus/test/
H A DdbusPropertiesServer.cpp24 dbus::DbusObjectServer foo(system_bus); in TEST() local
26 EXPECT_EQ(foo.get_xml_for_path("/"), dbus_boilerplate + "<node></node>"); in TEST()
27 EXPECT_EQ(foo.get_xml_for_path(""), dbus_boilerplate + "<node></node>"); in TEST()
35 dbus::DbusObjectServer foo(system_bus); in TEST() local
37 foo.register_object(std::make_shared<dbus::DbusObject>( in TEST()
40 EXPECT_EQ(foo.get_xml_for_path("/"), dbus_boilerplate + in TEST()
43 EXPECT_EQ(foo.get_xml_for_path(""), dbus_boilerplate + in TEST()
47 EXPECT_EQ(foo.get_xml_for_path("/org"), in TEST()
51 EXPECT_EQ(foo.get_xml_for_path("/org/freedesktop"), in TEST()
56 /*EXPECT_EQ(foo.get_xml_for_path("/org/freedesktop/NetworkManager"), in TEST()
[all …]
/openbmc/linux/tools/perf/Documentation/
H A Dcallchain-overhead-calculation.txt24 void foo(void) {
30 foo();
39 In this case 'foo' is a child of 'bar', and 'bar' is an immediate
40 child of 'main' so 'foo' also is a child of 'main'. In other words,
41 'main' is a parent of 'foo' and 'bar', and 'bar' is a parent of 'foo'.
43 Suppose all samples are recorded in 'foo' and 'bar' only. When it's
50 60.00% foo
52 --- foo
65 child functions (i.e. 'foo' and 'bar') are added to the parents to
87 60.00% 60.00% foo
[all …]

12345678910>>...46