Lines Matching refs:variant
149 * @param variant_reader the reader for the variant in the field
196 DBusTypeReader variant;
211 _dbus_type_reader_recurse (&sub, &variant);
213 _dbus_header_cache_one (header, field_code, &variant);
260 * Writes a struct of { byte, variant } with the given basic type.
274 DBusTypeWriter variant;
298 &contained_type, 0, &variant))
301 if (!_dbus_type_writer_write_basic (&variant, type, value))
304 if (!_dbus_type_writer_unrecurse (&sub, &variant))
320 * Sets a struct of { byte, variant } with the given basic type.
336 DBusTypeReader variant;
350 _dbus_assert_not_reached ("no variant field?");
352 _dbus_type_reader_recurse (&sub, &variant);
353 _dbus_assert (_dbus_type_reader_get_current_type (&variant) == type);
355 if (!_dbus_type_reader_set_basic (&variant, value, realign_root))