Lines Matching full:elements
485 /* assign data elements */ in lwm2m_set_res_buf()
578 /* setup initial data elements */ in lwm2m_engine_set()
582 /* allow user to override data elements via callback */ in lwm2m_engine_set()
891 /* setup initial data elements */ in lwm2m_engine_get()
895 /* allow user to override data elements via callback */ in lwm2m_engine_get()
1493 struct lwm2m_time_series_elem elements; in lwm2m_engine_cache_write() local
1500 elements.t = time(NULL); in lwm2m_engine_cache_write()
1502 if (elements.t <= 0) { in lwm2m_engine_cache_write()
1509 elements.u32 = *(uint32_t *)value; in lwm2m_engine_cache_write()
1513 elements.u16 = *(uint16_t *)value; in lwm2m_engine_cache_write()
1517 elements.u8 = *(uint8_t *)value; in lwm2m_engine_cache_write()
1521 elements.i64 = *(int64_t *)value; in lwm2m_engine_cache_write()
1526 elements.time = *(time_t *)value; in lwm2m_engine_cache_write()
1528 elements.time = (time_t) *((uint32_t *)value); in lwm2m_engine_cache_write()
1536 elements.i32 = *(int32_t *)value; in lwm2m_engine_cache_write()
1540 elements.i16 = *(int16_t *)value; in lwm2m_engine_cache_write()
1544 elements.i8 = *(int8_t *)value; in lwm2m_engine_cache_write()
1548 elements.b = *(bool *)value; in lwm2m_engine_cache_write()
1552 elements.f = *(double *)value; in lwm2m_engine_cache_write()
1556 if (!lwm2m_cache_write(cache_entry, &elements)) { in lwm2m_engine_cache_write()