| /minix3/lib/libc/gdtoa/test/ |
| H A D | f.out | 3 strtof consumes 4 bytes and returns 1.23 = #3f9d70a4 4 g_ffmt(0) gives 4 bytes: "1.23" 6 strtoIf returns 33, consuming 4 bytes. 13 strtof consumes 8 bytes and returns 1.23e+20 = #60d55ef9 14 g_ffmt(0) gives 8 bytes: "1.23e+20" 16 strtoIf returns 17, consuming 8 bytes. 23 strtof consumes 8 bytes and returns 1.23e-20 = #1e685726 24 g_ffmt(0) gives 8 bytes: "1.23e-20" 26 strtoIf returns 17, consuming 8 bytes. 33 strtof consumes 10 bytes and returns 1.2345679 = #3f9e0652 [all …]
|
| H A D | d.out | 3 strtod consumes 4 bytes and returns 17 with f = 1.23 = #3ff3ae14 7ae147ae 4 g_dfmt(0) gives 4 bytes: "1.23" 6 strtoId returns 17, consuming 4 bytes. 13 strtod consumes 8 bytes and returns 1 with f = 1.23e+20 = #441aabdf 2145b430 14 g_dfmt(0) gives 8 bytes: "1.23e+20" 16 strtoId returns 1, consuming 8 bytes. 21 strtod consumes 8 bytes and returns 33 with f = 1.2300000000000001e-20 = #3bcd0ae4 cf767531 22 g_dfmt(0) gives 8 bytes: "1.23e-20" 24 strtoId returns 33, consuming 8 bytes. 31 strtod consumes 10 bytes and returns 17 with f = 1.2345678899999999 = #3ff3c0ca 4283de1b [all …]
|
| H A D | xL.ou0 | 4 strtoxL consumes 4 bytes and returns 33 6 g_xLfmt(0) gives 4 bytes: "1.23" 8 strtoIxL returns 33, consuming 4 bytes. 16 strtoxL consumes 8 bytes and returns 1 18 g_xLfmt(0) gives 8 bytes: "1.23e+20" 20 strtoIxL returns 1, consuming 8 bytes. 26 strtoxL consumes 8 bytes and returns 17 28 g_xLfmt(0) gives 8 bytes: "1.23e-20" 30 strtoIxL returns 17, consuming 8 bytes. 38 strtoxL consumes 10 bytes and returns 33 [all …]
|
| H A D | Q.ou0 | 4 strtoQ consumes 4 bytes and returns 17 6 g_Qfmt(0) gives 4 bytes: "1.23" 8 strtoIQ returns 17, consuming 4 bytes. 16 strtoQ consumes 8 bytes and returns 1 18 g_Qfmt(0) gives 8 bytes: "1.23e+20" 20 strtoIQ returns 1, consuming 8 bytes. 26 strtoQ consumes 8 bytes and returns 17 28 g_Qfmt(0) gives 8 bytes: "1.23e-20" 30 strtoIQ returns 17, consuming 8 bytes. 38 strtoQ consumes 10 bytes and returns 17 [all …]
|
| H A D | Q.ou1 | 4 strtoQ consumes 4 bytes and returns 17 7 g_Qfmt(0) gives 4 bytes: "1.23" 9 strtoIQ returns 17, consuming 4 bytes. 19 strtoQ consumes 8 bytes and returns 1 22 g_Qfmt(0) gives 8 bytes: "1.23e+20" 24 strtoIQ returns 1, consuming 8 bytes. 31 strtoQ consumes 8 bytes and returns 17 34 g_Qfmt(0) gives 8 bytes: "1.23e-20" 36 strtoIQ returns 17, consuming 8 bytes. 46 strtoQ consumes 10 bytes and returns 17 [all …]
|
| H A D | dd.out | 3 strtopdd consumes 4 bytes and returns 17 6 g_ddfmt(0) gives 4 bytes: "1.23" 8 strtoIdd returns 17, consuming 4 bytes. 17 strtopdd consumes 8 bytes and returns 1 20 g_ddfmt(0) gives 8 bytes: "1.23e+20" 22 strtoIdd returns 1, consuming 8 bytes. 27 strtopdd consumes 8 bytes and returns 33 30 g_ddfmt(0) gives 8 bytes: "1.23e-20" 32 strtoIdd returns 33, consuming 8 bytes. 41 strtopdd consumes 10 bytes and returns 17 [all …]
|
| H A D | x.ou0 | 4 strtox consumes 4 bytes and returns 33 6 g_xfmt(0) gives 4 bytes: "1.23" 8 strtoIx returns 33, consuming 4 bytes. 16 strtox consumes 8 bytes and returns 1 18 g_xfmt(0) gives 8 bytes: "1.23e+20" 20 strtoIx returns 1, consuming 8 bytes. 26 strtox consumes 8 bytes and returns 17 28 g_xfmt(0) gives 8 bytes: "1.23e-20" 30 strtoIx returns 17, consuming 8 bytes. 38 strtox consumes 10 bytes and returns 33 [all …]
|
| H A D | xL.ou1 | 6 strtoxL consumes 4 bytes and returns 33 9 g_xLfmt(0) gives 4 bytes: "1.23" 11 strtoIxL returns 33, consuming 4 bytes. 21 strtoxL consumes 8 bytes and returns 1 24 g_xLfmt(0) gives 8 bytes: "1.23e+20" 26 strtoIxL returns 1, consuming 8 bytes. 32 strtoxL consumes 8 bytes and returns 17 35 g_xLfmt(0) gives 8 bytes: "1.23e-20" 37 strtoIxL returns 17, consuming 8 bytes. 47 strtoxL consumes 10 bytes and returns 33 [all …]
|
| H A D | x.ou1 | 4 strtox consumes 4 bytes and returns 33 7 g_xfmt(0) gives 4 bytes: "1.23" 9 strtoIx returns 33, consuming 4 bytes. 19 strtox consumes 8 bytes and returns 1 22 g_xfmt(0) gives 8 bytes: "1.23e+20" 24 strtoIx returns 1, consuming 8 bytes. 30 strtox consumes 8 bytes and returns 17 33 g_xfmt(0) gives 8 bytes: "1.23e-20" 35 strtoIx returns 17, consuming 8 bytes. 45 strtox consumes 10 bytes and returns 33 [all …]
|
| H A D | ddsi.out | 3 strtopdd consumes 4 bytes and returns 17 6 g_ddfmt(0) gives 4 bytes: "1.23" 8 strtoIdd returns 17, consuming 4 bytes. 17 strtopdd consumes 8 bytes and returns 1 20 g_ddfmt(0) gives 8 bytes: "1.23e+20" 22 strtoIdd returns 1, consuming 8 bytes. 27 strtopdd consumes 8 bytes and returns 33 30 g_ddfmt(0) gives 8 bytes: "1.23e-20" 32 strtoIdd returns 33, consuming 8 bytes. 41 strtopdd consumes 10 bytes and returns 17 [all …]
|
| H A D | dIsi.out | 3 strtodI consumes 4 bytes and returns 17 9 strtodI consumes 8 bytes and returns 1 15 strtodI consumes 8 bytes and returns 33 21 strtodI consumes 10 bytes and returns 17 27 strtodI consumes 14 bytes and returns 17 33 strtodI consumes 8 bytes and returns 17 39 strtodI consumes 8 bytes and returns 33 45 strtodI consumes 14 bytes and returns 17 51 strtodI consumes 14 bytes and returns 17 57 strtodI consumes 20 bytes and returns 17 [all …]
|
| H A D | dI.out | 3 strtodI consumes 4 bytes and returns 17 9 strtodI consumes 8 bytes and returns 1 15 strtodI consumes 8 bytes and returns 33 21 strtodI consumes 10 bytes and returns 17 27 strtodI consumes 14 bytes and returns 17 33 strtodI consumes 8 bytes and returns 17 39 strtodI consumes 8 bytes and returns 33 45 strtodI consumes 14 bytes and returns 17 51 strtodI consumes 14 bytes and returns 17 57 strtodI consumes 20 bytes and returns 17 [all …]
|
| /minix3/external/bsd/kyua-cli/dist/utils/ |
| H A D | units_test.cpp | 45 ATF_REQUIRE_EQ("2.00T", units::bytes(2 * TB).format()); in ATF_TEST_CASE_BODY() 46 ATF_REQUIRE_EQ("45.12T", units::bytes(45 * TB + 120 * GB).format()); in ATF_TEST_CASE_BODY() 56 ATF_REQUIRE_EQ("5.00G", units::bytes(5 * GB).format()); in ATF_TEST_CASE_BODY() 57 ATF_REQUIRE_EQ("745.96G", units::bytes(745 * GB + 980 * MB).format()); in ATF_TEST_CASE_BODY() 67 ATF_REQUIRE_EQ("1.00M", units::bytes(1 * MB).format()); in ATF_TEST_CASE_BODY() 68 ATF_REQUIRE_EQ("1023.50M", units::bytes(1023 * MB + 512 * KB).format()); in ATF_TEST_CASE_BODY() 77 ATF_REQUIRE_EQ("3.00K", units::bytes(3 * KB).format()); in ATF_TEST_CASE_BODY() 78 ATF_REQUIRE_EQ("1.33K", units::bytes(1 * KB + 340).format()); in ATF_TEST_CASE_BODY() 85 ATF_REQUIRE_EQ("0", units::bytes().format()); in ATF_TEST_CASE_BODY() 86 ATF_REQUIRE_EQ("0", units::bytes(0).format()); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | units.cpp | 45 units::bytes::bytes(void) : in bytes() function in units::bytes 54 units::bytes::bytes(const uint64_t count_) : in bytes() function in units::bytes 67 units::bytes 68 units::bytes::parse(const std::string& in_str) in parse() 105 return bytes(uint64_t(count * multiplier)); in parse() 113 units::bytes::format(void) const in format() 130 units::bytes::operator uint64_t(void) const in operator uint64_t() 146 units::operator>>(std::istream& input, bytes& rhs) in operator >>() 152 rhs = bytes::parse(word); in operator >>() 169 units::operator<<(std::ostream& output, const bytes& rhs) in operator <<()
|
| /minix3/lib/libc/gdtoa/test/obad/ |
| H A D | xL.out | 4 strtoxL consumes 4 bytes and returns 33 7 g_xLfmt(0) gives 4 bytes: "1.23" 9 strtoIxL returns 33, consuming 4 bytes. 19 strtoxL consumes 8 bytes and returns 1 22 g_xLfmt(0) gives 8 bytes: "1.23e+20" 24 strtoIxL returns 1, consuming 8 bytes. 30 strtoxL consumes 8 bytes and returns 17 33 g_xLfmt(0) gives 8 bytes: "1.23e-20" 35 strtoIxL returns 17, consuming 8 bytes. 45 strtoxL consumes 10 bytes and returns 33 [all …]
|
| /minix3/sys/lib/libsa/ |
| H A D | byteorder.c | 42 uint8_t bytes[2]; member 47 uint8_t bytes[4]; member 62 un.bytes[1] = val & 0xff; in sa_htobe16() 63 un.bytes[0] = (val >> 8) & 0xff; in sa_htobe16() 73 un.bytes[0] = val & 0xff; in sa_htole16() 74 un.bytes[1] = (val >> 8) & 0xff; in sa_htole16() 86 return ((un.bytes[0] << 8) | in sa_be16toh() 87 un.bytes[1]); in sa_be16toh() 97 return ((un.bytes[1] << 8) | in sa_le16toh() 98 un.bytes[0]); in sa_le16toh() [all …]
|
| /minix3/external/bsd/tcpdump/dist/tests/ |
| H A D | cdp-v.out | 2 Device-ID (0x01), value length: 6 bytes: 'Switch' 3 Version String (0x05), value length: 192 bytes: 7 Platform (0x06), value length: 20 bytes: 'cisco WS-C3560G-24PS' 8 Address (0x02), value length: 13 bytes: IPv4 (1) 192.168.0.1 9 Port-ID (0x03), value length: 18 bytes: 'GigabitEthernet0/5' 10 Capability (0x04), value length: 4 bytes: (0x00000028): L2 Switch, IGMP snooping 11 Protocol-Hello option (0x08), value length: 32 bytes: 12 VTP Management Domain (0x09), value length: 3 bytes: 'Lab' 13 Native VLAN ID (0x0a), value length: 2 bytes: 1 17 Management Addresses (0x16), value length: 13 bytes: IPv4 (1) 192.168.0.1 [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/utils/ |
| H A D | codegen-diff | 13 my ($addr, $bytes, $instr) = ($1, $2, $4); 15 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 17 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 18 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; 33 my ($addr, $bytes, $instr) = ($1, $3, $2); 34 $bytes =~ s/0x//g; 35 $bytes =~ s/\s+/ /g; # regularize whitespace 36 $bytes =~ s/\s*(.*\S)\s*/$1/; # trim any remaining whitespace 38 push (@result, {'addr' => $addr, 'bytes' => $bytes, 'instr' => $instr}); 39 print "addr=$addr bytes='$bytes' instr='$instr'\n" if $DEBUG; [all …]
|
| /minix3/minix/tests/ |
| H A D | test85.c | 92 ssize_t bytes; in io_read() local 101 if ((bytes = read(dev_fd, dev_buf, len)) < 0) e(0); in io_read() 103 if (bytes != expected) e(0); in io_read() 105 if (memcmp(&dev_ref[pos], dev_buf, bytes)) e(0); in io_read() 115 ssize_t bytes; in io_write() local 124 if ((bytes = write(dev_fd, dev_buf, len)) < 0) e(0); in io_write() 126 if (bytes != expected) e(0); in io_write() 128 if (bytes > 0) { in io_write() 129 assert(pos + bytes <= dev_size); in io_write() 131 memcpy(&dev_ref[pos], dev_buf, bytes); in io_write() [all …]
|
| /minix3/minix/servers/vm/ |
| H A D | slaballoc.c | 31 #define ITEMSPERPAGE(bytes) (int)(DATABYTES / (bytes)) argument 195 struct slabheader *s, int bytes) in checklist() argument 213 if(i >= ITEMSPERPAGE(bytes)) in checklist() 240 int slabsane_f(const char *file, int line, void *mem, int bytes) in slabsane_f() argument 246 bytes = roundup(bytes, OBJALIGN); in slabsane_f() 248 return (objstats(mem, bytes, &s, &f, &i) == OK); in slabsane_f() 259 void *slaballoc(int bytes) in slaballoc() argument 267 bytes = roundup(bytes, OBJALIGN); in slaballoc() 272 GETSLAB(bytes, s); in slaballoc() 282 assert(newslab->sdh.nused < ITEMSPERPAGE(bytes)); in slaballoc() [all …]
|
| /minix3/lib/libc/gen/ |
| H A D | humanize_number.c | 47 humanize_number(char *buf, size_t len, int64_t bytes, in humanize_number() argument 90 if (bytes < 0) { in humanize_number() 93 if (-bytes < INT64_MAX / 100) in humanize_number() 94 bytes *= -100; in humanize_number() 96 bytes = -bytes; in humanize_number() 103 if (bytes < INT64_MAX / 100) in humanize_number() 104 bytes *= 100; in humanize_number() 132 for (i = 0; bytes >= max - 50 && i < maxscale; i++) in humanize_number() 133 bytes /= divisor; in humanize_number() 141 bytes /= divisor; in humanize_number() [all …]
|
| /minix3/minix/lib/libpuffs/ |
| H A D | read.c | 21 ssize_t fs_read(ino_t ino_nr, struct fsdriver_data *data, size_t bytes, in fs_read() argument 34 if (bytes > sizeof(rw_buf)) in fs_read() 35 bytes = sizeof(rw_buf); in fs_read() 36 bytes_left = bytes; in fs_read() 48 bytes_done = bytes - bytes_left; in fs_read() 63 ssize_t fs_write(ino_t ino_nr, struct fsdriver_data *data, size_t bytes, in fs_write() argument 78 if (bytes > sizeof(rw_buf)) in fs_write() 79 bytes = sizeof(rw_buf); in fs_write() 80 bytes_left = bytes; in fs_write() 97 if ((r = fsdriver_copyin(data, 0, rw_buf, bytes)) != OK) in fs_write() [all …]
|
| /minix3/tests/ipf/expected/ |
| H A D | f29 | 27 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 28 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0 33 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 34 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0 39 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 40 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0 45 FWD: IN pkts 2 bytes 56 OUT pkts 2 bytes 56 46 REV: IN pkts 0 bytes 0 OUT pkts 0 bytes 0
|
| /minix3/crypto/external/bsd/openssl/dist/doc/ |
| H A D | standards.txt | 31 (Format: TXT=25661 bytes) (Status: INFORMATIONAL) 34 TXT=32407 bytes) (Status: INFORMATIONAL) 37 TXT=35222 bytes) (Status: INFORMATIONAL) 40 (Format: TXT=170401 bytes) (Status: PROPOSED STANDARD) 43 January 1998. (Format: TXT=19048 bytes) (Status: INFORMATIONAL) 46 March 1998. (Format: TXT=69679 bytes) (Status: INFORMATIONAL) 54 C. Adams. June 1999. (Format: TXT=43243 bytes) (Status: PROPOSED 58 (TLS). A. Medvinsky, M. Hur. October 1999. (Format: TXT=13763 bytes) 62 B. Kaliski. September 2000. (Format: TXT=68692 bytes) (Status: 66 M. Nystrom, B. Kaliski. November 2000. (Format: TXT=27794 bytes) [all …]
|
| /minix3/crypto/external/bsd/openssl/dist/times/ |
| H A D | hpux.t | 8 The 'numbers' are in 1000s of bytes per second processed. 9 type 8 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 30 The 'numbers' are in 1000s of bytes per second processed. 31 type 8 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 54 type 8 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 72 type 8 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
|