/dports/print/cups-filters/cups-filters-1.28.10/cupsfilters/ |
H A D | ppdgenerator.c | 2798 (human_readable ? human_readable : in ppdCreateFromIPP2() 2821 (human_readable ? human_readable : in ppdCreateFromIPP2() 2841 (human_readable ? human_readable : in ppdCreateFromIPP2() 2857 (human_readable ? human_readable : in ppdCreateFromIPP2() 2876 (human_readable ? human_readable : in ppdCreateFromIPP2() 2910 (human_readable ? human_readable : in ppdCreateFromIPP2() 2926 (human_readable ? human_readable : in ppdCreateFromIPP2() 2942 (human_readable ? human_readable : in ppdCreateFromIPP2() 2955 (human_readable ? human_readable : in ppdCreateFromIPP2() 2968 (human_readable ? human_readable : in ppdCreateFromIPP2() [all …]
|
/dports/net/rsync/rsync-3.2.3/ |
H A D | inums.h | 28 extern int human_readable; in comma_num() 29 return do_big_num(num, human_readable != 0, NULL); in comma_num() 35 extern int human_readable; in human_num() 36 return do_big_num(num, human_readable, NULL); in human_num() 48 extern int human_readable; in comma_dnum() 49 return do_big_dnum(dnum, human_readable != 0, decimal_digits); in comma_dnum() 55 extern int human_readable; in human_dnum() 56 return do_big_dnum(dnum, human_readable, decimal_digits); in human_dnum()
|
/dports/net-im/dino/dino-0.2.2/xmpp-vala/src/module/ |
H A D | stanza_error.vala | 74 if (human_readable != null) { 78 .put_node(new StanzaNode.text(human_readable)) 82 public ErrorStanza.bad_request(string? human_readable = null) { 83 this.build(TYPE_MODIFY, CONDITION_BAD_REQUEST, human_readable, null); 85 public ErrorStanza.feature_not_implemented(string? human_readable = null) { 91 public ErrorStanza.not_acceptable(string? human_readable = null) { 92 this.build(TYPE_MODIFY, CONDITION_NOT_ACCEPTABLE, human_readable, null); 94 public ErrorStanza.not_allowed(string? human_readable = null) { 95 this.build(TYPE_CANCEL, CONDITION_NOT_ALLOWED, human_readable, null); 97 public ErrorStanza.resource_constraint(string? human_readable = null) { [all …]
|
/dports/multimedia/dvb-apps/dvb-apps-3d43b280298c/util/femon/ |
H A D | femon.c | 65 int check_frontend (struct dvbfe_handle *fe, int human_readable, unsigned int count) in check_frontend() argument 98 if (human_readable) { in check_frontend() 148 int do_mon(unsigned int adapter, unsigned int frontend, int human_readable, unsigned int count) in do_mon() argument 178 result = check_frontend (fe, human_readable, count); in do_mon() 188 int human_readable = 0; in main() local 207 human_readable = 1; in main() 221 do_mon(adapter, frontend, human_readable, count); in main()
|
/dports/net/freediameter/freeDiameter-1.5.0/contrib/app_acct_tools/ |
H A D | display_stats.php | 87 function human_readable( $size ) function 135 echo " <tr><td>Total data downloaded:</td><td><strong>".human_readable($data["total_down"])."</s… 136 echo " <tr><td>Total data uploaded:</td><td><strong>".human_readable($data["total_up"])."</stron… 168 echo " <td>".human_readable($data["total_down"])."</td>\n"; 197 echo " <td>".human_readable($data["total_up"])."</td>\n"; 255 echo " <td>".human_readable($data["traffic"])."</td>\n";
|
/dports/net/cjdns/cjdns-cjdns-v21.1/contrib/python/ |
H A D | peerStats | 20 human_readable=False 31 if o in ("-h", "--humanreadable"): human_readable=True 39 at.peerStats(cjdns,verbose=True,human_readable=human_readable);
|
/dports/devel/py-osc-lib/osc-lib-2.4.2/osc_lib/cli/ |
H A D | format_columns.py | 26 def human_readable(self): member in DictColumn 36 def human_readable(self): member in DictListColumn 46 def human_readable(self): member in ListColumn 53 def human_readable(self): member in ListDictColumn
|
/dports/devel/py-osc-lib/osc-lib-2.4.2/osc_lib/tests/cli/ |
H A D | test_format_columns.py | 31 self.assertEqual("key1='value1', key2='value2'", col.human_readable()) 50 col.human_readable()) 69 self.assertEqual("key1, key2", col.human_readable()) 81 self.assertEqual("key1='value1'\nkey2='value2'", col.human_readable())
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/extras/taskstats/ |
H A D | taskstats.c | 134 int human_readable) { in print_task_stats() argument 149 if (human_readable) { in print_task_stats() 166 human_readable ? "Delay (ms)" : "Delay (ns)", in print_task_stats() 172 if (!human_readable) { in print_task_stats() 217 if (human_readable && s->ac_stime) { in print_task_stats() 266 int human_readable = 1; in main() local 296 human_readable = 0; in main() 332 print_task_stats(&stats, human_readable); in main()
|
/dports/sysutils/rw/rw-portable-1.0/ |
H A D | rw.c | 182 bool human_readable) in format_bytes_amount() argument 184 if ( !human_readable ) in format_bytes_amount() 209 bool human_readable) in format_time_amount() argument 211 if ( !human_readable || value < 60 ) in format_time_amount() 249 bool human_readable, in progress() argument 296 human_readable); in progress() 302 human_readable); in progress() 309 human_readable); in progress() 313 human_readable); in progress() 366 bool human_readable = false; in main() local [all …]
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/tests/unit/common/ |
H A D | fourcc.cpp | 327 EXPECT_TRUE(fourcc_c{"ABCD"}.human_readable()); in TEST() 328 EXPECT_TRUE(fourcc_c{"ABC?"}.human_readable()); in TEST() 329 EXPECT_TRUE(fourcc_c{"AB??"}.human_readable(2)); in TEST() 331 EXPECT_TRUE(fourcc_c{"abcd"}.human_readable()); in TEST() 332 EXPECT_TRUE(fourcc_c{"abc?"}.human_readable()); in TEST() 333 EXPECT_TRUE(fourcc_c{"ab??"}.human_readable(2)); in TEST() 335 EXPECT_TRUE(fourcc_c{"a007"}.human_readable()); in TEST() 336 EXPECT_TRUE(fourcc_c{"?007"}.human_readable()); in TEST() 339 EXPECT_FALSE(fourcc_c{"ab??"}.human_readable()); in TEST() 342 EXPECT_FALSE(fourcc_c{"ab??"}.human_readable()); in TEST() [all …]
|
/dports/multimedia/dvb-apps/dvb-apps-3d43b280298c/util/szap/ |
H A D | tzap.c | 391 static void print_frontend_stats(int fe_fd, int human_readable) in print_frontend_stats() argument 403 if (human_readable) { in print_frontend_stats() 418 int monitor_frontend (int fe_fd, int human_readable) in monitor_frontend() argument 424 print_frontend_stats(fe_fd, human_readable); in monitor_frontend() 430 print_frontend_stats (fe_fd, human_readable); in monitor_frontend() 498 int human_readable = 0, rec_psi = 0; in main() local 540 human_readable = 1; in main() 671 print_frontend_stats(frontend_fd, human_readable); in main() 676 print_frontend_stats(frontend_fd, human_readable); in main() 679 monitor_frontend(frontend_fd, human_readable); in main()
|
H A D | szap.c | 169 static int monitor_frontend (int fe_fd, int dvr, int human_readable) in monitor_frontend() argument 192 if (human_readable) { in monitor_frontend() 218 int dvr, int rec_psi, int bypass, int human_readable) in zap_to() argument 315 monitor_frontend (fefd, dvr, human_readable); in zap_to() 336 int bypass, int human_readable) in read_channels() argument 469 human_readable); in read_channels() 532 int human_readable = 0; in main() local 580 human_readable = 1; in main() 641 human_readable)) in main()
|
/dports/net-mgmt/nagios-check_bacula9/bacula-9.6.7/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/net-mgmt/nagios-check_bacula11/bacula-11.0.5/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/sysutils/bacula11-client/bacula-11.0.5/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/sysutils/bacula11-server/bacula-11.0.5/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/sysutils/bacula9-client-static/bacula-9.6.7/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/sysutils/bacula11-client-static/bacula-11.0.5/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/sysutils/bacula9-client/bacula-9.6.7/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/sysutils/bacula9-server/bacula-9.6.7/examples/reports/ |
H A D | baculareport.pl | 880 human_readable("B", $pool->{BytesTotal}), 881 " Rel: ", human_readable("P", $pool->{GuessReliability}), 882 " avail.: ", human_readable("B", $pool->{BytesFree}), "\n"); 901 human_readable("B", $i->{BytesTotal}), "\n"); 910 ($i->{AvgFullBytes} > 0)?human_readable("B", $i->{AvgFullBytes}):"N/A", " ", 912 ($i->{BytesFreeEmpty} > 0)?human_readable("B", $i->{BytesFreeEmpty}):"N/A", " ", 913 ($i->{BytesFree} > 0)?human_readable("B", $i->{BytesFree}):"N/A", " ", 914 human_readable("P", $i->{GuessReliability}), "\n"; 951 my $l1 = human_readable("B", $b_tot) . " used "; 952 my $l2 = "Rel: " . human_readable("P", $g_r) . " free " . human_readable("B", $b_free); [all …]
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/oeb/polish/ |
H A D | images.py | 10 from calibre import detect_ncpus, human_readable, force_unicode, filesystem_encoding 113 … name, human_readable(before), human_readable(after), (before - after)/before)) 123 …human_readable(before_total), human_readable(after_total), (before_total - after_total)/before_tot…
|
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/integration/targets/filter_mathstuff/tasks/ |
H A D | main.yml | 168 - name: Verify human_readable on invalid input 170 human_readable_exc1: '{{ "monkeys"|human_readable }}' 172 tags: human_readable 175 - name: Verify human_readable 176 tags: human_readable 179 - '"1.00 Bytes" == 1|human_readable' 180 - '"1.00 bits" == 1|human_readable(isbits=True)' 181 - '"10.00 KB" == 10240|human_readable' 182 - '"97.66 MB" == 102400000|human_readable' 183 - '"0.10 GB" == 102400000|human_readable(unit="G")' [all …]
|
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/integration/targets/filter_mathstuff/tasks/ |
H A D | main.yml | 168 - name: Verify human_readable on invalid input 170 human_readable_exc1: '{{ "monkeys"|human_readable }}' 172 tags: human_readable 175 - name: Verify human_readable 176 tags: human_readable 179 - '"1.00 Bytes" == 1|human_readable' 180 - '"1.00 bits" == 1|human_readable(isbits=True)' 181 - '"10.00 KB" == 10240|human_readable' 182 - '"97.66 MB" == 102400000|human_readable' 183 - '"0.10 GB" == 102400000|human_readable(unit="G")' [all …]
|
/dports/www/onionshare/onionshare-2.2/onionshare/ |
H A D | common.py | 456 human_readable = [] 458 human_readable.append("{:.0f}d".format(days)) 460 human_readable.append("{:.0f}h".format(hours)) 462 human_readable.append("{:.0f}m".format(minutes)) 463 if seconds or not human_readable: 464 human_readable.append("{:.0f}s".format(seconds)) 465 return "".join(human_readable)
|