Home
last modified time | relevance | path

Searched refs:BYTES_PER_LINE (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/cmd/sort/common/
H A Dutility.c767 #define BYTES_PER_LINE 16 macro
798 uchar_t d[BYTES_PER_LINE]; in xdump()
801 d[nc % BYTES_PER_LINE] = *buf; in xdump()
802 if (nc % BYTES_PER_LINE == 0) { in xdump()
807 if (nc % BYTES_PER_LINE == 0) { in xdump()
810 for (i = 0; i < BYTES_PER_LINE; in xdump()
814 for (i = 0; i < BYTES_PER_LINE; i++) in xdump()
821 for (i = nc % BYTES_PER_LINE; i < BYTES_PER_LINE; i++) in xdump()
827 for (i = 0; i < nc % BYTES_PER_LINE; i += sizeof (wchar_t)) in xdump()
830 for (i = 0; i < nc % BYTES_PER_LINE; i++) in xdump()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dutilities.c142 #define BYTES_PER_LINE 32 macro
154 buffer = buffer + min(length, BYTES_PER_LINE/2);
161 length -= BYTES_PER_LINE/2;
162 offset += BYTES_PER_LINE/2;
164 buffer = buffer + min(length, BYTES_PER_LINE);
169 length -= BYTES_PER_LINE;
170 offset += BYTES_PER_LINE;
/titanic_44/usr/src/cmd/zstreamdump/
H A Dzstreamdump.c46 #define BYTES_PER_LINE 16 macro
166 int ascii_start = BYTES_PER_LINE * 3 + in print_block()
167 BYTES_PER_LINE / DUMP_GROUPING + 2; in print_block()
169 for (i = 0; i < length; i += BYTES_PER_LINE) { in print_block()
171 int this_line_length = MIN(BYTES_PER_LINE, length - i); in print_block()
/titanic_44/usr/src/lib/storage/libg_fc/common/
H A Dgenf.c75 #define BYTES_PER_LINE 16 /* # of bytes to dump per line */ macro
203 n = min(nbytes, BYTES_PER_LINE); in g_dump()
208 for (i = BYTES_PER_LINE-n; i > 0; i--) { in g_dump()
915 n = min(nbytes, BYTES_PER_LINE); in string_dump()
922 for (i = BYTES_PER_LINE-n; i > 0; i--) { in string_dump()
/titanic_44/usr/src/cmd/format/
H A Dmisc.c851 #define BYTES_PER_LINE 16 macro
876 n = min(nbytes, BYTES_PER_LINE);
881 for (i = BYTES_PER_LINE-n; i > 0; i--) {
/titanic_44/usr/src/uts/common/io/ppp/spppasyn/
H A Dspppasyn.c1622 #define BYTES_PER_LINE 8 macro
1630 char buf[3 * BYTES_PER_LINE + 2 + BYTES_PER_LINE + 1]; in ppp_dump_frame()
1641 buf[3 * BYTES_PER_LINE] = ' '; in ppp_dump_frame()
1642 buf[3 * BYTES_PER_LINE + 1] = ' '; in ppp_dump_frame()
1655 buf[3 * BYTES_PER_LINE + 2 + i] = in ppp_dump_frame()
1658 if (i >= BYTES_PER_LINE) { in ppp_dump_frame()
1669 while (bp < buf + 3 * BYTES_PER_LINE) in ppp_dump_frame()
1672 buf[3 * BYTES_PER_LINE + 2 + i] = '\0'; in ppp_dump_frame()
/titanic_44/usr/src/cmd/luxadm/
H A Dlux_util.c55 #define BYTES_PER_LINE 16 macro
144 n = MIN(nbytes, BYTES_PER_LINE); in string_dump()
150 for (i = BYTES_PER_LINE-n; i > 0; i--) { in string_dump()
1578 n = MIN(nbytes, BYTES_PER_LINE); in dump_hex_data()
1583 for (i = BYTES_PER_LINE-n; i > 0; i--) { in dump_hex_data()
/titanic_44/usr/src/uts/sun4u/opl/io/
H A Doplkmdrv.c1088 #define BYTES_PER_LINE 20 in okm_print_req() macro
1089 char bytestr[BYTES_PER_LINE * 3 + 1]; in okm_print_req()
1097 for (j = 0; (j < BYTES_PER_LINE) && (i < msglen); j++, i++) { in okm_print_req()
H A Ddm2s.c1251 #define BYTES_PER_LINE 20 in dm2s_dump_bytes() macro
1252 char bytestr[BYTES_PER_LINE * 3 + 1]; in dm2s_dump_bytes()
1278 for (j = 0; (j < BYTES_PER_LINE) && in dm2s_dump_bytes()