Home | History | Annotate | Download | only in gio

Lines Matching full:value

36  * @short_description: Key-Value Paired File Attributes
40 * File attributes in GIO consist of a list of key-value pairs.
44 * key-value pairs by namespaces for relevance. Keys can be retrived
73 * namespace. Currently, the only key in this namespace is "value", which contains
74 * the value of the current entity tag.</entry></row>
135 * <title>GFileAttributes Built-in Keys and Value Types</title>
137 * <row><entry>Enum Value</entry><entry>Namespace:Key</entry><entry>Value Type</entry></row>
155 * <row><entry>%G_FILE_ATTRIBUTE_ETAG_VALUE</entry><entry>etag::value</entry><entry>string</entry></row>
233 * Clears the value of @attr and sets its type to
255 * @attr: a #GFileAttributeValue to set the value in.
256 * @new_value: a #GFileAttributeValue to get the value from.
258 * Sets an attribute's value from another attribute.
456 * Gets the string from a file attribute value. If the value is not the
459 * Returns: the string value contained within the attribute, or %NULL.
476 * Gets the byte string from a file attribute value. If the value is not the
496 * Gets the boolean value from a file attribute value. If the value is not the
499 * Returns: the boolean value contained within the attribute, or %FALSE.
516 * Gets the unsigned 32-bit integer from a file attribute value. If the value
536 * Gets the signed 32-bit integer from a file attribute value. If the value
556 * Gets the unsigned 64-bit integer from a file attribute value. If the value
576 * Gets the signed 64-bit integer from a file attribute value. If the value
596 * Gets the GObject from a file attribute value. If the value
614 _g_file_attribute_value_set_from_pointer (GFileAttributeValue *value,
619 _g_file_attribute_value_clear (value);
620 value->type = type;
626 value->u.string = g_strdup (value_p);
628 value->u.string = value_p;
633 value->u.obj = g_object_ref (value_p);
635 value->u.obj = value_p;
639 value->u.boolean = *(gboolean *)value_p;
643 value->u.uint32 = *(guint32 *)value_p;
647 value->u.int32 = *(gint32 *)value_p;
651 value->u.uint64 = *(guint64 *)value_p;
655 value->u.int64 = *(gint64 *)value_p;
668 * Sets the attribute value to a given string.
687 * Sets the attribute value to a given byte string.
704 * @value: a #gboolean to set within the type.
706 * Sets the attribute value to the given boolean value.
710 gboolean value)
716 attr->u.boolean = !!value;
722 * @value: a #guint32 to set within the type.
724 * Sets the attribute value to the given unsigned 32-bit integer.
728 guint32 value)
734 attr->u.uint32 = value;
740 * @value: a #gint32 to set within the type.
742 * Sets the attribute value to the given signed 32-bit integer.
746 gint32 value)
752 attr->u.int32 = value;
758 * @value: a #guint64 to set within the type.
760 * Sets the attribute value to a given unsigned 64-bit integer.
764 guint64 value)
770 attr->u.uint64 = value;
776 * @value: a #gint64 to set within the type.
778 * Sets the attribute value to a given signed 64-bit integer.
782 gint64 value)
788 attr->u.int64 = value;
796 * Sets the attribute to contain the value @obj.