Lines Matching refs:type
252 rt_object_get_information(enum rt_object_class_type type) in rt_object_get_information() argument
256 type = (enum rt_object_class_type)(type & ~RT_Object_Class_Static); in rt_object_get_information()
259 if (_object_container[index].type == type) return &_object_container[index]; in rt_object_get_information()
273 int rt_object_get_length(enum rt_object_class_type type) in rt_object_get_length() argument
280 information = rt_object_get_information((enum rt_object_class_type)type); in rt_object_get_length()
307 int rt_object_get_pointers(enum rt_object_class_type type, rt_object_t *pointers, int maxlen) in rt_object_get_pointers() argument
318 information = rt_object_get_information(type); in rt_object_get_pointers()
358 enum rt_object_class_type type, in rt_object_init() argument
372 information = rt_object_get_information(type); in rt_object_init()
396 object->type = type | RT_Object_Class_Static; in rt_object_init()
452 information = rt_object_get_information((enum rt_object_class_type)object->type); in rt_object_detach()
460 object->type = RT_Object_Class_Null; in rt_object_detach()
479 rt_object_t rt_object_allocate(enum rt_object_class_type type, const char *name) in rt_object_allocate() argument
492 information = rt_object_get_information(type); in rt_object_allocate()
508 object->type = type; in rt_object_allocate()
566 RT_ASSERT(!(object->type & RT_Object_Class_Static)); in rt_object_delete()
571 information = rt_object_get_information((enum rt_object_class_type)object->type); in rt_object_delete()
582 object->type = RT_Object_Class_Null; in rt_object_delete()
604 if (object->type & RT_Object_Class_Static) in rt_object_is_systemobject()
623 return object->type & ~RT_Object_Class_Static; in rt_object_get_type()
638 rt_err_t rt_object_for_each(rt_uint8_t type, rt_object_iter_t iter, void *data) in rt_object_for_each() argument
646 information = rt_object_get_information((enum rt_object_class_type)type); in rt_object_for_each()
717 rt_object_t rt_object_find(const char *name, rt_uint8_t type) in rt_object_find() argument
726 if (name == RT_NULL || rt_object_get_information(type) == RT_NULL) in rt_object_find()
732 rt_object_for_each(type, _match_name, ¶m); in rt_object_find()
805 if (obj && obj->type == RT_Object_Class_Custom) in rt_custom_object_destroy()