Lines Matching refs:in
487 struct lwm2m_input_context in; member
579 int (*get_s32)(struct lwm2m_input_context *in, int32_t *value);
580 int (*get_s64)(struct lwm2m_input_context *in, int64_t *value);
581 int (*get_time)(struct lwm2m_input_context *in, time_t *value);
582 int (*get_string)(struct lwm2m_input_context *in, uint8_t *buf,
584 int (*get_float)(struct lwm2m_input_context *in, double *value);
585 int (*get_bool)(struct lwm2m_input_context *in, bool *value);
586 int (*get_opaque)(struct lwm2m_input_context *in, uint8_t *buf,
589 int (*get_objlnk)(struct lwm2m_input_context *in,
612 static inline void engine_set_in_user_data(struct lwm2m_input_context *in, in engine_set_in_user_data() argument
615 in->user_data = user_data; in engine_set_in_user_data()
618 static inline void *engine_get_in_user_data(struct lwm2m_input_context *in) in engine_get_in_user_data() argument
620 return in->user_data; in engine_get_in_user_data()
624 engine_clear_in_user_data(struct lwm2m_input_context *in) in engine_clear_in_user_data() argument
626 in->user_data = NULL; in engine_clear_in_user_data()
821 static inline int engine_get_s32(struct lwm2m_input_context *in, int32_t *value) in engine_get_s32() argument
823 if (in->reader->get_s32) { in engine_get_s32()
824 return in->reader->get_s32(in, value); in engine_get_s32()
829 static inline int engine_get_s64(struct lwm2m_input_context *in, int64_t *value) in engine_get_s64() argument
831 if (in->reader->get_s64) { in engine_get_s64()
832 return in->reader->get_s64(in, value); in engine_get_s64()
837 static inline int engine_get_string(struct lwm2m_input_context *in, uint8_t *buf, size_t buflen) in engine_get_string() argument
839 if (in->reader->get_string) { in engine_get_string()
840 return in->reader->get_string(in, buf, buflen); in engine_get_string()
845 static inline int engine_get_time(struct lwm2m_input_context *in, time_t *value) in engine_get_time() argument
847 if (in->reader->get_time) { in engine_get_time()
848 return in->reader->get_time(in, value); in engine_get_time()
853 static inline int engine_get_float(struct lwm2m_input_context *in, double *value) in engine_get_float() argument
855 if (in->reader->get_float) { in engine_get_float()
856 return in->reader->get_float(in, value); in engine_get_float()
861 static inline int engine_get_bool(struct lwm2m_input_context *in, bool *value) in engine_get_bool() argument
863 if (in->reader->get_bool) { in engine_get_bool()
864 return in->reader->get_bool(in, value); in engine_get_bool()
869 static inline int engine_get_opaque(struct lwm2m_input_context *in, uint8_t *buf, size_t buflen, in engine_get_opaque() argument
872 if (in->reader->get_opaque) { in engine_get_opaque()
873 return in->reader->get_opaque(in, buf, buflen, opaque, last_block); in engine_get_opaque()
879 static inline int engine_get_objlnk(struct lwm2m_input_context *in, struct lwm2m_objlnk *value) in engine_get_objlnk() argument
881 if (in->reader->get_objlnk) { in engine_get_objlnk()
882 return in->reader->get_objlnk(in, value); in engine_get_objlnk()