/Zephyr-latest/lib/net_buf/ |
D | buf.c | 514 struct net_buf *clone; in net_buf_clone() local 520 clone = net_buf_alloc_len(pool, 0, timeout); in net_buf_clone() 521 if (!clone) { in net_buf_clone() 529 clone->__buf = buf->__buf ? data_ref(buf, buf->__buf) : NULL; in net_buf_clone() 530 clone->data = buf->data; in net_buf_clone() 531 clone->len = buf->len; in net_buf_clone() 532 clone->size = buf->size; in net_buf_clone() 538 clone->__buf = data_alloc(clone, &size, timeout); in net_buf_clone() 539 if (!clone->__buf || size < buf->size) { in net_buf_clone() 540 net_buf_destroy(clone); in net_buf_clone() [all …]
|
D | buf_simple.c | 51 struct net_buf_simple *clone) in net_buf_simple_clone() argument 53 memcpy(clone, original, sizeof(struct net_buf_simple)); in net_buf_simple_clone()
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 413 struct net_buf *buf, *clone; in ZTEST() local 421 clone = net_buf_clone(buf, K_NO_WAIT); in ZTEST() 422 zassert_not_null(clone, "Failed to get clone buffer"); in ZTEST() 423 zassert_equal(buf->data, clone->data, "Incorrect clone data pointer"); in ZTEST() 426 net_buf_unref(clone); in ZTEST() 433 struct net_buf *buf, *clone; in ZTEST() local 443 clone = net_buf_clone(buf, K_NO_WAIT); in ZTEST() 444 zassert_not_null(clone, "Failed to get clone buffer"); in ZTEST() 445 zassert_not_equal(buf->data, clone->data, in ZTEST() 447 zassert_mem_equal(clone->data, data, sizeof(data)); in ZTEST() [all …]
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_can.c | 100 struct net_pkt *clone = NULL; in zcan_received_cb() local 129 clone = net_pkt_clone(pkt, MEM_ALLOC_TIMEOUT); in zcan_received_cb() 130 if (!clone) { in zcan_received_cb() 134 clone = pkt; in zcan_received_cb() 137 clone = pkt; in zcan_received_cb() 149 NET_DBG("[%d] ctx %p pkt %p st %d", i, ctx, clone, status); in zcan_received_cb() 152 if (!clone) { in zcan_received_cb() 172 net_pkt_set_eof(clone, false); in zcan_received_cb() 174 k_fifo_put(&ctx->recv_q, clone); in zcan_received_cb() 184 if (clone && clone != pkt) { in zcan_received_cb()
|
/Zephyr-latest/doc/develop/west/ |
D | without-west.rst | 34 you will need to manually clone the additional projects listed in the 41 git clone https://github.com/zephyrproject-rtos/zephyr 42 # clone additional repositories listed in zephyr/west.yml, 96 git clone https://github.com/zephyrproject-rtos/west.git .west/west
|
D | install.rst | 24 Once west is installed, you can use it to :ref:`clone the Zephyr repositories 25 <clone-zephyr>`.
|
D | basics.rst | 148 #. Check out the ``v2.5.0`` git tag in your local zephyr clone 153 to clone the rest of the projects into the workspace to finish. 181 placed within the workspace, what URLs to clone them from, and what Git
|
/Zephyr-latest/boards/intel/common/scripts/ |
D | build_grub.sh | 23 git clone https://git.savannah.gnu.org/git/grub.git src
|
/Zephyr-latest/subsys/net/ip/ |
D | tp.c | 169 struct net_buf *clone = net_buf_clone(buf, K_NO_WAIT); in tp_nbuf_clone() local 172 tp_dbg("size=%d %p %s:%d %s()", clone->size, clone, file, line, func); in tp_nbuf_clone() 174 tb->nbuf = clone; in tp_nbuf_clone() 180 return clone; in tp_nbuf_clone()
|
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/ |
D | main.c | 44 struct net_buf_simple clone; in ZTEST() local 46 net_buf_simple_clone(&buf, &clone); in ZTEST() 48 zassert_equal(buf.data, clone.data, "Incorrect clone data pointer"); in ZTEST()
|
/Zephyr-latest/doc/develop/toolchains/ |
D | crosstool_ng.rst | 22 You will need to clone the ``sdk-ng`` repo and run the following command:
|
/Zephyr-latest/boards/panasonic/pan1770_evb/doc/ |
D | index.rst | 9 It is basically a clone of the official nRF52840 development kit (PCA10056)
|
/Zephyr-latest/boards/panasonic/pan1780_evb/doc/ |
D | index.rst | 9 It is basically a clone of the official nRF52840 development kit (PCA10056)
|
/Zephyr-latest/samples/net/ptp/ |
D | README.rst | 50 git clone git://git.code.sf.net/p/linuxptp/code
|
/Zephyr-latest/doc/connectivity/networking/ |
D | native_sim_setup.rst | 30 git clone https://github.com/zephyrproject-rtos/net-tools 126 git clone https://github.com/zephyrproject-rtos/net-tools
|
D | qemu_eth_setup.rst | 27 git clone https://github.com/zephyrproject-rtos/net-tools
|
/Zephyr-latest/tests/net/lib/http_server/core/src/ |
D | main.c | 326 struct test_headers_clone *clone = (struct test_headers_clone *)user_data; in dynamic_request_headers_cb() local 334 memcpy(clone->buffer, &client->header_capture_ctx, sizeof(clone->buffer)); in dynamic_request_headers_cb() 336 clone->count = request_ctx->header_count; in dynamic_request_headers_cb() 337 clone->status = request_ctx->headers_status; in dynamic_request_headers_cb() 340 hdrs_dst = clone->headers; in dynamic_request_headers_cb() 341 offset = clone->buffer - client->header_capture_ctx.buffer; in dynamic_request_headers_cb()
|
/Zephyr-latest/boards/starfive/visionfive2/doc/ |
D | index.rst | 43 git clone the vf2-loader tool from https://github.com/orangecms/vf2-loader.git and
|
/Zephyr-latest/boards/arm/fvp_base_revc_2xaemv8a/doc/ |
D | index.rst | 98 git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git --depth 1
|
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/ |
D | train_magic_wand_model.ipynb | 82 …"We'll also clone the TensorFlow repository, which contains the training scripts, and copy them in… 96 "!git clone --depth 1 -q https://github.com/tensorflow/tensorflow\n",
|
/Zephyr-latest/doc/connectivity/bluetooth/autopts/ |
D | autopts-win10.rst | 140 In Git Bash, clone project repo: 144 git clone https://github.com/auto-pts/auto-pts.git
|
D | autopts-linux.rst | 268 git clone https://github.com/auto-pts/auto-pts.git 287 In Git Bash, clone auto-pts project repo: 291 git clone https://github.com/auto-pts/auto-pts.git
|
/Zephyr-latest/samples/net/gptp/ |
D | README.rst | 72 git clone git@github.com:AVnu/gptp.git 136 git clone git://git.code.sf.net/p/linuxptp/code
|
/Zephyr-latest/boards/mediatek/ |
D | index.rst | 113 git clone https://github.com/crosstool-ng/crosstool-ng 114 git clone https://github.com/thesofproject/xtensa-overlay
|
/Zephyr-latest/boards/nuvoton/npcx4m8f_evb/doc/ |
D | index.rst | 100 git clone https://git.code.sf.net/p/openocd/code ~/openocd
|