Home
last modified time | relevance | path

Searched refs:bytecount (Results 1 – 7 of 7) sorted by relevance

/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c633 output_bytes(uchar_t *data, int bytecount) in output_bytes() argument
641 for (i = 0; i < bytecount; i++) { in output_bytes()
644 if ((i+1)%16 == 0 || i == (bytecount-1)) { in output_bytes()
882 int bytecount; in interpret_negprot() local
905 bytecount = get2(protodata); in interpret_negprot()
908 while (bytecount > 1) { in interpret_negprot()
914 bytecount -= (length+2); in interpret_negprot()
919 sprintf(GETLINE, "ByteCount = %d", bytecount); in interpret_negprot()
920 while (bytecount > 1) { in interpret_negprot()
928 bytecount -= (length+2); in interpret_negprot()
[all …]
/onnv-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_locale_misc.sh60 integer bytecount
64 (( bytecount=$(wc -c <<<"${str}") ))
66 (( bytecount != mbcharactercount )) && return 0
/onnv-gate/usr/src/tools/codereview/
H A Dlwlp.c1105 int bytecount, nbytes; in copypage() local
1113 bytecount = nbytes; in copypage()
1114 if (bytecount > sizeof (bufout)) in copypage()
1115 bytecount = sizeof (bufout); in copypage()
1116 bytecount = fread(bufout, 1, bytecount, outfile); in copypage()
1117 if (bytecount <= 0) { in copypage()
1121 if (fwrite(bufout, 1, bytecount, stdout) != bytecount) { in copypage()
1125 nbytes -= bytecount; in copypage()
/onnv-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h579 #define SD_BYTES2TGTBLOCKS(un, bytecount) \ argument
580 ((bytecount + (un->un_tgt_blocksize - 1))/un->un_tgt_blocksize)
583 #define SD_BYTES2PHYBLOCKS(un, bytecount) \ argument
584 ((bytecount + (un->un_phy_blocksize - 1))/un->un_phy_blocksize)
591 #define SD_BYTES2SYSBLOCKS(bytecount) \ argument
592 ((bytecount + (DEV_BSIZE - 1))/DEV_BSIZE)
602 #define SD_REQBYTES2TGTBYTES(un, bytecount) \ argument
603 (SD_BYTES2TGTBLOCKS(un, bytecount) * (un)->un_tgt_blocksize)
/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dcc_memory.c545 unsigned int bytecount = length - 1; in random_string() local
548 bytes = malloc (bytecount); in random_string()
554 data.length = bytecount; in random_string()
561 for (i = 0; i < bytecount; i++) { in random_string()
/onnv-gate/usr/src/uts/common/os/
H A Dsunddi.c7661 ddi_device_zero(ddi_acc_handle_t handle, caddr_t dev_addr, size_t bytecount, in ddi_device_zero() argument
7670 if (bytecount != ((bytecount / dev_datasz) * dev_datasz)) in ddi_device_zero()
7676 bytecount != 0; bytecount -= 1, b += dev_advcnt) in ddi_device_zero()
7681 bytecount != 0; bytecount -= 2, w += dev_advcnt) in ddi_device_zero()
7686 bytecount != 0; bytecount -= 4, l += dev_advcnt) in ddi_device_zero()
7691 bytecount != 0; bytecount -= 8, ll += dev_advcnt) in ddi_device_zero()
7704 size_t bytecount, uint_t dev_datasz) in ddi_device_copy() argument
7712 if (bytecount != ((bytecount / dev_datasz) * dev_datasz)) in ddi_device_copy()
7720 for (; bytecount != 0; bytecount -= 1) { in ddi_device_copy()
7731 for (; bytecount != 0; bytecount -= 2) { in ddi_device_copy()
[all …]
/onnv-gate/usr/src/uts/common/sys/
H A Dsunddi.h1931 size_t bytecount, ssize_t dev_advcnt, uint_t dev_datasz);
1937 size_t bytecount, uint_t dev_datasz);