Lines Matching refs:bufp
127 d->bufp[(*d->bufcntp)++] = '%'; in data_prefix()
128 d->bufp[(*d->bufcntp)++] = ch; in data_prefix()
129 d->bufp[(*d->bufcntp)++] = 's'; in data_prefix()
130 d->bufp[(*d->bufcntp)++] = ':'; in data_prefix()
165 char *bufp = d->bufp; in general_mod$r_m() local
207 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
281 memcpy (&bufp[*bufcntp], tmpbuf, n + 1); in general_mod$r_m()
379 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf); in general_mod$r_m()
400 char *buf = d->bufp + *bufcntp; in FCT_MOD$R_M()
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m()
473 int needed = snprintf (&d->bufp[*bufcntp], avail, "%s0x%" ABSPRIFMT, in generic_abs()
508 char *bufp = d->bufp; in FCT_ax() local
514 bufp[(*bufcntp)++] = '%'; in FCT_ax()
516 bufp[(*bufcntp)++] = ( in FCT_ax()
521 bufp[(*bufcntp)++] = 'a'; in FCT_ax()
522 bufp[(*bufcntp)++] = 'x'; in FCT_ax()
535 char *bufp = d->bufp; in FCT_ax$w() local
541 bufp[(*bufcntp)++] = '%'; in FCT_ax$w()
542 bufp[(*bufcntp)++] = 'a'; in FCT_ax$w()
543 bufp[(*bufcntp)++] = 'l'; in FCT_ax$w()
562 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%%s%" PRIx32, in FCT_crdb()
595 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32, in FCT_disp8()
626 int needed = snprintf (&d->bufp[*bufcntp], avail, "(%%%s%s)", in FCT_ds_xx()
663 memcpy (&d->bufp[*bufcntp], "(%dx)", 5); in FCT_dx()
675 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%es:(%%%sdi)", in FCT_es_di()
701 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); in FCT_imm()
710 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, in FCT_imm()
714 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word); in FCT_imm()
734 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIxFAST8, word); in FCT_imm$w()
758 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, word); in FCT_imm64$w()
765 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word); in FCT_imm64$w()
784 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, in FCT_imms()
787 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, in FCT_imms()
812 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, in FCT_imm$s()
815 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word); in FCT_imm$s()
826 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); in FCT_imm$s()
843 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word); in FCT_imm16()
862 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, in FCT_imms8()
866 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, in FCT_imms8()
883 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, in FCT_imm8()
901 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx64, in FCT_rel()
905 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32, in FCT_rel()
924 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%mm%" PRIxFAST8, byte); in FCT_mmxreg()
946 char *bufp = d->bufp; in FCT_mod$r_m() local
949 bufp[(*bufcntp)++] = '%'; in FCT_mod$r_m()
955 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]); in FCT_mod$r_m()
962 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit); in FCT_mod$r_m()
965 bufp[*bufcntp] = 'r'; in FCT_mod$r_m()
968 *bufcntp = cp - bufp; in FCT_mod$r_m()
991 memcpy (&d->bufp[*bufcntp], "???", 3); in FCT_moda$r_m()
1025 char *bufp = d->bufp; in FCT_mod$r_m$w() local
1031 bufp[(*bufcntp)++] = '%'; in FCT_mod$r_m$w()
1037 *bufcntp += snprintf (bufp + *bufcntp, d->bufsize - *bufcntp, in FCT_mod$r_m$w()
1041 char *cp = stpcpy (bufp + *bufcntp, hiregs[modrm & 7]); in FCT_mod$r_m$w()
1043 *bufcntp = cp - bufp; in FCT_mod$r_m$w()
1049 bufp[(*bufcntp)++] = "acdb"[modrm & 3]; in FCT_mod$r_m$w()
1050 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2]; in FCT_mod$r_m$w()
1057 bufp[(*bufcntp)++] = '%'; in FCT_mod$r_m$w()
1063 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]); in FCT_mod$r_m$w()
1070 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit); in FCT_mod$r_m$w()
1073 bufp[*bufcntp] = 'r'; in FCT_mod$r_m$w()
1076 *bufcntp = cp - bufp; in FCT_mod$r_m$w()
1093 char *bufp = d->bufp; in FCT_mod$8r_m() local
1096 bufp[(*bufcntp)++] = '%'; in FCT_mod$8r_m()
1097 bufp[(*bufcntp)++] = "acdb"[modrm & 3]; in FCT_mod$8r_m()
1098 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2]; in FCT_mod$8r_m()
1120 d->bufp[(*bufcntp)++] = '%'; in FCT_mod$16r_m()
1121 memcpy (&d->bufp[*bufcntp], dregs[byte] + 1, sizeof (dregs[0]) - 1); in FCT_mod$16r_m()
1145 char *cp = &d->bufp[*bufcntp]; in FCT_mod$64r_m()
1149 *bufcntp = cp - d->bufp; in FCT_mod$64r_m()
1171 d->bufp[(*bufcntp)++] = '%'; in FCT_reg()
1175 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d", in FCT_reg()
1178 d->bufp[(*bufcntp)++] = 'd'; in FCT_reg()
1183 memcpy (&d->bufp[*bufcntp], dregs[byte] + is_16bit, 3 - is_16bit); in FCT_reg()
1186 d->bufp[*bufcntp] = 'r'; in FCT_reg()
1226 d->bufp[(*bufcntp)++] = '%'; in FCT_reg64()
1230 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d", in FCT_reg64()
1233 d->bufp[(*bufcntp)++] = 'd'; in FCT_reg64()
1238 memcpy (&d->bufp[*bufcntp], aregs[byte], 3); in FCT_reg64()
1260 d->bufp[(*bufcntp)++] = '%'; in FCT_reg$w()
1266 *bufcntp += snprintf (d->bufp + *bufcntp, d->bufsize - *bufcntp, in FCT_reg$w()
1270 char* cp = stpcpy (d->bufp + *bufcntp, rex_8bit[byte]); in FCT_reg$w()
1272 *bufcntp = cp - d->bufp; in FCT_reg$w()
1278 d->bufp[(*bufcntp)++] = "acdb"[byte & 3]; in FCT_reg$w()
1279 d->bufp[(*bufcntp)++] = "lh"[byte >> 2]; in FCT_reg$w()
1312 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%st(%" PRIx32 ")", in FCT_freg()
1346 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, absval); in FCT_sel()
1362 char *bufp = d->bufp; in FCT_sreg2() local
1366 bufp[(*bufcntp)++] = '%'; in FCT_sreg2()
1367 bufp[(*bufcntp)++] = "ecsd"[byte & 3]; in FCT_sreg2()
1368 bufp[(*bufcntp)++] = 's'; in FCT_sreg2()
1385 char *bufp = d->bufp; in FCT_sreg3() local
1389 bufp[(*bufcntp)++] = '%'; in FCT_sreg3()
1390 bufp[(*bufcntp)++] = "ecsdfg"[byte & 7]; in FCT_sreg3()
1391 bufp[(*bufcntp)++] = 's'; in FCT_sreg3()
1413 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, byte); in FCT_xmmreg()