Searched refs:vbuf (Results 1 - 12 of 12) sorted by relevance

/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/test/
H A Dmsgpack_vref.cpp20 #define GEN_TEST_VREF(test_type, vbuf) \
26 msgpack::pack(vbuf, val1); \
28 const struct iovec* cur = vbuf.vector(); \
29 const struct iovec* end = cur + vbuf.vector_size(); \
41 msgpack::vrefbuffer vbuf; local
42 GEN_TEST_VREF(char, vbuf);
47 msgpack::vrefbuffer vbuf; local
48 GEN_TEST_VREF(signed char, vbuf);
53 msgpack::vrefbuffer vbuf; local
54 GEN_TEST_VREF(unsigned char, vbuf);
59 msgpack::vrefbuffer vbuf; local
65 msgpack::vrefbuffer vbuf; local
71 msgpack::vrefbuffer vbuf; local
77 msgpack::vrefbuffer vbuf; local
83 msgpack::vrefbuffer vbuf; local
89 msgpack::vrefbuffer vbuf; local
95 msgpack::vrefbuffer vbuf; local
101 msgpack::vrefbuffer vbuf; local
107 msgpack::vrefbuffer vbuf; local
113 msgpack::vrefbuffer vbuf; local
119 msgpack::vrefbuffer vbuf; local
125 msgpack::vrefbuffer vbuf; local
131 msgpack::vrefbuffer vbuf; local
137 msgpack::vrefbuffer vbuf; local
143 msgpack::vrefbuffer vbuf; local
149 msgpack::vrefbuffer vbuf; local
[all...]
H A Dbuffer.cpp31 msgpack::vrefbuffer vbuf; local
32 vbuf.write("a", 1);
33 vbuf.write("a", 1);
34 vbuf.write("a", 1);
36 const struct iovec* vec = vbuf.vector();
37 size_t veclen = vbuf.vector_size();
48 vbuf.clear();
49 vbuf.write("a", 1);
50 vbuf.write("a", 1);
51 vbuf
[all...]
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/include/msgpack/
H A Dvrefbuffer.h66 bool msgpack_vrefbuffer_init(msgpack_vrefbuffer* vbuf,
69 void msgpack_vrefbuffer_destroy(msgpack_vrefbuffer* vbuf);
72 static inline void msgpack_vrefbuffer_free(msgpack_vrefbuffer* vbuf);
80 int msgpack_vrefbuffer_append_copy(msgpack_vrefbuffer* vbuf,
84 int msgpack_vrefbuffer_append_ref(msgpack_vrefbuffer* vbuf,
88 int msgpack_vrefbuffer_migrate(msgpack_vrefbuffer* vbuf, msgpack_vrefbuffer* to);
98 msgpack_vrefbuffer* vbuf = (msgpack_vrefbuffer*)malloc(sizeof(msgpack_vrefbuffer)); local
99 if (vbuf == NULL) return NULL;
100 if(!msgpack_vrefbuffer_init(vbuf, ref_size, chunk_size)) {
101 free(vbuf);
107 msgpack_vrefbuffer_free(msgpack_vrefbuffer* vbuf) argument
116 msgpack_vrefbuffer* vbuf = (msgpack_vrefbuffer*)data; local
[all...]
/seL4-camkes-master/projects/projects_libs/libmsgpack/msgpack-c/src/
H A Dvrefbuffer.c21 bool msgpack_vrefbuffer_init(msgpack_vrefbuffer* vbuf, argument
28 vbuf->chunk_size = chunk_size;
29 vbuf->ref_size =
42 vbuf->tail = array;
43 vbuf->end = array + nfirst;
44 vbuf->array = array;
53 msgpack_vrefbuffer_inner_buffer* const ib = &vbuf->inner_buffer;
64 void msgpack_vrefbuffer_destroy(msgpack_vrefbuffer* vbuf) argument
66 msgpack_vrefbuffer_chunk* c = vbuf->inner_buffer.head;
76 free(vbuf
79 msgpack_vrefbuffer_clear(msgpack_vrefbuffer* vbuf) argument
100 msgpack_vrefbuffer_append_ref(msgpack_vrefbuffer* vbuf, const char* buf, size_t len) argument
125 msgpack_vrefbuffer_append_copy(msgpack_vrefbuffer* vbuf, const char* buf, size_t len) argument
164 msgpack_vrefbuffer_migrate(msgpack_vrefbuffer* vbuf, msgpack_vrefbuffer* to) argument
[all...]
/seL4-camkes-master/projects/projects_libs/libsdhcdrivers/include/sdhc/
H A Dmmc.h48 * @param[in] vbuf The virtual address of a buffer to read the data into
57 void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token);
66 * @param[in] vbuf The virtual address of a buffer that contains the data to be written
74 const void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token);
/seL4-camkes-master/projects/projects_libs/libusbdrivers/include/usb/
H A Dotg.h48 void* vbuf, uintptr_t pbuf, int len,
/seL4-camkes-master/projects/projects_libs/libusbdrivers/src/plat/
H A Dusb_otg.h32 void* vbuf, uintptr_t pbuf, int len,
/seL4-camkes-master/projects/projects_libs/libusbdrivers/src/
H A Dotg.c57 void *vbuf, uintptr_t pbuf, int len, otg_prime_cb cb, void *token)
59 return otg->prime(otg, ep, dir, vbuf, pbuf, len, cb, token);
56 otg_prime(usb_otg_t otg, int ep, enum usb_xact_type dir, void *vbuf, uintptr_t pbuf, int len, otg_prime_cb cb, void *token) argument
/seL4-camkes-master/projects/util_libs/libethdrivers/include/ethdrivers/
H A Draw.h164 void *vbuf; member in struct:dma_buf_cookie
/seL4-camkes-master/projects/projects_libs/libsdhcdrivers/src/
H A Dmmc.c143 static int mmc_cmd_add_data(struct mmc_cmd *cmd, void *vbuf, uintptr_t pbuf, uint32_t addr, argument
151 d->vbuf = vbuf;
435 void *vbuf,
469 ret = mmc_cmd_add_data(cmd, vbuf, pbuf, start, block_size, nblocks);
509 int nblocks, void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token)
515 vbuf,
523 const void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token)
525 // vbuf's `const` gets dropped during the cast as the underlying layer
532 (void *)vbuf,
431 transfer_data( mmc_card_t mmc_card, unsigned long start, int nblocks, void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token, uint32_t command) argument
508 mmc_block_read(mmc_card_t mmc_card, unsigned long start, int nblocks, void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token) argument
522 mmc_block_write(mmc_card_t mmc_card, unsigned long start, int nblocks, const void *vbuf, uintptr_t pbuf, mmc_cb cb, void *token) argument
[all...]
H A Dmmc.h110 void *vbuf; member in struct:mmc_data
H A Dsdhc.c483 assert(cmd->data->vbuf);
487 usr_buf = (uint32_t *)cmd->data->vbuf;

Completed in 84 milliseconds