Home | History | Annotate | Download | only in sg_write_buffer

Lines Matching defs:bpos

2695     int bpos = bpstart;
2709 bpos = bpstart;
2712 if (bpos == (bpstart + (8 * 3)))
2713 bpos++;
2714 scnpr(&buff[bpos], blen - bpos, "%.2x", (int)(unsigned char)c);
2715 buff[bpos + 2] = ' ';
2719 bpos = bpstart;
2722 bpos += 3;
2724 if (bpos > bpstart) {
2725 buff[bpos + 2] = '\0';
2737 bpos += 3;
2738 if (bpos == (bpstart + (9 * 3)))
2739 bpos++;
2740 scnpr(&buff[bpos], blen - bpos, "%.2x", (int)(unsigned char)c);
2741 buff[bpos + 2] = ' ';
2753 bpos = bpstart;
2797 int bpstart, bpos, k, n, prior_ascii_len;
2822 bpos = bpstart;
2831 if (bpos == (bpstart + ((DSHS_BPL / 2) * 3)))
2832 bpos++; /* for extra space in middle of each line's hex */
2833 scnpr(buff + bpos, (int)sizeof(buff) - bpos, "%.2x",
2835 buff[bpos + 2] = ' ';
2849 bpos = bpstart;
2853 bpos += 3;
2855 if (bpos > bpstart) {
2956 int bpos = bpstart;
2969 bpos += 5;
2970 scnpr(buff + bpos, blen - bpos, "%.4x", (unsigned int)c);
2971 buff[bpos + 4] = ' ';
2977 bpos = bpstart;
2981 if (bpos > bpstart) {
2997 bpos += 5;
2998 scnpr(buff + bpos, blen - bpos, "%.4x", (unsigned int)c);
2999 buff[bpos + 4] = ' ';
3017 bpos = bpstart;