/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_opaque.c | 55 size_t buflen, struct lwm2m_opaque_context *opaque, in get_opaque() argument 60 if (opaque->remaining == 0) { in get_opaque() 74 opaque->len = in->block_ctx->ctx.total_size; in get_opaque() 77 if (opaque->len == 0) { in get_opaque() 82 opaque->remaining = in_len; in get_opaque() 84 opaque->remaining = opaque->len; in get_opaque() 88 opaque->len = in_len; in get_opaque() 89 opaque->remaining = in_len; in get_opaque() 94 opaque, last_block); in get_opaque()
|
D | lwm2m_rw_cbor.c | 421 struct lwm2m_opaque_context *opaque, bool *last_block) in get_opaque() argument 429 if (opaque->remaining == 0) { in get_opaque() 437 opaque->len = hndl.total_len; in get_opaque() 438 opaque->remaining = hndl.total_len; in get_opaque() 445 return lwm2m_engine_get_opaque_more(in, value, buflen, opaque, last_block); in get_opaque()
|
D | lwm2m_registry.h | 195 struct lwm2m_opaque_context *opaque, bool *last_block);
|
D | lwm2m_rw_senml_cbor.c | 537 struct lwm2m_opaque_context *opaque, in get_opaque() argument 544 if (opaque->remaining == 0) { in get_opaque() 551 opaque->len = fd->current->record_union.union_vd.len; in get_opaque() 553 if (buflen < opaque->len) { in get_opaque() 558 dest = memcpy(value, fd->current->record_union.union_vd.value, opaque->len); in get_opaque() 565 return dest ? opaque->len : -EINVAL; in get_opaque()
|
D | lwm2m_rw_oma_tlv.c | 741 size_t buflen, struct lwm2m_opaque_context *opaque, in get_opaque() argument 748 if (opaque->remaining == 0) { in get_opaque() 754 opaque->len = tlv.length; in get_opaque() 755 opaque->remaining = tlv.length; in get_opaque() 759 opaque, last_block); in get_opaque()
|
D | lwm2m_object.h | 442 struct lwm2m_opaque_context opaque; member 587 size_t buflen, struct lwm2m_opaque_context *opaque, 870 struct lwm2m_opaque_context *opaque, bool *last_block) in engine_get_opaque() argument 873 return in->reader->get_opaque(in, buf, buflen, opaque, last_block); in engine_get_opaque()
|
D | lwm2m_rw_senml_json.c | 1215 struct lwm2m_opaque_context *opaque, bool *last_block) in get_opaque() argument 1236 if (opaque->remaining == 0) { in get_opaque() 1262 opaque->len = val_opaque->length; in get_opaque() 1263 opaque->remaining = val_opaque->length; in get_opaque() 1266 in_len = opaque->remaining; in get_opaque() 1276 opaque->remaining -= in_len; in get_opaque() 1277 if (opaque->remaining == 0U) { in get_opaque()
|
D | lwm2m_registry.c | 1090 struct lwm2m_opaque_context *opaque, bool *last_block) in lwm2m_engine_get_opaque_more() argument 1092 uint32_t in_len = opaque->remaining; in lwm2m_engine_get_opaque_more() 1103 opaque->remaining -= in_len; in lwm2m_engine_get_opaque_more() 1105 if (opaque->remaining == 0U || remaining == 0) { in lwm2m_engine_get_opaque_more()
|
D | lwm2m_message_handling.c | 166 memset(&(*ctx)->opaque, 0, sizeof((*ctx)->opaque)); in init_block_ctx() 1006 opaque_ctx = msg->in.block_ctx->opaque; in lwm2m_write_handler_opaque() 1061 msg->in.block_ctx->opaque = opaque_ctx; in lwm2m_write_handler_opaque()
|
D | lwm2m_rw_json.c | 803 size_t buflen, struct lwm2m_opaque_context *opaque, in get_opaque() argument
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/src/ |
D | lwm2m_registry.c | 139 uint8_t opaque[] = {0xde, 0xad, 0xbe, 0xff, 0, 0}; in ZTEST() local 152 uint16_t l = sizeof(opaque); in ZTEST() 155 zassert_equal(lwm2m_set_opaque(&LWM2M_OBJ(32768, 0, LWM2M_RES_TYPE_OPAQUE), opaque, l), 0); in ZTEST() 169 zassert_equal(lwm2m_get_opaque(&LWM2M_OBJ(32768, 0, LWM2M_RES_TYPE_OPAQUE), &opaque, l), 0); in ZTEST() 183 zassert_equal(memcmp(opaque, &(uint8_t[6]) {0xde, 0xad, 0xbe, 0xff, 0, 0}, l), 0); in ZTEST() 526 uint8_t opaque[] = {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}; in ZTEST() local 542 {&LWM2M_OBJ(TEST_OBJ_ID, 0, LWM2M_RES_TYPE_OPAQUE), &opaque, sizeof(opaque)}, in ZTEST() 559 zassert_equal(lwm2m_get_opaque(&LWM2M_OBJ(TEST_OBJ_ID, 0, LWM2M_RES_TYPE_OPAQUE), &opaque, in ZTEST() 560 sizeof(opaque)), 0); in ZTEST() 576 zassert_equal(memcmp(opaque, &(uint8_t[6]) {0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff}, in ZTEST() [all …]
|
D | test_obj.c | 16 uint8_t opaque[32]; variable 69 INIT_OBJ_RES_DATA_LEN(LWM2M_RES_TYPE_OPAQUE, res, i, res_inst, j, opaque, sizeof(opaque), in obj_create()
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | shared_multi_heap.rst | 11 pool providing an opaque "attribute" value (an integer or enum value) that can 22 structure. This structure is also carrying an opaque and user-defined 61 version) to request the memory by using the opaque parameter to select the 64 from, based on the opaque parameter and the runtime state of the heaps
|
D | sys_mem_blocks.rst | 85 :c:func:`sys_multi_mem_blocks_alloc` is called with an opaque
|
/Zephyr-latest/scripts/coccinelle/ |
D | ms_timeout.cocci | 8 // are now timeout values which are opaque non-integral values that
|
/Zephyr-latest/lib/utils/ |
D | json.c | 1098 static int opaque_string_encode(struct json_obj_token *opaque, json_append_bytes_t append_bytes, in opaque_string_encode() argument 1108 ret = append_bytes(opaque->start, opaque->length, data); in opaque_string_encode()
|
/Zephyr-latest/drivers/dma/ |
D | dma_iproc_pax.h | 441 uint32_t opaque:5; member
|
D | dma_iproc_pax_v1.c | 231 ring->curr.sync_data.opaque = 0x0; in prepare_ring() 776 ring->curr.sync_data.opaque = ring->curr.opq; in dma_iproc_pax_do_xfer()
|
D | dma_iproc_pax_v2.c | 252 ring->curr.sync_data.opaque = 0x0; in prepare_ring() 954 ring->curr.sync_data.opaque = ring->curr.opq; in dma_iproc_pax_process_dma_blocks()
|
/Zephyr-latest/doc/kernel/services/ |
D | polling.rst | 83 of this). The user **tag** is optional and completely opaque to the API: it is 231 takes a user **result** parameter that is opaque to the API and can be used to
|
/Zephyr-latest/doc/kernel/services/timing/ |
D | clocks.rst | 102 an opaque struct type that must be initialized using one of a family 295 But :c:type:`k_timeout_t` is opaque, and needs to be converted before 300 macro to test the opaque struct for equality and take special action.
|
/Zephyr-latest/doc/kernel/data_structures/ |
D | slist.rst | 18 before use. Its interior fields are opaque and should not be accessed
|
D | rbtree.rst | 32 rbnode is entirely opaque. It is not possible for the user to extract
|
/Zephyr-latest/doc/services/crypto/ |
D | psa_crypto.rst | 41 secure and flexible manner. It uses opaque key identifiers, which
|
/Zephyr-latest/doc/kernel/services/smp/ |
D | smp.rst | 325 exactly two arguments. The first is an opaque (architecture defined) 336 is either the interrupted thread's "handle" reflecting the same opaque type
|