Lines Matching refs:obj
42 typedef void (ObjectPropertyAccessor)(Object *obj,
63 typedef Object *(ObjectPropertyResolve)(Object *obj,
75 typedef void (ObjectPropertyRelease)(Object *obj,
86 typedef void (ObjectPropertyInit)(Object *obj, ObjectProperty *prop);
109 typedef void (ObjectUnparent)(Object *obj);
117 typedef void (ObjectFree)(void *obj);
177 OBJ_NAME(const void *obj) \
178 { return OBJECT_CHECK(InstanceType, obj, TYPENAME); }
194 OBJ_NAME##_GET_CLASS(const void *obj) \
195 { return OBJECT_GET_CLASS(ClassType, obj, TYPENAME); } \
280 module_obj_name##_finalize(Object *obj); \
284 module_obj_name##_init(Object *obj); \
481 void (*instance_init)(Object *obj);
482 void (*instance_post_init)(Object *obj);
483 void (*instance_finalize)(Object *obj);
502 #define OBJECT(obj) \ argument
503 ((Object *)(obj))
528 #define OBJECT_CHECK(type, obj, name) \ argument
529 ((type *)object_dynamic_cast_assert(OBJECT(obj), (name), \
556 #define OBJECT_GET_CLASS(class, obj, name) \ argument
557 OBJECT_CLASS_CHECK(class, object_get_class(OBJECT(obj)), name)
602 #define INTERFACE_CHECK(interface, obj, name) \ argument
603 ((interface *)object_dynamic_cast_assert(OBJECT((obj)), (name), \
698 bool object_apply_global_props(Object *obj, const GPtrArray *props,
704 void object_apply_compat_props(Object *obj);
740 bool object_set_props(Object *obj, Error **errp, ...) G_GNUC_NULL_TERMINATED;
752 bool object_set_propv(Object *obj, Error **errp, va_list vargs);
764 void object_initialize(void *obj, size_t size, const char *typename);
844 Object *object_dynamic_cast(Object *obj, const char *typename);
860 Object *object_dynamic_cast_assert(Object *obj, const char *typename,
869 ObjectClass *object_get_class(Object *obj);
877 const char *object_get_typename(const Object *obj);
945 void object_set_properties_from_keyval(Object *obj, const QDict *qdict,
1061 Object *object_ref(void *obj);
1070 void object_unref(void *obj);
1095 ObjectProperty *object_property_try_add(Object *obj, const char *name,
1124 ObjectProperty *object_property_add(Object *obj, const char *name,
1131 void object_property_del(Object *obj, const char *name);
1193 ObjectProperty *object_property_find(Object *obj, const char *name);
1205 ObjectProperty *object_property_find_err(Object *obj,
1265 Object *obj);
1298 void object_unparent(Object *obj);
1312 bool object_property_get(Object *obj, const char *name, Visitor *v,
1326 bool object_property_set_str(Object *obj, const char *name,
1339 char *object_property_get_str(Object *obj, const char *name,
1357 bool object_property_set_link(Object *obj, const char *name,
1370 Object *object_property_get_link(Object *obj, const char *name,
1384 bool object_property_set_bool(Object *obj, const char *name,
1396 bool object_property_get_bool(Object *obj, const char *name,
1410 bool object_property_set_int(Object *obj, const char *name,
1422 int64_t object_property_get_int(Object *obj, const char *name,
1436 bool object_property_set_uint(Object *obj, const char *name,
1448 uint64_t object_property_get_uint(Object *obj, const char *name,
1462 int object_property_get_enum(Object *obj, const char *name,
1478 bool object_property_set(Object *obj, const char *name, Visitor *v,
1492 bool object_property_parse(Object *obj, const char *name,
1505 char *object_property_print(Object *obj, const char *name, bool human,
1516 const char *object_property_get_type(Object *obj, const char *name,
1557 const char *object_get_canonical_path_component(const Object *obj);
1567 char *object_get_canonical_path(const Object *obj);
1671 ObjectProperty *object_property_try_add_child(Object *obj, const char *name,
1683 ObjectProperty *object_property_add_child(Object *obj, const char *name,
1706 void object_property_allow_set_link(const Object *obj, const char *name,
1739 ObjectProperty *object_property_add_link(Object *obj, const char *name,
1741 void (*check)(const Object *obj, const char *name,
1748 void (*check)(const Object *obj, const char *name,
1765 ObjectProperty *object_property_add_str(Object *obj, const char *name,
1787 ObjectProperty *object_property_add_bool(Object *obj, const char *name,
1810 ObjectProperty *object_property_add_enum(Object *obj, const char *name,
1834 ObjectProperty *object_property_add_tm(Object *obj, const char *name,
1862 ObjectProperty *object_property_add_uint8_ptr(Object *obj, const char *name,
1883 ObjectProperty *object_property_add_uint16_ptr(Object *obj, const char *name,
1904 ObjectProperty *object_property_add_uint32_ptr(Object *obj, const char *name,
1925 ObjectProperty *object_property_add_uint64_ptr(Object *obj, const char *name,
1951 ObjectProperty *object_property_add_alias(Object *obj, const char *name,
1970 ObjectProperty *object_property_add_const_link(Object *obj, const char *name,
1983 void object_property_set_description(Object *obj, const char *name,
2002 int object_child_foreach(Object *obj, int (*fn)(Object *child, void *opaque),
2020 int object_child_foreach_recursive(Object *obj,