/dports/www/tikiwiki/tiki-21.2/lib/smarty_tiki/ |
H A D | modifier.kbsize.php | 22 function smarty_modifier_kbsize($string, $bytes = false, $nb_decimals = 2, $unit_separator = ' … argument 29 $string = number_format($string / 1099511627776, $nb_decimals); 32 $string = number_format($string / 1073741824, $nb_decimals); 35 $string = number_format($string / 1048576, $nb_decimals); 38 $string = number_format($string / 1024, $nb_decimals);
|
/dports/databases/libgda5/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ member 229 entry->priv->nb_decimals = G_MAXUINT16; in gdaui_numeric_entry_init() 322 g_value_set_uint (value, entry->priv->nb_decimals); in gdaui_numeric_entry_get_property() 441 entry->priv->nb_decimals != G_MAXUINT16) { in text_reformat() 444 if (entry->priv->nb_decimals > 0) { in text_reformat() 446 for (i = 0; i < entry->priv->nb_decimals; i++) in text_reformat() 454 if (nb_dec < entry->priv->nb_decimals) { in text_reformat() 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) in text_reformat() 458 else if (nb_dec > entry->priv->nb_decimals) { in text_reformat() 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); in text_reformat() [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ 470 mgstr->priv->nb_decimals = atoi (str); 472 mgstr->priv->nb_decimals = 0; 493 "n-decimals", mgstr->priv->nb_decimals,
|
/dports/databases/libgda5-bdb/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ 229 entry->priv->nb_decimals = G_MAXUINT16; in gda_report_rml_document_run_as_pdf() 322 g_value_set_uint (value, entry->priv->nb_decimals); 441 entry->priv->nb_decimals != G_MAXUINT16) { 444 if (entry->priv->nb_decimals > 0) { 446 for (i = 0; i < entry->priv->nb_decimals; i++) 454 if (nb_dec < entry->priv->nb_decimals) { 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) 458 else if (nb_dec > entry->priv->nb_decimals) { 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; member 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ in gdaui_entry_number_init() 470 mgstr->priv->nb_decimals = atoi (str); in set_entry_options() 472 mgstr->priv->nb_decimals = 0; in set_entry_options() 493 "n-decimals", mgstr->priv->nb_decimals, in sync_entry_options()
|
/dports/databases/libgda5-mysql/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ member 229 entry->priv->nb_decimals = G_MAXUINT16; in gdaui_numeric_entry_init() 322 g_value_set_uint (value, entry->priv->nb_decimals); in gdaui_numeric_entry_get_property() 441 entry->priv->nb_decimals != G_MAXUINT16) { in text_reformat() 444 if (entry->priv->nb_decimals > 0) { in text_reformat() 446 for (i = 0; i < entry->priv->nb_decimals; i++) in text_reformat() 454 if (nb_dec < entry->priv->nb_decimals) { in text_reformat() 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) in text_reformat() 458 else if (nb_dec > entry->priv->nb_decimals) { in text_reformat() 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); in text_reformat() [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; member 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ in gdaui_entry_number_init() 470 mgstr->priv->nb_decimals = atoi (str); in set_entry_options() 472 mgstr->priv->nb_decimals = 0; in set_entry_options() 493 "n-decimals", mgstr->priv->nb_decimals, in sync_entry_options()
|
/dports/databases/libgda5-jdbc/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ member 229 entry->priv->nb_decimals = G_MAXUINT16; in gdaui_numeric_entry_init() 322 g_value_set_uint (value, entry->priv->nb_decimals); in gdaui_numeric_entry_get_property() 441 entry->priv->nb_decimals != G_MAXUINT16) { in text_reformat() 444 if (entry->priv->nb_decimals > 0) { in text_reformat() 446 for (i = 0; i < entry->priv->nb_decimals; i++) in text_reformat() 454 if (nb_dec < entry->priv->nb_decimals) { in text_reformat() 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) in text_reformat() 458 else if (nb_dec > entry->priv->nb_decimals) { in text_reformat() 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); in text_reformat() [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; member 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ in gdaui_entry_number_init() 470 mgstr->priv->nb_decimals = atoi (str); in set_entry_options() 472 mgstr->priv->nb_decimals = 0; in set_entry_options() 493 "n-decimals", mgstr->priv->nb_decimals, in sync_entry_options()
|
/dports/databases/libgda5-ui/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ member 229 entry->priv->nb_decimals = G_MAXUINT16; in gdaui_numeric_entry_init() 322 g_value_set_uint (value, entry->priv->nb_decimals); in gdaui_numeric_entry_get_property() 441 entry->priv->nb_decimals != G_MAXUINT16) { in text_reformat() 444 if (entry->priv->nb_decimals > 0) { in text_reformat() 446 for (i = 0; i < entry->priv->nb_decimals; i++) in text_reformat() 454 if (nb_dec < entry->priv->nb_decimals) { in text_reformat() 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) in text_reformat() 458 else if (nb_dec > entry->priv->nb_decimals) { in text_reformat() 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); in text_reformat() [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; member 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ in gdaui_entry_number_init() 470 mgstr->priv->nb_decimals = atoi (str); in set_entry_options() 472 mgstr->priv->nb_decimals = 0; in set_entry_options() 493 "n-decimals", mgstr->priv->nb_decimals, in sync_entry_options()
|
/dports/databases/libgda5-postgresql/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ 229 entry->priv->nb_decimals = G_MAXUINT16; 322 g_value_set_uint (value, entry->priv->nb_decimals); 441 entry->priv->nb_decimals != G_MAXUINT16) { 444 if (entry->priv->nb_decimals > 0) { 446 for (i = 0; i < entry->priv->nb_decimals; i++) 454 if (nb_dec < entry->priv->nb_decimals) { 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) 458 else if (nb_dec > entry->priv->nb_decimals) { 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; member 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ in gdaui_entry_number_init() 470 mgstr->priv->nb_decimals = atoi (str); in set_entry_options() 472 mgstr->priv->nb_decimals = 0; in set_entry_options() 493 "n-decimals", mgstr->priv->nb_decimals, in sync_entry_options()
|
/dports/databases/libgda5-ldap/libgda-5.2.10/libgda-ui/data-entries/ |
H A D | gdaui-numeric-entry.c | 46 guint16 nb_decimals; /* G_MAXUINT16 for no limit */ member 229 entry->priv->nb_decimals = G_MAXUINT16; in gdaui_numeric_entry_init() 322 g_value_set_uint (value, entry->priv->nb_decimals); in gdaui_numeric_entry_get_property() 441 entry->priv->nb_decimals != G_MAXUINT16) { in text_reformat() 444 if (entry->priv->nb_decimals > 0) { in text_reformat() 446 for (i = 0; i < entry->priv->nb_decimals; i++) in text_reformat() 454 if (nb_dec < entry->priv->nb_decimals) { in text_reformat() 455 for (i = nb_dec; i < entry->priv->nb_decimals; i++) in text_reformat() 458 else if (nb_dec > entry->priv->nb_decimals) { in text_reformat() 459 g_string_truncate (string, len - (nb_dec - entry->priv->nb_decimals)); in text_reformat() [all …]
|
H A D | gdaui-entry-number.c | 79 guint16 nb_decimals; member 165 mgstr->priv->nb_decimals = G_MAXUINT16; /* unlimited number of decimals */ in gdaui_entry_number_init() 470 mgstr->priv->nb_decimals = atoi (str); in set_entry_options() 472 mgstr->priv->nb_decimals = 0; in set_entry_options() 493 "n-decimals", mgstr->priv->nb_decimals, in sync_entry_options()
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/Plugins/Tetrahedral_remeshing/ |
H A D | Tetrahedral_remeshing_plugin.cpp | 189 unsigned int nb_decimals = (log > 0) ? 5 : (std::ceil(-log)+3); in tet_remeshing_dialog() local 191 ui.edgeLength_dspinbox->setDecimals(nb_decimals); in tet_remeshing_dialog()
|
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavfilter/ |
H A D | vsrc_testsrc.c | 65 int nb_decimals; member 446 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 447 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 614 pow(10, test->nb_decimals); in test_fill_picture() 618 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavfilter/ |
H A D | vsrc_testsrc.c | 65 int nb_decimals; member 446 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 447 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 614 pow(10, test->nb_decimals); in test_fill_picture() 618 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavfilter/ |
H A D | vsrc_testsrc.c | 67 int nb_decimals; member 454 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 455 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 622 ff_exp10(test->nb_decimals); in test_fill_picture() 626 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavfilter/ |
H A D | vsrc_testsrc.c | 67 int nb_decimals; member 448 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 449 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 616 ff_exp10(test->nb_decimals); in test_fill_picture() 620 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavfilter/ |
H A D | vsrc_testsrc.c | 68 int nb_decimals; member 454 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 455 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 622 ff_exp10(test->nb_decimals); in test_fill_picture() 626 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavfilter/ |
H A D | vsrc_testsrc.c | 68 int nb_decimals; member 459 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 460 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 627 ff_exp10(test->nb_decimals); in test_fill_picture() 631 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|
/dports/multimedia/handbrake/ffmpeg-4.4/libavfilter/ |
H A D | vsrc_testsrc.c | 68 int nb_decimals; member 459 …{ "decimals", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 460 …{ "n", "set number of decimals to show", OFFSET(nb_decimals), AV_OPT_TYPE_INT, {.i64=0}, 0… 627 ff_exp10(test->nb_decimals); in test_fill_picture() 631 for (x = 0; x < test->nb_decimals; x++) in test_fill_picture()
|