Home
last modified time | relevance | path

Searched full:clone (Results 1 – 25 of 78) sorted by relevance

1234

/Zephyr-latest/lib/net_buf/
Dbuf.c514 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 …]
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c413 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/
Dsockets_can.c100 struct net_pkt *clone = NULL; in zcan_received_cb() local
121 * original net_pkt as a template, and just clone it to all in zcan_received_cb()
126 /* There are multiple receivers, we need to clone in zcan_received_cb()
129 clone = net_pkt_clone(pkt, MEM_ALLOC_TIMEOUT); in zcan_received_cb()
130 if (!clone) { in zcan_received_cb()
132 * if there is no memory to clone the packet. 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()
[all …]
/Zephyr-latest/doc/develop/west/
Dwithout-west.rst34 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
Dinstall.rst24 Once west is installed, you can use it to :ref:`clone the Zephyr repositories
25 <clone-zephyr>`.
Dbasics.rst145 #. Clone the manifest repository from
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
Dmoving-to-west.rst49 #. Clone the rest of the repositories used by zephyr::
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain_magic_wand_model.ipynb82 …"We'll also clone the TensorFlow repository, which contains the training scripts, and copy them in…
95 "# Clone the repository from GitHub\n",
96 "!git clone --depth 1 -q https://github.com/tensorflow/tensorflow\n",
/Zephyr-latest/doc/develop/toolchains/
Dcrosstool_ng.rst22 You will need to clone the ``sdk-ng`` repo and run the following command:
/Zephyr-latest/boards/panasonic/pan1770_evb/doc/
Dindex.rst9 It is basically a clone of the official nRF52840 development kit (PCA10056)
/Zephyr-latest/boards/panasonic/pan1780_evb/doc/
Dindex.rst9 It is basically a clone of the official nRF52840 development kit (PCA10056)
/Zephyr-latest/boards/intel/common/scripts/
Dbuild_grub.sh23 git clone https://git.savannah.gnu.org/git/grub.git src
/Zephyr-latest/tests/lib/net_buf/buf_simple/src/
Dmain.c44 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/samples/net/ptp/
DREADME.rst50 git clone git://git.code.sf.net/p/linuxptp/code
/Zephyr-latest/subsys/net/ip/
Dtp.c169 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/doc/connectivity/networking/
Dnative_sim_setup.rst30 git clone https://github.com/zephyrproject-rtos/net-tools
126 git clone https://github.com/zephyrproject-rtos/net-tools
/Zephyr-latest/samples/drivers/ethernet/eth_ivshmem/
DREADME.rst17 Clone Jailhouse yocto project. At the time of writing, the "next" branch has
22 git clone https://github.com/siemens/jailhouse-images.git
/Zephyr-latest/.github/workflows/
Dtwister-prep.yaml52 - name: Clone cached Zephyr repository
55 git clone --shared /repo-cache/zephyrproject/zephyr .
Dclang.yaml45 - name: Clone cached Zephyr repository
48 git clone --shared /repo-cache/zephyrproject/zephyr .
Dbsim-tests.yaml63 - name: Clone cached Zephyr repository
66 git clone --shared /repo-cache/zephyrproject/zephyr .
/Zephyr-latest/samples/subsys/mgmt/hawkbit/
DREADME.rst154 Step 8: Clone and build hawkbit with https
157 Below steps clone and build the hawkbit with self-signed certificate
162 git clone https://github.com/eclipse/hawkbit.git
/Zephyr-latest/doc/connectivity/bluetooth/autopts/
Dautopts-linux.rst264 Clone auto-pts project:
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/
DREADME.rst72 git clone git@github.com:AVnu/gptp.git
136 git clone git://git.code.sf.net/p/linuxptp/code
/Zephyr-latest/boards/mediatek/
Dindex.rst113 git clone https://github.com/crosstool-ng/crosstool-ng
114 git clone https://github.com/thesofproject/xtensa-overlay
/Zephyr-latest/boards/starfive/visionfive2/doc/
Dindex.rst43 git clone the vf2-loader tool from https://github.com/orangecms/vf2-loader.git and

1234