/freebsd-current/sys/dev/pcf/ |
H A D | pcf.c | 381 int bytes, error = 0; local 384 device_printf(dev, " >> writing %d bytes: %#x%s\n", len, 388 bytes = 0; 404 bytes ++; 408 *sent = bytes; 412 device_printf(dev, " >> %d bytes written (%d)\n", bytes, error); 423 int bytes, error = 0; local 427 device_printf(dev, " << reading %d bytes\n", len); 440 bytes [all...] |
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_ses.h | 44 return ((elem->bytes[MK_ENUM(US,UF,_BYTE)] & MK_ENUM(US,UF,_MASK)) \ 51 elem->bytes[MK_ENUM(US,UF,_BYTE)] &= ~MK_ENUM(US,UF,_MASK); \ 52 elem->bytes[MK_ENUM(US,UF,_BYTE)] |= \ 91 * The page length as received only accounts for bytes that 159 uint8_t bytes[1]; member in struct:ses_ctrl_common 191 uint8_t bytes[3]; member in struct:ses_ctrl_dev_slot 253 uint8_t bytes[3]; member in struct:ses_ctrl_array_dev_slot 313 uint8_t bytes[3]; member in struct:ses_ctrl_power_supply 340 uint8_t bytes[3]; member in struct:ses_ctrl_cooling 375 uint8_t bytes[ member in struct:ses_ctrl_temp_sensor 397 uint8_t bytes[3]; member in struct:ses_ctrl_door_lock 424 uint8_t bytes[3]; member in struct:ses_ctrl_audible_alarm 465 uint8_t bytes[3]; member in struct:ses_ctrl_ecc_electronics 493 uint8_t bytes[3]; member in struct:ses_ctrl_scc_electronics 516 uint8_t bytes[3]; member in struct:ses_ctrl_nv_cache 538 uint8_t bytes[3]; member in struct:ses_ctrl_invalid_op_reason 546 uint8_t bytes[3]; member in struct:ses_ctrl_ups 568 uint8_t bytes[1]; member in struct:ses_ctrl_display 599 uint8_t bytes[3]; member in struct:ses_ctrl_key_pad_entry 621 uint8_t bytes[3]; member in struct:ses_ctrl_enclosure 669 uint8_t bytes[3]; member in struct:ses_ctrl_scsi_port_or_xcvr 697 uint8_t bytes[1]; member in struct:ses_ctrl_language 715 uint8_t bytes[3]; member in struct:ses_ctrl_comm_port 742 uint8_t bytes[3]; member in struct:ses_ctrl_voltage_sensor 765 uint8_t bytes[3]; member in struct:ses_ctrl_current_sensor 788 uint8_t bytes[3]; member in struct:ses_ctrl_target_port 815 uint8_t bytes[3]; member in struct:ses_ctrl_initiator_port 843 uint8_t bytes[3]; member in struct:ses_ctrl_simple_subenc 866 uint8_t bytes[3]; member in struct:ses_ctrl_sas_expander 888 uint8_t bytes[3]; member in struct:ses_ctrl_sas_connector 968 uint8_t bytes[1]; member in struct:ses_status_common 1002 uint8_t bytes[2]; member in struct:ses_status_dev_slot 1094 uint8_t bytes[3]; member in struct:ses_status_array_dev_slot 1153 uint8_t bytes[3]; member in struct:ses_status_power_supply 1225 uint8_t bytes[3]; member in struct:ses_status_cooling 1287 uint8_t bytes[3]; member in struct:ses_status_temp_sensor 1334 uint8_t bytes[3]; member in struct:ses_status_door_lock 1361 uint8_t bytes[3]; member in struct:ses_status_audible_alarm 1407 uint8_t bytes[3]; member in struct:ses_status_ecc_electronics 1440 uint8_t bytes[3]; member in struct:ses_status_scc_electronics 1468 uint8_t bytes[1]; member in struct:ses_status_nv_cache 1512 uint8_t bytes[3]; member in struct:ses_status_invalid_op_reason 1547 uint8_t bytes[2]; member in struct:ses_status_ups 1619 uint8_t bytes[1]; member in struct:ses_status_display 1650 uint8_t bytes[3]; member in struct:ses_status_key_pad_entry 1672 uint8_t bytes[3]; member in struct:ses_status_enclosure 1723 uint8_t bytes[3]; member in struct:ses_status_scsi_port_or_xcvr 1766 uint8_t bytes[1]; member in struct:ses_status_language 1784 uint8_t bytes[3]; member in struct:ses_status_comm_port 1811 uint8_t bytes[1]; member in struct:ses_status_voltage_sensor 1855 uint8_t bytes[3]; member in struct:ses_status_current_sensor 1888 uint8_t bytes[3]; member in struct:ses_status_target_port 1920 uint8_t bytes[3]; member in struct:ses_status_initiator_port 1953 uint8_t bytes[2]; member in struct:ses_status_simple_subses 1977 uint8_t bytes[3]; member in struct:ses_status_sas_expander 1999 uint8_t bytes[3]; member in struct:ses_status_sas_connector 2057 uint8_t bytes[4]; member in union:ses_status_element 2066 ses_status_to_ctrl(uint8_t type, uint8_t *bytes) argument [all...] |
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip/ |
H A D | get.ipv4remote.pl | 81 if (/bytes from (.*): / and not defined $Broadcast{$1}) {
|
H A D | get.ipv6remote.pl | 87 if (/bytes from (.*), / and not defined $Local{$1}) {
|
/freebsd-current/contrib/kyua/utils/ |
H A D | memory.cpp | 139 /// \return The amount of physical memory, in bytes. If the code does not know 141 units::bytes 157 return units::bytes(amount);
|
/freebsd-current/crypto/openssh/ |
H A D | cipher-aesctr.c | 29 * the counter is of size 'len' bytes and stored in network-byte-order. 69 aesctr_encrypt_bytes(aesctr_ctx *x,const u8 *m,u8 *c,u32 bytes) argument 74 while ((bytes--) > 0) {
|
/freebsd-current/crypto/openssh/regress/ |
H A D | rekey.sh | 143 16) bytes=16 ;; 144 1k|1K) bytes=1024 ;; 145 1m|1M) bytes=1048576 ;; 146 1g|1G) bytes=1073741824 ;; 147 4g|4G) bytes=4294967296 ;; 148 8g|8G) bytes=8589934592 ;; 163 if [ "$bytes" != "$b" ]; then 164 fatal "rekeylimit size: expected $bytes bytes got $b"
|
/freebsd-current/tests/atf_python/sys/net/ |
H A D | rtsock.py | 198 def ip_sa(ip: str, scopeid: int = 0) -> bytes: 205 def ip4_sa(ip: str) -> bytes: 208 return bytes(sin) 211 def ip6_sa(ip6: str, scopeid: int) -> bytes: 218 return bytes(sin6) 221 def link_sa(ifindex: int = 0, iftype: int = 0) -> bytes: 223 return bytes(sa) 226 def pxlen4_sa(pxlen: int) -> bytes: 239 def pxlen6_sa(pxlen: int) -> bytes: 251 return socket.inet_ntop(socket.AF_INET6, bytes(ip6_ [all...] |
/freebsd-current/contrib/ldns/ |
H A D | net.c | 332 /* keep in mind that in DNS tcp messages the first 2 bytes signal the 685 ssize_t bytes; local 693 bytes = sendto(sockfd, (void*)sendbuf, 698 if (bytes == -1 || (size_t) bytes != ldns_buffer_position(qbin) + 2 ) { 701 return bytes; 709 ssize_t bytes; local 711 bytes = sendto(sockfd, (void*)ldns_buffer_begin(qbin), 714 if (bytes == -1 || (size_t)bytes ! 755 ssize_t bytes = 0, rc = 0; local 814 ssize_t bytes = 0, rc = 0; local [all...] |
/freebsd-current/lib/libc/i386/string/ |
H A D | swab.S | 35 * copy len bytes from src to dst, swapping adjacent bytes 56 jz L2 # while swaping alternate bytes. 66 jz L4 # while swapping alternate bytes.
|
/freebsd-current/sys/amd64/vmm/io/ |
H A D | vpmtmr.c | 84 vpmtmr_handler(struct vm *vm, bool in, int port, int bytes, uint32_t *val) argument 89 if (!in || bytes != 4)
|
/freebsd-current/sys/dev/drm2/ |
H A D | drm_buffer.h | 63 * Return number of bytes that is left to process 71 * Advance the buffer iterator number of bytes that is given. 73 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) argument 75 buf->iterator += bytes; 82 * size: The number of bytes to allocate. 91 * size: The Number of bytes to copy. 110 * objsize: The size of the objet in bytes.
|
/freebsd-current/lib/libc/inet/ |
H A D | inet_cidr_ntop.c | 74 decoct(const u_char *src, int bytes, char *dst, size_t size) { argument 79 for (b = 1; b <= bytes; b++) { 84 if (b != bytes) { 111 size_t bytes; local 118 /* Find number of significant bytes in address. */ 127 bytes = (((bits <= 0) ? 1 : bits) + 7) / 8; 128 if (len > bytes) 129 bytes = len; 130 b = decoct(src, bytes, dst, size);
|
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | x509_att.c | 126 const unsigned char *bytes, 132 attr = X509_ATTRIBUTE_create_by_OBJ(NULL, obj, type, bytes, len); 143 const unsigned char *bytes, 155 return ossl_x509at_add1_attr_by_OBJ(x, obj, type, bytes, len); 160 const unsigned char *bytes, 166 attr = X509_ATTRIBUTE_create_by_NID(NULL, nid, type, bytes, len); 176 const unsigned char *bytes, 188 return ossl_x509at_add1_attr_by_NID(x, nid, type, bytes, len); 194 const unsigned char *bytes, 200 attr = X509_ATTRIBUTE_create_by_txt(NULL, attrname, type, bytes, le 304 X509_ATTRIBUTE_create_by_txt(X509_ATTRIBUTE **attr, const char *atrname, int type, const unsigned char *bytes, int len) argument [all...] |
/freebsd-current/lib/libc/locale/ |
H A D | gb2312.c | 60 u_char bytes[2]; member in struct:__anon160 119 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) { 130 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count); 131 memcpy(gs->bytes + gs->count, s, ncopy); 134 s = (char *)gs->bytes;
|
/freebsd-current/usr.sbin/makefs/ffs/ |
H A D | buf.c | 127 size_t bytes; local 133 bytes = (size_t)bp->b_bcount; 136 (long long)bp->b_blkno, (long long) offset, bytes); 141 rv = write(bp->b_fs->fd, bp->b_data, bytes); 147 if (rv == (ssize_t)bytes)
|
/freebsd-current/lib/libc/amd64/string/ |
H A D | stpncpy.S | 82 * this mask allows us to generate masks of 16-n 0xff bytes 83 * followed by n 0x00 bytes by loading from .Lmask+n. 95 test %rdx, %rdx # no bytes to copy? 99 and $~0xf, %rsi # align source to 16 bytes 104 shl %cl, %r9d # mask of bytes belonging to the string 112 add %rdx, %rax # less than 2 chunks (32 bytes) to play with? 115 movdqu %xmm1, -16(%rdi, %r10, 1) # clear final bytes of destination 154 add $16, %r10d # restore number of remaining bytes 156 /* 1--16 bytes left but string has not ended yet */ 179 pand %xmm1, %xmm0 # mask out bytes afte [all...] |
/freebsd-current/crypto/openssl/test/testutil/ |
H A D | format_output.c | 168 * Constants to define the number of bytes to display per line and the number 207 static int convert_bn_memory(const unsigned char *in, size_t bytes, argument 210 int n = bytes * 2, i; 215 hex_convert_memory(in, bytes, out, BN_OUTPUT_SIZE); 225 * in[bytes] is defined because we're converting a non-zero 228 if ((in[bytes] & 0xf0) != 0 && BN_is_negative(bn)) { 272 const size_t bytes = bn_bytes; local 301 len = ((l1 > l2 ? l1 : l2) + bytes - 1) / bytes * bytes; 431 const size_t bytes = (MAX_STRING_WIDTH - 9) / 17 * 8; local [all...] |
/freebsd-current/tests/atf_python/sys/netlink/ |
H A D | message.py | 71 def parse_nl_header(data: bytes): 140 def print_as_bytes(data: bytes, descr: str): 185 "{} bytes left at the end of the packet".format(len(data) - offset) 197 def parse_child(self, data: bytes, attr_key, attr_map): 201 def parse_child_array(self, data: bytes, attr_key, attr_map): 218 def parse_attrs(self, data: bytes, attr_map): 250 def parse_nla_list(self, data: bytes) -> List[NlAttr]: 254 ret = bytes() 256 ret += bytes(nla) 257 ret = bytes(sel [all...] |
/freebsd-current/crypto/openssl/providers/implementations/rands/seeding/ |
H A D | rand_unix.c | 218 * Returns the number of bytes returned in buf on success, -1 on failure. 247 * it returns a variable number of bytes with the current version supporting 248 * up to 256 bytes. 332 * returns the number of bytes returned in buf, or < 0 on error. 639 ssize_t bytes; 646 bytes = syscall_random(buffer, bytes_needed); 647 if (bytes > 0) { 648 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); 649 bytes_needed -= bytes; [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface_named_pipe.c | 89 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, 96 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes, 254 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes, argument 259 "err=%d bytes=%d", dst, (int) err, (int) bytes); 345 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, argument 350 "bytes=%d", dst, (int) err, (int) bytes); 351 if (err == 0 && bytes > 0) 352 wpa_supplicant_ctrl_iface_rx(dst, bytes); 360 DWORD bytes; local 688 global_iface_write_completed(DWORD err, DWORD bytes, LPOVERLAPPED overlap) argument 764 global_iface_read_completed(DWORD err, DWORD bytes, LPOVERLAPPED overlap) argument 780 DWORD bytes; local [all...] |
/freebsd-current/tests/atf_python/sys/netpfil/ipfw/ |
H A D | ioctl.py | 71 return len(bytes(self)) 96 print(" ".join(["x{:02X}".format(b) for b in bytes(self)])) 126 return " ".join(["x{:02X}".format(b) for b in bytes(self)]) 224 return bytes(hdr) 268 ret += bytes(obj) 271 objsize = len(bytes(self.obj_list[0])) 279 return bytes(hdr) + ret 331 obj_bytes = bytes(obj) 341 return bytes(hdr) + ret 348 cmd_len = sum([len(bytes(ob [all...] |
/freebsd-current/contrib/cortex-strings/src/arm/ |
H A D | memchr.S | 90 @ At this point, we are aligned, we know we have at least 8 bytes to work with 92 orr r1, r1, r1, lsl #8 @ expand the match word across to all bytes 101 eor r5,r5, r1 @ Get it so that r5,r6 have 00's where the bytes match the target 104 sel r5, r3, r7 @ bytes are 00 for none-00 bytes, or ff for 00 bytes - NOTE INVERSION 106 sel r6, r5, r7 @ chained....bytes are 00 for none-00 bytes, or ff for 00 bytes - NOTE INVERSION 108 bne 15b @ (Flags from the subs above) If not run out of bytes the [all...] |
/freebsd-current/crypto/openssl/crypto/whrlpool/ |
H A D | wp_dgst.c | 43 * number of *bytes* as input length argument. Bit-oriented routine 71 int WHIRLPOOL_Update(WHIRLPOOL_CTX *c, const void *_inp, size_t bytes) argument 81 while (bytes >= chunk) { 83 bytes -= chunk; 86 if (bytes) 87 WHIRLPOOL_BitUpdate(c, inp, bytes * 8); 253 unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) argument 261 WHIRLPOOL_Update(&ctx, inp, bytes);
|
/freebsd-current/contrib/arm-optimized-routines/string/arm/ |
H A D | memchr.S | 74 @ At this point, we are aligned, we know we have at least 8 bytes to work with 81 orr r1, r1, r1, lsl #8 @ expand the match word across to all bytes 90 eor r5,r5, r1 @ Get it so that r5,r6 have 00's where the bytes match the target 93 sel r5, r3, r7 @ bytes are 00 for none-00 bytes, or ff for 00 bytes - NOTE INVERSION 95 sel r6, r5, r7 @ chained....bytes are 00 for none-00 bytes, or ff for 00 bytes - NOTE INVERSION 97 bne 15b @ (Flags from the subs above) If not run out of bytes the [all...] |