Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 74) sorted by relevance

123

/Zephyr-latest/tests/lib/cpp/cxx/src/
Dmain.cpp90 foo_class(int foo) : foo(foo) {} in foo_class() argument
91 int get_foo() const { return foo;} in get_foo()
93 int foo; member in foo_class
96 struct foo { struct
100 BUILD_ASSERT(sizeof(foo) == sizeof(int)); argument
102 __maybe_unused static struct foo foos[5];
/Zephyr-latest/doc/build/snippets/
Dwriting.rst29 name: foo
31 EXTRA_DTC_OVERLAY_FILE: foo.overlay
32 EXTRA_CONF_FILE: foo.conf
38 name: foo
50 For example, if your snippet is named ``foo-bar``, write your devicetree
82 For example, if :makevar:`SNIPPET_ROOT` is set to ``/foo;/bar``, the build
86 - :file:`/foo/snippets/`
113 To apply ``bar`` after ``foo``:
117 cmake -Sapp -Bbuild -DSNIPPET="foo;bar" [...]
124 west build -S foo -S bar [...] app
[all …]
Dusing.rst17 To use a snippet named ``foo`` when building an application ``app``:
21 west build -S foo app
/Zephyr-latest/tests/kernel/device/src/
Dabstract_driver.h15 typedef int (*abstract_do_this_t)(const struct device *dev, int foo, int bar);
23 __syscall int abstract_do_this(const struct device *dev, int foo, int bar);
25 static inline int z_impl_abstract_do_this(const struct device *dev, int foo, int bar) in z_impl_abstract_do_this() argument
29 return DEVICE_API_GET(abstract, dev)->do_this(dev, foo, bar); in z_impl_abstract_do_this()
Dabstract_driver.c15 static int my_driver_A_do_this(const struct device *dev, int foo, int bar) in my_driver_A_do_this() argument
17 return foo + bar; in my_driver_A_do_this()
36 static int my_driver_B_do_this(const struct device *dev, int foo, int bar) in my_driver_B_do_this() argument
38 return foo - bar; in my_driver_B_do_this()
Dmain.c379 int foo = 2; in ZTEST() local
387 ret = abstract_do_this(dev, foo, bar); in ZTEST()
388 zassert_true(ret == (foo + bar), "common API do_this fail"); in ZTEST()
397 ret = abstract_do_this(dev, foo, bar); in ZTEST()
398 zassert_true(ret == (foo - bar), "common API do_this fail"); in ZTEST()
/Zephyr-latest/tests/cmake/snippets/
DKconfig23 Test the `foo` snippet from the default application snippet root.
33 Test the snippet processing order (1. foo, 2. bar)
38 Test the snippet processing order (1. bar, 2. foo)
44 int "Test value set by the 'foo' snippet config overlay"
46 This option's value should be overridden by the 'foo' snippet config
50 int "Test value set by the 'foo' snippet config overlay"
52 This option's value should be overridden by the 'foo' snippet config
Dapp.overlay2 /* This node will be deleted by the `foo` snippet. */
3 deleted-by-foo {};
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest.dts24 interrupt-names = "foo", "bar";
240 reg-names = "foo", "bar";
332 foo = <0>;
338 foo = <0>;
355 string = "foo";
356 string-array = "foo", "bar", "baz";
360 foo-gpios = < &{/ctrl-1} 1 >;
366 #phandle-array-foo-cells = <1>;
372 #phandle-array-foo-cells = <2>;
378 phandle-array-foo-names = "a", "missing", "b";
[all …]
/Zephyr-latest/samples/subsys/smf/hsm_psicc2/src/
Dhsm_psicc2_thread.c28 int foo; member
51 obj->foo = false; in initial_entry()
81 if (obj->foo) { in s_run()
83 obj->foo = false; in s_run()
125 if (!obj->foo) { in s1_run()
127 obj->foo = true; in s1_run()
162 if (obj->foo) { in s11_run()
164 obj->foo = false; in s11_run()
207 if (!obj->foo) { in s2_run()
209 obj->foo = true; in s2_run()
/Zephyr-latest/tests/cmake/snippets/extra_snippet_root/snippets/bar/
Dbar.overlay3 /delete-node/ added-by-foo;
5 /* This node will be deleted by the `foo` snippet if applied. */
/Zephyr-latest/tests/cmake/snippets/snippets/foo/
Dfoo.overlay2 /delete-node/ deleted-by-foo;
6 added-by-foo {};
/Zephyr-latest/doc/build/kconfig/
Dextensions.rst67 source "foo/bar/*/Kconfig"
69 If the pattern ``foo/bar/*/Kconfig`` matches the files
70 :file:`foo/bar/baz/Kconfig` and :file:`foo/bar/qaz/Kconfig`, the statement
75 source "foo/bar/baz/Kconfig"
76 source "foo/bar/qaz/Kconfig"
96 As an example, assume that :file:`foo/Kconfig` is the top-level
97 :file:`Kconfig` file, and that :file:`foo/bar/Kconfig` has the following
105 This will include the two files :file:`foo/qaz/Kconfig1` and
106 :file:`foo/bar/qaz/Kconfig2`.
/Zephyr-latest/doc/develop/sca/
Dindex.rst36 To add ``foo`` under ``/path/to/my_tools/cmake/sca`` create the following structure:
43 └── foo/
46 To use ``foo`` as SCA tool you must then specify ``-DZEPHYR_SCA_VARIANT=foo``.
/Zephyr-latest/tests/misc/llext-edk/include/
Dapp_api.h15 __syscall int foo(int bar);
/Zephyr-latest/tests/misc/llext-edk/extension/src/
Dmain.c14 printk("foo(%d) is %d\n", bar, foo(bar)); in start()
/Zephyr-latest/cmake/
Dpackage_helper.cmake32 # $ cmake -DBOARD=<board> -B build -S samples/hello_world -DEXTRA_CONF_FILE=foo.conf
35 # $ cmake -DBOARD=<board> -B build -S samples/hello_world -DEXTRA_CONF_FILE=foo.conf \
41 # set(EXTRA_CONF_FILE foo.conf)
43 # the 'foo.conf' must be specified using '-DEXTRA_CONF_FILE=foo.conf'
/Zephyr-latest/doc/build/dts/
Dbindings-syntax.rst24 This is the Vendomatic company's foo-device.
35 compatible: "manufacturer,foo-device"
55 foo-cells:
56 # "Specifier" cell names for the 'foo' domain go here; example 'foo'
192 # Describes an optional property like 'keys = "foo", "bar";'
236 default: "foo"
240 default: ["foo", "bar"] # Same as 'string-array-with-default = "foo", "bar"'
311 ``foo = "/path/to/some/node";``
315 - ``foo = <&label>, [01 02];``
343 foo:
[all …]
Dbindings-intro.rst29 compatible = "foo-company,bar-device";
39 compatible: "foo-company,bar-device"
72 compatible = "foo-company,bar-device";
87 compatible = "foo-company,baz-device", "generic-baz-device";
92 ``compatible: "foo-company,baz-device"`` line.
109 above example binding would be named :file:`foo-company,bar-device.yaml` by
/Zephyr-latest/share/sysbuild/
DKconfig.v220 "plank@foo", this option will be "foo". If BOARD is "plank",
/Zephyr-latest/doc/develop/
Denv_vars.rst15 To set the environment variable ``MY_VARIABLE`` to ``foo`` for the
24 export MY_VARIABLE=foo
30 set MY_VARIABLE=foo
47 Add the ``export MY_VARIABLE=foo`` line to your shell's startup script in
59 new ``cmd.exe`` windows will have ``MY_VARIABLE`` set to ``foo``.
63 setx MY_VARIABLE foo
96 export MY_VARIABLE=foo
107 Add the line ``set MY_VARIABLE=foo`` to the file
/Zephyr-latest/doc/kernel/services/other/
Dfatal.rst59 __ASSERT(foo == 0xF0CACC1A, "Invalid value of foo, got 0x%x", foo);
61 If at runtime ``foo`` had some unexpected value, the error produced may
66 ASSERTION FAIL [foo == 0xF0CACC1A] @ ZEPHYR_BASE/tests/kernel/fatal/src/main.c:367
67 Invalid value of foo, got 0xdeadbeef
94 x = foo();
95 __ASSERT(x != 0, "foo() returned zero!");
102 __ASSERT_EVAL ((void) foo(),
103 int x = foo(),
105 "foo() returned zero!");
/Zephyr-latest/tests/misc/llext-edk/
DCMakeLists.txt7 target_sources(app PRIVATE src/main.c src/foo.c)
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dtest_module.c11 void foo(void) in foo() function
/Zephyr-latest/tests/cmake/sysbuild_snippets/
DKconfig.sysbuild8 This option's value should be overridden by the 'foo' snippet config overlay.

123