Lines Matching refs:dyn_obj
63 rt_object_t dyn_obj = RT_NULL; in test_object_name_handling() local
82 dyn_obj = rt_object_allocate(RT_Object_Class_Thread, test_name); in test_object_name_handling()
83 uassert_not_null(dyn_obj); in test_object_name_handling()
84 uassert_true(rt_strlen(dyn_obj->name) <= TEST_RT_NAME_MAX - 1); in test_object_name_handling()
85 uassert_true(dyn_obj->name[TEST_RT_NAME_MAX - 1] == '\0'); in test_object_name_handling()
86 uassert_true(rt_strncmp(dyn_obj->name, test_name, TEST_RT_NAME_MAX - 1) == 0); in test_object_name_handling()
87 uassert_false(rt_object_is_systemobject(dyn_obj)); in test_object_name_handling()
88 rt_object_delete(dyn_obj); in test_object_name_handling()
97 dyn_obj = rt_object_allocate(RT_Object_Class_Thread, NULL); in test_object_name_handling()
98 uassert_not_null(dyn_obj); in test_object_name_handling()
99 uassert_true(dyn_obj->name[0] == '\0'); in test_object_name_handling()
100 rt_object_delete(dyn_obj); in test_object_name_handling()