Searched refs:PedUnit (Results 1 - 5 of 5) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libparted/common/include/parted/
H A Dunit.h20 * \addtogroup PedUnit
62 } PedUnit; typedef in typeref:enum:__anon3988
67 extern long long ped_unit_get_size (const PedDevice* dev, PedUnit unit);
68 extern const char* ped_unit_get_name (PedUnit unit);
69 extern PedUnit ped_unit_get_by_name (const char* unit_name);
71 extern void ped_unit_set_default (PedUnit unit);
72 extern PedUnit ped_unit_get_default ();
76 PedUnit unit);
80 PedUnit unit);
86 PedUnit uni
[all...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/
H A Dunit.c22 * \addtogroup PedUnit
24 * \brief The PedUnit module provides a standard mechanism for describing
30 * For example, my extended partition starts at sector 208845. PedUnit allows
32 * "0Gb" and "0%", as well as "208845s". PedUnit aims to provide facilities
36 * PedUnit provides two basic services: converting a PedSector into a text
38 * PedUnit currently supports these units:
43 * PedUnit has a global variable that contains the default unit for all
69 static PedUnit default_unit = PED_UNIT_COMPACT;
89 * \brief Set the default \p unit used by subsequent calls to the PedUnit API.
95 ped_unit_set_default (PedUnit uni
[all...]
/opensolaris-onvv-gate/usr/src/cmd/parted/
H A Dui.h65 extern int command_line_get_unit (const char* prompt, PedUnit* unit);
H A Dui.c1254 command_line_get_unit (const char* prompt, PedUnit* unit)
1257 PedUnit walk;
H A Dparted.c1262 PedUnit default_unit;
1951 PedUnit unit = ped_unit_get_default ();
1975 PedUnit unit;

Completed in 108 milliseconds