Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_smb.c789 output_bytes(uchar_t *data, int bytecount) in output_bytes() argument
796 for (i = 0; i < bytecount; i++) { in output_bytes()
799 if ((i+1)%16 == 0 || i == (bytecount-1)) { in output_bytes()
1053 int bytecount; in interpret_negprot() local
1075 bytecount = get2(protodata); in interpret_negprot()
1080 show_printf("ByteCount = %d", bytecount); in interpret_negprot()
1081 if (bytecount > len) in interpret_negprot()
1082 bytecount = len; in interpret_negprot()
1087 while (protodata < (byte0 + bytecount - 2)) { in interpret_negprot()
1145 bytecount = get2(protodata); in interpret_negprot()
[all …]
/titanic_44/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_ranges.c59 Dwarf_Unsigned * bytecount, in dwarf_get_ranges_a() argument
146 if(bytecount) { in dwarf_get_ranges_a()
147 *bytecount = rangeptr - beginrangeptr; in dwarf_get_ranges_a()
155 Dwarf_Unsigned * bytecount, in dwarf_get_ranges() argument
160 rangesbuf,listlen,bytecount,error); in dwarf_get_ranges()
/titanic_44/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
/titanic_44/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()
/titanic_44/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h585 #define SD_BYTES2TGTBLOCKS(un, bytecount) \ argument
586 ((bytecount + (un->un_tgt_blocksize - 1))/un->un_tgt_blocksize)
589 #define SD_BYTES2PHYBLOCKS(un, bytecount) \ argument
590 ((bytecount + (un->un_phy_blocksize - 1))/un->un_phy_blocksize)
597 #define SD_BYTES2SYSBLOCKS(bytecount) \ argument
598 ((bytecount + (DEV_BSIZE - 1))/DEV_BSIZE)
608 #define SD_REQBYTES2TGTBYTES(un, bytecount) \ argument
609 (SD_BYTES2TGTBLOCKS(un, bytecount) * (un)->un_tgt_blocksize)
/titanic_44/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()
/titanic_44/usr/src/uts/common/os/
H A Dsunddi.c7324 ddi_device_zero(ddi_acc_handle_t handle, caddr_t dev_addr, size_t bytecount, in ddi_device_zero() argument
7333 if (bytecount != ((bytecount / dev_datasz) * dev_datasz)) in ddi_device_zero()
7339 bytecount != 0; bytecount -= 1, b += dev_advcnt) in ddi_device_zero()
7344 bytecount != 0; bytecount -= 2, w += dev_advcnt) in ddi_device_zero()
7349 bytecount != 0; bytecount -= 4, l += dev_advcnt) in ddi_device_zero()
7354 bytecount != 0; bytecount -= 8, ll += dev_advcnt) in ddi_device_zero()
7367 size_t bytecount, uint_t dev_datasz) in ddi_device_copy() argument
7375 if (bytecount != ((bytecount / dev_datasz) * dev_datasz)) in ddi_device_copy()
7383 for (; bytecount != 0; bytecount -= 1) { in ddi_device_copy()
7394 for (; bytecount != 0; bytecount -= 2) { in ddi_device_copy()
[all …]
/titanic_44/usr/src/uts/common/sys/
H A Dsunddi.h1939 size_t bytecount, ssize_t dev_advcnt, uint_t dev_datasz);
1945 size_t bytecount, uint_t dev_datasz);