Lines Matching defs:BPL
1553 #define BPL 16 /* bytes per line to print */
1567 o_limit = (len + BPL - 1) / BPL;
1570 sprintf(outbuf, " %4d: ", o * BPL);
1572 for ( i=0; i < BPL && (o * BPL + i ) < len; i++)
1574 if ( i == BPL / 2 )
1579 sprintf(outbuf, "%02x", area[o * BPL + i]);
1583 sprintf(outbuf, "%*s", 2 * ( 2 + BPL - i), " " );
1584 outbuf += (2 * ( 2 + BPL - i));
1585 sprintf(outbuf, "%s", (i == BPL / 2) ? " " : "");
1586 outbuf += ((i == BPL / 2) ? 1 : 0);
1588 for ( i = 0; i < BPL && (o * BPL + i ) < len; i++)
1590 if ( i == BPL / 2 )
1595 sprintf(outbuf, "%c", isprint(area[o * BPL + i])
1596 ? area[o * BPL + i]
1614 #define BPL 16 /* bytes per line to print */
1630 if ( ((i+1)%BPL == 0) || (i == len-1) )