Lines Matching refs:Object
43 typedef void (ObjectPropertyAccessor)(Object *obj,
64 typedef Object *(ObjectPropertyResolve)(Object *obj,
76 typedef void (ObjectPropertyRelease)(Object *obj,
87 typedef void (ObjectPropertyInit)(Object *obj, ObjectProperty *prop);
110 typedef void (ObjectUnparent)(Object *obj);
154 struct Object struct
161 Object *parent; argument
281 module_obj_name##_finalize(Object *obj); \
285 module_obj_name##_init(Object *obj); \
483 void (*instance_init)(Object *obj);
484 void (*instance_post_init)(Object *obj);
485 void (*instance_finalize)(Object *obj);
505 ((Object *)(obj))
621 Object *object_new_with_class(ObjectClass *klass);
633 Object *object_new(const char *typename);
681 Object *object_new_with_props(const char *typename,
682 Object *parent,
697 Object *object_new_with_propv(const char *typename,
698 Object *parent,
703 bool object_apply_global_props(Object *obj, const GPtrArray *props,
709 void object_apply_compat_props(Object *obj);
745 bool object_set_props(Object *obj, Error **errp, ...) G_GNUC_NULL_TERMINATED;
757 bool object_set_propv(Object *obj, Error **errp, va_list vargs);
794 bool object_initialize_child_with_props(Object *parentobj,
813 bool object_initialize_child_with_propsv(Object *parentobj,
835 void object_initialize_child_internal(Object *parent, const char *propname,
849 Object *object_dynamic_cast(Object *obj, const char *typename);
865 Object *object_dynamic_cast_assert(Object *obj, const char *typename,
874 ObjectClass *object_get_class(Object *obj);
882 const char *object_get_typename(const Object *obj);
936 void object_set_properties_from_keyval(Object *obj, const QDict *qdict,
1052 Object *object_ref(void *obj);
1086 ObjectProperty *object_property_try_add(Object *obj, const char *name,
1115 ObjectProperty *object_property_add(Object *obj, const char *name,
1122 void object_property_del(Object *obj, const char *name);
1184 ObjectProperty *object_property_find(Object *obj, const char *name);
1196 ObjectProperty *object_property_find_err(Object *obj,
1256 Object *obj);
1289 void object_unparent(Object *obj);
1303 bool object_property_get(Object *obj, const char *name, Visitor *v,
1317 bool object_property_set_str(Object *obj, const char *name,
1330 char *object_property_get_str(Object *obj, const char *name,
1348 bool object_property_set_link(Object *obj, const char *name,
1349 Object *value, Error **errp);
1361 Object *object_property_get_link(Object *obj, const char *name,
1375 bool object_property_set_bool(Object *obj, const char *name,
1387 bool object_property_get_bool(Object *obj, const char *name,
1401 bool object_property_set_int(Object *obj, const char *name,
1413 int64_t object_property_get_int(Object *obj, const char *name,
1427 bool object_property_set_uint(Object *obj, const char *name,
1439 uint64_t object_property_get_uint(Object *obj, const char *name,
1453 int object_property_get_enum(Object *obj, const char *name,
1469 bool object_property_set(Object *obj, const char *name, Visitor *v,
1483 bool object_property_parse(Object *obj, const char *name,
1496 char *object_property_print(Object *obj, const char *name, bool human,
1507 const char *object_property_get_type(Object *obj, const char *name,
1515 Object *object_get_root(void);
1525 Object *object_get_container(const char *name);
1537 Object *object_get_objects_root(void);
1548 Object *object_get_internal_root(void);
1558 const char *object_get_canonical_path_component(const Object *obj);
1568 char *object_get_canonical_path(const Object *obj);
1593 Object *object_resolve_path(const char *path, bool *ambiguous);
1613 Object *object_resolve_path_type(const char *path, const char *typename,
1627 Object *object_resolve_type_unambiguous(const char *typename, Error **errp);
1639 Object *object_resolve_path_at(Object *parent, const char *path);
1651 Object *object_resolve_path_component(Object *parent, const char *part);
1672 ObjectProperty *object_property_try_add_child(Object *obj, const char *name,
1673 Object *child, Error **errp);
1684 ObjectProperty *object_property_add_child(Object *obj, const char *name,
1685 Object *child);
1707 void object_property_allow_set_link(const Object *obj, const char *name,
1708 Object *child, Error **errp);
1740 ObjectProperty *object_property_add_link(Object *obj, const char *name,
1741 const char *type, Object **targetp,
1742 void (*check)(const Object *obj, const char *name,
1743 Object *val, Error **errp),
1749 void (*check)(const Object *obj, const char *name,
1750 Object *val, Error **errp),
1766 ObjectProperty *object_property_add_str(Object *obj, const char *name,
1767 char *(*get)(Object *, Error **),
1768 void (*set)(Object *, const char *, Error **));
1772 char *(*get)(Object *, Error **),
1773 void (*set)(Object *, const char *,
1788 ObjectProperty *object_property_add_bool(Object *obj, const char *name,
1789 bool (*get)(Object *, Error **),
1790 void (*set)(Object *, bool, Error **));
1794 bool (*get)(Object *, Error **),
1795 void (*set)(Object *, bool, Error **));
1811 ObjectProperty *object_property_add_enum(Object *obj, const char *name,
1814 int (*get)(Object *, Error **),
1815 void (*set)(Object *, int, Error **));
1821 int (*get)(Object *, Error **),
1822 void (*set)(Object *, int, Error **));
1835 ObjectProperty *object_property_add_tm(Object *obj, const char *name,
1836 void (*get)(Object *, struct tm *, Error **));
1840 void (*get)(Object *, struct tm *, Error **));
1863 ObjectProperty *object_property_add_uint8_ptr(Object *obj, const char *name,
1884 ObjectProperty *object_property_add_uint16_ptr(Object *obj, const char *name,
1905 ObjectProperty *object_property_add_uint32_ptr(Object *obj, const char *name,
1926 ObjectProperty *object_property_add_uint64_ptr(Object *obj, const char *name,
1952 ObjectProperty *object_property_add_alias(Object *obj, const char *name,
1953 Object *target_obj, const char *target_name);
1971 ObjectProperty *object_property_add_const_link(Object *obj, const char *name,
1972 Object *target);
1984 void object_property_set_description(Object *obj, const char *name,
2003 int object_child_foreach(Object *obj, int (*fn)(Object *child, void *opaque),
2021 int object_child_foreach_recursive(Object *obj,
2022 int (*fn)(Object *child, void *opaque),
2035 Object *object_property_add_new_container(Object *obj, const char *name);
2050 G_DEFINE_AUTOPTR_CLEANUP_FUNC(Object, object_unref)