Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 65) sorted by relevance

123

/Zephyr-latest/tests/boot/mcuboot_data_sharing/src/
Dmain.c26 uint8_t var[1]; in ZTEST() local
29 memset(var, 0xff, sizeof(var)); in ZTEST()
30 rc = settings_runtime_get("blinfo/mode", var, sizeof(var)); in ZTEST()
31 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST()
32 zassert_equal(var[0], MCUBOOT_MODE_SWAP_USING_MOVE, "Expected data mismatch"); in ZTEST()
37 uint8_t var[1]; in ZTEST() local
40 memset(var, 0xff, sizeof(var)); in ZTEST()
41 rc = settings_runtime_get("blinfo/signature_type", var, sizeof(var)); in ZTEST()
42 zassert_equal(rc, sizeof(var), "Expected data length mismatch"); in ZTEST()
43 zassert_equal(var[0], MCUBOOT_SIGNATURE_TYPE_RSA, "Expected data mismatch"); in ZTEST()
[all …]
/Zephyr-latest/subsys/mgmt/updatehub/
Dupdatehub_timer.c23 int updatehub_blk_get(enum updatehub_blk_vars var) in updatehub_blk_get() argument
25 LOG_DBG("blk_get[%d] = %d", var, blk_vars[var]); in updatehub_blk_get()
26 return blk_vars[var]; in updatehub_blk_get()
29 void updatehub_blk_inc(enum updatehub_blk_vars var) in updatehub_blk_inc() argument
31 blk_vars[var]++; in updatehub_blk_inc()
32 LOG_DBG("blk_inc[%d] = %d", var, blk_vars[var]); in updatehub_blk_inc()
35 void updatehub_blk_set(enum updatehub_blk_vars var, int val) in updatehub_blk_set() argument
37 LOG_DBG("blk_set[%d] = %d", var, val); in updatehub_blk_set()
38 blk_vars[var] = val; in updatehub_blk_set()
Dupdatehub_timer.h18 int updatehub_blk_get(enum updatehub_blk_vars var);
19 void updatehub_blk_inc(enum updatehub_blk_vars var);
20 void updatehub_blk_set(enum updatehub_blk_vars var, int val);
/Zephyr-latest/doc/_doxygen/
Ddoxygen-awesome.css78 --toc-sticky-top: var(--spacing-medium);
80 --toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 85px);
108 --tablehead-foreground: var(--page-foreground-color);
116 --menu-focus-foreground: var(--page-background-color);
117 --menu-focus-background: var(--primary-color);
121 --header-background: var(--page-background-color);
122 --header-foreground: var(--page-foreground-color);
125 --searchbar-background: var(--side-nav-background);
126 --searchbar-foreground: var(--page-foreground-color);
133 --searchbar-border-radius: var(--searchbar-height);
[all …]
Ddoxygen-awesome-sidebar-only.css39 --toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 25px);
49 --searchbar-background: var(--page-background-color);
53 min-width: var(--side-nav-fixed-width);
54 max-width: var(--side-nav-fixed-width);
55 top: var(--top-height);
60 height: calc(100vh - var(--top-height)) !important;
70 height: var(--top-height);
71 margin-bottom: calc(0px - var(--top-height));
72 max-width: var(--side-nav-fixed-width);
74 background: var(--side-nav-background);
[all …]
Ddoxygen-awesome-zephyr.css18 --searchbar-background: var(--page-background-color);
19 --searchbar-foreground: var(--page-foreground-color);
39 --side-nav-foreground: var(--page-foreground-color);
55 --side-nav-foreground: var(--page-foreground-color);
61 color: var(--link-color) !important;
65 color: var(--param-color);
74 background: var(--side-nav-background);
98 padding-top: calc(var(--top-height) - 180px);
104 color: var(--side-nav-foreground);
Ddoxygen-awesome-sidebar-only-darkmode-toggle.css34 …width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - var(--searchbar-height…
38 …width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 66px - var(--searchbar…
/Zephyr-latest/tests/lib/sprintf/src/
Dmain.c106 union raw_double_u var; in ZTEST() local
121 var.exponent = 0x00000000; in ZTEST()
122 var.fraction = 0x7ff00000; /* Bit pattern for +INF (double) */ in ZTEST()
123 sprintf(buffer, "%e", var.d); in ZTEST()
127 sprintf(buffer, "%E", var.d); in ZTEST()
131 sprintf(buffer, "%f", var.d); in ZTEST()
135 sprintf(buffer, "%F", var.d); in ZTEST()
139 sprintf(buffer, "%g", var.d); in ZTEST()
143 sprintf(buffer, "%G", var.d); in ZTEST()
147 var.exponent = 0x00000000; in ZTEST()
[all …]
/Zephyr-latest/doc/_static/css/
Dcustom.css32 font-family: var(--system-font-family);
45 font-family: var(--header-font-family);
74 color: var(--body-color);
78 color: var(--link-color);
82 color: var(--link-color-hover);
88 color: var(--link-color-active);
92 color: var(--link-color-visited);
101 color: var(--link-color) !important;
105 color: var(--link-color);
112 background-image: var(--external-reference-icon);
[all …]
Dgcs.css14 color: var(--body-color) !important;
32 color: var(--link-color) !important;
33 background-color: var(--content-background-color) !important;
37 color: var(--link-color-visited) !important;
42 background-color: var(--content-background-color) !important;
43 color: var(--link-color) !important;
63 color: var(--admonition-attention-title-color) !important;
64 background-color: var(--admonition-attention-title-background-color) !important;
72 border-bottom: 1px solid var(--hr-color) !important;
90 color: var(--admonition-tip-title-color) !important;
[all …]
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/
Ddoxytooltip.css6 --primary-color: var(--navbar-heading-color);
7 --param-color: var(--code-literal-color);
12 background-color: var(--content-wrap-background-color);
13 color: var(--body-color);
17 border-top-color: var(--content-wrap-background-color);
21 border-bottom-color: var(--content-wrap-background-color);
25 border-left-color: var(--content-wrap-background-color);
29 border-right-color: var(--content-wrap-background-color);
/Zephyr-latest/tests/kernel/smp_abort/src/
Dmain.c34 const struct isr_args *var = args; in isr() local
36 *(var->sync) = true; /* Flag that ISR is in progress */ in isr()
38 while (*(var->wait) == false) { /* Wait upon dependent CPU */ in isr()
41 k_thread_abort(var->target); /* Abort thread on another CPU */ in isr()
47 struct isr_args *var = p2; in thread_entry() local
51 irq_offload(isr, var); in thread_entry()
/Zephyr-latest/samples/boards/nxp/mimxrt1170_evk_cm7/magic_addr/src/
Dmain.c16 __dtcm_bss_section uint8_t var; variable
39 uint32_t dtcm_addr = (uint32_t)&var; in main()
49 var = tmp; in main()
52 printf("Magic variable got: %c\n", var); in main()
/Zephyr-latest/doc/_extensions/zephyr/domain/static/css/
Dboard-catalog.css20 font-family: var(--system-font-family);
24 background-color: var(--input-background-color);
25 color: var(--body-color);
31 border-color: var(--input-focus-border-color);
42 color: var(--body-color);
58 background-color: var(--admonition-note-title-background-color);
59 color: var(--admonition-note-title-color);
74 color: var(--body-color);
100 background-color: var(--admonition-note-background-color);
130 color: var(--admonition-note-title-background-color);
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/common/
Dutils.h21 #define WAIT_FOR_EXPR(var, expr) \ argument
22 while (atomic_get(&var) expr) { \
25 #define WAIT_FOR_VAL(var, val) \ argument
26 while (atomic_get(&var) != val) { \
/Zephyr-latest/tests/application_development/code_relocation/src/
Dtest_file1.c18 __in_section(data, sram2, var) uint32_t var_sram2_data = 10U;
19 __in_section(bss, sram2, var) uint32_t var_sram2_bss;
21 __in_section(rodata, sram2, var) const uint32_t var_sram2_rodata = 100U;
23 __in_section(custom_section, static, var) uint32_t var_custom_data = 1U;
Dtest_file3.c11 __in_section(data, sram, var) uint32_t var_file3_sram_data = 10U;
12 __in_section(bss, sram2, var) uint32_t var_file3_sram2_bss; in __in_section() argument
Dtest_file4.c11 __in_section(data, sram2, var) uint32_t var_file4_sram2_data = 10U;
12 __in_section(bss, sram2, var) uint32_t var_file4_sram2_bss; in __in_section() argument
Dtest_file5.c11 __in_section(data, sram2, var) uint32_t var_file5_sram2_data = 10U;
12 __in_section(bss, sram2, var) uint32_t var_file5_sram2_bss; in __in_section() argument
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_private.h28 #define GPTP_STATS_INC(port, var) (GPTP_PORT_PARAM_DS(port)->var++) argument
30 #define GPTP_STATS_INC(port, var)
/Zephyr-latest/tests/kernel/mem_protect/mem_protect/src/
Dmem_partition.c15 static volatile K_APP_DMEM(ztest_mem_partition) int var = 1356;
32 zassert_true(var == 1356);
/Zephyr-latest/tests/bsim/babblekit/include/babblekit/
Dflags.h34 #define WAIT_FOR_VAL(var, val) \ argument
35 while (atomic_get(&var) != val) { \
/Zephyr-latest/tests/application_development/code_relocation/test_lib/
Dtest_lib1.c11 __in_section(data, sram2, var) uint32_t var_lib1_sram2_data = 10U;
12 __in_section(bss, sram2, var) uint32_t var_lib1_sram2_bss; in __in_section() argument
/Zephyr-latest/cmake/toolchain/cross-compile/
Dgeneric.cmake10 # New users should set the env var 'ZEPHYR_TOOLCHAIN_VARIANT' to
11 # 'cross-compile' and the 'CROSS_COMPILE' env var to the toolchain
18 # The env var has the lowest precedence.
/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.h35 #define BMP5_GET_LSB(var) (uint8_t)(var & BMP5_SET_LOW_BYTE) argument
36 #define BMP5_GET_MSB(var) (uint8_t)((var & BMP5_SET_HIGH_BYTE) >> 8) argument

123