/Zephyr-latest/tests/posix/c_lib_ext/src/ |
D | getentropy.c | 41 uint8_t buf1[16]; in ZTEST() local 45 ret = getentropy(buf1, sizeof(buf1)); in ZTEST() 51 zassert_true(memcmp(buf1, zero, sizeof(zero)) != 0); in ZTEST() 53 zassert_true(memcmp(buf1, buf2, sizeof(buf1)) != 0); in ZTEST()
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl.c | 62 static uint8_t buf1[BUFFER_SIZE] 109 lv_display_set_buffers(display, &buf0, &buf1, BUFFER_SIZE, LV_DISPLAY_RENDER_MODE_PARTIAL); in lvgl_allocate_rendering_buffers() 126 void *buf1 = NULL; in lvgl_allocate_rendering_buffers() local 165 buf1 = lv_malloc(buf_size); in lvgl_allocate_rendering_buffers() 166 if (buf1 == NULL) { in lvgl_allocate_rendering_buffers() 178 lv_free(buf1); in lvgl_allocate_rendering_buffers() 185 lv_display_set_buffers(display, buf0, buf1, buf_size, LV_DISPLAY_RENDER_MODE_PARTIAL); in lvgl_allocate_rendering_buffers()
|
/Zephyr-latest/tests/bluetooth/mesh/delayable_msg/src/ |
D | main.c | 165 NET_BUF_SIMPLE_DEFINE(buf1, 20); in ZTEST() 171 memcpy(net_buf_simple_add(&buf1, 20), tx_data, 20); in ZTEST() 181 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf1_id)); in ZTEST() 195 set_expectation(&buf1, &buf1_id); in ZTEST() 249 NET_BUF_SIMPLE_DEFINE(buf1, 20); in ZTEST() 253 memcpy(net_buf_simple_add(&buf1, 20), tx_data, 20); in ZTEST() 257 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id1)); in ZTEST() 258 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id2)); in ZTEST() 259 zexpect_ok(bt_mesh_delayable_msg_manage(&gctx, &buf1, SRC_ADDR, &send_cb, &buf_id3)); in ZTEST() 276 NET_BUF_SIMPLE_DEFINE(buf1, 20); in ZTEST() [all …]
|
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/ |
D | main.c | 87 static uint8_t buf1[SPI_TEST_BUF1_SIZE]; variable 454 memset(buf1, 0, sizeof(buf1)); in main() 576 err = spi_flash_format_addr(spi_addr.addr, spi_addr.byte_len, buf1, sizeof(buf1)); in main() 592 buf1, spi_addr.byte_len, &tb1.b[offset], in main()
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 689 static const char buf1[] = "+10379aegi"; in ZTEST() local 707 ret = strtol(buf1, NULL, 10); in ZTEST() 776 static const char buf1[] = "+10379aegi"; in ZTEST() local 794 ret = strtoul(buf1, NULL, 10); in ZTEST() 858 static const char buf1[] = "+10379aegi"; in test_strtoll() local 876 ret = strtoll(buf1, NULL, 10); in test_strtoll() 938 static const char buf1[] = "+10379aegi"; in test_strtoull() local 956 ret = strtoull(buf1, NULL, 10); in test_strtoull()
|
/Zephyr-latest/tests/subsys/logging/log_msg/src/ |
D | main.c | 156 uint8_t __aligned(Z_LOG_MSG_ALIGNMENT) buf1[256]; in validate_base_message_set() 170 msg1 = msg_copy_and_free(msg1, buf1, sizeof(buf1)); in validate_base_message_set()
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 511 struct net_buf *buf1, *buf2, *buf3; in ZTEST() local 515 buf1 = net_buf_alloc_len(&var_pool, 20, K_NO_WAIT); in ZTEST() 516 zassert_not_null(buf1, "Failed to get buffer"); in ZTEST() 525 net_buf_unref(buf1); in ZTEST()
|