Searched refs:G_FORMAT_SIZE_IEC_UNITS (Results 1 – 3 of 3) sorted by relevance
/third_party/glib/glib/tests/ |
D | fileutils.c | 696 check_string (g_format_size_full (0, G_FORMAT_SIZE_IEC_UNITS), "0 bytes"); in test_format_size_for_display() 697 check_string (g_format_size_full (1, G_FORMAT_SIZE_IEC_UNITS), "1 byte"); in test_format_size_for_display() 698 check_string (g_format_size_full (2, G_FORMAT_SIZE_IEC_UNITS), "2 bytes"); in test_format_size_for_display() 700 check_string (g_format_size_full (2048ULL, G_FORMAT_SIZE_IEC_UNITS), "2.0\302\240KiB"); in test_format_size_for_display() 701 check_string (g_format_size_full (2048ULL * 1024, G_FORMAT_SIZE_IEC_UNITS), "2.0\302\240MiB"); in test_format_size_for_display() 702 …check_string (g_format_size_full (2048ULL * 1024 * 1024, G_FORMAT_SIZE_IEC_UNITS), "2.0\302\240GiB… in test_format_size_for_display() 703 …check_string (g_format_size_full (2048ULL * 1024 * 1024 * 1024, G_FORMAT_SIZE_IEC_UNITS), "2.0\302… in test_format_size_for_display() 704 …check_string (g_format_size_full (2048ULL * 1024 * 1024 * 1024 * 1024, G_FORMAT_SIZE_IEC_UNITS), "… in test_format_size_for_display() 705 …(g_format_size_full (2048ULL * 1024 * 1024 * 1024 * 1024 * 1024, G_FORMAT_SIZE_IEC_UNITS), "2.0\30… in test_format_size_for_display() 707 check_string (g_format_size_full (238472938, G_FORMAT_SIZE_IEC_UNITS), "227.4\302\240MiB"); in test_format_size_for_display() [all …]
|
/third_party/glib/glib/ |
D | gutils.h | 307 G_FORMAT_SIZE_IEC_UNITS = 1 << 1, enumerator
|
D | gutils.c | 2833 case (G_FORMAT_SIZE_DEFAULT | G_FORMAT_SIZE_IEC_UNITS): in g_format_size_full() 2839 case (G_FORMAT_SIZE_BITS | G_FORMAT_SIZE_IEC_UNITS): in g_format_size_full()
|