/freebsd-current/contrib/libcbor/misc/ |
H A D | file_to_bytes.rb | 3 lst = (ARGV.empty? ? STDIN.read : IO.binread(ARGV[0])).bytes.map {|_| '0x%02X' % _ }
|
/freebsd-current/sys/amd64/vmm/io/ |
H A D | vatpit.h | 42 int vatpit_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *eax); 43 int vatpit_nmisc_handler(struct vm *vm, bool in, int port, int bytes,
|
H A D | vatpic.h | 42 int vatpic_master_handler(struct vm *vm, bool in, int port, int bytes, 44 int vatpic_slave_handler(struct vm *vm, bool in, int port, int bytes, 46 int vatpic_elc_handler(struct vm *vm, bool in, int port, int bytes,
|
/freebsd-current/sys/arm64/acpica/ |
H A D | pci_cfgreg.c | 43 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) argument 56 int bytes) 55 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, int bytes) argument
|
/freebsd-current/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 53 int reg, int bytes); 56 unsigned slot, unsigned func, unsigned reg, unsigned bytes); 59 unsigned bytes); 60 static int pcireg_cfgread(int bus, int slot, int func, int reg, int bytes); 61 static void pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes); 101 pci_docfgregread(int domain, int bus, int slot, int func, int reg, int bytes) argument 104 return (pcireg_cfgread(bus, slot, func, reg, bytes)); 112 bytes)); 116 return (pcireg_cfgread(bus, slot, func, reg, bytes)); 125 pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes) argument 151 pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, uint32_t data, int bytes) argument 180 pci_cfgenable(unsigned bus, unsigned slot, unsigned func, int reg, int bytes) argument 206 pcireg_cfgread(int bus, int slot, int func, int reg, int bytes) argument 232 pcireg_cfgwrite(int bus, int slot, int func, int reg, int data, int bytes) argument 329 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument 361 pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument [all...] |
/freebsd-current/sys/amd64/vmm/ |
H A D | vmm_ioport.c | 74 switch (vmexit->u.inout.bytes) { 115 mask = vie_size2mask(vmexit->u.inout.bytes); 122 vmexit->u.inout.port, vmexit->u.inout.bytes, &val); 156 int bytes __diagused, error; 158 bytes = vmexit->u.inout.bytes; 159 KASSERT(bytes == 1 || bytes == 2 || bytes == 4, 160 ("vm_handle_inout: invalid operand size %d", bytes)); [all...] |
/freebsd-current/sys/libkern/ |
H A D | murmur3_32.c | 40 * length of the input is always a multiple of 4 bytes. 45 const uint8_t *bytes; local 50 bytes = data; 57 k = le32dec(bytes); 58 bytes += 4; 75 k |= bytes[2] << 16; 77 k |= bytes[1] << 8; 79 k |= bytes[0]; 101 * length in bytes.
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | readmmap.c | 58 int fd = -1, bytes, retval = 0; local 83 bytes = write(fd, buf, size); 84 if (bytes != size) { 85 (void) printf("short write: %d != %zd\n", bytes, size); 114 bytes = pread(fd, buf, size, 0); 115 if (bytes != size) { 116 (void) printf("short read: %d != %zd\n", bytes, size);
|
H A D | get_diff.c | 36 * (in that order). It compares the files 512 bytes at a time, printing out 48 ssize_t bytes; local 67 while ((bytes = pread(fd1, buf1, DEV_BSIZE, off)) > 0) { 82 if (memcmp(buf1, buf2, bytes) == 0) { 94 diff_len += bytes; 96 off += bytes;
|
/freebsd-current/tests/sys/cddl/zfs/bin/ |
H A D | readmmap.c | 58 int fd = -1, bytes, retval = 0; local 83 bytes = write(fd, buf, size); 84 if (bytes != size) { 85 (void) printf("short write: %d != %zu\n", bytes, size); 114 bytes = pread(fd, buf, size, 0); 115 if (bytes != size) { 116 (void) printf("short read: %d != %zu\n", bytes, size);
|
/freebsd-current/contrib/llvm-project/lldb/source/Core/ |
H A D | Opcode.cpp | 49 s->Printf("%2.2x", m_data.inst.bytes[i]); 55 // Add spaces to make sure bytes display comes out even in case opcodes aren't 90 swap_buf[0] = m_data.inst.bytes[2]; 91 swap_buf[1] = m_data.inst.bytes[3]; 92 swap_buf[2] = m_data.inst.bytes[0]; 93 swap_buf[3] = m_data.inst.bytes[1]; 110 swap_buf[0] = m_data.inst.bytes[1]; 111 swap_buf[1] = m_data.inst.bytes[0]; 112 swap_buf[2] = m_data.inst.bytes[3]; 113 swap_buf[3] = m_data.inst.bytes[ [all...] |
/freebsd-current/usr.sbin/bhyve/amd64/ |
H A D | inout.c | 64 int port __unused, int bytes, uint32_t *eax, void *arg __unused) 67 switch (bytes) { 103 int addrsize, bytes, flags, in, port, prot, rep; local 113 bytes = vmexit->u.inout.bytes; 118 assert(bytes == 1 || bytes == 2 || bytes == 4); 157 vis->seg_name, &vis->seg_desc, index, bytes, 164 bytes, pro 63 default_inout(struct vmctx *ctx __unused, int in, int port __unused, int bytes, uint32_t *eax, void *arg __unused) argument [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | wrappers_c.inc | 75 // Space allocated in mmapped regions (bytes) 77 // Maximum total allocated space (bytes) 79 // Space in freed fastbin blocks (bytes) 81 // Total allocated space (bytes) 84 // Total free space (bytes) 95 // Space allocated in mmapped regions (bytes) 97 // Maximum total allocated space (bytes) 99 // Space in freed fastbin blocks (bytes) 101 // Total allocated space (bytes) 103 // Total free space (bytes) [all...] |
/freebsd-current/contrib/bionic-x86_64-string/ |
H A D | sse4-memcmp-slm.S | 753 jnc L(16bytes) 758 jnc L(16bytes) 763 jnc L(16bytes) 767 jmp L(16bytes) 772 jmp L(16bytes) 776 jmp L(16bytes) 780 jmp L(16bytes) 784 jmp L(16bytes) 788 jmp L(16bytes) 792 jmp L(16bytes) [all...] |
/freebsd-current/contrib/xz/src/common/ |
H A D | tuklib_mbstr_width.c | 21 tuklib_mbstr_width(const char *str, size_t *bytes) argument 24 if (bytes != NULL) 25 *bytes = len;
|
/freebsd-current/contrib/cortex-strings/scripts/ |
H A D | plot-align.py | 11 def plot(records, bytes, function): 12 records = [x for x in records if x.bytes==bytes and x.function==function] 32 vals = [match.bytes*match.loops/match.elapsed/(1024*1024) for 50 pylab.title('Performance of different variants of %(function)s for %(bytes)d byte blocks' % locals()) 55 pylab.savefig('alignment-%(function)s-%(bytes)d.png' % locals(), dpi=72) 61 for bytes in libplot.unique(records, 'bytes'): 62 plot(records, bytes, function)
|
H A D | bench.py | 58 def run(cache, variant, function, bytes, loops, alignment, run_id, quiet=False): 60 key = ':'.join('%s' % x for x in (variant, function, bytes, loops, alignment, run_id)) 66 cmd = '%(xbuild)s%(variant)s -t %(function)s -c %(bytes)s -l %(loops)s -a %(alignment)s -r %(run_id)s' % locals() 84 def run_many(cache, variants, bytes, all_functions): 87 bytes = sorted(bytes) 88 mid = bytes[int(len(bytes)/1.5)] 124 for b in sorted(bytes): 135 parser.add_argument("-l", "--limit", type=int, help="upper limit to test to (in bytes)", defaul [all...] |
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | UUID.h | 30 /// Creates a uuid from the data pointed to by the bytes argument. 31 UUID(llvm::ArrayRef<uint8_t> bytes) : m_bytes(bytes.begin(), bytes.end()) { argument 53 /// Creates a UUID from the data pointed to by the bytes argument. 54 UUID(const void *bytes, uint32_t num_bytes) { argument 55 if (!bytes) 58 = UUID(llvm::ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(bytes), 75 /// Decode as many UUID bytes as possible from the C string \a cstr. 83 /// A buffer of bytes tha [all...] |
/freebsd-current/crypto/heimdal/lib/krb5/ |
H A D | n-fold.c | 39 int bytes = (len + 7) / 8; local 47 tmp = malloc(bytes); 50 memcpy(tmp, buf, bytes); 53 tmp[bytes - 1] &= 0xff << (8 - lbit); 55 tmp[bytes - 1] |= buf[0] >> i; 57 for(i = 0; i < bytes; i++) { 68 if(bb + 8 > bytes * 8) 73 b2 = (b1 + 1) % bytes; 102 /* if len < size we need at most N * len bytes, ie < 2 * size;
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/write_dirs/ |
H A D | write_dirs_002_pos.ksh | 63 typeset -i bytes=8192 68 fill_fs "" $dirnum $filenum $bytes $num_writes
|
H A D | write_dirs_001_pos.ksh | 62 typeset -i bytes=8192 67 fill_fs "" $dirnum $filenum $bytes $num_writes
|
/freebsd-current/tests/sys/cddl/zfs/tests/write_dirs/ |
H A D | write_dirs_001_pos.ksh | 72 typeset -i bytes=8192 77 fill_fs "" $dirnum $filenum $bytes $num_writes
|
H A D | write_dirs_002_pos.ksh | 73 typeset -i bytes=8192 78 fill_fs "" $dirnum $filenum $bytes $num_writes
|
/freebsd-current/crypto/openssl/test/ |
H A D | cipherbytes_test.c | 30 const unsigned char bytes[] = {0x00}; local 33 if (!TEST_int_eq(SSL_bytes_to_cipher_list(s, bytes, 0, 0, &sk, &scsv), 0) 49 const unsigned char bytes[] = {0xc0, 0x0f, 0x00, 0x2f, 0x01, 0x00}; 52 if (!TEST_true(SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes), 74 const unsigned char bytes[] = {0x00, 0x00, 0x35, 0x01, 0x00, 0x80, 78 if (!TEST_true(SSL_bytes_to_cipher_list(s, bytes, sizeof(bytes), 1, 104 const unsigned char bytes[] = {0x00, 0x2f, 0x00, 0x33, 0x00, 0x9f, 0x00, 0xff, local 108 if (!SSL_bytes_to_cipher_list(s, bytes, sizeo [all...] |
/freebsd-current/stand/efi/libefi/ |
H A D | efichar.c | 140 int c, bytes; local 152 bytes = 0; 161 if (bytes != 0) 165 bytes = 3; 168 bytes = 2; 171 bytes = 1; 174 bytes = 0; 178 if (bytes > 0) { 180 bytes--; 181 } else if (bytes [all...] |