| /freebsd-12.1/stand/libsa/ |
| H A D | zalloc.c | 101 bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK; in znalloc() 103 if (bytes == 0) in znalloc() 158 mp->mp_Used += bytes; in znalloc() 183 bytes = (bytes + MEMNODE_SIZE_MASK) & ~MEMNODE_SIZE_MASK; in zfree() 185 if (bytes == 0) in zfree() 200 mp->mp_Used -= bytes; in zfree() 215 (uintmax_t)bytes); in zfree() 225 bytes + mn->mr_Bytes; in zfree() 250 (uintmax_t)bytes); in zfree() 285 mp->mp_Used = bytes; in zextendPool() [all …]
|
| H A D | zalloc_malloc.c | 58 return (Malloc_align(bytes, 1)); in Malloc() 68 return (Malloc_align(bytes, alignment)); in Memalign() 72 Malloc_align(size_t bytes, size_t alignment) in Malloc_align() argument 77 bytes += MALLOCALIGN + 1; in Malloc_align() 79 bytes += MALLOCALIGN; in Malloc_align() 98 res->ga_Bytes = bytes; in Malloc_align() 100 *((signed char *)res + bytes - 1) = -2; in Malloc_align() 109 size_t bytes; in Free() local 139 bytes = res->ga_Bytes; in Free() 140 zfree(&MallocPool, res, bytes); in Free() [all …]
|
| /freebsd-12.1/sys/amd64/pci/ |
| H A D | pci_cfgreg.c | 48 int bytes); 50 unsigned reg, unsigned bytes); 52 unsigned reg, int data, unsigned bytes); 109 if (reg == PCIR_INTLINE && bytes == 1) { in pci_cfgregread() 145 (unsigned)bytes <= 4 && (reg & (bytes - 1)) == 0) { in pci_cfgenable() 173 switch (bytes) { in pcireg_cfgread() 198 switch (bytes) { in pcireg_cfgwrite() 274 unsigned bytes) in pciereg_cfgread() argument 285 switch (bytes) { in pciereg_cfgread() 305 unsigned bytes) in pciereg_cfgwrite() argument [all …]
|
| /freebsd-12.1/tools/tools/crypto/ |
| H A D | README | 19 0.129 sec, 2048 des crypts, 8 bytes, 127120 byte/sec, 1.0 Mb/sec 20 0.129 sec, 2048 des crypts, 16 bytes, 253915 byte/sec, 1.9 Mb/sec 21 0.129 sec, 2048 des crypts, 32 bytes, 508942 byte/sec, 3.9 Mb/sec 22 0.128 sec, 2048 des crypts, 64 bytes, 1020135 byte/sec, 7.8 Mb/sec 23 0.134 sec, 2048 des crypts, 128 bytes, 1954869 byte/sec, 14.9 Mb/sec 24 0.142 sec, 2048 des crypts, 256 bytes, 3698107 byte/sec, 28.2 Mb/sec 25 0.190 sec, 2048 des crypts, 1024 bytes, 11037700 byte/sec, 84.2 Mb/sec 26 0.264 sec, 2048 des crypts, 2048 bytes, 15891127 byte/sec, 121.2 Mb/sec 27 0.403 sec, 2048 des crypts, 4096 bytes, 20828998 byte/sec, 158.9 Mb/sec 28 0.687 sec, 2048 des crypts, 8192 bytes, 24426602 byte/sec, 186.4 Mb/sec [all …]
|
| /freebsd-12.1/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-section.c | 166 sfix_write(sfix, bytes); in create() 197 sfix_write(sfix, bytes); in create_truncated() 360 sfix_write(sfix, bytes); in get_overflow() 381 sfix_write(sfix, bytes); in attach_overflow() 402 sfix_write(sfix, bytes); in attach_bad_ucount() 422 sfix_write(sfix, bytes); in map_change() 427 sfix_write(sfix, bytes); in map_change() 440 sfix_write(sfix, bytes); in map_put() 462 sfix_write(sfix, bytes); in unmap_nomap() 478 sfix_write(sfix, bytes); in map_overflow() [all …]
|
| /freebsd-12.1/contrib/gcclibs/libdecnumber/ |
| H A D | decimal128.c | 117 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), 0); in decimal128FromNumber() 124 d128->bytes[0] = top; in decimal128FromNumber() 144 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber() 162 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), pad); in decimal128FromNumber() 167 d128->bytes[1] &= 0xfc; in decimal128FromNumber() 168 d128->bytes[2] &= 0x3f; in decimal128FromNumber() 175 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber() 245 wk.bytes[1] = 0; /* .. */ in decimal128ToNumber() 246 wk.bytes[2] &= 0x3f; /* .. */ in decimal128ToNumber() 248 wk.bytes[2] |= (msd << 6); /* .. */ in decimal128ToNumber() [all …]
|
| H A D | decimal64.c | 117 decDensePackCoeff (dn, d64->bytes, sizeof (d64->bytes), 0); in decimal64FromNumber() 124 d64->bytes[0] = top; in decimal64FromNumber() 144 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber() 161 decDensePackCoeff (dn, d64->bytes, sizeof (d64->bytes), pad); in decimal64FromNumber() 165 d64->bytes[1] &= 0x03; in decimal64FromNumber() 171 d64->bytes[0] = (uByte) (comb << 2); in decimal64FromNumber() 240 wk.bytes[0] = 0; /* clear all but coecon */ in decimal64ToNumber() 241 wk.bytes[1] &= 0x03; /* .. */ in decimal64ToNumber() 242 wk.bytes[1] |= (msd << 2); /* and prefix MSD */ in decimal64ToNumber() 246 decDenseUnpackCoeff (d64->bytes, sizeof (d64->bytes), dn, bunches, odd); in decimal64ToNumber() [all …]
|
| H A D | decimal32.c | 117 decDensePackCoeff (dn, d32->bytes, sizeof (d32->bytes), 0); in decimal32FromNumber() 124 d32->bytes[0] = top; in decimal32FromNumber() 144 d32->bytes[0] = (uByte) (comb << 2); in decimal32FromNumber() 162 decDensePackCoeff (dn, d32->bytes, sizeof (d32->bytes), pad); in decimal32FromNumber() 165 msd = ((unsigned) d32->bytes[1] >> 4); in decimal32FromNumber() 166 d32->bytes[1] &= 0x0f; in decimal32FromNumber() 172 d32->bytes[0] = (uByte) (comb << 2); in decimal32FromNumber() 241 wk.bytes[0] = 0; /* clear all but coecon */ in decimal32ToNumber() 242 wk.bytes[1] &= 0x0f; /* .. */ in decimal32ToNumber() 247 decDenseUnpackCoeff (d32->bytes, sizeof (d32->bytes), dn, bunches, odd); in decimal32ToNumber() [all …]
|
| H A D | decimal128.h | 65 uint8_t bytes[DECIMAL128_Bytes]; /* decimal128: 1, 5, 12, 110 bits */ member 79 #define decimal128Sign(d) ((unsigned)(d)->bytes[0]>>7) 82 #define decimal128Comb(d) (((d)->bytes[0] & 0x7c)>>2) 85 #define decimal128ExpCon(d) ((((d)->bytes[0] & 0x03)<<10) \ 86 | ((unsigned)(d)->bytes[1]<<2) \ 87 | ((unsigned)(d)->bytes[2]>>6)) 91 (d)->bytes[0]|=((unsigned)(b)<<7);} 97 (d)->bytes[0]|=(uint8_t)((e)>>10); \ 98 (d)->bytes[1] =(uint8_t)(((e)&0x3fc)>>2); \ 99 (d)->bytes[2]|=(uint8_t)(((e)&0x03)<<6);}
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | UUID.h | 32 static UUID fromData(const void *bytes, uint32_t num_bytes) { in fromData() argument 33 if (bytes) in fromData() 34 return fromData({reinterpret_cast<const uint8_t *>(bytes), num_bytes}); in fromData() 40 static UUID fromData(llvm::ArrayRef<uint8_t> bytes) { return UUID(bytes); } in fromData() argument 44 static UUID fromOptionalData(const void *bytes, uint32_t num_bytes) { in fromOptionalData() argument 45 if (bytes) in fromOptionalData() 47 {reinterpret_cast<const uint8_t *>(bytes), num_bytes}); in fromOptionalData() 53 static UUID fromOptionalData(llvm::ArrayRef<uint8_t> bytes) { in fromOptionalData() argument 54 if (llvm::all_of(bytes, [](uint8_t b) { return b == 0; })) in fromOptionalData() 56 return UUID(bytes); in fromOptionalData() [all …]
|
| /freebsd-12.1/contrib/netbsd-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
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | inout.c | 72 switch (bytes) { in default_inout() 118 bytes = vmexit->u.inout.bytes; in emulate_inout() 123 assert(bytes == 1 || bytes == 2 || bytes == 4); in emulate_inout() 168 bytes, prot, iov, nitems(iov), &fault); in emulate_inout() 185 vm_copyin(ctx, vcpu, iov, &val, bytes); in emulate_inout() 192 vm_copyout(ctx, vcpu, &val, iov, bytes); in emulate_inout() 196 index -= bytes; in emulate_inout() 198 index += bytes; in emulate_inout() 225 val = eax & vie_size2mask(bytes); in emulate_inout() 228 eax &= ~vie_size2mask(bytes); in emulate_inout() [all …]
|
| /freebsd-12.1/sys/i386/pci/ |
| H A D | pci_cfgreg.c | 81 int bytes); 86 unsigned reg, unsigned bytes); 216 && bytes != 3 in pci_cfgenable() 217 && (unsigned)bytes <= 4 in pci_cfgenable() 218 && (reg & (bytes - 1)) == 0) { in pci_cfgenable() 266 switch (bytes) { in pcireg_cfgread() 291 switch (bytes) { in pcireg_cfgwrite() 580 unsigned bytes) in pciereg_cfgread() argument 592 switch (bytes) { in pciereg_cfgread() 613 unsigned bytes) in pciereg_cfgwrite() argument [all …]
|
| /freebsd-12.1/stand/efi/libefi/ |
| H A D | efichar.c | 136 int c, bytes; in utf8_to_ucs2() local 148 bytes = 0; in utf8_to_ucs2() 157 if (bytes != 0) in utf8_to_ucs2() 161 bytes = 3; in utf8_to_ucs2() 164 bytes = 2; in utf8_to_ucs2() 167 bytes = 1; in utf8_to_ucs2() 170 bytes = 0; in utf8_to_ucs2() 174 if (bytes > 0) { in utf8_to_ucs2() 176 bytes--; in utf8_to_ucs2() 177 } else if (bytes == 0) in utf8_to_ucs2() [all …]
|
| /freebsd-12.1/contrib/libxo/tests/gettext/saved/ |
| H A D | gt_01.XP.out | 12 <bytes>0</bytes> 13 <bytes>1</bytes> 14 <bytes>2</bytes> 15 <bytes>3</bytes> 16 <bytes>4</bytes>
|
| H A D | gt_01.X.out | 1 …ymay</owner><target>ouchcay</target><bytes>0</bytes><bytes>1</bytes><bytes>2</bytes><bytes>3</byte…
|
| /freebsd-12.1/contrib/apr/random/unix/ |
| H A D | apr_random.c | 43 unsigned int bytes; member 207 g->pools[n].bytes = 0; in rekey() 232 for (n = 0; n < bytes; ++n) { in apr_random_add_entropy() 238 if (p->pool_size < p->bytes+1) { in apr_random_add_entropy() 241 memcpy(np,p->pool,p->bytes); in apr_random_add_entropy() 245 p->pool[p->bytes++] = entropy[n]; in apr_random_add_entropy() 247 if (p->bytes == g->rehash_size) { in apr_random_add_entropy() 252 p->bytes/=2; in apr_random_add_entropy() 274 for (n = 0; n < bytes; ) { in apr_random_bytes() 294 apr_random_bytes(g,random,bytes); in apr_random_secure_bytes() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/ |
| H A D | RegisterValue.cpp | 147 scalar = *(const uint8_t *)buffer.bytes; in GetScalarValue() 227 memset(buffer.bytes, 0, sizeof(buffer.bytes)); in SetValueFromData() 276 buffer.bytes, // dst buffer in SetValueFromData() 313 std::vector<uint8_t> bytes; in ParseVectorEncoding() local 320 bytes.push_back(byte); in ParseVectorEncoding() 325 if (bytes.size() != byte_size) in ParseVectorEncoding() 496 ::memcpy(buffer.bytes, rhs.buffer.bytes, kMaxRegisterByteSize); in CopyValue() 704 return buffer.bytes; in GetBytes() 753 if (bytes && length > 0) { in SetBytes() 758 memcpy(buffer.bytes, bytes, length); in SetBytes() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/ |
| H A D | Value.h | 81 uint8_t bytes[kMaxByteSize]; member 95 bool SetBytes(const void *bytes, size_t length, in SetBytes() 100 ::memcpy(this->bytes, bytes, in SetBytes() 119 scalar = *(const uint8_t *)bytes; in GetAsScalar() 121 scalar = *(const uint16_t *)bytes; in GetAsScalar() 123 scalar = *(const uint32_t *)bytes; in GetAsScalar() 125 scalar = *(const uint64_t *)bytes; in GetAsScalar() 136 Value(const void *bytes, int len); 139 void SetBytes(const void *bytes, int len); 141 void AppendBytes(const void *bytes, int len); [all …]
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | dfp.c | 160 buf[0] = *(uint32_t *) d32.bytes; in encode_decimal32() 162 buf[0] = dfp_byte_swap (*(uint32_t *) d32.bytes); in encode_decimal32() 179 *((uint32_t *) d32.bytes) = (uint32_t) buf[0]; in decode_decimal32() 205 buf[0] = *(uint32_t *) &d64.bytes[0]; in encode_decimal64() 206 buf[1] = *(uint32_t *) &d64.bytes[4]; in encode_decimal64() 261 buf[0] = *(uint32_t *) &d128.bytes[0]; in encode_decimal128() 262 buf[1] = *(uint32_t *) &d128.bytes[4]; in encode_decimal128() 263 buf[2] = *(uint32_t *) &d128.bytes[8]; in encode_decimal128() 264 buf[3] = *(uint32_t *) &d128.bytes[12]; in encode_decimal128() 663 d128->bytes[0] ^= 1 << 7; in decimal_real_arithmetic() [all …]
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | progressmeter.c | 88 format_rate(char *buf, int size, off_t bytes) in format_rate() argument 92 bytes *= 100; in format_rate() 93 for (i = 0; bytes >= 100*1000 && unit[i] != 'T'; i++) in format_rate() 94 bytes = (bytes + 512) / 1024; in format_rate() 97 bytes = (bytes + 512) / 1024; in format_rate() 100 (long long) (bytes + 5) / 100, in format_rate() 101 (long long) (bytes + 5) / 10 % 10, in format_rate() 107 format_size(char *buf, int size, off_t bytes) in format_size() argument 111 for (i = 0; bytes >= 10000 && unit[i] != 'T'; i++) in format_size() 112 bytes = (bytes + 512) / 1024; in format_size() [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/donna/ |
| H A D | poly1305_donna.c | 16 unsigned long long bytes) in poly1305_update() argument 24 if (want > bytes) { in poly1305_update() 25 want = bytes; in poly1305_update() 30 bytes -= want; in poly1305_update() 41 if (bytes >= poly1305_block_size) { in poly1305_update() 42 unsigned long long want = (bytes & ~(poly1305_block_size - 1)); in poly1305_update() 46 bytes -= want; in poly1305_update() 50 if (bytes) { in poly1305_update() 51 for (i = 0; i < bytes; i++) { in poly1305_update() 54 st->leftover += bytes; in poly1305_update()
|
| /freebsd-12.1/lib/libc/isc/ |
| H A D | ev_streams.c | 235 while (bytes > 0U) { in consume() 237 str->iovCur->iov_len -= bytes; in consume() 240 str->ioDone += bytes; in consume() 241 bytes = 0; in consume() 273 int bytes; in writable() local 278 if (bytes > 0) { in writable() 281 consume(str, bytes); in writable() 296 int bytes; in readable() local 301 if (bytes > 0) { in readable() 304 consume(str, bytes); in readable() [all …]
|
| /freebsd-12.1/contrib/pam_modules/pam_passwdqc/ |
| H A D | passwdqc_random.c | 44 unsigned char bytes[2]; in _passwdqc_random() local 60 if (read_loop(fd, bytes, sizeof(bytes)) != sizeof(bytes)) { in _passwdqc_random() 65 i = (((int)bytes[1] & 0x0f) << 8) | (int)bytes[0]; in _passwdqc_random() 78 i = ((int)bytes[1] & 0x70) >> 4; in _passwdqc_random() 86 memset(bytes, 0, sizeof(bytes)); in _passwdqc_random()
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | print-medsa.c | 49 u_char bytes[6]; member 54 #define TAG(medsa) (medsa->bytes[2] >> 6) 58 #define SRC_TAG(medsa) ((medsa->bytes[2] >> 5) & 0x01) 59 #define SRC_DEV(medsa) (medsa->bytes[2] & 0x1f) 60 #define SRC_PORT(medsa) ((medsa->bytes[3] >> 3) & 0x01f) 61 #define TRUNK(medsa) ((medsa->bytes[3] >> 2) & 0x01) 62 #define CODE(medsa) ((medsa->bytes[3] & 0x06) | \ 63 ((medsa->bytes[4] >> 4) & 0x01)) 67 #define CFI(medsa) (medsa->bytes[3] & 0x01) 68 #define PRI(medsa) (medsa->bytes[4] >> 5) [all …]
|