Lines Matching refs:obj
73 struct object *obj; in register_object() local
96 obj = get_object(); in register_object()
97 if (!obj) { in register_object()
103 memcpy(obj->name, cp->name, cp->name_len); in register_object()
104 obj_data.object = obj; in register_object()
122 memset(obj, 0, sizeof(*obj)); in register_object()
151 struct object *obj; in ots_obj_created() local
171 obj = &objects[obj_index]; in ots_obj_created()
172 if (obj->in_use) { in ots_obj_created()
176 obj->in_use = false; in ots_obj_created()
177 created_desc->name = obj->name; in ots_obj_created()
184 obj = object_being_created->object; in ots_obj_created()
185 created_desc->name = obj->name; in ots_obj_created()
197 struct object *obj; in ots_obj_deleted() local
205 obj = &objects[obj_index]; in ots_obj_deleted()
206 memset(obj, 0, sizeof(*obj)); in ots_obj_deleted()