Home
last modified time | relevance | path

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

1234

/Zephyr-4.3.0/tests/lib/cpp/cxx/src/
Dmain.cpp89 foo_class(int foo) : foo(foo) {} in foo_class() argument
90 int get_foo() const { return foo;} in get_foo()
92 int foo; member in foo_class
95 struct foo { struct
99 BUILD_ASSERT(sizeof(foo) == sizeof(int)); argument
101 __maybe_unused static struct foo foos[5];
/Zephyr-4.3.0/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-4.3.0/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.c403 int foo = 2; in ZTEST() local
411 ret = abstract_do_this(dev, foo, bar); in ZTEST()
412 zassert_true(ret == (foo + bar), "common API do_this fail"); in ZTEST()
421 ret = abstract_do_this(dev, foo, bar); in ZTEST()
422 zassert_true(ret == (foo - bar), "common API do_this fail"); in ZTEST()
/Zephyr-4.3.0/doc/services/serialization/
Djson.rst21 struct foo {
27 JSON_OBJ_DESCR_PRIM(struct foo, bar, JSON_TOK_NUMBER),
28 JSON_OBJ_DESCR_PRIM(struct foo, baz, JSON_TOK_STRING),
40 struct foo data = { .bar = 42, .baz = "hello" };
61 struct foo data;
/Zephyr-4.3.0/tests/cmake/snippets/
Dapp.overlay2 /* This node will be deleted by the `foo` snippet. */
3 deleted-by-foo {};
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
/Zephyr-4.3.0/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-4.3.0/samples/subsys/smf/hsm_psicc2/src/
Dhsm_psicc2_thread.c28 int foo; member
51 obj->foo = false; in initial_entry()
82 if (obj->foo) { in s_run()
84 obj->foo = false; in s_run()
126 if (!obj->foo) { in s1_run()
128 obj->foo = true; in s1_run()
163 if (obj->foo) { in s11_run()
165 obj->foo = false; in s11_run()
209 if (!obj->foo) { in s2_run()
211 obj->foo = true; in s2_run()
/Zephyr-4.3.0/scripts/dts/python-devicetree/tests/
Dtest.dts25 interrupt-names = "foo", "bar";
291 reg-names = "foo", "bar";
383 foo = <0>;
389 foo = <0>;
406 string = "foo";
407 string-array = "foo", "bar", "baz";
411 foo-gpios = <&{/ctrl-1} 1>;
417 #phandle-array-foo-cells = <1>;
423 #phandle-array-foo-cells = <2>;
429 phandle-array-foo-names = "a", "missing", "b";
[all …]
/Zephyr-4.3.0/tests/cmake/snippets/snippets/foo/
Dfoo.overlay2 /delete-node/ deleted-by-foo;
6 added-by-foo {};
/Zephyr-4.3.0/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-4.3.0/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-4.3.0/tests/misc/llext-edk/include/
Dapp_api.h15 __syscall int foo(int bar);
/Zephyr-4.3.0/tests/misc/llext-edk/extension/src/
Dmain.c14 printk("foo(%d) is %d\n", bar, foo(bar)); in start()
/Zephyr-4.3.0/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-4.3.0/doc/build/dts/
Dbindings-syntax.rst34 This is the Vendomatic company's foo-device.
45 compatible: "manufacturer,foo-device"
72 foo-cells:
73 # "Specifier" cell names for the 'foo' domain go here; example 'foo'
265 # Describes an optional property like 'keys = "foo", "bar";'
309 default: "foo"
313 default: ["foo", "bar"] # Same as 'string-array-with-default = "foo", "bar"'
384 ``foo = "/path/to/some/node";``
388 - ``foo = <&label>, [01 02];``
416 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-4.3.0/share/sysbuild/
DKconfig.v220 "plank@foo", this option will be "foo". If BOARD is "plank",
/Zephyr-4.3.0/tests/misc/llext-edk/
DCMakeLists.txt7 target_sources(app PRIVATE src/main.c src/foo.c)
/Zephyr-4.3.0/samples/subsys/shell/shell_module/src/
Dtest_module.c11 void foo(void) in foo() function
/Zephyr-4.3.0/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
104 export MY_VARIABLE=foo
116 Add the line ``set MY_VARIABLE=foo`` to the file
/Zephyr-4.3.0/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!");

1234