Searched refs:cbuf (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/posix/shm/src/ |
D | main.c | 115 char cbuf = 0xff; in ZTEST() local 125 zassert_equal(read(fd[0], &cbuf, 1), 0, in ZTEST() 137 zassert_equal(read(fd[i], &cbuf, 1), 1, "read() failed on fd %d: %d\n", fd[i], in ZTEST() 139 zassert_equal(cbuf, 0x42, in ZTEST() 141 fd[i], 0x42, cbuf); in ZTEST()
|
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/ |
D | smp.c | 159 static int smp_handle_single_payload(struct smp_streamer *cbuf, const struct smp_hdr *req_hdr) in smp_handle_single_payload() argument 201 ok = zcbor_map_start_encode(cbuf->writer->zs, in smp_handle_single_payload() 204 MGMT_CTXT_SET_RC_RSN(cbuf, NULL); in smp_handle_single_payload() 229 ok = smp_add_cmd_err(cbuf->writer->zs, err_group, in smp_handle_single_payload() 239 rc = handler_fn(cbuf); in smp_handle_single_payload() 248 if (!zcbor_map_end_encode(cbuf->writer->zs, in smp_handle_single_payload()
|