Home
last modified time | relevance | path

Searched refs:objl (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/src/
Dtest_obj.c28 struct lwm2m_objlnk objl; variable
83 INIT_OBJ_RES_DATA(LWM2M_RES_TYPE_OBJLNK, res, i, res_inst, j, &objl, sizeof(objl)); in obj_create()
Dlwm2m_registry.c151 struct lwm2m_objlnk objl = {.obj_id = 1, .obj_inst = 2}; in ZTEST() local
166 zassert_equal(lwm2m_set_objlnk(&LWM2M_OBJ(32768, 0, LWM2M_RES_TYPE_OBJLNK), &objl), 0); in ZTEST()
180 zassert_equal(lwm2m_get_objlnk(&LWM2M_OBJ(32768, 0, LWM2M_RES_TYPE_OBJLNK), &objl), 0); in ZTEST()
195 memcmp(&objl, &(struct lwm2m_objlnk){.obj_id = 1, .obj_inst = 2}, sizeof(objl)), 0); in ZTEST()
538 struct lwm2m_objlnk objl = {.obj_id = 10, .obj_inst = 20}; in ZTEST() local
553 {&LWM2M_OBJ(TEST_OBJ_ID, 0, LWM2M_RES_TYPE_OBJLNK), &objl, sizeof(objl)} in ZTEST()
573 &objl), 0); in ZTEST()
588 zassert_equal(memcmp(&objl, &(struct lwm2m_objlnk){.obj_id = 10, .obj_inst = 20}, in ZTEST()
589 sizeof(objl)), 0); in ZTEST()