Lines Matching defs:type

663 	/* blacklist partitions with name 'bootstrap' of type HFS (Apple uses that) */
693 LibHalDriveType type;
879 #define LIBHAL_PROP_EXTRACT_INT(_property_, _where_) else if (strcmp (key, _property_) == 0 && type == LIBHAL_PROPERTY_TYPE_INT32) _where_ = libhal_psi_get_int (&it)
880 #define LIBHAL_PROP_EXTRACT_UINT64(_property_, _where_) else if (strcmp (key, _property_) == 0 && type == LIBHAL_PROPERTY_TYPE_UINT64) _where_ = libhal_psi_get_uint64 (&it)
881 #define LIBHAL_PROP_EXTRACT_STRING(_property_, _where_) else if (strcmp (key, _property_) == 0 && type == LIBHAL_PROPERTY_TYPE_STRING) _where_ = (libhal_psi_get_string (&it) != NULL && strlen (libhal_psi_get_string (&it)) > 0) ? strdup (libhal_psi_get_string (&it)) : NULL
882 #define LIBHAL_PROP_EXTRACT_BOOL(_property_, _where_) else if (strcmp (key, _property_) == 0 && type == LIBHAL_PROPERTY_TYPE_BOOLEAN) _where_ = libhal_psi_get_bool (&it)
883 #define LIBHAL_PROP_EXTRACT_BOOL_BITFIELD(_property_, _where_, _field_) else if (strcmp (key, _property_) == 0 && type == LIBHAL_PROPERTY_TYPE_BOOLEAN) _where_ |= libhal_psi_get_bool (&it) ? _field_ : 0
884 #define LIBHAL_PROP_EXTRACT_STRLIST(_property_, _where_) else if (strcmp (key, _property_) == 0 && type == LIBHAL_PROPERTY_TYPE_STRLIST) _where_ = my_strvdup (libhal_psi_get_strlist (&it))
931 int type;
934 type = libhal_psi_get_type (&it);
994 drive->type = LIBHAL_DRIVE_TYPE_CDROM;
996 drive->type = LIBHAL_DRIVE_TYPE_FLOPPY;
999 drive->type = LIBHAL_DRIVE_TYPE_REMOVABLE_DISK;
1001 drive->type = LIBHAL_DRIVE_TYPE_DISK;
1003 drive->type = LIBHAL_DRIVE_TYPE_TAPE;
1005 drive->type = LIBHAL_DRIVE_TYPE_COMPACT_FLASH;
1007 drive->type = LIBHAL_DRIVE_TYPE_MEMORY_STICK;
1009 drive->type = LIBHAL_DRIVE_TYPE_SMART_MEDIA;
1011 drive->type = LIBHAL_DRIVE_TYPE_SD_MMC;
1013 drive->type = LIBHAL_DRIVE_TYPE_ZIP;
1015 drive->type = LIBHAL_DRIVE_TYPE_JAZ;
1017 drive->type = LIBHAL_DRIVE_TYPE_FLASHKEY;
1019 drive->type = LIBHAL_DRIVE_TYPE_DISK;
1027 drive->type = LIBHAL_DRIVE_TYPE_PORTABLE_AUDIO_PLAYER;
1030 drive->type = LIBHAL_DRIVE_TYPE_CAMERA;
1122 int type;
1125 type = libhal_psi_get_type (&it);
1133 LIBHAL_PROP_EXTRACT_STRING ("volume.partition.type", vol->partition_type);
1167 LIBHAL_PROP_EXTRACT_STRING ("volume.disc.type", disc_type_textual);
1255 * @return The partition type or -1 if volume is not
1461 return drive->type;
1900 int type;
1903 type = libhal_psi_get_type (&it);