Lines Matching refs:bufp

124   d->bufp[(*d->bufcntp)++] = '%';
125 d->bufp[(*d->bufcntp)++] = ch;
126 d->bufp[(*d->bufcntp)++] = 's';
127 d->bufp[(*d->bufcntp)++] = ':';
162 char *bufp = d->bufp;
204 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
278 memcpy (&bufp[*bufcntp], tmpbuf, n + 1);
376 memcpy (&bufp[*bufcntp], tmpbuf, cp - tmpbuf);
397 char *buf = d->bufp + *bufcntp;
428 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8,
470 int needed = snprintf (&d->bufp[*bufcntp], avail, "%s0x%" ABSPRIFMT,
505 char *bufp = d->bufp;
511 bufp[(*bufcntp)++] = '%';
513 bufp[(*bufcntp)++] = (
518 bufp[(*bufcntp)++] = 'a';
519 bufp[(*bufcntp)++] = 'x';
532 char *bufp = d->bufp;
538 bufp[(*bufcntp)++] = '%';
539 bufp[(*bufcntp)++] = 'a';
540 bufp[(*bufcntp)++] = 'l';
559 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%%s%" PRIx32,
592 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32,
623 int needed = snprintf (&d->bufp[*bufcntp], avail, "(%%%s%s)",
660 memcpy (&d->bufp[*bufcntp], "(%dx)", 5);
672 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%es:(%%%sdi)",
698 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word);
707 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
711 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word);
731 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIxFAST8, word);
755 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64, word);
762 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word);
781 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
784 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32,
809 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
812 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32, word);
823 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word);
840 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, word);
859 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx64,
863 needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32,
880 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx32,
898 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx64,
902 int needed = snprintf (&d->bufp[*bufcntp], avail, "0x%" PRIx32,
921 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%mm%" PRIxFAST8, byte);
943 char *bufp = d->bufp;
946 bufp[(*bufcntp)++] = '%';
952 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]);
959 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit);
962 bufp[*bufcntp] = 'r';
965 *bufcntp = cp - bufp;
988 memcpy (&d->bufp[*bufcntp], "???", 3);
1022 char *bufp = d->bufp;
1028 bufp[(*bufcntp)++] = '%';
1034 *bufcntp += snprintf (bufp + *bufcntp, d->bufsize - *bufcntp,
1038 char *cp = stpcpy (bufp + *bufcntp, hiregs[modrm & 7]);
1040 *bufcntp = cp - bufp;
1046 bufp[(*bufcntp)++] = "acdb"[modrm & 3];
1047 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2];
1054 bufp[(*bufcntp)++] = '%';
1060 cp = stpcpy (&bufp[*bufcntp], hiregs[modrm & 7]);
1067 cp = stpcpy (&bufp[*bufcntp], dregs[modrm & 7] + is_16bit);
1070 bufp[*bufcntp] = 'r';
1073 *bufcntp = cp - bufp;
1090 char *bufp = d->bufp;
1093 bufp[(*bufcntp)++] = '%';
1094 bufp[(*bufcntp)++] = "acdb"[modrm & 3];
1095 bufp[(*bufcntp)++] = "lh"[(modrm & 4) >> 2];
1117 d->bufp[(*bufcntp)++] = '%';
1118 memcpy (&d->bufp[*bufcntp], dregs[byte] + 1, sizeof (dregs[0]) - 1);
1142 char *cp = &d->bufp[*bufcntp];
1146 *bufcntp = cp - d->bufp;
1168 d->bufp[(*bufcntp)++] = '%';
1172 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d",
1175 d->bufp[(*bufcntp)++] = 'd';
1180 memcpy (&d->bufp[*bufcntp], dregs[byte] + is_16bit, 3 - is_16bit);
1183 d->bufp[*bufcntp] = 'r';
1223 d->bufp[(*bufcntp)++] = '%';
1227 *bufcntp += snprintf (&d->bufp[*bufcntp], d->bufsize - *bufcntp, "r%d",
1230 d->bufp[(*bufcntp)++] = 'd';
1235 memcpy (&d->bufp[*bufcntp], aregs[byte], 3);
1257 d->bufp[(*bufcntp)++] = '%';
1263 *bufcntp += snprintf (d->bufp + *bufcntp, d->bufsize - *bufcntp,
1267 char* cp = stpcpy (d->bufp + *bufcntp, rex_8bit[byte]);
1269 *bufcntp = cp - d->bufp;
1275 d->bufp[(*bufcntp)++] = "acdb"[byte & 3];
1276 d->bufp[(*bufcntp)++] = "lh"[byte >> 2];
1309 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%st(%" PRIx32 ")",
1343 int needed = snprintf (&d->bufp[*bufcntp], avail, "$0x%" PRIx16, absval);
1359 char *bufp = d->bufp;
1363 bufp[(*bufcntp)++] = '%';
1364 bufp[(*bufcntp)++] = "ecsd"[byte & 3];
1365 bufp[(*bufcntp)++] = 's';
1382 char *bufp = d->bufp;
1386 bufp[(*bufcntp)++] = '%';
1387 bufp[(*bufcntp)++] = "ecsdfg"[byte & 7];
1388 bufp[(*bufcntp)++] = 's';
1410 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, byte);