Searched refs:_ri_count (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/ |
D | lwm2m_object.h | 213 #define _INIT_OBJ_RES(_id, _r_ptr, _r_idx, _ri_ptr, _ri_count, _multi_ri, \ argument 217 _r_ptr[_r_idx].res_inst_count = _ri_count; \ 225 #define _INIT_OBJ_RES(_id, _r_ptr, _r_idx, _ri_ptr, _ri_count, _multi_ri, \ argument 229 _r_ptr[_r_idx].res_inst_count = _ri_count; \ 237 #define _INIT_OBJ_RES_INST(_ri_ptr, _ri_idx, _ri_count, _ri_create, \ argument 240 if (_ri_ptr != NULL && _ri_count > 0) { \ 241 for (int _i = 0; _i < _ri_count; _i++) { \ 257 _ri_idx += _ri_count; \ 260 #define _INIT_OBJ_RES_INST_OPT(_ri_ptr, _ri_idx, _ri_count, _ri_create) \ argument 262 if (_ri_count > 0) { \ [all …]
|