Home
last modified time | relevance | path

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

12345678910>>...51

/OK3568_Linux_fs/u-boot/test/env/
H A Dattr.c18 ut_assertok(env_attr_lookup("foo:bar", "foo", attrs)); in env_test_attrs_lookup()
21 ut_assertok(env_attr_lookup(",foo:bar", "foo", attrs)); in env_test_attrs_lookup()
24 ut_assertok(env_attr_lookup(",foo:bar,", "foo", attrs)); in env_test_attrs_lookup()
27 ut_assertok(env_attr_lookup(" foo:bar", "foo", attrs)); in env_test_attrs_lookup()
30 ut_assertok(env_attr_lookup("foo : bar", "foo", attrs)); in env_test_attrs_lookup()
33 ut_assertok(env_attr_lookup(" foo: bar ", "foo", attrs)); in env_test_attrs_lookup()
36 ut_assertok(env_attr_lookup("foo:bar ", "foo", attrs)); in env_test_attrs_lookup()
39 ut_assertok(env_attr_lookup(",foo:bar,goo:baz", "foo", attrs)); in env_test_attrs_lookup()
42 ut_asserteq(-ENOENT, env_attr_lookup(",,", "foo", attrs)); in env_test_attrs_lookup()
44 ut_asserteq(-ENOENT, env_attr_lookup("goo:baz", "foo", attrs)); in env_test_attrs_lookup()
[all …]
/OK3568_Linux_fs/external/xserver/test/
H A Dlist.c43 int foo; member
215 struct foo { struct
217 struct foo *next; argument
224 struct foo foo; in test_nt_list_init() local
226 foo.a = 10; in test_nt_list_init()
227 foo.b = 20; in test_nt_list_init()
228 nt_list_init(&foo, next); in test_nt_list_init()
230 assert(foo.a == 10); in test_nt_list_init()
231 assert(foo.b == 20); in test_nt_list_init()
232 assert(foo.next == NULL); in test_nt_list_init()
[all …]
/OK3568_Linux_fs/yocto/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}")
64 val = self.d.expand("${@'boo ' + '${foo}'}")
68 val = self.d.expand("${@d.getVar('foo') + ' ${bar}'}")
73 val = self.d.expand("${@d.getVar('foo') + ' ${bar}'}")
74 self.assertEqual(str(val), "${@d.getVar('foo') + ' ${unsetvar}'}")
77 self.d.setVar("FOO", "${@foo = 5}")
78 self.assertRaises(bb.data_smart.ExpansionError, self.d.getVar, "FOO", True)
[all …]
H A Dcodeparser.py49 self.setEmptyVars(["FOO"])
50 self.parseExpression("${FOO}")
51 self.assertReferences(set(["FOO"]))
55 self.d.setVar("FOO", "BAR")
56 self.parseExpression("${${FOO}}")
57 self.assertReferences(set(["FOO", "BAR"]))
61 self.parseExpression("${@d.getVar('BAR') + 'foo'}")
75 self.parseExpression('foo=foo"bar"baz')
83 self.parseExpression("sed -i -e s,foo,bar,g \\\n *.pc")
87 self.parseExpression('sed -i -e "foo$" *.pc')
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/yocto/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 …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/oelib/
H A Dlicense.py46 "FOO&BAR": ["FOO", "BAR"],
49 "BAZ&MOO|FOO": ["FOO"],
50 "FOO&BAR|BAZ": ["FOO", "BAR"],
52 preferred = ["ALPHA", "FOO", "BAR"]
67 "FOO & (BAR | BAZ)&MOO": ["FOO", "BAR", "MOO"],
69 "((ALPHA|BETA)&FOO)|BAZ": ["BETA", "FOO"],
76 ("FOO | BAR", None, None):
77 [True, ["FOO"]],
78 ("FOO | BAR", None, "FOO"):
80 ("FOO | BAR", "BAR", None):
[all …]
H A Dutils.py22 d.setVar("PN", "foo")
24 d.setVar("PACKAGES", "foo foo-doc foo-dev")
28 d.setVar("PACKAGES", "foo foo-doc foo-data foo-dev")
30 self.assertEqual(pkgs, ["foo-data"])
32 d.setVar("PACKAGES", "foo foo-locale-en-gb")
36 d.setVar("PACKAGES", "foo foo-data foo-locale-en-gb")
38 self.assertEqual(pkgs, ["foo-data"])
/OK3568_Linux_fs/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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/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 test_cgroup_attach_override() local
41 foo = test__join_cgroup(FOO); in test_cgroup_attach_override()
42 if (CHECK(foo < 0, "cgroup_join_foo", "cgroup setup failed\n")) in test_cgroup_attach_override()
45 if (CHECK(bpf_prog_attach(drop_prog, foo, BPF_CGROUP_INET_EGRESS, in test_cgroup_attach_override()
48 "attach prog to %s failed, errno=%d\n", FOO, errno)) in test_cgroup_attach_override()
87 if (CHECK(bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override()
89 "detach prog from %s failed, errno=%d\n", FOO, errno)) in test_cgroup_attach_override()
111 if (CHECK(!bpf_prog_detach(foo, BPF_CGROUP_INET_EGRESS), in test_cgroup_attach_override()
[all …]
/OK3568_Linux_fs/kernel/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
69 mkdir foo
70 ls foo > /dev/null
71 rmdir foo
72 if [ -d foo ]; then
73 fail "foo still exists"
[all …]
/OK3568_Linux_fs/external/xserver/include/
H A Dlist.h36 * We need to keep a list of struct foo in the parent struct bar, i.e. what
41 * struct foo *list_of_foos; -----> struct foo {}, struct foo {}, struct foo{}
54 * struct foo {
68 * struct foo *foo = malloc(...);
70 * xorg_list_add(&foo->entry, &bar.list_of_foos);
74 * xorg_list_del(&foo->entry);
75 * free(foo);
80 * Looping through the list requires a 'struct foo' as iterator and the
83 * struct foo *iterator;
92 * struct foo *iterator, *next;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DSource-Path.html84 <samp>/usr/src/foo-1.0/lib/foo.c</samp>, does not record a compilation
90 <li> <samp>/usr/src/foo-1.0/lib/foo.c</samp>
91 </li><li> <samp>/mnt/cross/usr/src/foo-1.0/lib/foo.c</samp>
92 </li><li> <samp>/mnt/cross/foo.c</samp>
98 source file name, such as <samp>/mnt/cross/src/foo-1.0/lib/foo.c</samp>.
101 <samp>foo.c</samp>, <small>GDB</small> would not find it under
102 <samp>/mnt/cross/usr/src/foo-1.0/lib</samp>.
108 recorded as <samp>../lib/foo.c</samp>, and no compilation directory is
112 <li> <samp>/mnt/cross/../lib/foo.c</samp>
113 </li><li> <samp>/mnt/cross/foo.c</samp>
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DSource-Path.html84 <samp>/usr/src/foo-1.0/lib/foo.c</samp>, does not record a compilation
90 <li> <samp>/usr/src/foo-1.0/lib/foo.c</samp>
91 </li><li> <samp>/mnt/cross/usr/src/foo-1.0/lib/foo.c</samp>
92 </li><li> <samp>/mnt/cross/foo.c</samp>
98 source file name, such as <samp>/mnt/cross/src/foo-1.0/lib/foo.c</samp>.
101 <samp>foo.c</samp>, <small>GDB</small> would not find it under
102 <samp>/mnt/cross/usr/src/foo-1.0/lib</samp>.
108 recorded as <samp>../lib/foo.c</samp>, and no compilation directory is
112 <li> <samp>/mnt/cross/../lib/foo.c</samp>
113 </li><li> <samp>/mnt/cross/foo.c</samp>
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/
H A Dbootconfig.rst48 foo.bar.baz = value1
49 foo.bar.qux.quux = value2
53 foo.bar {
60 foo.bar { baz = value1; qux.quux = value2 }
71 foo = bar, baz
72 foo = qux # !ERROR! we can not re-define same key
77 foo = bar, baz
78 foo := qux
80 then, the ``qux`` is assigned to ``foo`` key. This is useful for
87 foo = bar, baz
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvif/
H A Dlist.h36 * We need to keep a list of struct foo in the parent struct bar, i.e. what
41 * struct foo *list_of_foos; -----> struct foo {}, struct foo {}, struct foo{}
54 * struct foo {
68 * struct foo *foo = malloc(...);
70 * list_add(&foo->entry, &bar.list_of_foos);
74 * list_del(&foo->entry);
75 * free(foo);
80 * Looping through the list requires a 'struct foo' as iterator and the
83 * struct foo *iterator;
92 * struct foo *iterator, *next;
[all …]
/OK3568_Linux_fs/buildroot/docs/manual/
H A Dadding-packages-linux-kernel-spec-infra.txt20 +foo+, create a new menu entry in the existing
27 02: bool "foo"
30 05: This is a comment that explains what foo kernel tool is.
32 07: http://foosoftware.org/foo/
44 +package/linux-tools/linux-tool-foo.mk.in+. It would basically look like:
49 03: # foo
53 07: LINUX_TOOLS += foo
58 12: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools foo
74 On line 7, we register the Linux tool +foo+ to the list of available
79 +foo+ tool is selected.
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/tests/
H A Dtest_builder_registry.py104 self.assertEqual(self.registry.lookup('foo'), None)
111 builder = self.builder_for_features('foo', 'bar')
112 self.assertEqual(self.registry.lookup('foo'), builder)
116 builder = self.builder_for_features('foo', 'bar')
120 builder1 = self.builder_for_features('foo')
128 has_one = self.builder_for_features('foo')
130 has_both_early = self.builder_for_features('foo', 'bar', 'baz')
131 has_both_late = self.builder_for_features('foo', 'bar', 'quux')
133 has_the_other = self.builder_for_features('foo')
135 # There are two builders featuring 'foo' and 'bar', but
[all …]
H A Dtest_soup.py45 data = "<h1>foo\0bar</h1>"
47 self.assertEqual("foo\0bar", soup.h1.string)
144 s = "foo\u2200\N{SNOWMAN}\u00f5bar"
146 "foo&forall;\N{SNOWMAN}&otilde;bar")
154 "&lsquo;&rsquo;foo&ldquo;&rdquo;")
183 self.sub.substitute_xml("foo<bar>"),
184 "foo&lt;bar&gt;")
211 …<html><head><meta charset="utf-8"/></head><body><foo>Sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!…
216 … b'<html><head><meta charset="utf-8"/></head><body><foo>Sacr\xc3\xa9 bleu!</foo></body></html>')
228 ascii = b"<foo>a</foo>"
[all …]
H A Dtest_tree.py77 soup = self.soup("<a>foo</a><b>bar</b>")
82 soup = self.soup("<a>foo</a><b>bar</b><a>baz</a>")
90 soup = self.soup("<html>Foo<b>bar</b>\xbb</html>")
96 soup.find_all(text=["Foo", "bar"]), ["Foo", "bar"])
99 ["Foo", "bar", '\xbb'])
102 ["Foo", "bar", '\xbb'])
117 soup = self.soup("<a>1</a><b>2<a id='foo'>3</a></b>")
119 self.assertSelects(soup.b(id="foo"), ["3"])
140 result = soup.find_all(text="foo")
282 tree = self.soup("<gar class='foo bar'>Found it</gar>")
[all …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/
H A Dtesting.py72 tree = self.soup("<a><b>foo</a>")
90 self.assertEqual(soup.p.contents[0], 'foo')
95 markup = doctype + '\n<p>foo</p>'
115 self.assertDoctypeHandled('foo SYSTEM "http://www.example.com/"')
203 markup = "<p>foo<!--foobar-->baz</p>"
211 foo = soup.find(text="foo")
212 self.assertEqual(comment, foo.next_element)
234 soup = self.soup('<blockquote><p><b>Foo</b></p></blockquote>')
236 self.assertEqual(blockquote.p.b.string, 'Foo')
237 self.assertEqual(blockquote.b.string, 'Foo')
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dtest_debug_virtual.c16 struct foo { struct
20 static struct foo *foo; variable
32 foo = kzalloc(sizeof(*foo), GFP_KERNEL); in test_debug_virtual_init()
33 if (!foo) in test_debug_virtual_init()
36 pa = virt_to_phys(foo); in test_debug_virtual_init()
37 va = foo; in test_debug_virtual_init()
46 kfree(foo); in test_debug_virtual_exit()

12345678910>>...51